/* ==========================================
   ONYX — MOBILE HERO FIX
   Mobile only / Desktop unaffected
   ========================================== */

@media screen and (max-width: 767px) {

  /* HERO CONTAINER */

  .blockWrap_ae9d6077a3104d1ab865768bcd4dd4e9 {
    padding: 60px 20px 65px !important;
    box-sizing: border-box !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }

  /* TEXT BLOCK */

  .block_ae9d6077a3104d1ab865768bcd4dd4e9 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* HEADLINE — INCLUDING M360 INLINE FORMATTING */

  .block_ae9d6077a3104d1ab865768bcd4dd4e9 h1,
  .block_ae9d6077a3104d1ab865768bcd4dd4e9 h2,
  .block_ae9d6077a3104d1ab865768bcd4dd4e9 h3,
  .block_ae9d6077a3104d1ab865768bcd4dd4e9 h1 *,
  .block_ae9d6077a3104d1ab865768bcd4dd4e9 h2 *,
  .block_ae9d6077a3104d1ab865768bcd4dd4e9 h3 * {
    font-size: clamp(30px, 8vw, 36px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  /* DESCRIPTION */

  .block_ae9d6077a3104d1ab865768bcd4dd4e9 p {
    max-width: 100% !important;
    line-height: 1.6;
  }

  /* BUTTONS */

  .block_ae9d6077a3104d1ab865768bcd4dd4e9 .btn {
    max-width: 100% !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

}

/* ONYX — SITEWIDE MOBILE TYPOGRAPHY */

@media screen and (max-width: 767px) {

  /* Standard page headings */
  h1, h1 span, h1 strong {
    font-size: clamp(30px, 8vw, 38px) !important;
    line-height: 1.15 !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  h2, h2 span, h2 strong {
    font-size: clamp(24px, 6vw, 30px) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* Prevent oversized images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Keep form fields inside the screen */
  input, select, textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

}

/* ========================================
   ONYX — CONTACT PAGE MOBILE FIX
   Desktop remains unchanged
   ======================================== */

@media screen and (max-width: 767px) {

  /* CONTACT PAGE CONTAINER */

  .blockWrap_fa4b0df0094f4319a26cfd5850ce6fbf {
    padding: 55px 20px 60px !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }

  /* CONTACT PAGE TEXT BLOCK */

  .block_fa4b0df0094f4319a26cfd5850ce6fbf {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* HEADLINE */

  .block_fa4b0df0094f4319a26cfd5850ce6fbf h1,
  .block_fa4b0df0094f4319a26cfd5850ce6fbf h2,
  .block_fa4b0df0094f4319a26cfd5850ce6fbf h3,
  .block_fa4b0df0094f4319a26cfd5850ce6fbf h1 *,
  .block_fa4b0df0094f4319a26cfd5850ce6fbf h2 *,
  .block_fa4b0df0094f4319a26cfd5850ce6fbf h3 * {
    font-size: clamp(28px, 7.5vw, 36px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  /* SUPPORTING TEXT */

  .block_fa4b0df0094f4319a26cfd5850ce6fbf p {
    max-width: 100% !important;
    line-height: 1.6 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  /* BUTTONS */

  .block_fa4b0df0094f4319a26cfd5850ce6fbf .btn {
    max-width: 100% !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

}