/*
 * About us banner. Layout matches pages/about-us/bnr.css.
 * White comes from the Wagtail token. The photo and scrim stay as on the current page.
 */

body:has(.about-banner) .navbar {
  background-color: var(--neutral-white);
}

.about-page.about-banner {
  background-size: cover;
  background-position: center top;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--about-banner-image, url("/static/img/about_us/bnr_image.webp"));
}

.about-page.about-banner .page-hero-container {
  padding-top: 200px;
  padding-bottom: 200px;
}

.about-page.about-banner .page-hero-title > h1 {
  width: 100%;
  color: var(--neutral-white);
}

.about-page.about-banner .page-hero-description > p {
  color: var(--neutral-white);
}

@media (max-width: 768px) {
  .about-page.about-banner {
    margin-bottom: 5rem;
  }
}

@media (max-width: 425px) {
  .about-page.about-banner {
    background-position: 70% 50%;
  }

  .about-page.about-banner .page-hero-description > p {
    width: 320px;
  }

  .about-page.about-banner .page-hero-container {
    padding-top: 350px;
    padding-bottom: 50px;
  }
}
