/* Shared interior-page styling, taken from the homepage's visual language.
   Existing columns, galleries, media, and interactive layouts remain in place. */
@font-face {
  font-family: Scoliomain;
  src: url('/wp-content/fonts/Scoliomain.woff') format('woff'), url('/wp-content/fonts/Scoliomain.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Scolionav;
  src: url('/wp-content/fonts/Scolionav.woff') format('woff'), url('/wp-content/fonts/Scolionav.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body.scc-interior {
  --scc-brand-purple: #333399;
  --scc-brand-green: #6a9144;
  --scc-purple: #333399;
  --scc-navy: #333399;
  --scc-green: #6a9144;
  --scc-white: #ffffff;
  --scc-bg: #f8f9fc;
  --scc-soft: #f8f9fc;
  --scc-text: #333333;
  --scc-muted: #666666;
  --scc-line: #e8e8f3;
  --scc-border: #e8e8f3;
  --scc-shadow: 0 6px 18px rgb(0 0 0 / 8%);
  --scc-hover-shadow: 0 12px 36px rgb(0 0 0 / 10%);
  --scc-radius: 14px;
  --scc-green-dark: #557735;
  --scc-purple-dark: #252575;
  --primary: #333399;
  --primary-dark: #252575;
  --accent: #6a9144;
  --accent-light: #f0f5eb;
  --ink: #333333;
  --text: #333333;
  --muted: #666666;
  --bg: #f8f9fc;
  --border: #e8e8f3;
  --radius: 14px;
  --shadow: var(--scc-shadow);
  --about-navy: #333399;
  --about-navy-dark: #252575;
  --about-green: #6a9144;
  --about-soft: #f8f9fc;
  --about-soft-2: #f8f8fb;
  --about-text: #333333;
  --about-muted: #666666;
  --about-border: #e8e8f3;
  --about-shadow: var(--scc-shadow);
  --about-shadow-sm: var(--scc-shadow);
  --about-radius: 14px;
  --about-radius-md: 14px;
  --about-radius-sm: 12px;
  --svm-navy: #333399;
  --svm-navy-dark: #252575;
  --svm-navy-deep: #252575;
  --svm-green: #6a9144;
  --svm-lav: #f8f8fb;
  --svm-soft: #f8f9fc;
  --svm-text: #333333;
  --svm-muted: #666666;
  --svm-border: #e8e8f3;
  --svm-shadow: var(--scc-shadow);
  --svm-shadow-sm: var(--scc-shadow);
  --svm-radius: 14px;
  --svm-radius-md: 14px;
  --svm-radius-sm: 12px;
  --risk-navy: #333399;
  --risk-green: #6a9144;
  --risk-bg: #f8f9fc;
  --risk-text: #333333;
  --risk-muted: #666666;
  --risk-border: #e8e8f3;
  --risk-shadow: var(--scc-shadow);
  --risk-radius: 14px;
  --sh-navy: #333399;
  --sh-green: #6a9144;
  --sh-bg: #f8f9fc;
  --sh-text: #333333;
  --sh-muted: #666666;
  --sh-border: #e8e8f3;
  --sh-shadow: var(--scc-shadow);
  --sh-radius: 14px;
  font-family: Scoliomain, Arial, sans-serif;
  color: var(--scc-text);
  background: #ffffff;
}

body.scc-interior .entry-content {
  font-family: Scoliomain, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--scc-text);
}

/* Some exported pages reserve space for a retired sticky banner. */
body.scc-interior #masthead.site-header {
  margin-top: 0 !important;
}

body.scc-interior .entry-content :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, label, input, select, textarea, button, a, table) {
  font-family: Scoliomain, Arial, sans-serif !important;
}

body.scc-interior .entry-content :is(h1, h2, h3, h4, h5, h6) {
  color: var(--scc-brand-purple) !important;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-transform: none;
}

body.scc-interior .entry-content h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem) !important;
  line-height: 1.2 !important;
}

body.scc-interior .entry-content h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

body.scc-interior .entry-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

body.scc-interior .entry-content :is(h1, h2, h3, h4) :is(strong, span, a) {
  color: inherit !important;
}

body.scc-interior .entry-content :is(h1, h2, h3, h4) strong {
  font-weight: inherit;
}

body.scc-interior .entry-content :is(p, li) {
  line-height: 1.7;
}

body.scc-interior .entry-content p.wp-block-paragraph {
  font-size: 1rem;
}

body.scc-interior .entry-content a:not([class*="btn"]):not([class*="button"]):not(.ctabtn):not(.sv-cta):not(.schedule-button) {
  color: var(--scc-brand-purple);
  text-decoration-color: rgb(51 51 153 / 30%);
  text-underline-offset: 0.18em;
}

body.scc-interior .entry-content a:not([class*="btn"]):not([class*="button"]):not(.ctabtn):not(.sv-cta):not(.schedule-button):hover {
  color: var(--scc-purple-dark);
  text-decoration-color: currentColor;
}

body.scc-interior :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--scc-brand-purple) !important;
  outline-offset: 4px;
}

/* Titles and introductory panels use the homepage's pale hero surface. */
body.scc-interior .entry-content :is(.pghead, .about-hero, .svm-hero, .risk-hero, .banner-section, .hero, .lp-hero, .blog-header-wrapper) {
  background: var(--scc-bg) !important;
  color: var(--scc-text) !important;
  box-shadow: none !important;
}

body.scc-interior .entry-content :is(.pghead, .blog-header-wrapper) {
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem) !important;
  margin-bottom: 1.75rem;
}

body.scc-interior .entry-content .pghead {
  font-weight: 600;
}

body.scc-interior .entry-content :is(.about-hero, .svm-hero, .risk-hero, .banner-section, .hero, .lp-hero) :is(p, .svm-meta, .hero-subtitle, .hero-sub, .lead, .about-subhead, .svm-subhead) {
  color: var(--scc-text) !important;
}

body.scc-interior .entry-content :is(.about-eyebrow, .svm-eyebrow, .eyebrow, .start-here-eyebrow) {
  color: var(--scc-green-dark) !important;
  background: transparent !important;
  border-color: var(--scc-line) !important;
  box-shadow: none !important;
}

body.scc-interior .entry-content .svm-proof__item {
  background: #ffffff;
  border: 1px solid var(--scc-line);
  border-radius: 14px;
  box-shadow: var(--scc-shadow);
}

body.scc-interior .entry-content .svm-proof__item strong {
  color: var(--scc-brand-purple);
}

body.scc-interior .entry-content .svm-proof__item span {
  color: var(--scc-text);
}

/* Card styling is shared; grids, widths, and gallery scrolling are preserved. */
body.scc-interior .entry-content :is(.card, .service-card, .section-card, .feature-card, .step-card, .option-card, .provider-card, .doctor-card, .doctor-sidebar, .about-intro-card, .about-cta__card, .svm-quicknav__card, .svm-lead, .svm-method-card, .svm-link-card, .svm-ref-card, .svm-band, .svm-cta__card, .risk-card, .risk-outcome-card, .risk-expected-outcome, .risk-learn-card, .start-here-card, .start-here-form-card, .start-here-support__box, .contact-info-card, .general-contact, .blog-post-card, .sidebar-box, .testimonial-card, .story-card, .problem-solution-card, .myth-card, .brace-card, .booking-card, .info-box, .case-study) {
  border: 1px solid var(--scc-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--scc-shadow) !important;
}

body.scc-interior .entry-content :is(.about-intro-card, .svm-quicknav__card, .svm-lead, .svm-method-card, .svm-link-card, .svm-ref-card, .doctor-card, .contact-info-card, .general-contact, .blog-post-card, .start-here-form-card) {
  background: #ffffff !important;
}

body.scc-interior .entry-content :is(.blog-post-card, .service-card, .svm-method-card, .svm-link-card, .contact-info-card):hover {
  border-color: #d3d3e9 !important;
  box-shadow: var(--scc-hover-shadow) !important;
}

body.scc-interior .entry-content :is(.about-cta__card, .svm-cta__card, .svm-band, .cta, .risk-report-cta, .callout, .callout-note, .doctor-quote, .quote, .svm-note, .hero-note) {
  background: var(--scc-bg) !important;
  color: var(--scc-text) !important;
  border-color: var(--scc-line) !important;
  border-radius: 14px;
  box-shadow: none !important;
}

body.scc-interior .entry-content :is(.about-cta__card, .svm-cta__card, .cta, .risk-report-cta, .callout, .doctor-quote, .quote) :is(p, span, strong) {
  color: var(--scc-text) !important;
}

body.scc-interior .entry-content :is(.doctor-quote, .quote, .svm-note, .callout-note) {
  border-left: 3px solid var(--scc-brand-green) !important;
}

body.scc-interior .entry-content :is(.has-background.wp-block-heading, .aftermenu, .category-header, .scc-handle label) {
  background: var(--scc-bg) !important;
  color: var(--scc-brand-purple) !important;
  border: 1px solid var(--scc-line);
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.scc-interior .entry-content .category-header {
  text-transform: none;
}

body.scc-interior .entry-content .category-section {
  background: var(--scc-bg) !important;
  color: var(--scc-text);
  border: 1px solid var(--scc-line);
  border-radius: 14px;
}

body.scc-interior .entry-content .category-header::after {
  background: var(--scc-brand-green);
  height: 3px;
  width: 3rem;
}

body.scc-interior .entry-content .scc-handle label:hover {
  background: #eeeef8 !important;
}

body.scc-interior .entry-content .scc-content {
  background: #ffffff;
  color: var(--scc-text);
  border-radius: 12px;
}

/* Primary actions follow the homepage's green rectangular buttons. */
body.scc-interior .entry-content :is(.btn, .primary-btn, .primary-button, .cta-button, .ctabtn, .help.ctabtn, .about-btn, .svm-btn, .start-here-btn, .risk-btn, .wp-block-button__link, .wp-element-button, .nocharge-button, .schedule-button, .sv-cta, .respgbtn, .accomodatebtn, .instabtn, .sidebar-button, .calcbtn, .pcalcbtn, #calcbtn, #CalcButton, button[type="submit"], input[type="submit"], .wpforms-page-next) {
  background: var(--scc-brand-green) !important;
  color: #ffffff !important;
  border: 1px solid var(--scc-brand-green) !important;
  border-radius: 4px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  padding: 0.75rem 1.5rem !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease !important;
  white-space: normal;
  height: auto;
}

body.scc-interior .entry-content :is(.btn, .primary-btn, .cta-button, .ctabtn, .about-btn, .svm-btn, .start-here-btn, .risk-btn, .wp-block-button__link, .wp-element-button, .nocharge-button, .schedule-button, .sv-cta, .sidebar-button, #calcbtn, button[type="submit"], input[type="submit"]):hover {
  background: var(--scc-green-dark) !important;
  border-color: var(--scc-green-dark) !important;
  color: #ffffff !important;
  transform: none !important;
}

body.scc-interior .entry-content :is(.btn.ghost, .btn-secondary, .outline-btn, .secondary-btn, .start-here-btn--ghost, .start-here-btn--secondary, .risk-btn--ghost, .category-button, .svm-pill, .detail-btn, .wpforms-page-prev, .wp-block-button.is-style-outline .wp-block-button__link) {
  background: transparent !important;
  color: var(--scc-green-dark) !important;
  border: 1.5px solid var(--scc-brand-green) !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.scc-interior .entry-content :is(.btn.ghost, .btn-secondary, .outline-btn, .secondary-btn, .start-here-btn--ghost, .start-here-btn--secondary, .risk-btn--ghost, .category-button, .svm-pill, .detail-btn, .wpforms-page-prev):hover {
  background: #f0f5eb !important;
  color: var(--scc-green-dark) !important;
  border-color: var(--scc-brand-green) !important;
}

body.scc-interior .entry-content :is(.btn, .primary-btn, .cta-button, .ctabtn, .about-btn, .svm-btn, .start-here-btn, .risk-btn, .wp-block-button__link, .nocharge-button, .schedule-button) :is(span, strong) {
  color: inherit !important;
}

body.scc-interior .entry-content :is(.category-button.active, .tab-button.active, .page-numbers.current) {
  background: var(--scc-brand-purple) !important;
  color: #ffffff !important;
  border-color: var(--scc-brand-purple) !important;
}

/* Inputs share quiet borders and retain their existing validation states. */
body.scc-interior .entry-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="hidden"]), select, textarea) {
  border-color: var(--scc-line) !important;
  border-radius: 6px !important;
  background-color: #ffffff;
  color: var(--scc-text);
  font-size: 1rem;
}

