/* Secondary pages: unified split title, compact stats band and locations. */

.page-hero {
  --page-hero-overlay: .28;
  --page-hero-position: center center;
  position: relative;
  display: grid;
  min-height: 350px;
  overflow: hidden;
  background: #f4f6f9;
}

.page-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 42px var(--container-pad) 40px;
}

.page-hero__content {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.page-hero .section-label {
  margin-top: 26px;
}

.page-hero h1 {
  max-width: 680px;
  margin-top: 10px;
  text-wrap: balance;
}

.page-hero--long-title h1 {
  font-size: 38px;
  line-height: 40px;
}

.page-hero--long-title .breadcrumb__current {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero__content > p:not(.section-label) {
  max-width: 580px;
  margin-top: 15px;
  color: rgba(2, 28, 76, .78);
  font-size: 16px;
  line-height: 25px;
}

.page-hero__media {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: var(--navy-dark);
}

.page-hero__media::before,
.page-hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  pointer-events: none;
}

.page-hero__media::before {
  background: rgba(2, 28, 76, var(--page-hero-overlay));
}

.page-hero__media::after {
  background: linear-gradient(180deg, #f4f6f9 0, rgba(244, 246, 249, .72) 10%, rgba(244, 246, 249, 0) 42%);
}

.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: var(--page-hero-position);
}

.breadcrumb {
  display: flex;
  min-height: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  color: var(--muted-slate);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 20px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--navy);
  transition: color var(--transition-base), opacity var(--transition-base);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--navy-dark);
  opacity: .68;
}

.breadcrumb__sep {
  color: #9ba7ba;
}

.breadcrumb__current {
  padding: 4px 9px;
  color: var(--navy-dark);
  background: rgba(0, 51, 153, .08);
}

.contact-page .stats-band,
.about-page .stats-band {
  height: auto;
  min-height: 284px;
}

.contact-page .stats-band__numbers,
.about-page .stats-band__numbers {
  margin-top: 0;
  padding-top: 42px;
}

.contact-info {
  min-height: 0;
  padding-block: 60px;
  background: var(--white);
}

.contact-info__head h2 {
  margin-top: 19px;
}

.contact-info__grid {
  display: grid;
  gap: 32px;
  margin-top: 39px;
}

.contact-page .contact-cta {
  min-height: 0;
}

@media (min-width: 992px) {
  .page-hero {
    min-height: 390px;
  }

  .page-hero.has-media {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .page-hero.page-hero--long-title.has-media {
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  }

  .page-hero.no-media {
    grid-template-columns: 1fr;
  }

  .page-hero__copy {
    min-height: 390px;
    padding: 52px 64px 50px max(25px, calc(50vw - 640px));
  }

  .page-hero__content {
    max-width: 620px;
    margin: 0;
  }

  .page-hero--long-title .page-hero__copy {
    padding: 40px 48px 38px max(25px, calc(50vw - 640px));
  }

  .page-hero--long-title .page-hero__content {
    max-width: 650px;
  }

  .page-hero.page-hero--long-title .section-label {
    margin-top: 22px;
  }

  .page-hero--long-title h1 {
    margin-top: 8px;
    font-size: 52px;
    line-height: 54px;
  }

  .page-hero--long-title .page-hero__content > p:not(.section-label) {
    max-width: 610px;
    margin-top: 14px;
    font-size: 17px;
    line-height: 27px;
  }

  .page-hero--long-title .breadcrumb__current {
    max-width: 300px;
  }

  .page-hero.no-media .page-hero__content {
    max-width: var(--container-max);
  }

  .page-hero .section-label {
    margin-top: 30px;
  }

  .page-hero__content > p:not(.section-label) {
    max-width: 540px;
    margin-top: 16px;
    font-size: 18px;
    line-height: 29px;
  }

  .page-hero__media {
    min-height: 390px;
  }

  .page-hero__media::after {
    inset: 0 auto 0 0;
    width: min(42%, 250px);
    background: linear-gradient(90deg, #f4f6f9 0, rgba(244, 246, 249, .88) 18%, rgba(244, 246, 249, .34) 58%, rgba(244, 246, 249, 0) 100%);
  }

  .contact-page .stats-band,
  .about-page .stats-band {
    height: auto;
    min-height: 156px;
  }

  .contact-page .stats-band::after,
  .about-page .stats-band::after {
    display: none;
  }

  .contact-page .stats-band__numbers,
  .about-page .stats-band__numbers {
    display: grid;
    margin: 0;
    padding: 40px 0 0;
    grid-template-columns: repeat(4, 204px);
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 104px;
  }

  .contact-page .stat,
  .about-page .stat {
    align-items: flex-start;
    text-align: left;
  }

  .contact-page .stat__number,
  .about-page .stat__number {
    font-size: 52px;
    line-height: 48px;
  }

  .contact-page .stat__label,
  .about-page .stat__label {
    margin-top: 4px;
    line-height: 20px;
  }

  .contact-info {
    height: auto;
    min-height: 848px;
    padding-block: 96px;
  }

  .contact-info__head h2 {
    margin-top: 18px;
  }

  .contact-info__grid {
    margin-top: 40px;
    grid-template-columns: 588px 588px;
    gap: 104px;
  }

  .contact-info .branch-info-card {
    height: auto;
    min-height: 529px;
  }

  .contact-info .branch-info-card__body {
    height: auto;
    min-height: 306px;
  }

  .contact-page .contact-cta {
    height: auto;
    min-height: 700px;
  }
}
