html { scroll-behavior: smooth; }
body.school-theme { color: var(--school-ink); background: var(--school-white); font-family: var(--bs-body-font-family); overflow-x: clip; }
.school-theme a { color: var(--school-primary) !important; }
.school-theme a:hover { color: var(--school-secondary) !important; }
.school-shell { width: min(calc(100% - 2rem), var(--school-shell)); margin-inline: auto; }
.school-skip-link { position: fixed; z-index: 100000; top: .5rem; left: .5rem; padding: .8rem 1rem; background: #fff; border: 3px solid var(--school-accent); border-radius: .5rem; transform: translateY(-150%); }
.school-skip-link:focus { transform: translateY(0); }
.main-bg-color { background-color: var(--school-primary) !important; }
.text-blue, .title-new:hover { color: var(--school-primary) !important; }
.main-btn { box-shadow: 0 0 40px 40px var(--school-primary) inset, 0 0 0 0 var(--school-primary); }

/* Header */
.school-header { background: #fff; position: relative; z-index: 1030; box-shadow: 0 1px 0 var(--school-border); }
.school-utility-bar { color: #dbe8f1; background: var(--school-primary-dark); }
.school-utility-bar a { color: #fff !important; }
.school-utility-item { display: inline-flex; gap: .35rem; align-items: center; }
.school-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 2.15rem; min-height: 2.15rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; text-transform: uppercase; font-weight: 700; }
.school-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 126px; padding-block: 1rem; }
.school-brand { display: inline-flex; align-items: center; gap: 1rem; min-width: 0; color: var(--school-ink) !important; }
.school-logo-wrap { width: 92px; height: 92px; flex: 0 0 auto; display: grid; place-items: center; padding: .4rem; border: 1px solid var(--school-border); border-radius: 1.25rem; background: #fff; box-shadow: var(--school-shadow-sm); }
.school-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.school-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.school-site-kicker { color: var(--school-secondary); text-transform: uppercase; font-size: .7rem; font-weight: 800; letter-spacing: .16em; margin-bottom: .45rem; }
.school-brand-copy strong { max-width: 760px; font-size: clamp(1.3rem, 2.2vw, 2rem); color: var(--school-primary); }
.school-brand-actions { display: flex; gap: .75rem; }
.school-action-link { min-width: 150px; padding: .8rem 1rem; border: 1px solid var(--school-border); border-radius: var(--school-radius); background: var(--school-surface); line-height: 1.15; transition: transform .2s, box-shadow .2s; }
.school-action-link span, .school-action-link strong { display: block; }
.school-action-link span { color: var(--school-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }
.school-action-link strong { color: var(--school-primary); font-size: .88rem; }
.school-action-link:hover { transform: translateY(-2px); box-shadow: var(--school-shadow-sm); }
.school-action-link-accent { background: var(--school-accent); border-color: var(--school-accent); }
.school-action-link-accent span, .school-action-link-accent strong { color: var(--school-primary-dark); }
.school-navbar { position: sticky; top: 0; z-index: 1031; padding: 0; background: var(--school-primary); box-shadow: 0 7px 20px rgba(13,43,67,.16); }
.school-navbar > .school-shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.school-navbar .navbar-nav { gap: .15rem; }
.school-navbar .nav-item { position: relative; }
.school-navbar .nav-link { color: #fff !important; padding: 1rem .9rem; font-size: .79rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.school-navbar .nav-link:hover, .school-navbar .nav-link.active { color: var(--school-accent) !important; }
.school-navbar .nav-item.dropdown > div > .nav-link { padding-inline-end: .15rem; }
.school-navbar .dropdown-caret-toggle { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; align-self: center; width: 32px; min-width: 32px; min-height: 44px; padding: 0; border: 0; border-radius: .45rem; background: transparent; color: var(--school-white); line-height: 1; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.school-navbar .nav-item > div > .dropdown-caret-toggle { margin-inline-end: .55rem; }
.school-navbar .dropdown-caret-toggle:hover,
.school-navbar .dropdown-caret-toggle:focus-visible { color: var(--school-accent); background: rgba(255,255,255,.08); }
/* CSS strokes avoid font-dependent arrow baselines and stay theme-coloured. */
.school-navbar .school-nav-chevron { display: block; width: .5rem; height: .5rem; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transform-origin: center; transition: transform .18s ease; pointer-events: none; }
.school-navbar .dropdown-caret-toggle[aria-expanded="true"] > .school-nav-chevron { transform: translateY(2px) rotate(225deg); }
.school-navbar .dropdown-menu { margin: 0; padding: .45rem; min-width: 270px; border: 1px solid var(--school-border); border-radius: 0 0 var(--school-radius) var(--school-radius); background: #fff !important; box-shadow: var(--school-shadow); }
.school-navbar .dropdown-item { position: relative; padding: .75rem .8rem; border-radius: .5rem; color: var(--school-ink) !important; white-space: normal; font-size: .85rem; font-weight: 600; }
.school-navbar .dropdown-item::after { display: none; }
.school-navbar .dropdown-item:hover { color: var(--school-primary) !important; background: rgba(var(--school-accent-rgb), .2); }
.school-navbar .dropdown-menu .dropdown-caret-toggle { color: var(--school-primary); }
.school-navbar .dropdown-menu .dropdown-caret-toggle:hover,
.school-navbar .dropdown-menu .dropdown-caret-toggle:focus-visible { color: var(--school-primary-dark); background: var(--school-surface-warm); }
/* Outrank the inherited green theme's hover/show selectors, including hover
   on a nested dropdown. Tokens remain the only source of palette values. */
body.school-theme .school-navbar .dropdown-menu,
body.school-theme .school-navbar .dropdown-menu.show,
body.school-theme .school-navbar .nav-item.dropdown:hover > .dropdown-menu,
body.school-theme .school-navbar .dropdown-submenu:hover > .dropdown-menu {
  background: var(--school-white) !important;
  color: var(--school-ink) !important;
}
body.school-theme .school-navbar .dropdown-item:hover,
body.school-theme .school-navbar .dropdown-item:focus,
body.school-theme .school-navbar .dropdown-item:active {
  color: var(--school-primary-dark) !important;
  background: var(--school-surface-warm) !important;
}
body.school-theme .school-side-column .accordion-body::after { background: var(--school-secondary); }
body.school-theme .school-side-column .accordion-body a:hover,
body.school-theme .school-side-column .accordion-body a:focus { color: var(--school-secondary) !important; }
.school-navbar .school-submenu { left: 100%; top: -.45rem; border-radius: var(--school-radius); }
.school-navbar .navbar-toggler { margin-block: .55rem; padding: .55rem .75rem; display: flex; align-items: center; gap: .65rem; border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; }
.school-menu-icon { width: 22px; display: grid; gap: 4px; }
.school-menu-icon i { height: 2px; background: currentColor; border-radius: 2px; }

/* Page chrome */
.school-page-shell { width: min(calc(100% - 2rem), var(--school-shell)) !important; min-height: 38vh; align-items: flex-start; }
.school-page-content { min-width: 0; width: 100%; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.school-side-column { top: 4.2rem !important; width: 260px !important; z-index: 5 !important; }
.school-news-rail { top: 4.2rem !important; width: 270px !important; margin-top: 2.5rem; border: 1px solid var(--school-border); border-radius: var(--school-radius); overflow: hidden; background: #fff; }
.school-rail-heading { padding: 1rem; color: #fff; background: var(--school-primary); font-weight: 800; }
.school-rail-list a { display: flex; gap: .5rem; justify-content: space-between; padding: .9rem 1rem; border-bottom: 1px solid var(--school-border); color: var(--school-ink) !important; font-size: .8rem; }
.school-rail-more { display: block; padding: .9rem 1rem; background: var(--school-surface-warm); font-size: .78rem; font-weight: 700; }
.accordion-flush .accordion-item { border: 0 !important; border-bottom: 1px solid var(--school-border) !important; background: #fff !important; }
.accordion-button:not(.collapsed) { color: var(--school-primary); background: rgba(var(--school-primary-rgb), .06); }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(var(--school-accent-rgb), .35); }
.school-side-column .accordion-header span, .school-side-column .accordion-header a { color: var(--school-primary) !important; }
.school-side-column .burger-btn { color: var(--school-primary) !important; background: var(--school-surface) !important; border-radius: var(--school-radius-sm); }

/* Builder sections */
.school-section { width: 100%; margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.acms-editable-block { min-width: 0; }
.school-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .7rem; color: var(--school-secondary); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.school-eyebrow::before { content: ""; width: 1.8rem; height: 3px; border-radius: 4px; background: var(--school-accent); }
.school-section-title { max-width: 800px; margin-bottom: .75rem; color: var(--school-primary); font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 800; letter-spacing: -.025em; }
.school-section-intro { max-width: 780px; color: var(--school-muted); line-height: 1.75; }
.school-hero { position: relative; min-height: 520px; overflow: hidden; display: grid; align-items: center; padding: clamp(2rem, 6vw, 5.5rem); border-radius: var(--school-radius-lg); color: #fff; background: linear-gradient(112deg, var(--school-primary-dark) 0%, var(--school-primary) 57%, var(--school-secondary) 100%); isolation: isolate; }
.school-hero::before, .school-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.school-hero::before { width: 500px; height: 500px; right: -120px; top: -180px; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.025); }
.school-hero::after { width: 180px; height: 180px; right: 17%; bottom: -90px; background: var(--school-accent); border: 0; opacity: .95; }
.school-hero-content { max-width: 720px; }
.school-hero .school-eyebrow { color: #fff; }
.school-hero h2 { margin: 0 0 1.25rem; font-size: clamp(2.1rem, 5vw, 4.5rem); line-height: 1.03; font-weight: 850; letter-spacing: -.045em; }
.school-hero p { max-width: 640px; margin-bottom: 1.7rem; color: #e4eef4; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }
.school-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.school-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.15rem; border: 2px solid transparent; border-radius: .7rem; font-weight: 750; }
.school-btn-primary { color: var(--school-primary-dark) !important; background: var(--school-accent); }
.school-btn-outline { color: #fff !important; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
/* Anchor/button colors must outrank the global link and link:hover rules. */
.school-theme .school-btn-primary,
.school-theme .school-btn-primary:hover,
.school-theme .school-btn-primary:focus-visible { color: var(--school-primary-dark) !important; background: var(--school-accent); }
.school-theme .school-btn-outline { color: var(--school-white) !important; }
.school-theme .school-btn-outline:hover,
.school-theme .school-btn-outline:focus-visible { color: var(--school-primary-dark) !important; background: var(--school-white); border-color: var(--school-white); }
.school-theme .btn-primary, .school-theme .btn-primary:hover,
.school-theme .btn-primary:focus-visible,
.school-theme .btn-outline-primary:hover, .school-theme .btn-outline-primary:focus-visible { color: var(--bs-btn-hover-color, #fff) !important; }
.school-theme .school-access-card a:hover { color: var(--school-white) !important; }
.school-theme a:focus-visible, .school-theme button:focus-visible { outline: 3px solid var(--school-accent); outline-offset: 3px; }
.school-theme #pageContent { scroll-margin-top: 5rem; }
.school-btn:hover { transform: translateY(-2px); }
.school-hero-note { position: absolute; right: clamp(1.2rem, 4vw, 3rem); bottom: clamp(1.2rem, 4vw, 3rem); width: min(290px, 34%); padding: 1rem 1.1rem; border-left: 4px solid var(--school-accent); border-radius: .25rem .8rem .8rem .25rem; color: var(--school-ink); background: #fff; box-shadow: var(--school-shadow); }
.school-hero-note span { display: block; color: var(--school-secondary); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.school-hero-note strong { display: block; margin-top: .3rem; font-size: .9rem; }
.school-hero-note a { display: inline-block; margin-top: .6rem; color: var(--school-secondary) !important; font-size: .72rem; font-weight: 800; }
.school-hero-note .school-hero-note-link { display: block; margin-top: .3rem; color: var(--school-ink) !important; font-size: .9rem; }
.school-hero-note .school-hero-note-link strong { margin-top: 0; }
.school-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.school-home-quick { width: 100%; margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--school-gutter); }
.school-home-quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.school-home-quick-card { min-width: 0; min-height: 180px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .8rem; padding: 1.25rem; overflow: hidden; border: 1px solid var(--school-border); border-radius: var(--school-radius); background: #fff; box-shadow: var(--school-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.school-home-quick-card:hover { transform: translateY(-4px); box-shadow: var(--school-shadow); }
.school-home-quick-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; overflow: hidden; border-radius: 14px; color: var(--school-primary); background: rgba(var(--school-accent-rgb), .22); }
.school-home-quick-icon svg { display: block; width: 30px !important; height: 30px !important; max-width: 30px; max-height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.school-home-quick-card h3 { margin: 0; color: var(--school-primary); font-size: 1.05rem; font-weight: 800; line-height: 1.35; }
.school-home-quick-card a { display: inline-flex; min-height: 44px; align-items: center; color: var(--school-primary) !important; font-size: .9rem; font-weight: 750; overflow-wrap: anywhere; }
.school-quick-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.3rem; border: 1px solid var(--school-border); border-radius: var(--school-radius); color: var(--school-ink) !important; background: #fff; box-shadow: var(--school-shadow-sm); transition: transform .2s, box-shadow .2s; }
.school-quick-card:hover { transform: translateY(-5px); box-shadow: var(--school-shadow); }
.school-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: .8rem; color: var(--school-primary); background: rgba(var(--school-accent-rgb), .28); font-size: 1.35rem; font-weight: 800; }
.school-quick-card h3 { margin: 1rem 0 .35rem; color: var(--school-primary); font-size: 1rem; font-weight: 800; }
.school-quick-card p { margin: 0; color: var(--school-muted); font-size: .82rem; line-height: 1.55; }
.school-card-link { margin-top: auto; padding-top: .8rem; }
.school-card-link a { color: var(--school-secondary) !important; font-size: .75rem; font-weight: 800; }
.school-card-link .school-card-arrow { font-size: 1.25rem; line-height: 1; }
.school-compliance-wrap { padding: clamp(1.3rem, 4vw, 3rem); border-radius: var(--school-radius-lg); background: var(--school-surface); }
.school-compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin-top: 1.7rem; }
.school-compliance-card { min-height: 150px; display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid var(--school-border); border-radius: .85rem; color: var(--school-ink) !important; background: #fff; }
.school-compliance-card .school-card-number { width: 2rem; height: 2rem; display: grid; place-items: center; margin-bottom: .8rem; border-radius: 50%; color: #fff; background: var(--school-secondary); font-size: .72rem; font-weight: 800; }
.school-compliance-card h3 { margin: 0 0 .4rem; color: var(--school-primary); font-size: .92rem; font-weight: 800; }
.school-compliance-card p { margin: 0; color: var(--school-muted); font-size: .76rem; line-height: 1.5; }
.school-compliance-card .school-card-link { margin-top: auto; padding-top: .7rem; }
.school-document-panel { overflow: hidden; border: 1px solid var(--school-border); border-radius: var(--school-radius); background: #fff; box-shadow: var(--school-shadow-sm); }
.school-document-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--school-border); }
.school-document-row:last-child { border-bottom: 0; }
.school-file-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: .65rem; color: var(--school-primary); background: var(--school-surface-warm); font-size: .7rem; font-weight: 850; }
.school-document-row h3 { margin: 0 0 .25rem; color: var(--school-ink); font-size: .92rem; font-weight: 750; }
.school-document-row p { margin: 0; color: var(--school-muted); font-size: .75rem; }
.school-document-action { white-space: nowrap; font-size: .76rem; font-weight: 750; }
.school-alert { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem 1.35rem; border: 1px solid #efcf8d; border-left: 6px solid var(--school-accent); border-radius: var(--school-radius); background: var(--school-surface-warm); }
.school-alert-badge { padding: .4rem .55rem; border-radius: .5rem; color: #fff; background: var(--school-primary); font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.school-alert h3 { margin: 0 0 .25rem; color: var(--school-primary); font-size: 1rem; font-weight: 800; }
.school-alert p { margin: 0; color: var(--school-muted); font-size: .82rem; }
.school-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.school-service-card { padding: 1.25rem; border: 1px solid var(--school-border); border-top: 4px solid var(--school-secondary); border-radius: var(--school-radius); background: #fff; box-shadow: var(--school-shadow-sm); }
.school-service-card h3 { color: var(--school-primary); font-size: 1rem; font-weight: 800; }
.school-service-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin: 1rem 0; }
.school-service-meta > .school-service-meta-item { padding: .7rem; border-radius: .6rem; background: var(--school-surface); }
.school-service-meta span { display: block; color: var(--school-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.school-service-meta p { display: block; margin: .2rem 0 0; color: var(--school-ink); font-size: .78rem; font-weight: 700; }
.school-schedule { overflow-x: auto; border: 1px solid var(--school-border); border-radius: var(--school-radius); }
.school-schedule table { width: 100%; min-width: 660px; margin: 0; border-collapse: collapse; }
.school-schedule th { padding: .9rem 1rem; color: #fff; background: var(--school-primary); text-align: left; font-size: .75rem; }
.school-schedule td { padding: .9rem 1rem; border-bottom: 1px solid var(--school-border); font-size: .8rem; }
.school-schedule tr:last-child td { border-bottom: 0; }
.school-schedule tbody tr:nth-child(even) { background: var(--school-surface); }

/* Additional school builder sections */
.school-principal { display: grid; grid-template-columns: minmax(220px, .7fr) 1.6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--school-radius-lg); background: var(--school-surface-warm); }
.school-principal-portrait { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; border-radius: 10rem 10rem 1.2rem 1.2rem; color: #fff; background: linear-gradient(155deg, var(--school-secondary), var(--school-primary-dark)); }
.school-principal-portrait::before { content: ""; position: absolute; width: 220px; height: 220px; border: 45px solid rgba(255,255,255,.08); border-radius: 50%; top: -55px; right: -65px; }
.school-principal-image { width: 100%; height: 100%; min-height: inherit; }
.school-principal-portrait img { width: 100%; height: 100%; object-fit: cover; }
.school-principal-portrait img { aspect-ratio: 2 / 3; object-position: center 28%; }
.school-principal-role { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .7rem; border-radius: .7rem; color: #fff; text-align: center; background: rgba(13,43,67,.72); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 700; }
.school-principal-copy blockquote { margin: 1.2rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--school-accent); color: var(--school-primary); background: #fff; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 650; line-height: 1.7; }
.school-principal-copy blockquote p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.school-principal-copy p { color: var(--school-muted); line-height: 1.7; }
.school-principal-copy p strong { color: var(--school-ink); }
.school-principal-copy a { font-size: .8rem; font-weight: 800; }
.school-stats { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; align-items: end; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--school-radius-lg); color: #fff; background: var(--school-primary); }
.school-stats .school-section-title { color: #fff; }
.school-stats .school-eyebrow { color: var(--school-accent); }
.school-stats .school-section-intro { color: #dbe8f1; }
.school-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: var(--school-radius); background: rgba(255,255,255,.2); }
.school-stat { min-height: 145px; display: flex; flex-direction: column; justify-content: center; padding: 1.3rem; background: rgba(255,255,255,.07); }
.school-stat-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; overflow: hidden; margin-bottom: .75rem; border-radius: 12px; color: var(--school-accent); background: rgba(255,255,255,.11); }
.school-stat-icon svg { display: block; width: 28px !important; height: 28px !important; max-width: 28px; max-height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.school-stat-value { color: var(--school-accent) !important; font-size: clamp(2rem, 4vw, 3.3rem) !important; font-weight: 850 !important; line-height: 1; }
.school-stat span { margin-top: .55rem; color: #fff; font-size: .78rem; font-weight: 650; }
.school-stat .school-stat-value { margin-top: 0; }
.school-deadlines { overflow: hidden; border: 1px solid var(--school-border); border-radius: var(--school-radius); background: #fff; box-shadow: var(--school-shadow-sm); }
.school-deadline { display: grid; grid-template-columns: 74px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--school-border); }
.school-deadline:last-child { border-bottom: 0; }
.school-date { width: 66px; min-height: 66px; display: grid; place-content: center; border-radius: .8rem; color: var(--school-primary); text-align: center; background: rgba(var(--school-accent-rgb), .24); }
.school-date span { display: block; }
.school-deadline .school-deadline-day { font-size: 1.45rem; font-weight: 850; line-height: 1; }
.school-date span { margin-top: .2rem; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.school-date .school-deadline-day { margin-top: 0; }
.school-deadline-type { color: var(--school-secondary); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.school-deadline h3 { margin: .25rem 0; color: var(--school-primary); font-size: .95rem; font-weight: 800; }
.school-deadline p { margin: 0; color: var(--school-muted); font-size: .76rem; }
.school-deadline > .acms-editable-block > a { white-space: nowrap; font-size: .72rem; font-weight: 800; }
.school-admission { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--school-radius-lg); background: var(--school-surface); }
.school-admission-heading { align-self: center; }
.school-admission-heading .school-btn { margin-top: 1rem; }
.school-steps { padding: 0; margin: 0; list-style: none; counter-reset: none; }
.school-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; position: relative; padding: 0 0 1.35rem; }
.school-steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 48px; bottom: 4px; width: 2px; background: var(--school-border); }
.school-step-number > span { width: 52px; height: 52px; display: grid; place-items: center; position: relative; z-index: 1; border-radius: 50%; color: #fff; background: var(--school-secondary); font-size: .72rem; font-weight: 850; }
.school-steps h3 { margin: .2rem 0 .3rem; color: var(--school-primary); font-size: .98rem; font-weight: 800; }
.school-steps p { margin: 0; color: var(--school-muted); font-size: .78rem; line-height: 1.55; }
.school-consultation-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.5rem; padding: .9rem 1rem; border-radius: var(--school-radius) var(--school-radius) 0 0; color: #fff; background: var(--school-secondary); }
.school-consultation-term { color: #fff !important; font-size: .85rem !important; font-weight: 800 !important; }
.school-consultation-toolbar span { color: #d9f0ee; font-size: .72rem; }
.school-consultation-action { margin-left: auto; }
.school-consultation-toolbar a { color: #fff !important; font-size: .72rem; font-weight: 750; }
.school-consultation-toolbar + .school-schedule { border-top: 0; border-radius: 0 0 var(--school-radius) var(--school-radius); }
.school-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.school-faq-card { position: relative; min-height: 250px; padding: 1.4rem; border: 1px solid var(--school-border); border-radius: var(--school-radius); background: #fff; box-shadow: var(--school-shadow-sm); }
.school-faq-card > .acms-editable-block > span { display: block; margin-bottom: 1.2rem; color: var(--school-accent); font-size: 1.4rem; font-weight: 850; }
.school-faq-card h3 { color: var(--school-primary); font-size: 1rem; font-weight: 800; }
.school-faq-card p { color: var(--school-muted); font-size: .8rem; line-height: 1.65; }
.school-faq-card > a[href],
.school-faq-card > .acms-editable-block > a[href] { position: absolute; left: 1.4rem; bottom: 1.25rem; font-size: .73rem; font-weight: 750; }
.school-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.school-project-card { min-height: 310px; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--school-border); border-radius: var(--school-radius); background: #fff; box-shadow: var(--school-shadow-sm); }
.school-project-featured { color: #fff; border-color: var(--school-primary); background: var(--school-primary); }
.school-project-label { align-self: flex-start; padding: .38rem .55rem; border-radius: .45rem; color: var(--school-secondary); background: rgba(var(--school-secondary-rgb), .1); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.school-project-featured .school-project-label { color: var(--school-primary-dark); background: var(--school-accent); }
.school-project-card h3 { margin: 1.2rem 0 .7rem; color: var(--school-primary); font-size: 1.1rem; font-weight: 800; }
.school-project-card p { color: var(--school-muted); font-size: .8rem; line-height: 1.65; }
.school-project-card > .school-project-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.school-project-meta span { padding: .35rem .5rem; border-radius: .4rem; color: var(--school-muted); background: var(--school-surface); font-size: .63rem; }
.school-project-card > .acms-editable-block > a { display: inline-block; margin-top: 1rem; font-size: .74rem; font-weight: 800; }
.school-project-featured h3, .school-project-featured a { color: #fff !important; }
.school-project-featured p { color: #dbe8f1; }
.school-project-featured .school-project-meta span { color: #dbe8f1; background: rgba(255,255,255,.1); }
.school-contact-access { display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; border-radius: var(--school-radius-lg); box-shadow: var(--school-shadow); }
.school-contact-card { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--school-surface); }
.school-contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.5rem 0; }
.school-contact-list > .school-contact-item { padding: .9rem; border: 1px solid var(--school-border); border-radius: .7rem; background: #fff; }
.school-contact-list span, .school-contact-list p { display: block; }
.school-contact-list span { color: var(--school-secondary); font-size: .63rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.school-contact-list p { margin: .3rem 0 0; color: var(--school-ink); font-size: .78rem; font-weight: 700; }
.school-access-card { padding: clamp(1.5rem, 4vw, 3rem); color: #fff; background: var(--school-primary); }
.school-access-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.3rem; border-radius: .8rem; color: var(--school-primary); background: var(--school-accent); font-size: 1.4rem; }
.school-access-card h3 { margin-top: 1rem; color: #fff; font-size: .95rem; font-weight: 800; }
.school-access-card p { color: #dbe8f1; font-size: .78rem; line-height: 1.65; }
.school-access-card a { color: var(--school-accent) !important; font-size: .74rem; font-weight: 800; }

/* Footer */
.school-footer { margin-top: clamp(3rem, 6vw, 6rem); color: #dbe8f1; }
.school-footer-main { padding-block: 3.5rem; background: var(--school-primary-dark); }
.school-footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 2.5rem; }
.school-footer h2 { margin-bottom: 1rem; color: #fff; font-size: .88rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.school-footer a { color: #dbe8f1 !important; }
.school-footer a:hover { color: var(--school-accent) !important; }
.school-footer-brand { display: grid; grid-template-columns: 72px 1fr; gap: .9rem; align-items: center; }
.school-footer-brand img { width: 72px; height: 72px; padding: .35rem; object-fit: contain; border-radius: .8rem; background: #fff; }
.school-footer-brand span, .school-footer-brand strong { display: block; }
.school-footer-brand span { color: var(--school-accent); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.school-footer-brand strong { color: #fff; font-size: .95rem; }
.school-footer-brand p { grid-column: 1 / -1; max-width: 330px; margin: .5rem 0 0; color: #aebfcb; font-size: .8rem; line-height: 1.6; }
.school-footer-links { padding: 0; margin: 0; list-style: none; }
.school-footer-links li { margin-bottom: .55rem; }
.school-footer-links a { font-size: .79rem; }
.school-footer-contact { font-style: normal; }
.school-footer-contact p { display: flex; gap: .6rem; margin-bottom: .65rem; color: #dbe8f1; font-size: .79rem; }
.school-cookie-button { padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.3); border-radius: .5rem; color: #fff; background: transparent; font-size: .72rem; }
.school-cookie-button:hover { border-color: var(--school-accent); color: var(--school-accent); }
.school-footer-bottom { color: #9fb1be; background: #091f31; font-size: .72rem; }
.school-footer-legal { display: inline-flex; flex-wrap: wrap; gap: .45rem 1rem; }
.school-footer-legal a { display: inline-flex; min-height: 32px; align-items: center; }

@media (min-width: 1200px) {
  .school-navbar .navbar-toggler { display: none; }
  .school-navbar .nav-item.dropdown:hover > .dropdown-menu, .school-navbar .dropdown-submenu:hover > .dropdown-menu { display: block; }
  .school-navbar .nav-item.dropdown:hover > div > .dropdown-caret-toggle > .school-nav-chevron { transform: translateY(2px) rotate(225deg); }
  .school-navbar .dropdown-submenu > div > .dropdown-caret-toggle > .school-nav-chevron { transform: translateX(-2px) rotate(-45deg); }
  .school-navbar .dropdown-submenu:hover > div > .dropdown-caret-toggle > .school-nav-chevron,
  .school-navbar .dropdown-submenu > div > .dropdown-caret-toggle[aria-expanded="true"] > .school-nav-chevron { transform: translateY(-2px) rotate(45deg); }
}
@media (max-width: 1199.98px) {
  .school-page-shell { flex-direction: column; }
  .school-navbar .navbar-toggler { display: flex; }
  .school-brand-actions { display: none; }
  .school-navbar .navbar-collapse { padding-bottom: .8rem; }
  .school-navbar .navbar-collapse.show { max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .school-navbar .nav-link { padding: .75rem .5rem; }
  .school-navbar .dropdown-caret-toggle { flex-basis: 44px; width: 44px; min-width: 44px; min-height: 44px; }
  .school-navbar .nav-item > div > .dropdown-caret-toggle { margin-inline-end: 0; }
  .school-navbar .dropdown-menu, .school-navbar .school-submenu { position: static !important; width: 100%; margin: 0 0 .35rem; box-shadow: none; border-radius: .65rem; }
  .school-side-column, .school-news-rail { position: static !important; width: 100% !important; }
  body.school-theme .school-side-column { animation: none !important; }
  body.school-theme .school-side-column:has(.offcanvas.show),
  body.school-theme .school-side-column:has(.offcanvas.showing),
  body.school-theme .school-side-column:has(.offcanvas.hiding) { position: relative !important; z-index: 1045 !important; }
  .school-compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .school-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .school-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .school-utility-item { display: none; }
  .school-brand-row { min-height: 96px; }
  .school-logo-wrap { width: 68px; height: 68px; }
  .school-brand-copy strong { font-size: 1.05rem; }
  .school-site-kicker { font-size: .58rem; }
  .school-page-shell { width: min(calc(100% - 1.25rem), var(--school-shell)) !important; flex-direction: column; }
  .school-hero { min-height: 560px; padding: 2rem 1.25rem 9rem; align-items: start; }
  .school-hero-note { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; width: auto; }
  .school-quick-grid, .school-compliance-grid, .school-services-grid { grid-template-columns: 1fr; }
  .school-principal, .school-stats, .school-admission, .school-contact-access { grid-template-columns: 1fr; }
  .school-principal-portrait { min-height: 300px; border-radius: 8rem 8rem 1rem 1rem; }
  .school-stats-grid, .school-faq-grid, .school-projects-grid, .school-contact-list { grid-template-columns: 1fr; }
  .school-stat { min-height: 110px; }
  .school-deadline { grid-template-columns: 66px 1fr; }
  .school-deadline > .acms-editable-block { grid-column: 2; }
  .school-consultation-action { width: 100%; margin-left: 0; }
  .school-quick-card { min-height: 145px; }
  .school-document-row { grid-template-columns: 48px 1fr; }
  .school-document-action { grid-column: 2; }
  .school-alert { grid-template-columns: 1fr; }
  .school-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

:root {
  --community-primary: #44267a;
  --community-primary-rgb: 68, 38, 122;
  --community-primary-dark: #2f1958;
  --community-secondary: #6b4bc3;
  --community-secondary-rgb: 107, 75, 195;
  --community-lavender: #a58bdb;
  --community-pale: #f4f0fb;
  --community-warm-white: #fcfbfe;
  --community-ink: #262331;
  --community-muted: #6f697b;
  --community-border: #e6dff1;
  --community-accent: #f2b35d;
}

/* Community-first homepage (concept 3). The palette is scoped so other saved
   school concepts retain their own tokens in the template preview. */
body.school-community-theme,
.school-community-hero,
.school-community-quick-links,
.school-community-news-events,
.school-community-story,
.school-community-clubs,
.school-community-achievements,
.school-community-parents,
.school-community-cta {
  --school-primary: var(--community-primary);
  --school-primary-rgb: var(--community-primary-rgb);
  --school-primary-dark: var(--community-primary-dark);
  --school-secondary: var(--community-secondary);
  --school-secondary-rgb: var(--community-secondary-rgb);
  --school-accent: var(--community-accent);
  --school-accent-rgb: 242, 179, 93;
  --school-ink: var(--community-ink);
  --school-muted: var(--community-muted);
  --school-surface: var(--community-pale);
  --school-surface-warm: var(--community-warm-white);
  --school-border: var(--community-border);
  --school-radius-sm: .65rem;
  --school-radius: 1rem;
  --school-radius-lg: 1.25rem;
  --school-shadow-sm: 0 8px 24px rgba(47,25,88,.07);
  --school-shadow: 0 18px 48px rgba(47,25,88,.12);
}
body.school-community-theme { color: var(--community-ink); background: var(--community-warm-white); }
.school-community-theme .school-utility-bar { color: var(--community-primary); background: linear-gradient(90deg, var(--community-pale), #fff); }
.school-community-theme .school-utility-bar a { color: var(--community-primary) !important; }
.school-community-theme .school-utility-copy { margin-right: auto; color: var(--community-secondary); font-size: .72rem; font-weight: 650; }
.school-community-theme .school-utility-links { margin-left: auto; }
.school-community-theme .school-utility-social { display: inline-flex; align-items: center; gap: .35rem; }
.school-community-theme .school-utility-social a,
.school-community-theme .school-search-link { width: 36px; min-height: 36px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.school-community-theme .school-utility-social a:hover,
.school-community-theme .school-search-link:hover { background: #fff; box-shadow: var(--school-shadow-sm); }
.school-community-theme .school-lang { min-width: 36px; min-height: 36px; border-color: var(--community-border); }
.school-community-theme .school-brand-row { min-height: 94px; padding-block: .65rem; }
.school-community-theme .school-logo-wrap { width: 68px; height: 68px; border: 0; box-shadow: none; }
.school-community-theme .school-site-kicker { display: none; }
.school-community-theme .school-brand-copy strong { max-width: 390px; color: var(--community-primary); font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.15; text-transform: uppercase; }
.school-community-theme .school-navbar { background: var(--community-primary); box-shadow: 0 7px 20px rgba(47,25,88,.15); }
.school-community-theme .school-navbar .nav-link { font-size: .74rem; }
.school-community-theme .school-navbar .nav-link:hover,
.school-community-theme .school-navbar .nav-link.active { color: #fff !important; background: var(--community-secondary); }

.school-community-eyebrow { display: inline-block; color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.school-community-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .65rem; padding: .78rem 1.25rem; border: 2px solid transparent; border-radius: .65rem; color: #fff !important; background: var(--school-secondary); font-size: .78rem; font-weight: 800; text-transform: uppercase; transition: transform .18s ease, box-shadow .18s ease; }
.school-community-button:hover { transform: translateY(-2px); box-shadow: var(--school-shadow-sm); }
.school-theme .school-community-button-light { color: var(--school-primary) !important; background: #fff; }
.school-theme .school-community-button-light:hover { color: var(--school-primary-dark) !important; background: var(--school-surface); }
.school-theme .school-community-button-outline { color: #fff !important; border-color: rgba(255,255,255,.55); background: transparent; }
.school-theme .school-community-button-outline:hover { color: var(--school-primary-dark) !important; background: #fff; }

.school-community-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.35fr); min-height: 470px; overflow: hidden; margin-bottom: 0; color: #fff; background: var(--school-primary); }
.school-community-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,4.25rem); background: radial-gradient(circle at 105% 15%, rgba(165,139,219,.42), transparent 42%), var(--school-primary); }
.school-community-hero h2 { max-width: 560px; margin: .85rem 0 .8rem; color: #fff; font-size: clamp(2.45rem,5vw,4.5rem); font-weight: 850; letter-spacing: -.045em; line-height: .98; text-transform: uppercase; }
.school-community-hero p { max-width: 460px; margin: 0 0 1.65rem; color: rgba(255,255,255,.9); font-size: clamp(1rem,1.7vw,1.25rem); line-height: 1.5; }
.school-community-hero-media { min-height: 470px; overflow: hidden; }
.school-community-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.school-community-quick-links { position: relative; z-index: 2; margin: -1.8rem 1rem clamp(2.8rem,6vw,5rem); }
.school-community-quick-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--school-border); border-radius: 1rem; background: #fff; box-shadow: var(--school-shadow); }
.school-community-quick-card { min-width: 0; min-height: 138px; display: flex; flex-direction: column; align-items: center; padding: 1.25rem .75rem 1rem; border-right: 1px solid var(--school-border); text-align: center; }
.school-community-quick-card:last-child { border-right: 0; }
.school-community-line-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid currentColor; border-radius: 50%; color: var(--school-secondary); font-size: 1.05rem; font-weight: 800; line-height: 1; }
.school-community-line-icon::before { content: "•"; }
.school-community-line-icon.icon-calendar::before { content: "□"; }
.school-community-line-icon.icon-people::before { content: "◎"; }
.school-community-line-icon.icon-student::before { content: "◇"; }
.school-community-line-icon.icon-family::before { content: "♧"; }
.school-community-line-icon.icon-link::before { content: "∞"; }
.school-community-line-icon.icon-phone::before,
.school-community-line-icon.icon-leaf::before { content: "⌁"; }
.school-community-line-icon.icon-robot::before { content: "⚙"; }
.school-community-line-icon.icon-art::before { content: "◉"; }
.school-community-line-icon.icon-sport::before { content: "☆"; }
.school-community-line-icon.icon-pencil::before { content: "✎"; }
.school-community-line-icon.icon-book::before { content: "▤"; }
.school-community-line-icon.icon-food::before { content: "◫"; }
.school-community-line-icon.icon-health::before { content: "+"; }
.school-community-line-icon.icon-question::before { content: "?"; }
.school-community-line-icon.icon-mail::before { content: "✉"; }
.school-community-quick-card h3 { margin: .75rem 0 0; color: var(--school-primary); font-size: .78rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.school-community-quick-card a { display: inline-flex; min-height: 44px; align-items: center; color: var(--school-muted) !important; font-size: 0; }
.school-community-quick-card a span { font-size: .9rem; }

.school-community-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.school-community-section-heading h2 { margin: 0; color: var(--school-primary); font-size: clamp(1.35rem,2vw,1.75rem); font-weight: 850; text-transform: uppercase; }
.school-community-section-heading a { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; color: var(--school-secondary) !important; font-size: .76rem; font-weight: 750; white-space: nowrap; }

.school-community-news-events { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(300px,.95fr); gap: 2rem; padding: clamp(1.5rem,3vw,2.2rem); border-radius: 1.25rem; background: var(--school-surface-warm); }
.school-community-news-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(230px,.9fr); gap: 1rem; }
.school-community-news-secondary { display: grid; gap: 1rem; }
.school-community-news-card { overflow: hidden; border: 1px solid var(--school-border); border-radius: 1rem; background: #fff; box-shadow: var(--school-shadow-sm); }
.school-community-news-image { overflow: hidden; }
.school-community-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.school-community-news-card:hover .school-community-news-image img { transform: scale(1.025); }
.school-community-news-featured .school-community-news-image { aspect-ratio: 16/9; }
.school-community-news-small { display: grid; grid-template-columns: 108px minmax(0,1fr); }
.school-community-news-small .school-community-news-image { min-height: 170px; }
.school-community-news-body { padding: 1rem; }
.school-community-badge { display: inline-flex; margin-bottom: .45rem; padding: .3rem .5rem; border-radius: 999px; color: var(--school-primary); background: #e8ddff; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.school-community-date { color: var(--school-muted); font-size: .68rem; }
.school-community-news-card h3 { margin: .45rem 0; color: var(--school-primary); font-size: 1rem; font-weight: 800; line-height: 1.35; }
.school-community-news-card p { margin: 0 0 .7rem; color: var(--school-muted); font-size: .76rem; line-height: 1.55; }
.school-community-news-card a { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; color: var(--school-secondary) !important; font-size: .72rem; font-weight: 800; }
.school-community-news-small h3 { font-size: .82rem; }
.school-community-news-small .school-community-news-body { padding: .75rem; }
.school-community-news-small .school-community-badge { font-size: .52rem; }
.school-community-event-list { display: grid; gap: .75rem; }
.school-community-event { display: grid; grid-template-columns: 58px minmax(0,1fr) 44px; align-items: center; gap: .8rem; min-height: 88px; padding: .75rem; border: 1px solid var(--school-border); border-radius: .9rem; background: #fff; box-shadow: var(--school-shadow-sm); }
.school-community-event-date { padding-right: .65rem; border-right: 1px solid var(--school-border); text-align: center; }
.school-community-event-day { display: block; color: var(--school-primary); font-size: 1.65rem; font-weight: 850; line-height: 1; }
.school-community-event-month { display: block; margin-top: .18rem; color: var(--school-secondary); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.school-community-event h3 { margin: 0 0 .45rem; color: var(--school-ink); font-size: .8rem; font-weight: 750; line-height: 1.35; }
.school-community-event-meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; color: var(--school-muted); font-size: .65rem; }
.school-community-event-meta span::before { content: "○"; margin-right: .25rem; color: var(--school-secondary); }
.school-community-event > .acms-editable-block > a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--school-secondary) !important; font-weight: 850; }
.school-community-event > .acms-editable-block > a:hover { background: var(--school-surface); }

.school-community-story { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,1.45fr) minmax(190px,.55fr); gap: 1.4rem; align-items: stretch; padding: clamp(1.5rem,4vw,3rem); border-radius: 1.25rem; background: var(--school-surface); }
.school-community-story-copy { align-self: center; }
.school-community-story .school-community-eyebrow { color: var(--school-secondary); }
.school-community-story h2 { margin: .8rem 0 1rem; color: var(--school-primary); font-size: clamp(1.8rem,3.5vw,3rem); font-weight: 850; line-height: 1.08; }
.school-community-story p { color: var(--school-muted); font-size: .86rem; line-height: 1.65; }
.school-community-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .45rem; min-height: 380px; }
.school-community-mosaic > .acms-editable-block { overflow: hidden; border-radius: .7rem; }
.school-community-mosaic-large { grid-row: 1/3; }
.school-community-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.school-community-statistics { display: grid; align-content: stretch; border: 1px solid var(--school-border); border-radius: .8rem; background: #fff; }
.school-community-stat { display: grid; grid-template-columns: 36px 1fr; gap: .7rem; align-items: center; padding: .8rem; border-bottom: 1px solid var(--school-border); }
.school-community-stat:last-child { border-bottom: 0; }
.school-community-stat-icon { color: var(--school-secondary); font-size: 1.6rem; }
.school-community-stat-icon::before { content: "◇"; }
.school-community-stat strong { color: var(--school-primary); font-size: 1.15rem; }
.school-community-stat div > .acms-editable-block > span { color: var(--school-muted); font-size: .6rem; font-weight: 700; text-transform: uppercase; }

.school-community-club-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; }
.school-community-club-card { position: relative; overflow: hidden; padding: 0 1rem 1rem; border: 1px solid var(--school-border); border-radius: 1rem; background: #fff; box-shadow: var(--school-shadow-sm); }
.school-community-club-image { height: 170px; margin: 0 -1rem 1rem; overflow: hidden; }
.school-community-club-image img { width: 100%; height: 100%; object-fit: cover; }
.school-community-club-card > .school-community-line-icon { width: 38px; height: 38px; margin-top: -2rem; position: relative; z-index: 1; background: #fff; font-size: .9rem; }
.school-community-club-card h3 { margin: .75rem 0 .4rem; color: var(--school-primary); font-size: .9rem; font-weight: 800; text-transform: uppercase; }
.school-community-club-card p { min-height: 44px; margin: 0; color: var(--school-muted); font-size: .72rem; line-height: 1.55; }
.school-community-club-card a { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; color: var(--school-secondary) !important; font-size: .7rem; font-weight: 800; }

.school-community-achievements { padding: clamp(1.5rem,3vw,2.2rem); border-radius: 1.25rem; background: var(--school-surface); }
.school-community-achievement-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.school-community-achievement-card { display: grid; grid-template-columns: 28px 88px minmax(0,1fr); gap: .7rem; align-items: center; padding: .9rem; border: 1px solid var(--school-border); border-radius: .85rem; background: #fff; }
.school-community-trophy { align-self: start; color: var(--school-accent); font-size: 1.55rem; }
.school-community-trophy::before { content: "☆"; }
.school-community-achievement-image { width: 88px; height: 108px; overflow: hidden; border-radius: .65rem; }
.school-community-achievement-image img { width: 100%; height: 100%; object-fit: cover; }
.school-community-achievement-copy strong { color: var(--school-ink); font-size: .72rem; }
.school-community-achievement-copy span { color: var(--school-muted); font-size: .62rem; }
.school-community-achievement-copy h3 { margin: .4rem 0 .25rem; color: var(--school-secondary); font-size: .82rem; font-weight: 850; text-transform: uppercase; }
.school-community-achievement-copy p { margin: 0; color: var(--school-muted); font-size: .65rem; line-height: 1.35; }
.school-community-achievement-copy .school-community-quote { margin-top: .45rem; color: var(--school-primary); font-style: italic; }

.school-community-parent-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .75rem; }
.school-community-parent-card,
.school-community-newsletter { min-height: 170px; display: flex; flex-direction: column; padding: 1rem; border: 1px solid var(--school-border); border-radius: .85rem; background: #fff; box-shadow: var(--school-shadow-sm); }
.school-community-parent-card .school-community-line-icon,
.school-community-newsletter .school-community-line-icon { width: 36px; height: 36px; font-size: .85rem; }
.school-community-parent-card h3,
.school-community-newsletter h3 { margin: .75rem 0 .3rem; color: var(--school-primary); font-size: .78rem; font-weight: 800; }
.school-community-parent-card p,
.school-community-newsletter p { margin: 0; color: var(--school-muted); font-size: .66rem; line-height: 1.45; }
.school-community-parent-card a { display: inline-flex; min-height: 44px; align-items: flex-end; gap: .35rem; margin-top: auto; color: var(--school-secondary) !important; font-size: .66rem; font-weight: 800; }
.school-community-newsletter { background: var(--school-surface); }
.school-community-newsletter-demo { display: flex; min-height: 40px; align-items: center; margin-top: auto; overflow: hidden; border: 1px solid var(--school-border); border-radius: .5rem; background: #fff; }
.school-community-newsletter-demo > .acms-editable-block { flex: 1; }
.school-community-newsletter-demo span { display: block; padding: .55rem; color: #8c8499; font-size: .62rem; }
.school-community-newsletter-demo button { align-self: stretch; padding: .45rem .6rem; border: 0; color: #fff; background: var(--school-secondary); font-size: 0; }
.school-community-newsletter-demo button::before { content: "→"; font-size: .9rem; }

.school-community-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; overflow: hidden; margin-bottom: 0; padding: 1.5rem clamp(1.25rem,4vw,3rem); color: #fff; background: var(--school-primary); }
.school-community-cta-mark { font-size: 3.4rem; line-height: 1; }
.school-community-cta-mark::before { content: "♡"; }
.school-community-cta-copy { flex: 1; }
.school-community-cta h2 { margin: 0 0 .25rem; color: #fff; font-size: clamp(1.25rem,2.6vw,2rem); font-weight: 850; text-transform: uppercase; }
.school-community-cta p { margin: 0; color: rgba(255,255,255,.82); font-size: .82rem; }
.school-community-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.school-community-theme .school-footer { margin-top: 0; color: var(--community-muted); }
.school-community-theme .school-footer-main { padding-block: 2.5rem; background: #fff; border-top: 1px solid var(--community-border); }
.school-community-theme .school-footer h2,
.school-community-theme .school-footer-brand strong { color: var(--community-primary); }
.school-community-theme .school-footer-brand span { color: var(--community-secondary); }
.school-community-theme .school-footer-brand p,
.school-community-theme .school-footer-contact p { color: var(--community-muted); }
.school-community-theme .school-footer a { color: var(--community-primary) !important; }
.school-community-theme .school-footer a:hover { color: var(--community-secondary) !important; }
.school-community-theme .school-cookie-button { color: var(--community-primary); border-color: var(--community-border); }
.school-community-theme .school-footer-bottom { color: var(--community-muted); background: var(--community-pale); border-top: 1px solid var(--community-border); }

@media (max-width:1199.98px) {
  .school-community-quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .school-community-quick-card:nth-child(3) { border-right: 0; }
  .school-community-quick-card:nth-child(-n+3) { border-bottom: 1px solid var(--school-border); }
  .school-community-news-events { grid-template-columns: 1fr; }
  .school-community-story { grid-template-columns: minmax(220px,.8fr) minmax(0,1.4fr); }
  .school-community-statistics { grid-column: 1/-1; grid-template-columns: repeat(4,1fr); }
  .school-community-stat { border-right: 1px solid var(--school-border); border-bottom: 0; }
  .school-community-stat:last-child { border-right: 0; }
  .school-community-club-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-community-achievement-grid { grid-template-columns: 1fr; }
  .school-community-parent-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:767.98px) {
  .school-community-theme .school-utility-copy { width: 100%; }
  .school-community-theme .school-utility-links { margin-left: 0; }
  .school-community-hero { grid-template-columns: 1fr; }
  .school-community-hero-copy { min-height: 390px; }
  .school-community-hero-media { min-height: 300px; }
  .school-community-quick-links { margin-top: -1rem; }
  .school-community-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-community-quick-card { min-height: 130px; border-right: 1px solid var(--school-border); border-bottom: 1px solid var(--school-border); }
  .school-community-quick-card:nth-child(2n) { border-right: 0; }
  .school-community-quick-card:nth-last-child(-n+2) { border-bottom: 0; }
  .school-community-news-grid { grid-template-columns: 1fr; }
  .school-community-news-secondary { grid-template-columns: 1fr 1fr; }
  .school-community-news-small { grid-template-columns: 1fr; }
  .school-community-news-small .school-community-news-image { min-height: 140px; }
  .school-community-story { grid-template-columns: 1fr; }
  .school-community-mosaic { min-height: 320px; }
  .school-community-statistics { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .school-community-stat { border-right: 1px solid var(--school-border); border-bottom: 1px solid var(--school-border); }
  .school-community-stat:nth-child(2n) { border-right: 0; }
  .school-community-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .school-community-parent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-community-cta { flex-wrap: wrap; }
  .school-community-cta-mark { display: none; }
}
@media (max-width:575.98px) {
  .school-community-section-heading { align-items: flex-start; }
  .school-community-section-heading a { white-space: normal; text-align: right; }
  .school-community-news-events { padding: 1rem; }
  .school-community-news-secondary { grid-template-columns: 1fr; }
  .school-community-event { grid-template-columns: 54px minmax(0,1fr); }
  .school-community-event > .acms-editable-block { grid-column: 2; }
  .school-community-event > .acms-editable-block > a { width: auto; height: 36px; justify-content: end; }
  .school-community-club-grid { grid-template-columns: 1fr; }
  .school-community-achievement-card { grid-template-columns: 24px 72px minmax(0,1fr); }
  .school-community-achievement-image { width: 72px; height: 96px; }
  .school-community-cta-actions { width: 100%; }
  .school-community-cta-actions .acms-editable-block { flex: 1 1 180px; }
  .school-community-cta-actions a { width: 100%; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .school-community-button,
  .school-community-news-image img { transition: none; }
  .school-community-button:hover,
  .school-community-news-card:hover .school-community-news-image img { transform: none; }
}

/* Community shell overrides stay last because the repository also ships other
   complete homepage concepts with their own active-shell rules. */
.school-theme.school-community-theme {
  --acms-bg: var(--community-warm-white);
  --acms-surface: #fff;
  --acms-text: var(--community-ink);
  --acms-text-secondary: var(--community-muted);
  --acms-text-muted: #8c8499;
  --acms-primary: var(--community-primary);
  --acms-accent: var(--community-secondary);
  --acms-sage: var(--community-pale);
  --acms-sand: #f8f3ea;
  --acms-border: var(--community-border);
  --acms-focus: var(--community-accent);
  --school-primary: var(--community-primary);
  --school-primary-dark: var(--community-primary-dark);
  --school-secondary: var(--community-secondary);
  --school-accent: var(--community-accent);
  --school-ink: var(--community-ink);
  --school-muted: var(--community-muted);
  --school-surface: var(--community-pale);
  --school-surface-warm: var(--community-warm-white);
  --school-border: var(--community-border);
  color: var(--community-ink);
  background: var(--community-warm-white);
}
.school-theme.school-community-theme .school-utility-bar { color: var(--community-primary); background: linear-gradient(90deg,var(--community-pale),#fff); border-bottom-color: var(--community-border); }
.school-theme.school-community-theme .school-utility-bar a,
.school-theme.school-community-theme .school-language-selector summary { color: var(--community-primary) !important; }
.school-theme.school-community-theme .school-utility-copy { margin-right: auto; color: var(--community-secondary); }
.school-theme.school-community-theme .school-utility-links { margin-left: auto; }
.school-theme.school-community-theme .school-brand-copy strong { color: var(--community-primary); }
.school-theme.school-community-theme .school-site-kicker { color: var(--community-secondary); }
.school-theme.school-community-theme .school-search button { color: var(--community-primary); border-color: var(--community-border); }
.school-theme.school-community-theme .school-navbar { background: #fff; border-bottom-color: var(--community-border); box-shadow: 0 7px 20px rgba(47,25,88,.08); }
.school-theme.school-community-theme .school-navbar .nav-link { color: var(--community-ink) !important; }
.school-theme.school-community-theme .school-navbar .nav-link::after { background: var(--community-secondary); }
.school-theme.school-community-theme .school-navbar .nav-link:hover,
.school-theme.school-community-theme .school-navbar .nav-link.active { color: var(--community-primary) !important; background: transparent; }
.school-theme.school-community-theme .school-navbar .dropdown-caret-toggle { color: var(--community-primary); }
.school-theme.school-community-theme .school-footer { color: var(--community-muted); border-top-color: var(--community-border); background: #fff; }
.school-theme.school-community-theme .school-footer-main { padding-block: 44px; background: #fff; }
.school-theme.school-community-theme .school-footer h2,
.school-theme.school-community-theme .school-footer-brand strong { color: var(--community-primary); }
.school-theme.school-community-theme .school-footer-brand span,
.school-theme.school-community-theme .school-footer-brand p,
.school-theme.school-community-theme .school-footer a,
.school-theme.school-community-theme .school-footer-contact p,
.school-theme.school-community-theme .school-footer-hours p { color: var(--community-muted) !important; }
.school-theme.school-community-theme .school-footer-social a,
.school-theme.school-community-theme .school-cookie-button { color: var(--community-primary); border-color: var(--community-border); background: var(--community-pale); }
.school-theme.school-community-theme .school-footer-bottom { color: var(--community-muted); background: var(--community-pale); border-top-color: var(--community-border); }
