/* Promo hero (mn_promo_hero) */

.mn-promo-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 520px;
  padding: 170px var(--mn-promo-gutter) 40px;
  overflow: hidden;
  background-color: #050505;
  background-image: var(--mn-promo-hero-image, none);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

/* the fixed announcement bar overlays the page; start the hero below it while the bar is shown */
body:has(#wpfront-notification-bar) .mn-promo-hero {
  margin-top: var(--mn-notice, 0px);
}

.mn-promo-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 640px;
  max-width: 100%;
}

.mn-promo-hero__eyebrow {
  color: var(--mn-promo-lime);
}

/* scoped: see the heading note in mn-promo.css */
.mn-promo .mn-promo-hero__title {
  margin-top: 12px;
  font-family: inherit;
  font-size: 56px;
  line-height: 0.98;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
}

.mn-promo-hero__accent {
  color: var(--mn-promo-lime);
}

.mn-promo-hero__lead {
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.35;
}

.mn-promo-hero__note {
  margin-top: 6px;
  font-size: 16px;
  color: var(--mn-promo-muted);
}

.mn-promo-hero__note strong {
  color: #ffffff;
}

.mn-promo-hero__btn,
.mn-promo-hero__btn:hover,
.mn-promo-hero__btn:focus {
  color: var(--mn-promo-black);
}

.mn-promo-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--mn-promo-lime);
  font-size: 15px;
  font-weight: 800;
  line-height: normal;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .mn-promo-hero {
    min-height: 560px;
    padding: 96px var(--mn-promo-gutter) 28px;
    justify-content: flex-end;
    background-position: 72% 50%;
  }

  .mn-promo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.88) 100%);
  }

  .mn-promo-hero__content {
    width: 100%;
  }

  .mn-promo .mn-promo-hero__title {
    margin-top: 10px;
    font-size: 34px;
    line-height: 1;
  }

  .mn-promo-hero__break {
    display: none;
  }

  .mn-promo-hero__lead {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.4;
  }

  .mn-promo-hero__note {
    font-size: 13px;
  }

  .mn-promo-hero__btn {
    align-self: stretch;
    margin-top: 18px;
    padding: 14px;
    font-size: 14px;
  }
}
