.page-hero.about-hero,
.page-hero.services-bg,
.page-hero.learning-library-hero,
.page-hero.contact-bg {
  background: #07142f !important;
  background-image: none !important;
  color: #fff;
}

.page-hero.about-hero {
  background: linear-gradient(135deg, var(--pale) 0%, #fff 50%, #dce9ff 100%) !important;
  background-image: none !important;
  color: #071a3d;
  position: relative;
  overflow: hidden;
}

.page-hero.services-bg {
  background: linear-gradient(135deg, var(--pale) 0%, #fff 50%, #dce9ff 100%) !important;
  background-image: none !important;
  color: #071a3d;
  position: relative;
  overflow: hidden;
}

.page-hero.about-hero::after,
.page-hero.services-bg::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: #bdd4ff;
  right: -120px;
  top: -180px;
  opacity: .68;
  pointer-events: none;
}

.page-hero.about-hero .wrap,
.page-hero.services-bg .wrap {
  position: relative;
  z-index: 1;
}

.services-bg .route-tag { color: #173f9f; }
.services-bg h1 { color: #071a3d; }
.services-bg h1 .blue { color: #2454d6; }
.services-bg p { color: #334155; opacity: 1; }

.about-hero .route-tag { color: #173f9f; }
.about-hero h1 { color: #071a3d; }
.about-hero h1 .blue { color: #2454d6; }
.about-hero p { color: #334155; opacity: 1; }

.contact-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .75fr);
  align-items: center;
  gap: 64px;
}

.contact-hero-copy {
  max-width: 640px;
}

.contact-hero-photo img {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 35%;
}

@media (max-width: 900px) {
  .contact-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-hero-photo {
    max-width: 520px;
  }

  .contact-hero-photo img {
    height: 300px;
  }
}
