/*
 * Flex Pons - page hero
 * Rendered outside the theme content container, so no width breakout needed.
 * Inner matches the Creote header: .auto-container max-width 1200px,
 * logo inset 30px (15px container padding + 15px column padding).
 */

.fp-hero {
  --fp-navy: #1b2e4b;
  --fp-teal: #4a9ab4;
  --fp-overlay: rgba(27, 46, 75, .86);
  position: relative;
  width: 100%;
  margin: 0 0 70px;
  padding: 240px 0 90px;
  background: linear-gradient(var(--fp-overlay), var(--fp-overlay)), var(--fp-img) center / cover no-repeat;
  border-bottom-left-radius: 50% 70px;
  border-bottom-right-radius: 50% 70px;
  color: #fff;
  box-sizing: border-box;
}

.fp-hero .fp-hero__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.fp-hero .fp-hero__badge {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fp-hero .fp-hero__title {
  margin: 22px 0 16px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.fp-hero .fp-hero__lead {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.65;
}

.fp-hero .fp-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.fp-hero .fp-hero__crumbs a {
  color: #fff;
  text-decoration: none;
}

.fp-hero .fp-hero__crumbs a:hover,
.fp-hero .fp-hero__crumbs [aria-current] {
  color: var(--fp-teal);
}

.fp-hero.fp-hero--compact {
  margin-bottom: 40px;
  padding-bottom: 70px;
}

.fp-hero--compact .fp-hero__crumbs {
  margin-top: 22px;
}

@media (max-width: 1024px) {
  .fp-hero {
    margin-bottom: 40px;
    padding: 70px 0 70px;
    border-bottom-left-radius: 50% 36px;
    border-bottom-right-radius: 50% 36px;
  }

  .fp-hero .fp-hero__lead {
    font-size: 16px;
  }

  .fp-hero.fp-hero--compact {
    margin-bottom: 24px;
    padding-bottom: 56px;
  }
}
