/* Seventh Marketing overrides — fixes applied on top of the mirrored Webflow CSS.
   Keep all deltas from the original Webflow export in this file. */

/* Contact form on phones: the Webflow template pins form fields into explicit
   grid columns (#w-node rules), so the ≤479px `grid-template-columns: 1fr`
   never takes effect — items in column 2 create an implicit second track and
   the form overflows the viewport (clipped at 390px, on the live site too).
   Force every field full-width and let rows follow DOM order. */
@media screen and (max-width: 479px) {
  .grid-2-columns.main-form-grid > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .grid-2-columns.contact-form-left-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form-block .inner-container._574px {
    max-width: 100%;
  }
}

/* The contact form wrapper lost its `w-form` class (so webflow.js stops
   handling submits — /assets/form-handler.js owns them now). Restore the
   margin that class provided. */
.form-block.contact-form-block {
  margin: 0 0 15px;
}
