/* Mac 13" short heights: clear nav (~30px+) AND keep CTAs+note in first fold.
   Does not change mobile (<992px) or tall desktop (>920px height). */

@media (max-height: 920px) and (min-width: 992px) {
  .s-Header .s-padding_xl {
    padding-top: 8.75rem !important; /* ~140px: clears ~106px header + ~34px */
    padding-bottom: 0.75rem !important;
  }

  .s-Header .text__container {
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding-top: 0;
    padding-bottom: 0.25rem;
  }

  .s-Header .text__container > .mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .s-Header .text__container > .mt-4 {
    margin-top: 0.5rem !important;
  }

  .s-Header .text__container > .mt-3 {
    margin-top: 0.35rem !important;
  }

  .s-Header .text__container .fs-large {
    font-size: 2.7rem !important;
    line-height: 1.05 !important;
  }

  .s-Header .text__container > h1.fs-medium-extra {
    margin-bottom: 0.45rem !important;
  }

  .s-Header .text__container > div.fs-medium-extra {
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }
}

@media (max-height: 850px) and (min-width: 992px) {
  .s-Header .s-padding_xl {
    padding-top: 8.75rem !important;
    padding-bottom: 0.5rem !important;
  }

  .s-Header .text__container .fs-large {
    font-size: 2.4rem !important;
    line-height: 1.04 !important;
  }

  .s-Header .text__container > .mb-4 {
    margin-bottom: 0.4rem !important;
  }

  .s-Header .text__container > .mt-4 {
    margin-top: 0.45rem !important;
  }
}

@media (max-height: 780px) and (min-width: 992px) {
  .s-Header .s-padding_xl {
    padding-top: 8.5rem !important;
  }

  .s-Header .text__container .fs-large {
    font-size: 2.2rem !important;
    line-height: 1.04 !important;
  }
}

/* Wider CSS width: header ~130px tall — bump top clearance */
@media (max-height: 920px) and (min-width: 1500px) {
  .s-Header .s-padding_xl {
    padding-top: 10.25rem !important; /* ~164px: clears ~130px + ~34px */
  }
}

@media (max-height: 850px) and (min-width: 1500px) {
  .s-Header .s-padding_xl {
    padding-top: 10.1rem !important;
  }

  .s-Header .text__container .fs-large {
    font-size: 2.25rem !important;
    line-height: 1.04 !important;
  }

  .s-Header .text__container > .mb-4 {
    margin-bottom: 0.35rem !important;
  }

  .s-Header .text__container > .mt-4 {
    margin-top: 0.4rem !important;
  }
}

@media (max-height: 780px) and (min-width: 1500px) {
  .s-Header .text__container .fs-large {
    font-size: 2.05rem !important;
  }
}
