/* Children page: approved editorial design (option 1). Loaded only on this route. */
.cp-page { --cp-muted: #476762; }
.cp-page { --cp-space: clamp(48px, 5vw, 68px); }
.cp-page h1, .cp-page h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.cp-page h1 { font-size: clamp(2.45rem, 4.6vw, 3.8rem); line-height: 1.03; }
.cp-page h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.1; }
.cp-page h3 { font-size: 1.13rem; line-height: 1.35; letter-spacing: -.025em; font-weight: 600; }
.cp-page p { color: var(--cp-muted); font-size: 1rem; line-height: 1.7; }
.cp-page p:last-child { margin-bottom: 0; }
.cp-page .cp-kicker, .cp-kicker { color: var(--terracotta-dark); font: 600 .875rem/1.5 "Manrope", sans-serif; letter-spacing: .08em; margin: 0 0 18px; }
.cp-section { padding-block: var(--cp-space); }
.cp-section [id], .cp-page section[id] { scroll-margin-top: 110px; }
.cp-section-intro h2 + p, .cp-page h2 + p { margin-top: 23px; }
.cp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.cp-page .button { font-size: .875rem; gap: 10px; min-height: 50px; line-height: 1.5; text-align: center; }
.cp-page .button-primary { background: var(--terracotta-dark); }
.cp-page .button-primary:hover { background: var(--ink); }
.cp-hero-tags { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.cp-hero-tags span:last-child { color: var(--ink); border-bottom: 2px solid var(--sage-dark); }
.cp-hero-photo { margin: 0; min-width: 0; }
.cp-picture { display: block; width: 100%; height: 100%; }
.cp-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cp-hero-text { margin-top: 26px; }
.cp-hero-text p:first-child { font-size: 1.1rem; color: var(--ink); }
.cp-scope-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem !important; }
.cp-concern h3, .cp-parent-item h3 { margin-bottom: 11px; }
.cp-concern p, .cp-parent-item p { margin-bottom: 13px; }
.cp-parent-item p:last-child { margin-bottom: 0; }
.cp-editorial .cp-hero { padding-block: 44px 52px; }
.cp-editorial .cp-hero-layout { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.cp-editorial .cp-hero-copy { padding-block: 10px; min-width: 0; }
.cp-editorial .cp-hero-photo { align-self: stretch; display: grid; grid-template-rows: minmax(360px, 1fr) auto; border-radius: 4px 72px 4px 4px; overflow: hidden; background: var(--mist); }
.cp-editorial .cp-hero-photo .cp-picture { min-height: 0; }
.cp-editorial .cp-hero-photo img { object-position: 46% center; }
.cp-editorial .cp-hero-photo figcaption { background: #e5ece4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 20px 24px; font-size: .875rem; }
.cp-editorial .cp-hero-photo figcaption strong { font-weight: 600; }
.cp-editorial .cp-scope { background: white; border-top: 1px solid var(--line); }
.cp-editorial .cp-scope-layout { display: grid; grid-template-columns: .83fr 1.7fr; gap: clamp(32px, 5vw, 70px); }
.cp-editorial .cp-concerns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.cp-editorial .cp-concern { border-top: 1px solid var(--line); padding-block: 22px; }
.cp-editorial .cp-concern h3 { font-family: "Newsreader", Georgia, serif; font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.cp-editorial .cp-parents { background: #eaf0e8; }
.cp-editorial .cp-parent-layout { display: grid; grid-template-columns: .9fr 1.15fr; gap: clamp(35px, 8vw, 115px); }
.cp-editorial .cp-parent-item { border-top: 1px solid #bfcebf; padding-block: 22px; }
.cp-editorial .cp-parent-item:first-child { padding-top: 0; border-top: 0; }
.cp-editorial .cp-parent-item:last-child { padding-bottom: 0; }
.cp-editorial .cp-language { background: var(--ink); color: var(--paper); }
.cp-editorial .cp-language-layout { display: grid; grid-template-columns: .9fr 1.15fr; gap: clamp(35px, 8vw, 115px); }
.cp-editorial .cp-language p { color: #e0e9e2; }
.cp-editorial .cp-language .cp-kicker { color: var(--gold); }
#child-psychology-locations a {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}
#child-psychology-locations a:hover { color: var(--gold); }
#child-psychology-locations a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
.cp-editorial .cp-enquiry-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 54px; align-items: center; }
.cp-editorial .cp-enquiry-action { justify-self: end; }

@media (max-width: 1000px) {
  .cp-editorial .cp-hero-layout { gap: 32px; }
  .cp-editorial .cp-scope-layout { grid-template-columns: 1fr 1.8fr; gap: 32px; }
}
@media (max-width: 850px) {
  .cp-editorial .cp-hero-layout { grid-template-columns: 1fr; }
  .cp-editorial .cp-hero-copy { max-width: 700px; }
  .cp-editorial .cp-hero-photo { display: block; border-radius: 4px 48px 4px 4px; }
  .cp-editorial .cp-hero-photo .cp-picture { height: auto; aspect-ratio: 2 / 1; }
  .cp-editorial .cp-scope-layout, .cp-editorial .cp-parent-layout, .cp-editorial .cp-language-layout, .cp-editorial .cp-enquiry-layout { grid-template-columns: 1fr; gap: 28px; }
  .cp-section-intro { max-width: 680px; }
  .cp-editorial .cp-enquiry-action { justify-self: start; }
}
@media (max-width: 540px) {
  .cp-page { --cp-space: 42px; }
  .cp-page h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); line-height: 1.09; }
  .cp-page h2 { font-size: 2rem; }
  .cp-page .cp-kicker { letter-spacing: .035em; }
  .cp-hero-tags { flex-direction: column; align-items: flex-start; }
  .cp-hero-text { margin-top: 21px; }
  .cp-actions { align-items: stretch; flex-direction: column; }
  .cp-actions .button, .cp-enquiry-action .button { width: 100%; padding-inline: 14px; }
  .cp-editorial .cp-hero { padding-block: 26px 32px; }
  .cp-editorial .cp-hero-photo .cp-picture { aspect-ratio: 1.5; }
  .cp-editorial .cp-hero-photo figcaption { padding: 16px 18px; }
  .cp-editorial .cp-concerns { grid-template-columns: 1fr; }
  .cp-editorial .cp-enquiry-action { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cp-page .button { transition: none; }
  .cp-page .button:hover { transform: none; }
}
