/* Shared spacing from the original Practice Exercises page. */
:root { --sp-max:1180px; --sp-gutter:clamp(20px,5vw,72px); --sp-top:clamp(40px,6vw,80px); --sp-h1-offset:16px; --sp-header-gap:24px; --sp-section-gap:48px; }
main.reference-subpage { margin:0!important; padding:0!important; }
.reference-subpage > .reference-shell { width:calc(100% - 2 * var(--sp-gutter)); max-width:var(--sp-max); margin-inline:auto; padding-top:calc(var(--sp-top) + var(--sp-h1-offset)); padding-bottom:64px; }
.reference-subpage .reference-header { margin:0 0 var(--sp-header-gap)!important; padding:0!important; max-width:none!important; }
.reference-subpage .reference-header h1 { font-family:var(--sans); font-size:clamp(2.5rem,4.8vw,4.5rem)!important; font-weight:600!important; line-height:1.06!important; letter-spacing:-.03em; color:#fff!important; padding:0!important; margin:0!important; max-width:none!important; }
.reference-subpage .reference-body { width:100%; margin:0; padding:0; }
.reference-subpage :is(.wrap,.pwr-container,.story-editorial,.relationship-article) { width:100%!important; max-width:none!important; margin-inline:0!important; }
.reference-subpage :is(.pwr-page-header,.resource-hero,.school-intro-heading,.founder-intro,.relationship-article > header) { padding-top:0!important; margin-top:0!important; max-width:none!important; }
.reference-subpage :is(.school-hero,#story.section,#facts.section) { padding-top:0!important; margin-top:0!important; }
.reference-subpage .reference-body > section:first-child { padding-top:0!important; margin-top:0!important; }
.reference-subpage :is(.rc-section,.school-section,.pwr-stand-for,.community-share,.relationship-prose,.relationship-psychology,.relationship-reflection,#why.section,#start.section) { margin-top:var(--sp-section-gap)!important; padding-top:30px!important; padding-bottom:0!important; }
.reference-subpage .school-section > .wrap { padding-top:0!important; }
.reference-subpage h2 { color:#fff!important; }
.reference-subpage :is(.rc-section,.school-section,.pwr-stand-for,.relationship-prose,.relationship-psychology,.relationship-reflection) > h2:first-child { margin-top:0!important; }
.reference-subpage .subpage-intro-line { font-size:1.35rem; line-height:1.4; margin:0 0 18px; }
.reference-subpage #story .story-editorial-copy h2 { margin-top:0!important; }
.reference-subpage .school-hero { padding-bottom:0!important; }