body.scc-interior .entry-content :is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: var(--scc-brand-green);
}

body.scc-interior .entry-content :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #b42318 !important;
}

body.scc-interior .entry-content :is(th, .wp-block-table thead) {
  background-color: var(--scc-bg);
  color: var(--scc-brand-purple);
}

body.scc-interior .entry-content :is(td, th) {
  border-color: var(--scc-line);
}

@media (max-width: 600px) {
  body.scc-interior .entry-content :is(.pghead, .blog-header-wrapper) {
    padding: 1.5rem 1rem !important;
  }

  body.scc-interior .entry-content .category-button {
    margin-left: 0;
    font-size: 0.875rem;
  }

  body.scc-interior .entry-content .category-button-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.scc-interior .entry-content :is(a, button) {
    transition: none !important;
  }
}

/* Shared site footer (markup in src/site-footer.mjs). Scoped tightly because pages keep the global WordPress styles. */
.scc-footer { --f-purple: #333399; --f-deep: #252575; --f-lilac: #d3d3f0; --f-line: rgb(255 255 255 / 18%); --f-spring: #b9d99a; --f-ink: #333333; background: var(--f-purple); color: #fff; font: 400 16px/1.55 Scoliomain, Arial, sans-serif; overflow: hidden; clear: both; }
.scc-footer * { box-sizing: border-box; }
.scc-footer a { color: inherit; text-decoration: none; box-shadow: none; border: 0; }
.scc-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.scc-footer a:focus-visible, .scc-footer button:focus-visible, .scc-footer input:focus-visible { outline: 3px solid var(--f-spring); outline-offset: 2px; }
.scc-footer p, .scc-footer ul { margin: 0; padding: 0; }
.scc-footer li { list-style: none; margin: 0; padding: 0; }
.scc-footer h2 { margin: 0 0 12px; padding: 0; color: #fff; font: 700 16px/1.3 Scoliomain, Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.scc-footer__spine { display: block; width: 100%; height: 128px; }
.scc-footer__spine--narrow { display: none; }
.scc-footer__wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.scc-footer__lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding: 14px 0 52px; align-items: start; }
.scc-footer .scc-footer__statement { max-width: 13em; font-size: 40px; line-height: 1.14; letter-spacing: -.01em; text-wrap: balance; }
.scc-footer__statement span { white-space: nowrap; }
.scc-footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.scc-footer a.scc-footer__cta { display: inline-block; padding: 15px 28px; border-radius: 999px; background: #fff; color: var(--f-purple); font-weight: 800; font-size: 17px; line-height: 1.55; }
.scc-footer a.scc-footer__cta:hover { background: var(--f-lilac); color: var(--f-deep); text-decoration: none; }
.scc-footer .scc-footer__tollfree { color: var(--f-lilac); font-size: 15px; line-height: 1.35; }
.scc-footer__tollfree a { display: block; color: #fff; font-weight: 700; font-size: 19px; }
.scc-footer__clinics { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.scc-footer__clinic { border-left: 3px solid var(--f-spring); padding-left: 20px; }
.scc-footer .scc-footer__clinic h2 { margin-bottom: 8px; font-size: 21px; }
.scc-footer .scc-footer__clinic p { color: var(--f-lilac); }
.scc-footer a.scc-footer__phone { display: block; width: fit-content; margin-top: 10px; color: #fff; font-weight: 700; font-size: 19px; }
.scc-footer a.scc-footer__directions { display: inline-block; margin-top: 6px; color: var(--f-spring); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.scc-footer__lower { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 340px); gap: 32px; padding: 40px 0 48px; border-top: 1px solid var(--f-line); }
.scc-footer__links ul { display: grid; gap: 8px; }
.scc-footer__links a { color: var(--f-lilac); font: 400 15.5px/1.35 Scolionav, Arial, sans-serif; letter-spacing: .01em; }
.scc-footer__newsletter { margin: 0; position: relative; }
.scc-footer .scc-footer__newsletter > p { margin-bottom: 14px; color: var(--f-lilac); font-size: 15px; line-height: 1.45; }
.scc-footer__field { display: flex; padding: 4px; border-radius: 999px; background: #fff; }
.scc-footer .scc-footer__field input { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: none; box-shadow: none; color: var(--f-ink); font: 400 15px Scoliomain, Arial, sans-serif; }
.scc-footer .scc-footer__field input::placeholder { color: #666666; opacity: 1; }
.scc-footer .scc-footer__field button { margin: 0; padding: 10px 18px; border: 0; border-radius: 999px; background: #557735; box-shadow: none; color: #fff; font: 700 15px/1.3 Scoliomain, Arial, sans-serif; text-transform: none; cursor: pointer; }
.scc-footer .scc-footer__field button:hover { background: #466029; }
.scc-footer .scc-footer__field button:disabled { opacity: .65; cursor: default; }
.scc-footer label.scc-footer__consent { display: flex; gap: 9px; margin: 12px 0 0; color: var(--f-lilac); font: 400 13.5px/1.4 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-footer .scc-footer__consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #557735; }
.scc-footer__consent a { text-decoration: underline; text-underline-offset: 2px; }
.scc-footer .scc-footer__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.scc-footer [data-scc-status] { margin-top: 10px; color: #fff; font-size: 14px; font-weight: 600; }
.scc-footer__base { background: var(--f-deep); }
.scc-footer__base .scc-footer__wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: var(--f-lilac); }
.scc-footer img.scc-footer__logo { display: block; width: auto; height: 36px; max-width: 100%; filter: brightness(0) invert(1); }
.scc-footer .scc-footer__legal { flex: 1; min-width: 240px; }
.scc-footer__legal a { margin-left: 16px; color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.scc-footer__social { display: flex; gap: 8px; }
.scc-footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--f-line); border-radius: 50%; }
.scc-footer__social svg { display: block; width: 16px; height: 16px; fill: #fff; }
.scc-footer .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1080px) {
  .scc-footer__lead { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scc-footer__lower { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scc-footer__newsletter { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 720px) {
  .scc-footer__wrap { padding: 0 20px; }
  .scc-footer__spine { height: 92px; }
  .scc-footer__spine--wide { display: none; }
  .scc-footer__spine--narrow { display: block; }
  .scc-footer .scc-footer__statement { font-size: 31px; }
  .scc-footer__actions { display: block; }
  .scc-footer a.scc-footer__cta { display: block; text-align: center; }
  .scc-footer .scc-footer__tollfree { margin-top: 20px; }
  .scc-footer__clinics { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .scc-footer__lead { padding-bottom: 40px; }
  .scc-footer__lower { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding-top: 32px; }
  .scc-footer__newsletter { grid-column: 1 / -1; order: -1; max-width: none; padding-bottom: 28px; border-bottom: 1px solid var(--f-line); }
  .scc-footer__base .scc-footer__wrap { flex-direction: column; align-items: flex-start; }
  .scc-footer .scc-footer__legal { flex: none; min-width: 0; }
  .scc-footer__legal span { display: block; }
  .scc-footer__legal a { display: block; width: fit-content; margin: 8px 0 0; }
}

/* Newsletter section (markup in src/newsletter-section.mjs). Uses the same look as .scc-footer. */
#scc-news { --f-purple: #333399; --f-lilac: #d3d3f0; --f-line: rgb(255 255 255 / 18%); --f-spring: #b9d99a; --f-ink: #333333; clear: both; background: var(--f-purple); color: #fff; font: 400 16px/1.55 Scoliomain, Arial, sans-serif; overflow: hidden; }
#scc-news * { box-sizing: border-box; }
#scc-news .scc-news__wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 60px 40px; }
#scc-news h2 { margin: 0; padding: 0; color: #fff; font: 400 40px/1.14 Scoliomain, Arial, sans-serif; letter-spacing: -.01em; text-align: left; text-transform: none; }
#scc-news .scc-news__sub { margin: 14px 0 0; padding: 0; max-width: 33em; color: var(--f-lilac); font-size: 17px; line-height: 1.5; text-align: left; }
#scc-news ul.scc-news__search { margin: 28px 0 0; padding: 0; list-style: none; }
#scc-news .scc-news__search svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#scc-news .scc-news__search li { list-style: none; margin: 0; }
#scc-news .scc-news__search li.scc-news__bar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px 0 24px; border-radius: 999px; background: #fff; color: var(--f-purple); font-weight: 800; font-size: 17px; line-height: 1.3; }
#scc-news .scc-news__bar > svg { width: 20px; height: 20px; }
#scc-news .scc-news__typed { position: relative; display: flex; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
#scc-news .scc-news__typed.is-long { justify-content: flex-end; }
#scc-news .scc-news__typed > span { flex: none; }
#scc-news .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#scc-news .scc-news__caret { flex: none; align-self: center; width: 2px; height: 1.15em; margin-left: 3px; background: var(--f-purple); }
#scc-news .is-running .scc-news__caret { animation: scc-news-caret 1s steps(2, jump-none) infinite; }
#scc-news .is-typing .scc-news__caret { animation: none; }
@keyframes scc-news-caret { from { opacity: 1; } to { opacity: 0; } }
#scc-news .scc-news__pause { display: grid; flex: none; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: var(--f-purple); cursor: pointer; }
#scc-news .scc-news__pause[hidden] { display: none; }
#scc-news .scc-news__pause:hover { background: #ececf8; }
#scc-news .scc-news__pause:focus-visible { outline: 3px solid var(--f-purple); outline-offset: 1px; }
#scc-news .scc-news__pause svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
#scc-news .scc-news__search li.scc-news__row { display: flex; align-items: center; gap: 12px; padding: 11px 24px; border-bottom: 1px solid var(--f-line); color: var(--f-lilac); font: 400 15.5px/1.35 Scolionav, Arial, sans-serif; letter-spacing: .01em; transition: color .25s ease; }
#scc-news .scc-news__row svg { width: 15px; height: 15px; color: var(--f-spring); }
#scc-news .scc-news__search li.scc-news__row:last-child { border-bottom: 0; }
#scc-news .scc-news__search li.scc-news__row.is-active { color: #fff; }
#scc-news .scc-news__sign { align-self: center; border-left: 3px solid var(--f-spring); padding-left: 24px; }
#scc-news h3 { margin: 0 0 8px; padding: 0; color: #fff; font: 700 21px/1.3 Scoliomain, Arial, sans-serif; letter-spacing: 0; text-align: left; text-transform: none; }
#scc-news .scc-news__sign > p { margin: 0 0 20px; padding: 0; color: var(--f-lilac); font-size: 16px; line-height: 1.55; text-align: left; }
#scc-news form { position: relative; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#scc-news .scc-news__field { display: flex; padding: 4px; border-radius: 999px; background: #fff; }
#scc-news .scc-news__field input { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: none; box-shadow: none; color: var(--f-ink); font: 400 15px Scoliomain, Arial, sans-serif; }
#scc-news .scc-news__field input::placeholder { color: #666666; opacity: 1; }
#scc-news .scc-news__field button { margin: 0; padding: 12px 20px; border: 0; border-radius: 999px; background: #557735; box-shadow: none; color: #fff; font: 700 15px/1.3 Scoliomain, Arial, sans-serif; text-transform: none; cursor: pointer; }
#scc-news .scc-news__field button:hover { background: #466029; }
#scc-news .scc-news__field button:disabled { opacity: .65; cursor: default; }
#scc-news a:focus-visible, #scc-news .scc-news__field button:focus-visible, #scc-news form input:focus-visible { outline: 3px solid var(--f-spring); outline-offset: 2px; }
#scc-news label.scc-news__consent { display: flex; gap: 9px; margin: 12px 0 0; color: var(--f-lilac); font: 400 13.5px/1.4 Scoliomain, Arial, sans-serif; text-align: left; cursor: pointer; }
#scc-news .scc-news__consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #557735; }
#scc-news .scc-news__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; box-shadow: none; }
#scc-news .scc-news__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#scc-news [data-scc-status] { margin: 10px 0 0; color: #fff; font-size: 14px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  #scc-news .scc-news__caret, #scc-news .scc-news__pause { display: none; }
  #scc-news .scc-news__search li.scc-news__row { transition: none; }
}
@media (max-width: 1080px) { #scc-news .scc-news__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
@media (max-width: 720px) {
  #scc-news .scc-news__wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 20px 44px; }
  #scc-news h2 { font-size: 31px; }
  #scc-news .scc-news__search li.scc-news__bar { gap: 10px; padding: 0 8px 0 18px; font-size: 16px; }
  #scc-news .scc-news__search li.scc-news__row { padding: 11px 18px; }
}

/* Interior pages force colors, fonts and buttons inside .entry-content with !important. This section keeps its own. */
#scc-news h2 { color: #fff !important; font: 400 40px/1.14 Scoliomain, Arial, sans-serif !important; letter-spacing: -.01em !important; }
#scc-news h3 { color: #fff !important; font: 700 21px/1.3 Scoliomain, Arial, sans-serif !important; letter-spacing: 0 !important; }
#scc-news .scc-news__sub { color: var(--f-lilac) !important; font-size: 17px !important; line-height: 1.5 !important; }
#scc-news .scc-news__sign > p { color: var(--f-lilac) !important; font-size: 16px !important; line-height: 1.55 !important; }
#scc-news .scc-news__search li.scc-news__bar { color: var(--f-purple) !important; font-size: 17px !important; line-height: 1.3 !important; }
#scc-news .scc-news__search li.scc-news__row { color: var(--f-lilac) !important; font: 400 15.5px/1.35 Scolionav, Arial, sans-serif !important; }
#scc-news .scc-news__field input { font: 400 15px Scoliomain, Arial, sans-serif !important; color: var(--f-ink) !important; }
body #scc-news .scc-news__field button[type="submit"] { width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 12px 20px !important; border: 0 !important; border-radius: 999px !important; background: #557735 !important; box-shadow: none !important; color: #fff !important; font: 700 15px/1.3 Scoliomain, Arial, sans-serif !important; transform: none !important; }
body #scc-news .scc-news__field button[type="submit"]:hover { background: #466029 !important; border-color: #466029 !important; }
#scc-news .scc-news__pause { width: 36px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: none !important; box-shadow: none !important; color: var(--f-purple) !important; transform: none !important; }
#scc-news .scc-news__pause:hover { background: #ececf8 !important; }
#scc-news label.scc-news__consent { color: var(--f-lilac) !important; font: 400 13.5px/1.4 Scoliomain, Arial, sans-serif !important; }
#scc-news .scc-news__consent a { color: inherit !important; font: inherit !important; text-decoration: underline !important; }
#scc-news .scc-news__consent a:hover { color: #fff !important; }
#scc-news [data-scc-status] { color: #fff !important; font-size: 14px !important; }

/* Search suggestions: the typed part stays soft and the rest of each suggestion is bold, like a search engine. */
#scc-news .scc-news__search li.scc-news__row { height: 44px; padding-top: 0; padding-bottom: 0; transition: opacity .16s ease, background-color .16s ease; }
#scc-news .scc-news__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#scc-news .scc-news__row b { color: #fff; font-weight: 700; }
#scc-news .is-suggesting li.scc-news__row { opacity: 0; border-bottom-color: transparent; }
#scc-news .is-suggesting li.scc-news__row.is-shown { opacity: 1; border-bottom-color: var(--f-line); }
#scc-news .is-suggesting li.scc-news__row.is-shown:has(+ li.scc-news__row:not(.is-shown)) { border-bottom-color: transparent; }
#scc-news .is-suggesting li.scc-news__row.is-picked { border-radius: 8px; border-bottom-color: transparent; background: rgb(255 255 255 / 14%); }
@media (max-width: 720px) {
  #scc-news h2 { font-size: 31px !important; }
  #scc-news .scc-news__search li.scc-news__bar { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #scc-news .scc-news__search li.scc-news__row { transition: none; }
}

/* The interior theme forces a purple focus ring, which disappears on these purple sections. */
#scc-news :is(a, button, input):focus-visible, #scc-site-footer :is(a, button, input):focus-visible { outline: 3px solid #b9d99a !important; outline-offset: 2px; }
#scc-news .scc-news__pause:focus-visible { outline-color: #333399 !important; outline-offset: 1px; }

/* The pretend mouse browsing the search suggestions. */
#scc-news ul.scc-news__search { position: relative; }
#scc-news .scc-news__search li.scc-news__cursor { position: absolute; left: 0; top: 0; z-index: 2; width: 24px; height: 24px; padding: 0; border: 0; opacity: 0; pointer-events: none; transition: transform .4s cubic-bezier(.45, .05, .25, 1), opacity .2s ease; }
#scc-news .scc-news__search li.scc-news__cursor.is-visible { opacity: 1; }
#scc-news .scc-news__cursor svg { display: block; width: 24px; height: 24px; fill: #fff; stroke: #252575; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 35%)); transform-origin: 20% 10%; transition: transform .12s ease; }
#scc-news .scc-news__cursor.is-clicking svg { transform: scale(.82); }
#scc-news .is-suggesting li.scc-news__row.is-hover { border-radius: 8px; border-bottom-color: transparent; background: rgb(255 255 255 / 9%); }
@media (prefers-reduced-motion: reduce) {
  #scc-news .scc-news__search li.scc-news__cursor { display: none; }
}

/* ===== Site header (shared: src/site-header.mjs) ===== */
.site-header { background: #fafafa; border-bottom: 1px solid #ebebf4; position: relative; z-index: 50; }
.site-brand { padding: 20px 30px; display: flex; align-items: center; justify-content: center; }
.site-logo { display: block; line-height: 0; }
.site-logo img { width: 350px; max-width: 100%; height: auto; }
.site-nav { background: #fafafa; border-top: 1px solid #f0f0f5; }
.site-nav-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 30px); height: 48px; margin: 12px 15px; border: 0; border-radius: 12px; background: #333399; color: #fff; font: 700 16px/1 Scoliomain, Arial, sans-serif; cursor: pointer; }
.site-nav-toggle:hover { background: #252575; }
.site-nav-toggle:focus-visible, .site-menu a:focus-visible, .site-submenu-toggle:focus-visible { outline: 3px solid #557735; outline-offset: 2px; }
.site-nav-bars { width: 18px; height: 12px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.site-nav-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #fff; }
.site-menu { list-style: none; margin: 0; padding: 0 15px 12px; display: none; }
.site-nav.is-open .site-menu { display: block; }
.site-menu-item { position: relative; border-top: 1px solid #ebebf4; }
.site-menu-item > a { position: relative; display: block; padding: 14px 4px; font: 600 16px/1.3 Scoliomain, Arial, sans-serif; color: #333399; text-decoration: none; transition: color 0.2s ease; }
.site-menu-item > a[aria-current="page"], .site-menu-item.is-current > a { color: #252575; font-weight: 700; }
.site-menu-item.is-ancestor > a { color: #252575; }
.site-submenu-toggle { position: absolute; right: 0; top: 0; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.site-submenu-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid #333399; border-bottom: 2px solid #333399; transform: translate(-50%, -70%) rotate(45deg); transition: transform 0.2s ease; }
.site-submenu-toggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(-135deg); }
.site-submenu { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; display: none; }
.site-menu-item.is-open > .site-submenu { display: block; }
.site-submenu li > a { display: block; padding: 10px 4px; font: 400 15px/1.35 Scoliomain, Arial, sans-serif; color: #4e5163; text-decoration: none; }
.site-submenu li > a:hover { color: #333399; }
.site-submenu li.is-current > a, .site-submenu a[aria-current="page"] { color: #252575; font-weight: 700; }
.site-submenu .site-menu-item { border-top: 0; }
.site-submenu .site-submenu-toggle { height: 40px; width: 40px; }
@media (min-width: 1280px) {
  .site-nav-toggle { display: none; }
  .site-nav { border-top: 0; }
  .site-menu { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; padding: 0 15px; }
  .site-menu-item { border-top: 0; }
  .site-menu-item > a { padding: 16px 12px; white-space: nowrap; }
  /* Current page: a short indigo bar under the item. Hover shows the same bar, lighter. */
  .site-menu-item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: #333399; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
  .site-menu-item:hover > a::after, .site-menu-item:focus-within > a::after { transform: scaleX(0.5); }
  .site-menu-item > a[aria-current="page"]::after, .site-menu-item.is-current > a::after, .site-menu-item.is-ancestor > a::after { transform: scaleX(1); }
  /* Items with a dropdown get a small chevron. */
  .site-menu-item.has-children > a { padding-right: 26px; }
  .site-menu-item.has-children > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
  .site-menu-item.has-children:hover > a::before, .site-menu-item.has-children:focus-within > a::before { transform: translateY(-30%) rotate(225deg); }
  .site-submenu-toggle { display: none; }
  .site-submenu { display: block; position: absolute; top: 100%; left: 50%; min-width: 260px; margin: 0; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 16px 36px rgba(51, 51, 153, 0.16); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 60; }
  .site-menu-item:hover > .site-submenu, .site-menu-item:focus-within > .site-submenu, .site-menu-item.is-open > .site-submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .site-submenu li > a { padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
  .site-submenu li > a:hover { background: #f4f4fb; }
  .site-submenu .site-menu-item { border-top: 0; }
  /* Free Case Review: the one call to action in the menu, styled as a button. */
  .site-menu-item.is-cta { margin-left: 10px; }
  .site-menu-item.is-cta > a { padding: 11px 20px; border-radius: 999px; background: #557735; color: #fff; }
  .site-menu-item.is-cta > a::after { content: none; }
  .site-menu-item.is-cta > a:hover { background: #466029; color: #fff; }
}
/* Desktop: one row. Logo on the left, menu on the right, and the call to action as a dark button. */
@media (min-width: 1280px) {
  .site-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 30px; }
  .site-brand { padding: 0 24px 0 0; justify-content: flex-start; border-right: 1px solid #dcdcec; margin-right: 20px; }
  .site-logo img { width: 260px; }
  .site-nav { flex: 1 1 auto; min-width: 0; background: transparent; border-top: 0; }
  .site-menu { justify-content: flex-end; flex-wrap: nowrap; padding: 0; }
  .site-menu-item > a { padding: 22px 8px; color: #333399; font-size: 14px; }
  .site-menu-item > a::after { left: 8px; right: 8px; }
  .site-menu-item.has-children > a { padding-right: 19px; }
  .site-menu-item.has-children > a::before { right: 6px; }
  .site-menu-item.is-cta { margin-left: 10px; }
  .site-menu-item.is-cta > a { background: #252575; padding: 13px 22px; }
  .site-menu-item.is-cta > a:hover { background: #333399; }
}
/* Header search: the same field and suggestions as the search page. Small screens show the field under the menu.
   Desktop shows a round button that opens the field. The suggestion list comes from the runtime (form[role="search"]). */
.site-search { position: relative; margin: 0 15px 12px; }
.site-search-open { display: none; }
.site-search .scc-search-field { margin: 0; }
.site-search .scc-search-field input { height: 44px; font-size: 15px; }
.site-search .scc-search-field button { height: 36px; margin: 4px 0; }
@media (min-width: 1280px) {
  .site-nav { display: flex; align-items: center; gap: 10px; }
  .site-search { margin: 0; flex: 0 0 auto; }
  .site-search-open { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid #dcdcec; border-radius: 50%; background: #fff; color: #252575; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
  .site-search-open:hover { background: #f4f4fb; border-color: #c4c5ec; }
  .site-search-open svg { width: 20px; height: 20px; }
  .site-search .scc-search-field { display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 320px; background: #fff; box-shadow: 0 10px 28px rgba(51, 51, 153, 0.16); z-index: 70; }
  .site-search.is-open .scc-search-field { display: flex; }
  .site-search.is-open .site-search-open { border-color: #333399; }
  .site-search .scc-search-field input { height: 38px; font-size: 14px; }
  .site-search .scc-search-field button { height: 30px; margin: 2px 0; padding: 0 14px; font-size: 14px; }
}
@media (min-width: 1280px) {
}
/* Desktop: one row. Logo on the left; the menu, the dark call-to-action and the search icon on the right. */
@media (min-width: 1280px) {
  .site-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 30px; gap: 20px; }
  .site-brand { padding: 0; margin: 0; border-right: 0; justify-content: flex-start; flex: 0 0 auto; }
  .site-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; min-width: 0; gap: 10px; background: transparent; border-top: 0; }
  .site-nav-toggle { display: none; }
  .site-menu { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 2px; padding: 0; }
}
/* Dropdown icons: a small tile with a line icon, in each group heading and each item. */
.site-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; background: #ecebf8; color: #333399; }
.site-icon-svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-submenu-title { display: flex; align-items: center; gap: 10px; }
.site-submenu-list > li > a { display: flex; align-items: center; gap: 12px; }
/* Mega panel: a wide panel under the header with each group in columns. Nested groups stay as an indented list. */
.site-submenu-title { display: none; }
@media (min-width: 1280px) {
  .site-menu-item { position: static; }
  .site-submenu { display: block; position: absolute; top: calc(100% + 6px); left: 50%; width: min(1040px, calc(100vw - 60px)); min-width: 0; margin: 0; padding: 26px 32px 30px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(37, 37, 117, 0.18); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 60; }
  .site-menu-item:hover > .site-submenu, .site-menu-item:focus-within > .site-submenu, .site-menu-item.is-open > .site-submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .site-submenu-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 13px/1.2 Scoliomain, Arial, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #557735; }
  .site-submenu-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
  .site-submenu-list > li { border-top: 0; }
  .site-submenu-list > li > a { padding: 12px 14px; border-radius: 12px; font: 600 15px/1.35 Scoliomain, Arial, sans-serif; color: #252575; white-space: normal; }
  .site-submenu-list > li > a:hover { background: #f4f4fb; color: #333399; }
  .site-submenu-list > li.is-current > a { background: #ecebf8; }
  /* A nested group sits inside its column as a plain list. */
  .site-submenu-list .site-submenu { position: static; display: block; width: auto; padding: 0 0 0 14px; margin: 0; background: none; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
  .site-submenu-list .site-submenu-title { display: none; }
  .site-submenu-list .site-submenu-list { display: block; }
  .site-submenu-list .site-submenu-list > li > a { padding: 8px 10px; font-size: 14px; font-weight: 400; }
}
/* Panel items: icon, bold title, and a short description. Each panel ends with a link to the whole group. */
.site-link-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.site-link-title { font: 600 15px/1.3 Scoliomain, Arial, sans-serif; color: #252575; }
.site-link-desc { font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.site-submenu-all { display: block; margin: 14px 0 0; padding: 14px 14px 0; border-top: 1px solid #ebebf4; font: 600 14px/1.3 Scoliomain, Arial, sans-serif; color: #333399; text-decoration: none; }
.site-submenu-all:hover { color: #252575; text-decoration: underline; text-underline-offset: 3px; }
.site-submenu-all:focus-visible { outline: 3px solid #557735; outline-offset: 2px; }
@media (min-width: 1280px) {
  .site-submenu-list > li > a { align-items: flex-start; padding: 12px 14px; }
  .site-submenu-list .site-submenu-list > li > a .site-link-desc { display: none; }
  .site-submenu-list .site-submenu-list > li > a { align-items: center; }
  .site-submenu-list > li > a .site-icon { margin-top: 1px; }
}
/* Group card in a short panel: fills the empty grid space and links to the whole group. */
.site-submenu-feature > a { background: #f4f4fb; border: 1px solid #e2e4f0; }
.site-submenu-feature > a .site-link-title { color: #333399; }
.site-submenu-feature > a:hover { background: #ecebf8; }
@media (min-width: 1280px) {
  .site-submenu-list .site-submenu-list > li > a .site-link-desc { display: block; }
  .site-submenu-list .site-submenu-list > li > a { align-items: flex-start; }
  .site-submenu-list .site-submenu-list > li > a .site-icon { margin-top: 1px; }
}
/* Nested groups (Services > Scoliosis Screenings): the group spans the full panel, its items sit in three columns below its link.
   The group card in a short panel spans the full width too. */
@media (min-width: 1280px) {
  .site-submenu-list > li.has-children { grid-column: 1 / -1; }
  .site-submenu-list > li.has-children > .site-submenu { padding: 0; }
  .site-submenu-list .site-submenu-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; margin: 4px 0 0; padding: 0 0 0 40px; }
  .site-submenu-feature { grid-column: 1 / -1; }
  .site-submenu-feature > a { display: flex; align-items: center; gap: 16px; }
  .site-submenu-feature > a .site-link-desc { font-size: 14px; }
}
@media (max-width: 600px) {
  .site-brand { padding: 16px 18px; }
  .site-logo img { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-submenu, .site-submenu-toggle::after, .site-menu-item > a::after, .site-menu-item.has-children > a::before { transition: none; }
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Restored from the last commit: search pages, suggestions and search fields (lost during the header rewrite). */
/* ===== Search results (?s=...) ===== */
body.scc-search-results #primary.content-area, body.scc-search-results #main.site-main { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
body.scc-search-results .site-content, body.scc-search-results .site-content .wrap, body.scc-search-results .site-main { margin-top: 0 !important; padding-top: 0 !important; }
.scc-search { max-width: 760px; margin: 0 auto; padding: 24px 20px 56px; color: #2b2b3a; }
.scc-search h1 { font: 700 30px/1.2 Scoliomain, Arial, sans-serif; color: #333399; margin: 0 0 18px; }
.scc-search-form { margin: 0 0 16px; }
.scc-search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scc-search-field { display: flex; padding: 4px; border: 1px solid #c9cce0; border-radius: 999px; background: #fff; }
.scc-search-field input { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: none; box-shadow: none; font: 400 16px/1.3 Scolionav, Arial, sans-serif; color: #2b2b3a; }
.scc-search-field input:focus { outline: 3px solid #b9d99a; outline-offset: 0; }
.scc-search-field button { margin: 0; padding: 0 22px; border: 0; border-radius: 999px; background: #557735; color: #fff; font: 700 15px/1.3 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-search-field button:hover { background: #466029; }
.scc-search-count { color: #55556a; font-size: 15px; margin: 14px 0 0; }
.scc-search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.scc-search-filters button { min-height: 36px; padding: 0 14px; border: 1px solid #c9c9e6; border-radius: 999px; background: #fff; color: #333399; font: 600 14px/1 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-search-filters button[aria-pressed="true"] { background: #333399; border-color: #333399; color: #fff; }
.scc-search-filters button:focus-visible { outline: 3px solid #b9d99a; outline-offset: 2px; }
.scc-search-start { margin-top: 22px; background: #ecebf8; border-left: 4px solid #557735; border-radius: 12px; padding: 18px 20px; }
.scc-search-start[hidden] { display: none; }
.scc-search-kicker { margin: 0; font: 700 12px/1.2 Scoliomain, Arial, sans-serif; color: #333399; }
.scc-search h2 { margin: 6px 0 0; font: 700 20px/1.3 Scoliomain, Arial, sans-serif; }
.scc-search h2 a { color: #333399; text-decoration: underline; text-decoration-color: #b9d99a; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.scc-search h2 a:hover { text-decoration-color: #333399; }
.scc-search-start p:last-child, .scc-search-list p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: #2b2b3a; }
.scc-search mark { background: #fff3c4; color: inherit; padding: 0 2px; border-radius: 3px; }
.scc-search-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.scc-search-list li[hidden] { display: none; }
.scc-search-list h2 { font-size: 18px; }
.scc-search-type { margin: 0 !important; font-size: 12px; color: #55556a; }
.scc-search-more { margin-top: 26px; padding-top: 16px; border-top: 1px solid #dcdcec; font-size: 15px; color: #55556a; }
.scc-search-more a, .scc-search-help a { color: #333399; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.scc-search-help ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.scc-search-help a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #ecebf8; text-decoration: none; }
@media (max-width: 720px) {
  .scc-search { padding: 22px 16px 40px; }
  .scc-search h1 { font-size: 24px; }
  .scc-search-start { padding: 16px; }
}
.scc-search .scc-search-start h2, .scc-search .scc-search-list h2 { margin-top: 4px; }
.scc-search-list h2 { margin-top: 0; }
.scc-search-pager { margin-top: 26px; display: grid; justify-items: center; gap: 10px; }
.scc-search-pager[hidden] { display: none; }
.scc-search-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.scc-search-pages button { min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid #c9c9e6; border-radius: 999px; background: #fff; color: #333399; font: 600 15px/1 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-search-pages button[aria-current="page"] { background: #333399; border-color: #333399; color: #fff; }
.scc-search-pages button:disabled { opacity: 0.4; cursor: default; }
.scc-search-pages button:not(:disabled):hover { border-color: #333399; }
.scc-search-pages button:focus-visible { outline: 3px solid #b9d99a; outline-offset: 2px; }
.scc-search-status { margin: 0; font-size: 14px; color: #55556a; }

/* Search loading state: placeholder layout that holds the page height until results arrive. */
body.scc-search-results .site-main { min-height: 70vh; }
.scc-search-loading { max-width: 760px; margin: 0 auto; padding: 24px 20px 56px; }
.scc-search-loading h1 { font: 700 30px/1.2 Scoliomain, Arial, sans-serif; color: #333399; margin: 0 0 18px; }
.scc-search-skel { background: #e4e4f2; border-radius: 12px; animation: scc-skel 1.4s ease-in-out infinite; }
.scc-search-skel-field { height: 52px; border-radius: 999px; }
.scc-search-skel-chips { height: 36px; width: 60%; margin-top: 14px; border-radius: 999px; }
.scc-search-skel-card { height: 96px; margin-top: 16px; }
.scc-search-loading .scc-search-count { margin-top: 14px; color: #55556a; font-size: 15px; }
@keyframes scc-skel { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scc-search-skel { animation: none; } }

/* ===== Search landing (blank /search/) ===== */
.scc-landing { margin: 0; color: #2b2b3a; }
.scc-landing-hero { width: 100vw; margin: 0 calc(50% - 50vw); background: #333399; color: #fff; text-align: center; padding: 56px 24px 52px; }
.scc-landing-hero h1 { font: 700 34px/1.2 Scoliomain, Arial, sans-serif; color: #fff; margin: 0; }
.scc-landing-lead { margin: 10px auto 0; max-width: 34em; color: #d3d3f0; font-size: 16px; }
.scc-landing-form { position: relative; max-width: 560px; margin: 26px auto 0; text-align: left; }
.scc-landing-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scc-landing-field { display: flex; padding: 4px; border-radius: 999px; background: #fff; }
.scc-landing-field input { flex: 1; min-width: 0; height: 50px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: none; box-shadow: none; font: 400 17px/1.3 Scolionav, Arial, sans-serif; color: #2b2b3a; }
.scc-landing-field input:focus { outline: 3px solid #b9d99a; outline-offset: 0; }
.scc-landing-field button { margin: 0; padding: 0 24px; border: 0; border-radius: 999px; background: #557735; color: #fff; font: 700 16px/1.3 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-landing-field button:hover { background: #466029; }
.scc-landing-popular { margin: 16px 0 0; font-size: 15px; color: #d3d3f0; }
.scc-landing-popular a { color: #b9d99a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.scc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 8px; list-style: none; background: #fff; color: #2b2b3a; border: 1px solid #dcdcec; border-radius: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); text-align: left; }
.scc-suggest[hidden] { display: none; }
.scc-suggest-item, .scc-suggest-all { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.scc-suggest-item span { display: block; }
.scc-suggest-kind { font-size: 12px; color: #55556a; }
.scc-suggest-title { font-size: 15px; font-weight: 600; color: #333399; }
.scc-suggest-title mark { background: #fff3c4; color: inherit; padding: 0 1px; border-radius: 3px; }
.scc-suggest-all { margin-top: 4px; border-top: 1px solid #e2e4f0; border-radius: 0 0 10px 10px; font-size: 14px; font-weight: 600; color: #557735; }
.scc-suggest-item[aria-selected="true"], .scc-suggest-all[aria-selected="true"] { background: #ecebf8; }
.scc-landing-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 40px auto 0; padding: 0 20px 56px; }
.scc-landing-card { background: #f6f5fc; border: 1px solid #e2e4f0; border-top: 4px solid #557735; border-radius: 14px; padding: 22px 20px; }
.scc-landing-card h2 { font: 700 20px/1.25 Scoliomain, Arial, sans-serif; color: #333399; margin: 0; }
.scc-landing-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #2b2b3a; }
.scc-landing-card a { display: inline-block; margin-top: 12px; color: #333399; font-weight: 600; text-decoration: underline; text-decoration-color: #b9d99a; text-underline-offset: 3px; }
.scc-landing-card a:focus-visible, .scc-landing-popular a:focus-visible, .scc-landing-field button:focus-visible { outline: 3px solid #b9d99a; outline-offset: 2px; }
@media (max-width: 760px) {
  .scc-landing-hero { padding: 40px 18px 40px; }
  .scc-landing-hero h1 { font-size: 26px; }
  .scc-landing-stories { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Search results: brand band, image cards (design 1) ===== */
body.scc-search-results .scc-search { max-width: 1040px; padding: 0 20px 56px; }
.scc-search-band { width: 100vw; margin: 0 calc(50% - 50vw); background: #333399; color: #fff; padding: 40px 24px 30px; }
.scc-search-band > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.scc-search-band h1 { color: #fff; font: 700 30px/1.2 Scoliomain, Arial, sans-serif; margin: 0 auto 16px; }
.scc-search-band .scc-search-count { color: #d3d3f0; margin-top: 12px; }
.scc-search-band .scc-search-filters { margin-top: 14px; }
.scc-search-band .scc-search-filters button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.scc-search-band .scc-search-filters button[aria-pressed="true"] { background: #fff; color: #333399; border-color: #fff; }
.scc-search-band .scc-search-filters button:focus-visible { outline-color: #b9d99a; }
.scc-search-band .scc-search-field { border-color: transparent; }
.scc-search-start { max-width: 1040px; margin: 28px auto 0; padding: 0 0 22px; background: #fff; border: 1px solid #e2e4f0; border-radius: 16px; overflow: hidden; }
.scc-search-start > *:not(.scc-search-media-lg) { margin-left: 22px; margin-right: 22px; }
.scc-search-start .scc-search-kicker { margin-top: 18px; }
.scc-search-start h2 { margin-top: 6px; font-size: 24px; }
.scc-search-media-lg { height: 260px; background: #d3d3f0; }
.scc-search-media-lg img, .scc-search-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scc-search-media.is-empty, .scc-search-media-lg.is-empty { background: #d3d3f0; }
.scc-search-list { max-width: 1040px; margin: 24px auto 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scc-search-list li { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e4f0; border-radius: 14px; overflow: hidden; }
.scc-search-list li[hidden] { display: none; }
.scc-search-media { height: 150px; background: #ecebf8; }
.scc-search-media.is-empty { background: #ecebf8; }
.scc-search-body { padding: 14px 16px 16px; }
.scc-search-body h2 { margin-top: 4px; font-size: 18px; }
.scc-search-body p { margin: 6px 0 0; }
.scc-search-body .scc-search-type { font-size: 12px; color: #557735; font-weight: 600; }
.scc-search-pager { max-width: 1040px; }
@media (max-width: 720px) {
  .scc-search-list { grid-template-columns: minmax(0, 1fr); }
  .scc-search-media-lg { height: 190px; }
  .scc-search-band { padding: 28px 18px 24px; }
  .scc-search-band h1 { font-size: 24px; }
}
/* Start-here card spacing (explicit so the theme's paragraph and heading margins cannot override it). */
.scc-search .scc-search-start > .scc-search-kicker { display: block; width: fit-content; margin: 18px 22px 0; padding: 4px 10px; border-radius: 999px; background: #ecebf8; color: #333399; font-size: 12px; font-weight: 600; }
.scc-search .scc-search-start > h2 { margin: 10px 22px 0; font-size: 24px; line-height: 1.25; }
.scc-search .scc-search-start > p:not(.scc-search-kicker) { margin: 10px 22px 0; font-size: 16px; line-height: 1.55; color: #2b2b3a; }
/* Suggestion dropdown: thumbnails and a positioned panel on both the landing and results search. */
.scc-search-form { position: relative; }
.scc-suggest-item { display: flex; align-items: center; gap: 12px; }
.scc-suggest-text { min-width: 0; display: block; }
.scc-suggest-thumb { flex: none; width: 56px; height: 42px; border-radius: 8px; overflow: hidden; background: #ecebf8; }
.scc-suggest-thumb.is-empty { background: #d3d3f0; }
.scc-suggest-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Blank search hero: trust line, audience paths, and the vertebrae band (search landing v2). */
.scc-landing-hero { position: relative; overflow: hidden; padding-bottom: 0; }
.scc-landing-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #b9d99a; }
.scc-landing-hero h1 { font-size: 34px; }
.scc-landing-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 26px auto 0; }
.scc-landing-paths a { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); color: #fff; text-align: left; text-decoration: none; }
.scc-landing-paths a:hover { background: rgba(255, 255, 255, 0.2); }
.scc-landing-paths strong { font: 700 16px/1.25 Scoliomain, Arial, sans-serif; }
.scc-landing-paths span { font-size: 13px; color: #d3d3f0; }
.scc-landing-paths a:focus-visible { outline: 3px solid #b9d99a; outline-offset: 2px; }
@media (max-width: 760px) {
  .scc-landing-paths { grid-template-columns: minmax(0, 1fr); }
  .scc-landing-hero h1 { font-size: 26px; }
}
.scc-landing-hero h1 { margin-top: 0; }
/* Audience paths: plain links with dividers (no boxes), so they do not repeat the story cards. */
.scc-landing-paths { gap: 0; max-width: 560px; }
.scc-landing-paths a { background: transparent; padding: 6px 12px; align-items: center; text-align: center; border-radius: 8px; }
.scc-landing-paths a:hover { background: rgba(255, 255, 255, 0.1); }
.scc-landing-paths a + a { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.scc-landing-paths strong { font-size: 16px; text-decoration: underline; text-decoration-color: #b9d99a; text-underline-offset: 4px; }
/* Story cards: links pinned to the bottom of each card. */
.scc-landing-card { display: flex; flex-direction: column; }
.scc-landing-card a { margin-top: auto; padding-top: 14px; }
/* Smoother hero edge: a soft curve from the purple band into the white page. */
.scc-landing-hero { padding-bottom: 64px; }
.scc-landing-stories { margin-top: 24px; }
/* Hero edge: a soft fade from the purple band into the white page (replaces the curved edge). */
/* Hero edge: straight cut (no gradient). Small one-time entrance for the audience paths. */
@keyframes scc-path-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.scc-landing-paths a { animation: scc-path-in 0.5s ease-out both; }
.scc-landing-paths a:nth-child(2) { animation-delay: 0.12s; }
.scc-landing-paths a:nth-child(3) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .scc-landing-paths a { animation: none; } }
/* Let the suggestion dropdown extend below the purple band instead of being clipped. */
.scc-landing-hero { overflow: visible; }
/* Any search form (site-wide reusable search): anchors the suggestion dropdown. */
form[role="search"] { position: relative; }
/* Search pill focus: the ring goes around the whole pill, not on the input (which overlapped the button). */
.scc-404-field input:focus, .scc-404-field input:focus-visible, .scc-landing-field input:focus-visible, .scc-search-field input:focus-visible { outline: none !important; box-shadow: none !important; }
.scc-404-field:focus-within, .scc-landing-field:focus-within, .scc-search-field:focus-within { outline: 3px solid #b9d99a; outline-offset: 3px; }

/* Search results inside the landing page design (/search/ and /search/?s=...). */
.scc-search-in-landing { max-width: 1040px; margin: 0 auto; padding: 36px 20px 8px; color: #2b2b3a; }
.scc-search-in-landing .scc-search-title { font: 700 26px/1.2 Scoliomain, Arial, sans-serif; color: #333399; margin: 0 0 8px; }
.scc-search-in-landing .scc-search-count { color: #55556a; margin-top: 0; }
.scc-search-in-landing .scc-search-filters { margin-top: 14px; }
.site-submenu-feature > a .site-link-title { white-space: nowrap; }

/* Desktop: no arrows next to the top-level links. Dropdowns open on hover or focus. */
@media (min-width: 1280px) {
  .site-menu-item.has-children > a { padding-right: 6px; }
  .site-menu-item.has-children > a::before { display: none; }
}

/* Desktop: the top-level links sit centered in the space beside the logo, with the search icon at the end. */
@media (min-width: 1280px) {
  .site-menu { flex: 1 1 auto; justify-content: center; min-width: 0; }
}

/* Call to action: a dark button. On desktop it sits to the right of the links, beside the search icon. */
.site-cta { display: block; margin: 0 15px 12px; padding: 14px 20px; border-radius: 999px; background: #252575; color: #fff; font: 700 15px/1.2 Scoliomain, Arial, sans-serif; text-align: center; text-decoration: none; }
.site-cta:hover { background: #333399; color: #fff; }
.site-cta:focus-visible { outline: 3px solid #557735; outline-offset: 2px; }
@media (min-width: 1280px) {
  .site-cta { display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0; padding: 11px 20px; white-space: nowrap; font-size: 14px; }
}

/* Between 1280px and 1599px the logo is smaller so the links, the button and the search fit on one row. */
@media (min-width: 1280px) and (max-width: 1599px) {
  .site-logo img { width: 210px; }
  .site-menu-item > a { padding-left: 4px; padding-right: 4px; font-size: 13px; }
  .site-menu-item.has-children > a { padding-right: 4px; }
  .site-search .scc-search-field { width: 200px; }
  .site-cta { padding: 10px 14px; font-size: 13px; }
  .site-nav { gap: 6px; }
  .site-header { gap: 8px; }
}

/* Header search, open state: a wide field over the menu row, with suggestions the same width as the field. */
@media (min-width: 1280px) {
  .site-search .scc-search-field { width: 360px; height: 44px; }
  .site-search .scc-search-field input { height: 38px; }
  .site-search .scc-suggest { left: auto; right: 0; width: 360px; top: calc(100% + 12px); max-height: 60vh; overflow-y: auto; }
}

/* Header search focus: a plain indigo border, no green ring. */
.site-search .scc-search-field:focus-within { outline: none; border-color: #333399; box-shadow: 0 10px 28px rgba(51, 51, 153, 0.16); }
.site-search .scc-search-field input:focus, .site-search .scc-search-field input:focus-visible { outline: none; box-shadow: none; }

/* Logo and the right-hand group (call to action, save icon, search icon) share one width.
   The button is the logo width minus the two 40px icons and the two gaps beside them. */
@media (min-width: 1280px) {
  .site-header { --logo-w: 260px; --nav-gap: 10px; }
  .site-logo img { width: var(--logo-w); }
  .site-cta { width: calc(var(--logo-w) - 80px - 2 * var(--nav-gap)); justify-content: center; }
}
@media (min-width: 1280px) and (max-width: 1599px) {
  .site-header { --logo-w: 190px; --nav-gap: 6px; }
  .site-logo img { width: var(--logo-w); }
  .site-cta { width: calc(var(--logo-w) - 40px - var(--nav-gap)); }
}

/* Header search: the field fades and slides in when opened and out when it closes; the button fades back in. */
@media (min-width: 1280px) {
  .site-search .scc-search-field { display: flex; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-50%) translateX(14px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; }
  .site-search.is-open .scc-search-field { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%); }
  .site-search-open { transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
  .site-search.is-open .site-search-open { opacity: 0; pointer-events: none; }
  .site-search:not(.is-open) .scc-suggest { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-search .scc-search-field, .site-search-open { transition: none; }
}

/* Header search submit: an arrow instead of the word. */
.site-search .site-search-submit { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-width: 40px; padding: 0; }
.site-search .site-search-submit svg { width: 18px; height: 18px; }

/* Header search button: no highlight when clicked. Keyboard focus still gets a thin indigo outline. */
.site-search .site-search-submit:focus, .site-search .scc-search-field button:focus { outline: none; box-shadow: none; }
.site-search .site-search-submit:focus-visible { outline: 2px solid #333399; outline-offset: 2px; }

/* Search fields (results page, landing page, 404 page): a plain indigo border on focus, no green ring. */
.scc-search-field:focus-within, .scc-landing-field:focus-within, .scc-404-field:focus-within { outline: none; border-color: #333399; }
.scc-search-field input:focus, .scc-landing-field input:focus, .scc-404-field input:focus, .scc-search-field input:focus-visible, .scc-landing-field input:focus-visible, .scc-404-field input:focus-visible { outline: none; box-shadow: none; }
.scc-search-field button:focus, .scc-landing-field button:focus, .scc-404-field button:focus { outline: none; box-shadow: none; }
.scc-search-field button:focus-visible, .scc-landing-field button:focus-visible, .scc-404-field button:focus-visible { outline: 2px solid #333399; outline-offset: 2px; }

/* Current page: a green underline on its menu item (and on the group that holds it). */
@media (min-width: 1280px) {
  .site-menu-item > a[aria-current="page"]::after, .site-menu-item.is-current > a::after, .site-menu-item.is-ancestor > a::after { background: #557735; height: 3px; transform: scaleX(1); }
}
.site-menu-item > a[aria-current="page"], .site-menu-item.is-current > a, .site-menu-item.is-ancestor > a { text-decoration: underline; text-decoration-color: #557735; text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* Desktop: one green line for the current page (the bar under the item), not a second line under the text. */
@media (min-width: 1280px) {
  .site-menu-item > a[aria-current="page"], .site-menu-item.is-current > a, .site-menu-item.is-ancestor > a { text-decoration: none; }
}

@media (min-width: 1280px) {
  .site-header { gap: 12px; }
}


/* Desktop: labels of items that open a dropdown are bold, so they read as menus. */
@media (min-width: 1280px) {
  .site-menu-item.has-children > a { font-weight: 700; }
}

/* Desktop: all navigation links are bold. */
@media (min-width: 1280px) {
  .site-menu-item > a { font-weight: 700; }
}

/* Mobile menu drawer: slides in from the right over a dimmed page. The page does not scroll behind it. */
.site-drawer, .site-drawer-backdrop { display: none; }
@media (max-width: 1279px) {
  .site-drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(360px, 88vw); padding: 0 18px 28px; background: #fff; box-shadow: -12px 0 40px rgba(20, 20, 60, 0.22); overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(105%); visibility: hidden; transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.32s; }
  .site-nav.is-open .site-drawer { transform: none; visibility: visible; }
  .site-drawer-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 64px; margin: 0 -18px 8px; padding: 0 18px; background: #fff; border-bottom: 1px solid #ebebf4; }
  .site-drawer-title { font: 700 18px/1 Scoliomain, Arial, sans-serif; color: #252575; }
  .site-drawer-close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #252575; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 50%; }
  .site-drawer-close:hover { background: #f4f4fb; }
  .site-drawer-close:focus-visible { outline: 3px solid #557735; outline-offset: 2px; }
  .site-drawer .site-menu { display: block; padding: 0; }
  .site-drawer .site-cta { display: block; margin: 16px 0 0; }
  .site-drawer .site-search { margin: 16px 0 0; padding: 0; border-top: 0; }
  .site-drawer .site-search-open { display: none; }
  .site-drawer .site-search .scc-search-field { display: flex; position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; width: auto; box-shadow: none; }
  .site-drawer .site-search .scc-search-field input { height: 44px; }
  .site-drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 190; background: rgba(20, 20, 60, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.32s ease, visibility 0.32s; }
  .site-nav.is-open .site-drawer-backdrop { opacity: 1; visibility: visible; }
  body.site-drawer-open { overflow: hidden; }
}
@media (min-width: 1280px) {
  .site-drawer { display: contents; }
}
@media (prefers-reduced-motion: reduce) {
  .site-drawer, .site-drawer-backdrop { transition: none; }
}
@media (min-width: 1280px) { .site-drawer-top { display: none; } }
.site-drawer-close { display: flex; align-items: center; justify-content: center; padding: 0; }

/* Phones: the logo sits on the left and the menu icon on the right, on one row. The drawer opens from the icon. */
@media (max-width: 1279px) {
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .site-brand { flex: 1 1 auto; min-width: 0; padding: 14px 0 14px 18px; justify-content: flex-start; }
  .site-logo img { width: 240px; max-width: 100%; }
  .site-nav { display: contents; }
  .site-nav-toggle { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 14px 0 0; padding: 0; border: 0; border-radius: 12px; background: none; color: transparent; overflow: hidden; cursor: pointer; }
  .site-nav-toggle:hover { background: #f4f4fb; }
  .site-nav-toggle:focus-visible { outline: 3px solid #557735; outline-offset: 2px; }
  .site-nav-toggle .site-nav-bars { width: 22px; height: 14px; border-top: 2px solid #333399; border-bottom: 2px solid #333399; }
  .site-nav-toggle .site-nav-bars::after { border-top-color: #333399; }
}
.site-nav-toggle .site-nav-bars { display: block; position: relative; }
.site-nav-toggle .site-nav-bars { flex: 0 0 22px; }
.site-nav-toggle { font-size: 0; }

/* Visited pages: a small green check inside the dropdown items for pages this browser has opened. */
.site-submenu a.is-visited { padding-right: 0; }
.site-submenu .site-visited { flex: 0 0 auto; width: 15px; height: 15px; margin: 0 4px 0 0; color: #557735; pointer-events: none; }
.site-submenu .site-visited svg { width: 100%; height: 100%; display: block; }
.site-submenu-list > li { position: relative; display: flex; align-items: center; }
.site-submenu-list > li > a { position: relative; flex: 1 1 auto; min-width: 0; }


/* Save for later: a bookmark beside the search icon opens the saved list. Dropdown items get their own bookmark toggle. */
.site-save-open { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 1.5px solid #dcdcec; border-radius: 50%; background: #fff; color: #252575; cursor: pointer; }
.site-save-open:hover { background: #fff; color: #252575; }
.site-save-open:hover path { fill: currentColor; }
.site-save-open svg { width: 20px; height: 20px; }
.site-save-open.is-saved path { fill: currentColor; }
.site-save-open[aria-expanded="true"] { border-color: #333399; }
.site-submenu-list > li > a { padding-right: 8px; }
.site-save-item { flex: 0 0 auto; width: 32px; height: 32px; margin: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: none; color: #8a8aa8; cursor: pointer; }
.site-save-item svg { width: 18px; height: 18px; }
.site-save-item:hover { color: #252575; background: none; }
.site-save-item:hover path { fill: currentColor; }
.site-save-item.is-saved { color: #252575; }
.site-save-item.is-saved path { fill: currentColor; }
.site-save-open:focus-visible, .site-save-item:focus-visible, .scc-saved-current:focus-visible, .scc-saved-close:focus-visible, .scc-saved-remove:focus-visible, .scc-saved-list a:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }

/* Phone and tablet: the saved-pages button sits as a full-width row at the top of the menu drawer, with its text. */
.site-save-text { display: none; }
@media (max-width: 1279px) {
  .site-drawer .site-save-open { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin: 12px 0 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; color: #252575; }
  .site-drawer .site-save-open svg { width: 18px; height: 18px; }
  .site-save-text { display: inline; }
}

/* Saved pages panel: styled like the navigation dropdowns. The save/remove control is the footer row. */
.scc-saved-panel { position: fixed; top: 84px; right: 16px; z-index: 950; box-sizing: border-box; width: min(340px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 16px 36px rgba(51, 51, 153, 0.16); padding: 14px 18px 0; font-family: Scoliomain, Arial, sans-serif; color: #252575; }
.scc-saved-panel[hidden] { display: none; }
.scc-saved-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.scc-saved-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 15px/1.3 Scoliomain, Arial, sans-serif; color: #252575; }
.scc-saved-head h2 svg { width: 20px; height: 20px; flex: 0 0 auto; }
.scc-saved-close { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: -8px -12px -8px 0; padding: 0; border: 0; background: none; box-shadow: none; color: #b42318; cursor: pointer; }
.scc-saved-close svg { width: 20px; height: 20px; }
.scc-saved-close:hover { color: #7a1610; background: none; }
.scc-saved-empty { margin: 0 0 6px; font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-saved-list { list-style: none; margin: 0; padding: 0; }
.scc-saved-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #ebebf4; }
.scc-saved-list a { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 600 15px/1.3 Scoliomain, Arial, sans-serif; color: #252575; text-decoration: none; }
.scc-saved-list a:hover { color: #333399; text-decoration: underline; text-underline-offset: 3px; }
.scc-saved-current { display: block; width: calc(100% + 36px); margin: 8px -18px 0; padding: 14px 18px; border: 0; border-top: 1px solid #ebebf4; background: none; box-shadow: none; color: #333399; font: 600 14px/1.3 Scoliomain, Arial, sans-serif; text-align: left; cursor: pointer; }
.scc-saved-current:hover { color: #252575; background: none; text-decoration: underline; text-underline-offset: 3px; }
.scc-saved-panel button:focus:not(:focus-visible) { outline: none; }

/* The page stylesheet paints every direct-child button grey on hover and focus. These keep the save controls plain: the icon fills, nothing else changes. */
section.scc-saved-panel button:hover, section.scc-saved-panel button:focus, .site-submenu-list button.site-save-item:hover, .site-submenu-list button.site-save-item:focus { background: transparent; }
.site-nav button.site-save-open:hover, .site-nav button.site-save-open:focus { background: #fff; }
.scc-saved-remove { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: -8px -12px -8px 0; padding: 0; border: 0; background: none; box-shadow: none; color: #b42318; cursor: pointer; }
.scc-saved-remove svg { width: 18px; height: 18px; }
.scc-saved-remove:hover { color: #7a1610; background: none; }

/* The visited check is a 15px icon. Pin its svg size so no page-stylesheet rule can stretch it. */
.site-submenu-list li > .site-visited > svg { display: block; width: 15px; height: 15px; max-width: 15px; max-height: 15px; }


/* Continue where you left off: recent pages inside the saved-pages panel. */
.scc-recent { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid #ebebf4; }
.scc-recent-title { margin: 8px 0 4px; font: 600 13px/1.3 Scoliomain, Arial, sans-serif; color: #6b6b80; text-transform: uppercase; letter-spacing: 0.04em; }
.scc-recent-list { list-style: none; margin: 0; padding: 0; }
.scc-recent-list li { padding: 8px 0; border-top: 1px solid #ebebf4; }
.scc-recent-list li:first-child { border-top: 0; }
.scc-recent-list a { font: 600 15px/1.3 Scoliomain, Arial, sans-serif; color: #252575; text-decoration: none; }
.scc-recent-list a:hover { color: #333399; text-decoration: underline; text-underline-offset: 3px; }
.scc-recent-empty { margin: 0; font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-recent-clear { display: block; margin: 8px 0 0; padding: 6px 0; border: 0; background: none; box-shadow: none; color: #6b6b80; font: 600 13px/1.3 Scoliomain, Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.scc-recent-clear:hover { color: #252575; background: none; }

/* My care notebook: a slide-out panel on desktop, a full-screen sheet on phones. Stored in this browser only. */
.scc-notebook { position: fixed; top: 0; right: 0; bottom: 0; z-index: 960; box-sizing: border-box; width: min(420px, 100vw); overflow: auto; padding: 22px 20px 28px; background: #fff; box-shadow: -16px 0 36px rgba(51, 51, 153, 0.16); color: #252575; font-family: Scoliomain, Arial, sans-serif; }
.scc-notebook[hidden] { display: none; }
@media (max-width: 699px) { .scc-notebook { left: 0; width: auto; box-shadow: none; padding: 18px 16px 28px; } }
.scc-nb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.scc-nb-head h2 { margin: 0; font: 600 20px/1.3 Scoliomain, Arial, sans-serif; color: #252575; }
.scc-nb-close, .scc-nb-icon, .scc-nb-add { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: #252575; cursor: pointer; }
.scc-nb-close { color: #b42318; }
.scc-nb-delete, .scc-nb-close { color: #b42318; }
.scc-nb-cancel { color: #6b6b80; }
.scc-nb-close svg, .scc-nb-icon svg, .scc-nb-add svg { width: 18px; height: 18px; }
.scc-nb-add, .scc-nb-save { background: #252575 !important; color: #fff; }
.scc-nb-close:hover path, .scc-nb-icon:hover path, .scc-nb-add:hover path { fill: currentColor; }
.scc-nb-intro { margin: 0 0 14px; font: 400 13px/1.5 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-nb-form, .scc-nb-edit { margin: 0 0 16px; padding: 12px; border-radius: 14px; background: #f7f7fb; }
.scc-nb-label { display: block; margin: 6px 0 4px; font: 600 13px/1.3 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-nb-form .scc-nb-label:first-child { margin-top: 0; }
.scc-nb-date { display: block; margin: 0 0 4px; padding: 6px 8px; border: 1px solid #dcdcec; border-radius: 8px; font: 400 14px/1.2 Scoliomain, Arial, sans-serif; color: #252575; background: #fff; }
.scc-nb-text-input { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 8px 10px; border: 1px solid #dcdcec; border-radius: 10px; font: 400 15px/1.45 Scoliomain, Arial, sans-serif; color: #252575; background: #fff; resize: vertical; outline: none; }
.scc-nb-text-input:focus, .scc-nb-date:focus { border-color: #333399; box-shadow: 0 0 0 2px rgba(51, 51, 153, 0.18); outline: none; }
.scc-nb-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 8px; }
.scc-nb-list { list-style: none; margin: 0; padding: 0; }
.scc-nb-item { padding: 12px 0; border-top: 1px solid #ebebf4; }
.scc-nb-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scc-nb-when { font: 600 13px/1.3 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-nb-tools { display: flex; gap: 2px; }
.scc-nb-tools .scc-nb-icon { width: 36px; height: 36px; }
.scc-nb-body { margin: 6px 0 0; font: 400 15px/1.5 Scoliomain, Arial, sans-serif; color: #252575; white-space: pre-wrap; overflow-wrap: anywhere; }
.scc-nb-empty { margin: 0; font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-saved-notebook { display: block; width: calc(100% + 36px); margin: 0 -18px; padding: 14px 18px; border: 0; border-top: 1px solid #ebebf4; background: none; box-shadow: none; color: #333399; font: 600 14px/1.3 Scoliomain, Arial, sans-serif; text-align: left; cursor: pointer; }
.scc-saved-notebook:hover { color: #252575; background: none; text-decoration: underline; text-underline-offset: 3px; }

/* Care notebook: marked passages from all pages, and the send-to-team block. */
.scc-nb-sub { margin: 16px 0 6px; font: 600 13px/1.3 Scoliomain, Arial, sans-serif; color: #6b6b80; text-transform: uppercase; letter-spacing: 0.04em; }
.scc-nb-marked-list { list-style: none; margin: 0; padding: 0; }
.scc-nb-marked-item { padding: 10px 0; border-top: 1px solid #ebebf4; }
.scc-nb-marked-page { font: 600 15px/1.3 Scoliomain, Arial, sans-serif; color: #252575; text-decoration: none; }
.scc-nb-marked-page:hover { color: #333399; text-decoration: underline; text-underline-offset: 3px; }
.scc-nb-marked-kind { margin-left: 8px; font: 600 12px/1.3 Scoliomain, Arial, sans-serif; color: #557735; }
.scc-nb-marked-text { margin: 4px 0 0; font: 400 14px/1.45 Scoliomain, Arial, sans-serif; color: #252575; overflow-wrap: anywhere; }
.scc-nb-marked-note { margin: 4px 0 0; font: 400 14px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; overflow-wrap: anywhere; }
.scc-nb-marked-empty { margin: 0; font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-nb-send { margin-top: 22px; padding-top: 4px; border-top: 1px solid #ebebf4; }
.scc-nb-send-note { margin: 0 0 10px; font: 400 13px/1.5 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-nb-send-btn { display: block; width: 100%; min-height: 44px; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: #252575; color: #fff; font: 600 15px/1.2 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-nb-send-btn:hover { background: #333399; }

/* Case-manager form inside the notebook. Nothing is sent until the parent reviews it and agrees. */
.scc-cm { margin-top: 12px; padding: 12px; border-radius: 14px; background: #f7f7fb; }
.scc-cm[hidden] { display: none; }
.scc-cm .scc-nb-date { width: 100%; box-sizing: border-box; }
.scc-cm-summary { margin: 0 0 4px; font: 400 13px/1.5 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-cm-details { margin: 10px 0 0; font: 400 13px/1.4 Scoliomain, Arial, sans-serif; color: #252575; }
.scc-cm-details summary { cursor: pointer; font-weight: 600; color: #333399; }
.scc-cm-preview { margin: 8px 0 0; max-height: 220px; overflow: auto; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid #dcdcec; font: 400 12px/1.5 Scoliomain, Arial, sans-serif; color: #252575; white-space: pre-wrap; overflow-wrap: anywhere; }
.scc-cm-consent-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #252575; }
.scc-cm-consent-row input { margin-top: 3px; }
.scc-cm-status { min-height: 1.4em; margin: 8px 0 0; font: 600 13px/1.4 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-cm .scc-nb-actions { margin-top: 6px; }
.scc-cm-cancel, .scc-cm-submit { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font: 600 14px/1.2 Scoliomain, Arial, sans-serif; cursor: pointer; }
.scc-cm-cancel { background: none; color: #6b6b80; }
.scc-cm-submit { background: #252575 !important; color: #fff; }
.scc-cm-submit:hover { background: #333399 !important; }
.scc-cm-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.scc-cm-captcha { min-height: 78px; margin-top: 12px; }

/* Copy icon in the notebook: copies the notebook to the clipboard. */
.scc-nb-copy-row { display: flex; align-items: center; gap: 10px; }
.scc-nb-copy { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; margin: 0; padding: 0; border: 1.5px solid #dcdcec; border-radius: 50%; background: #fff; color: #252575; cursor: pointer; box-shadow: none; }
.scc-nb-copy svg { width: 20px; height: 20px; }
.scc-nb-copy:hover { border-color: #c4c5ec; }
.scc-nb-copy:hover path, .scc-nb-copy:hover rect { fill: currentColor; }
.scc-nb-copy:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
.scc-nb-copy-status { margin: 0; font: 600 13px/1.4 Scoliomain, Arial, sans-serif; color: #557735; }

/* Highlight tools: color swatches, the four tools, the comment and question forms, and the marks in each color. */
.scc-hl-pop { position: absolute; z-index: 940; transform: translateX(-50%); box-sizing: border-box; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(51, 51, 153, 0.2); }
.scc-hl-pop[hidden] { display: none; }
.scc-hl-pop.is-bottom { position: fixed; top: auto; bottom: 20px; left: 50%; }
.scc-hl-pop.is-note { width: 280px; padding: 10px; border-radius: 14px; }
.scc-hl-colors { display: flex; justify-content: center; gap: 8px; padding: 2px 4px 6px; }
.scc-hl-colors[hidden], .scc-hl-tools[hidden], .scc-hl-note[hidden], .scc-hl-ask[hidden] { display: none; }
.scc-hl-swatch { width: 22px; height: 22px; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.scc-hl-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #252575; }
.scc-hl-swatch:focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; }
.scc-hl-tools { display: flex; gap: 2px; }
.scc-hl-tools button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #252575; cursor: pointer; }
.scc-hl-tools button svg { width: 20px; height: 20px; }
.scc-hl-tools button:hover path, .scc-hl-tools button:hover circle, .scc-hl-tools button:hover rect { fill: currentColor; }
.scc-hl-tools button:focus-visible, .scc-hl-note button:focus-visible, .scc-hl-ask button:focus-visible, .scc-hl-remove:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
.scc-hl-note, .scc-hl-ask { margin: 0; }
.scc-hl-note textarea, .scc-hl-ask textarea { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 8px 10px; border: 1px solid #dcdcec; border-radius: 10px; font: 400 14px/1.4 Scoliomain, Arial, sans-serif; color: #252575; resize: vertical; outline: none; }
.scc-hl-note textarea:focus, .scc-hl-ask textarea:focus { border-color: #333399; box-shadow: 0 0 0 2px rgba(51, 51, 153, 0.18); }
.scc-hl-note-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 8px; }
.scc-hl-note-actions button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.scc-hl-note-actions button svg { width: 18px; height: 18px; }
.scc-hl-cancel, .scc-hl-ask-cancel { background: none; color: #b42318; }
.scc-hl-save, .scc-hl-ask-save { background: #252575 !important; color: #fff; }
.scc-hl-save:hover, .scc-hl-ask-save:hover { background: #333399 !important; }
.scc-hl-card { position: absolute; z-index: 940; transform: translateX(-50%); display: flex; align-items: flex-start; gap: 8px; max-width: 280px; box-sizing: border-box; padding: 10px 10px 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 26px rgba(51, 51, 153, 0.2); color: #252575; font: 400 14px/1.45 Scoliomain, Arial, sans-serif; }
.scc-hl-card[hidden] { display: none; }
.scc-hl-card.is-bottom { position: fixed; top: auto; bottom: 20px; left: 50%; }
.scc-hl-card-text { margin: 0; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.scc-hl-remove { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; margin: -4px -4px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #b42318; cursor: pointer; }
.scc-hl-remove svg { width: 18px; height: 18px; }
.scc-hl-remove:hover path { fill: currentColor; }
mark.scc-hl { color: inherit; padding: 0 2px; border-radius: 3px; cursor: pointer; }
mark.scc-hl--highlight[data-hl-color="yellow"] { background: #fff1a8; }
mark.scc-hl--highlight[data-hl-color="green"] { background: #d9ecc2; }
mark.scc-hl--highlight[data-hl-color="pink"] { background: #fbd3e3; }
mark.scc-hl--highlight[data-hl-color="blue"] { background: #d2e5fb; }
mark.scc-hl--underline { background: none; padding: 0; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px; }
mark.scc-hl--underline[data-hl-color="yellow"] { text-decoration-color: #b8900a; }
mark.scc-hl--underline[data-hl-color="green"] { text-decoration-color: #557735; }
mark.scc-hl--underline[data-hl-color="pink"] { text-decoration-color: #b8336a; }
mark.scc-hl--underline[data-hl-color="blue"] { text-decoration-color: #2f6fb3; }
mark.scc-hl--comment[data-hl-color="yellow"] { background: #fff7cc; box-shadow: inset 0 -2px 0 #b8900a; }
mark.scc-hl--comment[data-hl-color="green"] { background: #eef7e3; box-shadow: inset 0 -2px 0 #557735; }
mark.scc-hl--comment[data-hl-color="pink"] { background: #fdeaf2; box-shadow: inset 0 -2px 0 #b8336a; }
mark.scc-hl--comment[data-hl-color="blue"] { background: #e6f1fd; box-shadow: inset 0 -2px 0 #2f6fb3; }
.scc-nb-context { margin: 6px 0 0; font: 600 12px/1.4 Scoliomain, Arial, sans-serif; color: #557735; overflow-wrap: anywhere; }

/* The page stylesheet paints every button grey on hover and focus. These keep the highlight box, its card, and the notebook plain. */
body .scc-hl-pop button:hover, body .scc-hl-pop button:focus, body .scc-hl-card button:hover, body .scc-hl-card button:focus, body .scc-notebook button:hover, body .scc-notebook button:focus { background: transparent; }

mark.scc-hl--question { background: none; padding: 0; text-decoration: underline dotted #333399; text-decoration-thickness: 2px; text-underline-offset: 3px; }
mark.scc-hl--question-end::after { content: '?'; display: inline-block; width: 15px; height: 15px; margin-left: 3px; border-radius: 50%; background: #333399; color: #fff; font: 700 11px/15px Scoliomain, Arial, sans-serif; text-align: center; vertical-align: super; text-decoration: none; }

/* My Questions: "Save question" buttons on pages, the list (checkboxes + Copy Questions), and the saved toast. Runtime: scc-runtime.js. */
body button.scc-ask { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 14px 0 0; padding: 9px 14px 9px 9px; border: 1.5px dashed #b9b9e0; border-radius: 999px; background: #fff; box-shadow: none; color: #252575; font: 600 15px/1.35 Scoliomain, Arial, sans-serif; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color .2s, background .2s; }
body button.scc-ask:hover, body button.scc-ask:focus { background: #f4f4fb; color: #252575; }
body button.scc-ask:focus-visible { outline: 3px solid #8DB86A; outline-offset: 2px; }
.scc-ask-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef0fb; color: #333399; transition: background .2s, color .2s; }
.scc-ask-icon svg { width: 16px; height: 16px; }
.scc-ask-tick { display: none; }
.scc-ask-state { flex: none; margin-left: 4px; padding: 3px 9px; border-radius: 999px; background: #eef0fb; color: #333399; font-size: 12px; font-weight: 800; }
body button.scc-ask.is-saved { border-style: solid; border-color: #8DB86A; background: #f3f8ec; }
.scc-ask.is-saved .scc-ask-icon { background: #6A9144; color: #fff; }
.scc-ask.is-saved .scc-ask-plus { display: none; }
.scc-ask.is-saved .scc-ask-tick { display: inline; }
.scc-ask.is-saved .scc-ask-state { background: #6A9144; color: #fff; }
.scc-ask-row { display: flex; flex-wrap: wrap; gap: 0 10px; }

.scc-myq { box-sizing: border-box; margin: 0 0 18px; padding: 16px 16px 14px; border: 1px solid #e3e3f3; border-radius: 16px; background: #fff; color: #252575; font-family: Scoliomain, Arial, sans-serif; text-align: left; }
.scc-myq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.scc-myq-title { margin: 0; font: 700 17px/1.3 Scoliomain, Arial, sans-serif; color: #252575; }
.scc-myq-count { flex: none; padding: 2px 10px; border-radius: 999px; background: #eef0fb; color: #333399; font: 700 12px/1.6 Scoliomain, Arial, sans-serif; }
.scc-myq-list { list-style: none; margin: 0; padding: 0; }
.scc-myq-item { display: flex; align-items: flex-start; gap: 6px; padding: 8px 0; border-top: 1px solid #ebebf4; }
.scc-myq-item:first-child { border-top: 0; }
.scc-myq-item label { display: flex; align-items: flex-start; gap: 10px; flex: 1; margin: 0; font: 500 15px/1.45 Scoliomain, Arial, sans-serif; color: #252575; cursor: pointer; }
.scc-myq-item input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #333399; cursor: pointer; }
.scc-myq-item input:not(:checked) + .scc-myq-text { color: #6b6b80; }
body button.scc-myq-remove { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: #6b6b80; cursor: pointer; }
body button.scc-myq-remove:hover, body button.scc-myq-remove:focus { background: #f4f4fb; color: #b42318; }
.scc-myq-remove svg { width: 15px; height: 15px; }
.scc-myq-empty { margin: 4px 0 2px; font: 400 14px/1.5 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-myq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
body button.scc-myq-copy { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; border: 0; border-radius: 999px; background: #333399; box-shadow: none; color: #fff; font: 700 14px/1.2 Scoliomain, Arial, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; }
body button.scc-myq-copy:hover, body button.scc-myq-copy:focus { background: #28287a; color: #fff; }
body button.scc-myq-copy:focus-visible { outline: 3px solid #8DB86A; outline-offset: 3px; }
body button.scc-myq-copy:disabled { background: #b9b9d6; cursor: not-allowed; }
.scc-myq-copy svg { width: 16px; height: 16px; }
.scc-myq-status { margin: 0; font: 600 13px/1.4 Scoliomain, Arial, sans-serif; color: #557735; }
.scc-myq-send { margin: 10px 0 0; font: 400 13px/1.5 Scoliomain, Arial, sans-serif; color: #4a4f5c; }
.scc-myq-send a { color: #333399; font-weight: 700; }

.scc-ask-toast { position: fixed; left: 50%; bottom: 22px; z-index: 970; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 10px 10px 10px 18px; border-radius: 999px; background: #22224a; color: #fff; box-shadow: 0 14px 34px rgba(20, 20, 50, .3); font: 600 14px/1.3 Scoliomain, Arial, sans-serif; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s; }
.scc-ask-toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
body button.scc-ask-toast-view { flex: none; margin: 0; padding: 7px 14px; border: 0; border-radius: 999px; background: #8DB86A; box-shadow: none; color: #1d2e10; font: 700 13px/1.2 Scoliomain, Arial, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; }
body button.scc-ask-toast-view:hover, body button.scc-ask-toast-view:focus { background: #a9d487; color: #1d2e10; }
@media (prefers-reduced-motion: reduce) { .scc-ask-toast { transition: none; } }

/* Questions to ask your doctor: one small floating "?" button (above the chat button) opens a panel. Pages list questions as hidden markers. */
[data-scc-question][hidden] { display: none !important; }
.scc-myq[hidden] { display: none !important; }
body button.scc-qfab { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; margin: 0; padding: 0; border: 1.5px solid #dcdcec; border-radius: 50%; background: #fff; box-shadow: none; color: #252575; cursor: pointer; }
body button.scc-qfab:hover, body button.scc-qfab:focus { background: #fff; color: #252575; border-color: #b9b9e0; }
body button.scc-qfab:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
body button.scc-qfab[aria-expanded="true"] { border-color: #333399; }
body button.scc-qfab.is-floating { position: fixed; top: 12px; right: 16px; z-index: 955; width: 44px; height: 44px; box-shadow: 0 8px 22px rgba(34, 34, 74, .2); }
.scc-qfab svg { width: 24px; height: 24px; }
.scc-qfab-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: #6A9144; color: #fff; font: 800 11px/20px Scoliomain, Arial, sans-serif; text-align: center; }
.scc-qfab-count[hidden] { display: none; }
.scc-qpanel { position: fixed; right: 16px; top: 70px; z-index: 956; box-sizing: border-box; width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; padding: 16px 16px 6px; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(34, 34, 74, .22); color: #252575; font-family: Scoliomain, Arial, sans-serif; text-align: left; }
.scc-qpanel[hidden] { display: none; }
.scc-qpanel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scc-qpanel-head h2 { margin: 0; font: 700 17px/1.3 Scoliomain, Arial, sans-serif; color: #252575; }
body button.scc-qpanel-close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: #6b6b80; cursor: pointer; }
body button.scc-qpanel-close:hover, body button.scc-qpanel-close:focus { background: #f4f4fb; color: #b42318; }
.scc-qpanel-close svg { width: 16px; height: 16px; }
.scc-qpanel-intro { margin: 4px 0 10px; font: 400 13px/1.45 Scoliomain, Arial, sans-serif; color: #6b6b80; }
.scc-qpanel-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.scc-qpanel-list .scc-ask { display: flex; width: 100%; margin: 0; font-size: 14px; }
.scc-qpanel-list .scc-ask-text { flex: 1; }
.scc-qpanel-myq .scc-myq { margin: 0 0 10px; padding: 12px; border-color: #ebebf4; background: #fafafd; }
@media (max-width: 600px) { body button.scc-qfab.is-floating { top: 10px; right: 12px; } .scc-qpanel { right: 12px; } }

/* Tablets (640px to 1279px): the full menu needs about 1,280px, so tablets use the menu icon, but the
   Free Case Review button stays visible in the bar instead of hiding in the drawer. Phones keep just the icon.
   The full desktop menu starts at 1280px; below that it used to overlap the logo and the button. */
.site-cta-bar { display: none; }
@media (min-width: 640px) and (max-width: 1279px) {
  .site-cta-bar { display: inline-flex; align-items: center; flex: 0 0 auto; height: 42px; margin: 0 4px 0 0; padding: 0 18px; border-radius: 999px; background: #252575; color: #fff; font: 700 15px/1 Scoliomain, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
  .site-cta-bar:hover { background: #333399; color: #fff; }
  .site-cta-bar:focus-visible { outline: 3px solid #557735; outline-offset: 2px; }
}

/* Logo tagline: real text under the wordmark, right-aligned under "Centers" as in the original artwork.
   The wordmark image has empty space at the bottom right, so the line tucks up into it. */
.site-logo { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; }
.site-logo-by { display: block; margin-top: -2.2%; font: 600 10.5px/1.2 Scoliomain, Raleway, Arial, sans-serif; letter-spacing: .01em; color: #333399; white-space: nowrap; }
@media (min-width: 1280px) { .site-logo-by { font-size: 11px; } }
@media (min-width: 1280px) and (max-width: 1599px) { .site-logo-by { font-size: 9px; } }
@media (max-width: 1279px) { .site-logo img { width: 270px; } .site-logo-by { font-size: 11px; } }
@media (max-width: 359px) { .site-logo img { width: 230px; } .site-logo-by { font-size: 9.5px; } }

/* Our Method menu: the five steps as a path. Each step shows its tree from the overview page on a small
   cream tile, with a dashed green line joining the trees: down the list in the drawer, across in the wide panel. */
.site-step-tree { position: relative; z-index: 1; display: inline-flex; align-items: flex-end; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: linear-gradient(#fbf4e3, #f1e2c0); box-shadow: inset 0 -3px 0 #8DB86A; overflow: hidden; }
.site-step-tree img { display: block; width: 40px; height: 40px; object-fit: contain; }
.site-step-n { display: block; font: 700 11px/1.2 Scoliomain, Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #557735; }
.site-submenu--steps .site-submenu-list { position: relative; }
.site-submenu--steps .site-submenu-list > li { position: relative; }
.site-submenu--steps .site-submenu-list > li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 50%; height: 100%; border-left: 2px dashed #b9d39e; z-index: 0; }
@media (min-width: 1280px) {
  .site-submenu--steps .site-submenu-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 8px; }
  .site-submenu--steps .site-submenu-list > li > a { flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 14px 10px 16px; }
  .site-submenu--steps .site-link-text { align-items: center; }
  .site-submenu--steps .site-step-tree { width: 76px; height: 76px; flex-basis: 76px; border-radius: 50%; }
  .site-submenu--steps .site-step-tree img { width: 64px; height: 64px; }
  /* across: from each tree's center to the next one */
  .site-submenu--steps .site-submenu-list > li:not(:last-child)::after { left: 50%; top: 52px; width: calc(100% + 8px); height: 0; border-left: 0; border-top: 2px dashed #b9d39e; }
  .site-submenu--steps .site-submenu-all { text-align: center; }
  /* every step starts at the top, so the five trees share one line whatever the text length */
  .site-submenu--steps .site-submenu-list > li { align-items: flex-start; }
  .site-submenu--steps .site-submenu-list > li > a { flex: 1 1 auto; width: 100%; }
  .site-submenu--steps .site-step-tree { align-items: center; }
  .site-submenu--steps .site-step-tree img { width: 60px; height: 60px; }
  /* save and visited marks sit in the column's top corners, clear of the path line */
  .site-submenu--steps .site-save-item { position: absolute; top: 4px; right: 0; z-index: 2; }
  .site-submenu--steps .site-submenu-list li > .site-visited { position: absolute; top: 12px; left: 8px; z-index: 2; margin: 0; }
}
