.custom-page {
  --custom-page-accent: #147653;
  --custom-page-ink: #18352c;
  color: var(--custom-page-ink);
  padding: clamp(18px, 4vw, 54px) 16px;
  overflow-wrap: anywhere;
  background: #f5faf7;
}
.custom-page *, .custom-page *::before, .custom-page *::after { box-sizing: border-box; }
.custom-page__surface { max-width: 1080px; min-width: 0; margin: 0 auto; background: #fff; border-radius: 24px; box-shadow: 0 14px 44px #163f2b0b; overflow: hidden; }
.custom-page__cover { margin: 0; background: #e9f2ed; }
.custom-page__cover img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: contain; }
.custom-page__header { padding: clamp(24px, 5vw, 60px); text-align: center; }
.custom-page__logo { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 auto 20px; background: #fff; border: 6px solid #fff; border-radius: 22px; }
.custom-page__header--with-cover .custom-page__logo { position: relative; margin-top: -70px; box-shadow: 0 3px 18px #18352c12; }
.custom-page__eyebrow { margin: 0 0 12px; color: var(--custom-page-accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; line-height: 1.6; }
.custom-page__header h1 { margin: 0 auto; max-width: 850px; color: var(--custom-page-ink); font-size: clamp(27px, 4.5vw, 48px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.custom-page__tagline { max-width: 720px; margin: 18px auto 0; color: #53665e; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.75; }
.custom-page__effective { margin: 18px 0 0; font-size: 14px; color: #596b63; }
.custom-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.custom-page__action { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; max-width: 100%; padding: 12px 22px; border: 1px solid var(--custom-page-accent); border-radius: 12px; background: var(--custom-page-accent); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; line-height: 1.45; }
.custom-page__action--secondary { background: #fff; color: var(--custom-page-accent); }
.custom-page__action:hover { filter: brightness(.95); text-decoration: none; }
.custom-page a:focus-visible { outline: 3px solid #e7a72e; outline-offset: 4px; }
.custom-page__contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0 clamp(20px, 5vw, 60px) 28px; padding: 22px; background: #f4f9f6; border-radius: 16px; }
.custom-page__contact { min-width: 0; }
.custom-page__contact > span { display: block; color: #66776e; font-size: 12px; font-weight: 600; line-height: 1.5; }
.custom-page__contact > a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--custom-page-accent); font-size: 16px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.custom-page__contact strong, .custom-page__contact p { display: block; margin: 8px 0 0; font-size: 15px; font-weight: 500; line-height: 1.65; }
.custom-page__contact--address, .custom-page__contact-links { grid-column: 1 / -1; }
.custom-page__contact-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.custom-page__contact-links > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; max-width: 100%; padding: 9px 13px; border-radius: 9px; background: #fff; color: var(--custom-page-accent); font-size: 14px; font-weight: 650; text-decoration: none; }
.custom-page__body { display: flow-root; min-width: 0; padding: 0 clamp(20px, 5vw, 60px) clamp(26px, 5vw, 60px); border: 0; border-radius: 0; background: transparent; color: #344b41; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.custom-page__body :where(div, span, p, figure, blockquote, ul, ol, li, a, h2, h3, h4, h5, h6) { min-width: 0; max-width: 100%; }
.custom-page__body > :first-child { margin-top: 0; }
.custom-page__body :where(h2, h3, h4, h5, h6) { margin: 28px 0 12px; color: var(--custom-page-ink); line-height: 1.4; }
.custom-page__body h2 { font-size: clamp(22px, 3vw, 30px) !important; }
.custom-page__body h3 { font-size: clamp(19px, 2.5vw, 24px) !important; }
.custom-page__body p { margin: 12px 0; }
.custom-page__body figure { margin: 20px auto; }
.custom-page__body img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.custom-page__body :where(video, iframe) { max-width: 100%; }
.custom-page__body video { height: auto; }
.custom-page__body iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.custom-page__body :where(pre, .table-scroll) { max-width: 100%; overflow-x: auto; }
.custom-page__body pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.custom-page__body table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; }
.custom-page__body :where(th, td) { overflow-wrap: anywhere; }
.custom-page__body a { color: var(--custom-page-accent); text-underline-offset: 4px; }
.custom-page__body figcaption { color: #617469; font-size: 13px; text-align: center; }
.custom-page__preview { max-width: 1080px; margin: 0 auto 18px; }
.custom-page--onekids-terms .custom-page__surface { max-width: 900px; }
.custom-page--onekids-terms .custom-page__header { text-align: left; padding-bottom: 28px; }
.custom-page--onekids-terms .custom-page__header h1 { max-width: none; font-size: clamp(25px, 4vw, 38px); }
@media (max-width: 600px) {
  .custom-page { padding-inline: 12px; }
  .custom-page__surface { border-radius: 18px; }
  .custom-page__header { padding: 28px 20px; }
  .custom-page__actions { flex-direction: column; gap: 10px; }
  .custom-page__action { width: 100%; }
  .custom-page__contacts { grid-template-columns: minmax(0, 1fr); margin-inline: 16px; padding: 18px; }
  .custom-page__contact-links > a { flex: 1 1 160px; }
  .custom-page__body { padding-inline: 20px; font-size: 15px; }
  .custom-page--school .custom-page__body { padding-inline: 20px; }
  .custom-page__cover img { max-height: 300px; }
}

/* School cards share one palette from their identity through their own lower information. */
.custom-page--school { min-height: 100vh; min-height: 100svh; padding: 0; background: #f1f4f8; font-family: "Roboto", "Segoe UI", Arial, sans-serif; }
.custom-page--school .school-card { --school-bg: #f5f8fd; --school-tint: #e6eefb; --school-ink: #243c5a; --school-muted: #596b82; --school-line: #ced9e9; --school-surface: #ffffffd9; position: relative; isolation: isolate; width: 100%; max-width: 420px; min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 0 24px 24px; overflow: hidden; border: 0; border-radius: 0; color: var(--school-ink); background: radial-gradient(ellipse at 100% 0, var(--school-tint), transparent 55%), linear-gradient(160deg, var(--school-bg), var(--school-tint)); box-shadow: none; }
.custom-page--school .school-card--pink { --school-bg: #fff6f8; --school-tint: #f4e4ed; --school-ink: #543451; --school-muted: #7b5b74; --school-line: #e5cfdc; --school-surface: #ffffffd9; }
.custom-page--school .school-card--garden { --school-bg: #f2f8f4; --school-tint: #deeee5; --school-ink: #254d3d; --school-muted: #506c5e; --school-line: #c9dfd2; --school-surface: #ffffffd9; }
.custom-page--school .school-card--fairy { --school-bg: #654285; --school-tint: #7956a2; --school-ink: #fff; --school-muted: #faf5ff; --school-line: #ffffff2e; --school-surface: #ffffff10; }
.school-card__decoration { display: none; }
.school-card__identity { position: relative; padding: 36px 0 0; text-align: center; }
.school-card__logo { display: grid; place-items: center; width: 164px; height: 164px; max-width: 100%; margin: 0 auto 20px; padding: 8px; border: 1px solid #ffffffb3; border-radius: 24px; background: #fff; box-shadow: 0 10px 28px #1424400a; }
.school-card__logo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 16px; }
.school-card__identity h1 { margin: 0; color: var(--school-ink); font-family: "Montserrat", "Roboto", "Segoe UI", Arial, sans-serif; font-size: 23px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.school-card__tagline { max-width: 340px; margin: 10px auto 0; color: var(--school-muted); font-size: 15px; font-style: italic; font-weight: 400; line-height: 1.6; text-wrap: balance; }
.school-card__social { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 20px auto 0; }
.school-card__social-link { display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--school-line); border-radius: 14px; color: var(--school-ink); background: var(--school-surface); box-shadow: none; text-decoration: none; }
.school-card__social-link svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.school-card__social-link:hover { border-color: var(--school-muted); }
.school-card__divider { width: 100%; height: 1px; margin: 24px auto; background: var(--school-line); }
.school-card__divider::before { content: none; }
.school-card__pills { display: grid; gap: 10px; min-width: 0; }
.school-card__pill { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 58px; max-width: 100%; padding: 11px 15px; border: 1px solid var(--school-line); border-radius: 17px; color: var(--school-ink); background: var(--school-surface); box-shadow: 0 4px 14px #14244003; text-align: left; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.45; }
.school-card__pill::after { content: "›"; flex: 0 0 auto; margin-left: auto; color: var(--school-muted); font-size: 25px; font-weight: 400; line-height: 1; }
.school-card__pill-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: var(--school-ink); }
.school-card__pill svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.school-card__pill-label, .school-card__pill > span:not(.school-card__pill-icon):not(.school-card__arrow) { flex: 1 1 0; min-width: 0; }
.school-card__pill strong, .school-card__pill small { display: inline; margin: 0; color: inherit; font: inherit; opacity: 1; }
.school-card__pill--phone small::before { content: ": "; }
.school-card__pill:hover { border-color: var(--school-muted); text-decoration: none; }
.school-card__pill--phone { color: var(--custom-page-accent-ink, #fff); border-color: transparent; background: var(--custom-page-accent); }
.school-card__pill--phone .school-card__pill-icon, .school-card__pill--phone::after { color: inherit; }
.school-card--fairy .school-card__pill--phone { border-color: #ffffff65; }
.school-card__arrow { display: none; }
.school-card__address { margin: 18px 0 0; color: var(--school-muted); font-size: 14px; line-height: 1.6; text-align: center; }
.school-card__website { margin: 12px 0 0; text-align: center; }
.school-card__website a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--school-ink); font-size: 14px; }
.school-card__extra-actions { margin: 18px 0 0; }
.school-card__extra-actions .custom-page__action { width: 100%; border-color: var(--school-line); border-radius: 17px; color: var(--school-ink); background: var(--school-surface); font-size: 14px; }
.custom-page--school .custom-page__full { margin-top: 20px; border-color: var(--school-line); }
.custom-page--school .custom-page__full > summary { color: var(--school-muted); }
.custom-page--school .article-preview-banner.custom-page__preview { position: static; inset: auto; z-index: auto; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; width: 100%; max-width: 420px; margin: 0 auto; padding: 12px 16px; border-radius: 0; box-shadow: none; }
.custom-page--school .custom-page__preview > div { flex: 1 1 220px; min-width: 0; }
.custom-page--school .custom-page__preview span { display: block; white-space: normal; }
.custom-page--school .custom-page__preview > a { flex: 0 1 auto; max-width: 100%; min-height: 40px; white-space: normal; }

/* The card's own lower section uses the same surface, ink and spacing as its primary actions. */
.school-card-details { margin: 28px 0 0; color: var(--school-ink); font-family: "Roboto", "Segoe UI", Arial, sans-serif; }
.school-card-details__panel { position: relative; min-width: 0; overflow: hidden; padding: 20px; border: 1px solid var(--school-line); border-radius: 22px; color: var(--school-ink); background: var(--school-surface); }
.school-card-details__wave { display: none; }
.school-card-details__download { color: var(--school-ink); text-align: center; }
.school-card-details__brand { margin: 0; color: var(--school-ink); font-family: "Montserrat", "Roboto", Arial, sans-serif; font-size: 20px; font-weight: 750; letter-spacing: -.02em; line-height: 1.4; }
.school-card-details__slogan { margin: 10px 0 0; color: var(--school-muted); font-size: 14px; font-weight: 400; line-height: 1.55; text-transform: none; text-wrap: balance; }
.school-card-details__download-label { margin: 10px 0 0; color: var(--school-muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.school-card-details__badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 10px; margin: 16px 0 0; }
.school-card-details__badges > a { display: grid; place-items: center; min-width: 0; min-height: 52px; padding: 0; border: 0; border-radius: 8px; background: transparent; }
.school-card-details__badges img { display: block; width: 100%; height: auto; max-height: 56px; object-fit: contain; border-radius: 6px; }
.school-card-details__contacts { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--school-line); }
.school-card-details__contacts h2 { margin: 0 0 12px; color: var(--school-ink); font-size: 17px; font-weight: 700; line-height: 1.45; text-align: left; }
.school-card-details__contacts ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.school-card-details__contacts li { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; margin: 0; padding: 0; color: var(--school-muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
.school-card-details__contacts li > span:last-child { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.school-card-details__icon { display: inline-grid; place-items: center; flex: 0 0 20px; width: 20px; height: 24px; color: var(--school-muted); }
.school-card-details__icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.school-card-details__contacts a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--school-ink); text-decoration: none; }
.school-card-details__contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.school-card-details__credit { padding: 16px 4px 0; color: var(--school-muted); background: transparent; font-size: 11px; line-height: 1.6; text-align: center; }
.school-card-details__credit > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--school-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.school-card-details__credit > p { margin: 0; }
@media (max-width: 360px) {
  .custom-page--school .school-card { padding-inline: 18px; }
  .school-card__identity { padding-top: 28px; }
  .school-card__logo { width: 150px; height: 150px; margin-bottom: 18px; }
  .school-card__identity h1 { font-size: 21px; }
  .school-card__social { gap: 8px; }
  .school-card__pill { gap: 9px; padding-inline: 12px; font-size: 14px; }
  .school-card-details__panel { padding: 16px; }
  .school-card-details__contacts li { gap: 8px; font-size: 13px; }
  .school-card-details__badges { gap: 8px; }
}
.custom-page__full { border-top: 1px solid #e6ede8; }
.custom-page__full > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; color: #63776a; font-size: 12px; cursor: pointer; list-style: none; }
.custom-page__full > summary::-webkit-details-marker { display: none; }
.custom-page__full > summary span { font-size: 20px; font-weight: 400; }
.custom-page__full[open] > summary span { transform: rotate(45deg); }
.custom-page--school .custom-page__full .custom-page__body { padding: 14px 0 18px; font-size: 14px; }
.custom-page__full > summary:focus-visible { outline: 3px solid #e7a72e; outline-offset: 3px; border-radius: 6px; }

/* Headings and authored content become responsive sections without importing source CSS/scripts. */
.custom-page__body--structured { display: grid; gap: 24px; }
.custom-content-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; min-width: 0; padding: clamp(20px, 3vw, 34px); border: 1px solid #eaf0eb; border-radius: 20px; background: #fff; }
.custom-content-section:nth-child(even) { background: #f6faf7; border-color: #f0f5f1; }
.custom-content-section--split, .custom-content-section--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.custom-content-block { min-width: 0; max-width: 100%; }
.custom-content-block--heading, .custom-content-block--wide { grid-column: 1 / -1; }
.custom-content-block--copy { grid-column: 1; }
.custom-content-block--media { grid-column: 2; }
.custom-content-block--badge { display: inline-flex; align-items: center; justify-content: flex-start; grid-column: auto; }
.custom-content-block--badge > img { width: auto; height: auto; max-width: 180px; max-height: 70px; margin: 0; object-fit: contain; }
.custom-content-section--gallery .custom-content-block--media { grid-column: auto; }
.custom-content-block--heading :where(h2, h3, h4, h5, h6) { margin-top: 0; margin-bottom: 0; }
.custom-content-block--media > img { max-height: 420px; object-fit: contain; border-radius: 14px; }
.custom-content-block--media > figure { margin: 0; }
.custom-content-block--copy > :first-child { margin-top: 0; }
.custom-content-block--copy > :last-child { margin-bottom: 0; }
.custom-page--onekids-install .custom-page__header, .custom-page--onekids-landing .custom-page__header, .custom-page--onekids-survey .custom-page__header { background: linear-gradient(135deg, #eef8f0, #fff9ed); }
.custom-page--onekids-install .custom-page__surface > .custom-page__cover { float: right; width: 35%; padding: 36px 30px 12px; background: transparent; }
.custom-page--onekids-install .custom-page__surface > .custom-page__cover img { max-height: 320px; }
.custom-page--onekids-install .custom-page__header { min-height: 360px; text-align: left; }
.custom-page--onekids-install .custom-page__actions { justify-content: flex-start; }
.custom-page--onekids-install .custom-page__body { clear: both; }
.custom-page--onekids-terms .custom-page__body--structured { display: block; }
@media (max-width: 700px) {
  .custom-content-section--split, .custom-content-section--gallery { grid-template-columns: minmax(0, 1fr); }
  .custom-content-block--copy, .custom-content-block--media { grid-column: 1; }
  .custom-content-section--gallery .custom-content-block--media { grid-column: 1; }
  .custom-page--onekids-install .custom-page__surface > .custom-page__cover { float: none; width: 100%; padding: 26px 30px 0; background: #f1f8f1; }
  .custom-page--onekids-install .custom-page__surface > .custom-page__cover img { max-height: 230px; }
  .custom-page--onekids-install .custom-page__header { min-height: 0; text-align: center; }
}
