.bbal-top-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 80px));
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #b8d8dc;
  color: #152033;
  font-family: "Nunito Sans", Inter, Arial, sans-serif;
}

/*
 * Some page templates place their original fixed navigation immediately before
 * the shared hero. Cloudflare replaces that navigation with the canonical
 * fixed header, so reserve the header's height here just as the templates that
 * already receive a spacer do. This keeps the sky and horizon visible on every
 * shared aerial hero instead of hiding the top of the photograph under the nav.
 */
body > nav.fixed + .bbal-top-hero,
#bbal-site-header + .bbal-top-hero {
  margin-top: 80px;
}

.bbal-top-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 65% 30%;
}

.bbal-top-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 250, 243, .22) 0%, rgba(255, 250, 243, .15) 30%, rgba(255, 250, 243, .72) 70%, #fffaf3 100%),
    radial-gradient(ellipse 52% 58% at 50% 66%, rgba(255, 250, 243, .94) 0%, rgba(255, 250, 243, .68) 48%, rgba(255, 250, 243, 0) 100%);
}

.bbal-top-hero-inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 50px;
  text-align: center;
  transform: translateY(-20px);
}

.bbal-top-hero-eyebrow {
  margin: 0 0 15px;
  color: #08785b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bbal-top-hero-title {
  max-width: 850px;
  margin: 0 auto;
  color: #152033;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
}

.bbal-top-hero-deck {
  max-width: 690px;
  margin: 22px auto 0;
  color: #526074;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  text-wrap: balance;
}

.bbal-top-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.bbal-top-hero-action {
  min-width: 180px;
  min-height: 54px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1fa47c;
  border: 2px solid #1fa47c;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(31, 164, 124, .22);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.bbal-top-hero-action:hover,
.bbal-top-hero-action:focus-visible {
  background: #13825f;
  border-color: #13825f;
  transform: translateY(-1px);
}

.bbal-top-hero-action.is-secondary {
  color: #0a694f;
  background: rgba(255, 255, 255, .78);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.bbal-top-hero-action.is-secondary:hover,
.bbal-top-hero-action.is-secondary:focus-visible {
  color: #fff;
  background: #13825f;
}

.bbal-top-hero--seller .bbal-top-hero-inner {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  padding: 46px 0 34px;
  text-align: left;
  transform: translateY(-32px);
}

.bbal-top-hero--seller .bbal-top-hero-eyebrow,
.bbal-top-hero--seller .bbal-top-hero-title,
.bbal-top-hero--seller .bbal-top-hero-deck {
  margin-left: 0;
  margin-right: 0;
}

.bbal-top-hero--seller .bbal-top-hero-title {
  max-width: 690px;
  font-size: clamp(47px, 4.35vw, 62px);
}

.bbal-top-hero--seller .bbal-top-hero-deck {
  max-width: 650px;
  margin-top: 20px;
  color: #27364a;
  font-size: clamp(17px, 1.2vw, 19px);
  font-weight: 800;
}

.bbal-top-hero-supporting {
  max-width: 650px;
  margin: 10px 0 0;
  color: #526074;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.bbal-top-hero--seller .bbal-top-hero-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.bbal-top-hero-team {
  display: flex;
  justify-content: flex-end;
}

.bbal-top-hero-team-card {
  position: relative;
  width: min(100%, 390px);
  overflow: hidden;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .96);
  border-radius: 26px;
  box-shadow: 0 28px 55px -24px rgba(3, 17, 29, .55);
}

.bbal-top-hero-team-card > img {
  width: 100%;
  max-height: 390px;
  display: block;
  object-fit: cover;
  object-position: top;
}

.bbal-top-hero-team-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 11px 14px;
  color: #1d2939;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 15px;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.bbal-top-hero-team-label span {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}

.bbal-top-hero-proof {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bbal-top-hero-proof span {
  padding: 8px 11px;
  color: #0a694f;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(10, 105, 79, .18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  backdrop-filter: blur(5px);
}

.bbal-top-hero + .blog-main {
  padding-top: 56px;
}

@media (max-width: 760px) {
  body > nav.fixed + .bbal-top-hero,
  #bbal-site-header + .bbal-top-hero {
    margin-top: 72px;
  }

  .bbal-top-hero {
    min-height: 610px;
  }

  .bbal-top-hero-photo {
    object-position: 62% 30%;
  }

  .bbal-top-hero-inner {
    width: min(calc(100% - 32px), 650px);
    padding: 36px 0 42px;
    transform: translateY(-10px);
  }

  .bbal-top-hero-eyebrow {
    font-size: 11px;
    letter-spacing: .15em;
  }

  .bbal-top-hero-title {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 1;
  }

  .bbal-top-hero-deck {
    font-size: 16px;
  }

  .bbal-top-hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .bbal-top-hero-action {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 13px 18px;
  }

  .bbal-top-hero--seller .bbal-top-hero-inner {
    width: min(calc(100% - 32px), 650px);
    display: block;
    padding: 38px 0 42px;
    text-align: center;
    transform: none;
  }

  .bbal-top-hero--seller .bbal-top-hero-eyebrow,
  .bbal-top-hero--seller .bbal-top-hero-title,
  .bbal-top-hero--seller .bbal-top-hero-deck,
  .bbal-top-hero--seller .bbal-top-hero-supporting {
    margin-left: auto;
    margin-right: auto;
  }

  .bbal-top-hero--seller .bbal-top-hero-title {
    font-size: clamp(39px, 11.5vw, 49px);
  }

  .bbal-top-hero--seller .bbal-top-hero-actions,
  .bbal-top-hero-proof {
    justify-content: center;
  }

  .bbal-top-hero-team {
    margin-top: 28px;
    justify-content: center;
  }

  .bbal-top-hero-team-card {
    width: min(100%, 330px);
  }

  .bbal-top-hero-team-card > img {
    max-height: 360px;
  }
}
