.child-page-template {
  background: #ffffff;
}

body:has(.child-page-template) {
  background-color: #ffffff;
}

.child-page-template .content-block--injected[data-injected="about-hero"] {
  margin-top: -20px;
}

.child-page-template__content-wrap {
  padding: 96px 0;
}

.child-page-template__layout {
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

@media (min-width: 1100px) {
  .child-page-template__layout {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    align-items: start;
  }
}

.child-page-template__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: transparent;
}

.child-page-template__h1-block {
  width: min(740px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}

.child-page-template__h1 {
  margin: 0;
  color: #15324b;
}

.child-page-template__dash-group {
  white-space: nowrap;
}

.child-page-template__excerpt {
  color: #22313f;
}

.child-page-template__excerpt a {
  color: var(--accent-secondary, #2f80b7);
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.child-page-template__excerpt a:hover {
  color: #15324b;
  opacity: 0.92;
}

.child-page-template__excerpt a:focus-visible {
  outline: 2px solid rgba(47, 128, 183, 0.65);
  outline-offset: 2px;
  border-radius: 2px;
}

.child-page-template__excerpt p {
  margin: 0;
}

.child-anchor-target {
  scroll-margin-top: calc(var(--site-header-height, 120px) + 20px);
}

.child-page-template__excerpt img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
}

/* Motion-gated pre-hide so about CTA reveals without flash on child pages. */
.child-page-template.child-page-motion-enabled .about-cta-block__inner,
.child-page-template.child-page-motion-enabled .about-cta-block__content,
.child-page-template.child-page-motion-enabled .about-cta-block__actions {
  opacity: 0;
}

@media (max-width: 1099px) {
  .child-page-template .content-block--injected[data-injected="about-hero"] {
    margin-top: -30px;
  }

  .child-page-template__content-wrap {
    padding: 64px 0;
  }

  .child-page-template__layout {
    width: min(100% - 28px, 1290px);
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
