/* Site-wide design tokens supplied by the school. */
:root, body.site-shell {
  --plum-950:#071e3c; --plum-900:#09284b; --plum-800:#0b345d;
  --plum-700:#104577; --plum-500:#326b9b; --plum-300:#86accb;
  --gold:#efc34b; --gold-light:#ffe4a0; --cream:#f5f8fc;
  --paper:#fff; --ink:#172e46; --muted:#586d81; --line:#dce5ef;
  --shadow-sm:0 4px 18px #102e4e08; --shadow-md:0 14px 40px #102e4e0d;
  --shadow-lg:0 24px 64px #102e4e18; --radius:18px;
  --font-display:Georgia,'Times New Roman',serif;
  --font-body:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:var(--font-display); --body:var(--font-body);
}
body.site-shell { background:var(--cream); color:var(--ink); font-family:var(--font-body); }
/* Unified editorial design with a navy, gold and cool ivory palette. */

body.site-shell .school-utility { background:#071e3c; }
body.site-shell .navbar { background:#f5f8fc!important; border-bottom:1px solid #bfd2d8; }
body.site-shell .navbar .navbar-brand img { filter:drop-shadow(0 3px 7px #0b345d18); }
body.site-shell .navbar .navbar-nav .nav-link.active { background:#0b345d; }
body.reference-home #heroCarousel { position:relative; isolation:isolate; background:#071e3c; border:0; padding:0; overflow:hidden; }
body.reference-home #heroCarousel::before { content:""; position:absolute; width:560px; height:560px; border:1px solid #efc34b28; border-radius:50%; left:-310px; top:-180px; pointer-events:none; z-index:1; }
body.reference-home #heroCarousel .carousel-inner { height:auto; overflow:hidden; }
body.reference-home #heroCarousel .carousel-item { height:570px; min-height:570px; background:radial-gradient(ellipse at 82% 12%,#104577 0%,transparent 58%),#071e3c; overflow:hidden; }
body.reference-home #heroCarousel .carousel-item > img { position:absolute; left:auto; right:0; top:50%; bottom:auto; transform:translateY(-50%); width:57%; height:auto; max-height:490px; aspect-ratio:16/10; object-fit:contain; object-position:center; background:#09284b; border:1px solid #efc34b55; border-right:0; border-radius:90px 0 0 18px; padding:12px; filter:none; box-shadow:-20px 22px 60px #00000024; }
body.reference-home #heroCarousel .hero-scrim { display:none; }
body.reference-home #heroCarousel .hero-content { position:relative; inset:auto; transform:none; width:43%; max-width:none; height:100%; min-height:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:20px; padding:42px 36px 98px max(4vw,30px); background:none; border:0; text-align:left; z-index:2; }
body.reference-home #heroCarousel .hero-content .eyebrow { color:#efc34b; font-size:10px; font-weight:700; letter-spacing:2.4px; margin:0; }
body.reference-home #heroCarousel .hero-content h1 { font-family:Georgia,serif; font-size:clamp(36px,4.1vw,65px); line-height:1.06; letter-spacing:-1.8px; font-weight:500; color:#f5f8fc; margin:0; max-width:580px; text-shadow:none; }
body.reference-home #heroCarousel .hero-content h1 em { color:#efc34b; font-style:italic; }
body.reference-home #heroCarousel .hero-content h1 br { display:none; }
body.reference-home #heroCarousel .hero-content p { color:#dce5ef; font-size:15px; line-height:1.8; margin:0; max-width:380px; }
body.reference-home #heroCarousel .hero-content .btn-gold { color:#071e3c; background:#efc34b; border:1px solid #efc34b; border-radius:4px 20px 4px 20px; padding:14px 23px; margin:4px 0 0; min-height:48px; font-size:13px; box-shadow:0 6px 24px #00000012; }
body.reference-home #heroCarousel .hero-content .btn-gold:hover { background:#ffe4a0; color:#071e3c; }
body.reference-home #heroCarousel .carousel-control-prev,body.reference-home #heroCarousel .carousel-control-next { top:auto; bottom:28px; left:calc(max(4vw,30px) + 225px); right:auto; width:44px; height:44px; opacity:1; z-index:5; }
body.reference-home #heroCarousel .carousel-control-next { left:calc(max(4vw,30px) + 280px); }
body.reference-home #heroCarousel .hero-arrow { width:44px; height:44px; background:#ffffff0c; border:1px solid #a8c1c780; border-radius:50%; color:#fff; box-shadow:none; }
body.reference-home #heroCarousel .carousel-indicators { left:max(4vw,30px); right:auto; bottom:41px; justify-content:flex-start; gap:9px; margin:0; z-index:5; }
body.reference-home #heroCarousel .carousel-indicators button { background:#d4e4e8; width:8px; height:8px; opacity:.45; }
body.reference-home #heroCarousel .carousel-indicators button.active { width:36px; background:#efc34b; opacity:1; }
.hero-motion-toggle { position:absolute; z-index:6; bottom:29px; left:calc(max(4vw,30px) + 165px); border:1px solid #a8c1c780; border-radius:50%; width:36px; height:36px; background:#ffffff0c; color:#fff; font-size:14px; }
body.reference-home .notice-bar { background:#104577; }
body.reference-home .home-shortcuts { position:relative; background:#0b345d; border:0; border-radius:0 0 22px 22px; margin:0 auto 36px; padding:22px 12px; box-shadow:0 16px 30px #0b345d1a; }
body.reference-home .home-shortcuts a { color:#e8f0f2; border-right-color:#ffffff20; }
body.reference-home .home-shortcuts a i { color:#efc34b; font-size:29px; }
body.reference-home .home-shortcuts a:hover { background:#ffffff12; }
body.reference-home .reference-dashboard { background:#f5f8fc; padding-bottom:48px; }
body.reference-home .home-overview { gap:18px; }
body.reference-home .home-overview > :not(.latest-news-card) { border:1px solid #dce5ef; border-radius:4px 22px 4px 22px; box-shadow:0 8px 20px #0b345d08; }
body.reference-home .home-overview .home-events { background:#eaf1f8; }
body.reference-home .home-overview .quick-links-panel { background:#edf3f9; }
body.reference-home .home-overview .principal-preview { background:#fff5d9; border-top:4px solid #efc34b; }
body.reference-home .home-panel h2,body.reference-home .home-overview .dash-card h5 { font-family:Georgia,serif; font-size:24px; font-weight:600; color:#0b345d; }
body.reference-home .home-overview .quick-links-panel > a { background:#e3edf6; border-left:3px solid transparent; }
body.reference-home .home-overview .quick-links-panel > a:hover { background:#dce5ef; border-left-color:#104577; }
body.reference-home .panel-more { background:#0b345d; border-radius:4px 14px 4px 14px; padding:12px 17px; }
body.reference-home .home-activities { border:0; gap:22px; margin-top:36px; padding-top:0; }
body.reference-home .home-activities .dash-card { border:1px solid #dce5ef; border-radius:18px; box-shadow:0 7px 22px #0b345d0d; }
body.reference-home .home-activities .dash-card-head { border-bottom:1px solid #0b345d12; }
body.reference-home .mission-section { position:relative; overflow:hidden; background:#eaf1f8; padding:80px 28px; }
body.reference-home .mission-card { position:relative; background:#f5f8fc; border-radius:4px 44px 4px 44px; border-top:5px solid #efc34b; padding:40px 48px; box-shadow:14px 14px 0 #0b345d10; }
body.reference-home .section-head h2 { font-family:Georgia,serif; font-size:clamp(30px,3.3vw,46px); line-height:1.2; }
body.reference-home .facilities-section { background:radial-gradient(ellipse at 0% 0%,#104577,transparent 60%),#071e3c; }
body.reference-home .facility-card { border-radius:4px 30px 4px 30px; border-color:#bfd2d840; }
body.reference-home .fb-section { background:#eaf1f8; }
body.site-shell .rules-hero { background:radial-gradient(ellipse at 80% 0%,#104577,transparent 65%),#071e3c; border-bottom:4px solid #efc34b; }
body.site-shell .school-page-copy { background:#fff; border-radius:4px 28px 4px 28px; border-color:#c2d4d9; }
body.site-shell .school-page-photo { border-radius:4px 32px 4px 32px; border:5px solid #d0dee1; }
body.site-shell .footer-section { background:#e3edf6; }
body.site-shell .footer-section .disclaimer-card { background:#f5f8fc; border-radius:4px 28px 4px 28px; }
body.site-shell .site-footer { background:#071e3c; }
@keyframes school-text-enter { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes school-photo-enter { from { opacity:.3; transform:translate(36px,-50%); } to { opacity:1; transform:translate(0,-50%); } }
@media(prefers-reduced-motion:no-preference) {
 body.reference-home #heroCarousel .carousel-item.active .hero-content > * { animation:school-text-enter .8s both; }
 body.reference-home #heroCarousel .carousel-item.active .hero-content h1 { animation-delay:.12s; }
 body.reference-home #heroCarousel .carousel-item.active .hero-content p { animation-delay:.24s; }
 body.reference-home #heroCarousel .carousel-item.active .hero-content .btn-gold { animation-delay:.36s; }
 body.reference-home #heroCarousel .carousel-item.active > img { animation:school-photo-enter 1s both; }
 .school-reveal { transition:opacity .7s ease,translate .7s ease; }
 .school-reveal.is-pending { opacity:0; translate:0 25px; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 body.site-shell .home-shortcuts a i,body.site-shell .panel-more i { transition:transform .25s ease; }
 body.site-shell .home-shortcuts a:hover i { transform:translateY(-5px) rotate(-6deg); }
 body.site-shell .panel-more:hover i { transform:translateX(5px); }
 body.site-shell.reference-home .home-overview > :hover,body.site-shell.reference-home .home-activities .dash-card:hover { transform:translateY(-7px); box-shadow:0 18px 30px #0b345d20; border-color:#efc34b; }
}
@media(max-width:991.98px) {
 body.reference-home #heroCarousel .carousel-item { height:530px; min-height:530px; }
 body.reference-home #heroCarousel .hero-content { width:46%; padding:32px 25px 90px; gap:16px; }
 body.reference-home #heroCarousel .hero-content h1 { font-size:38px; }
 body.reference-home #heroCarousel .carousel-item > img { width:54%; border-radius:55px 0 0 16px; padding:7px; }
 body.reference-home .home-shortcuts { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:600px) {
 body.reference-home #heroCarousel .carousel-item { height:auto; min-height:620px; padding:20px 18px 76px; }
 body.reference-home #heroCarousel .carousel-item > img { position:relative; inset:auto; transform:none; width:100%; height:auto; max-height:none; aspect-ratio:16/10; padding:5px; border:1px solid #efc34b55; border-radius:40px 4px 4px 4px; animation:none!important; }
 body.reference-home #heroCarousel .hero-content { width:100%; height:auto; padding:24px 6px 0; gap:14px; }
 body.reference-home #heroCarousel .hero-content h1 { font-size:35px; letter-spacing:-1px; }
 body.reference-home #heroCarousel .hero-content p { font-size:14px; line-height:1.7; }
 body.reference-home #heroCarousel .hero-content .eyebrow { font-size:9px; }
 body.reference-home #heroCarousel .carousel-control-prev { left:168px; right:auto; bottom:18px; }
 body.reference-home #heroCarousel .carousel-control-next { left:220px; right:auto; bottom:18px; }
 body.reference-home #heroCarousel .carousel-indicators { left:24px; bottom:36px; gap:4px; }
 body.reference-home #heroCarousel .carousel-indicators button { width:6px; }
 body.reference-home #heroCarousel .carousel-indicators button.active { width:24px; }
 .hero-motion-toggle { left:118px; bottom:23px; }
 body.reference-home .home-shortcuts { padding:12px 6px; margin-bottom:24px; }
 body.reference-home .home-shortcuts a { font-size:10px; }
 body.reference-home .home-shortcuts a i { font-size:25px; }
 body.reference-home .mission-section { padding:48px 20px; }
 body.reference-home .mission-card { padding:28px 24px; }
}
@media(prefers-reduced-motion:reduce) { .school-reveal.is-pending { opacity:1; translate:none; } body.reference-home #heroCarousel .hero-content > *,body.reference-home #heroCarousel .carousel-item > img { animation:none!important; } }

/* Complete the new palette on supporting pages. */

body.site-shell .navbar .school-wordmark,body.site-shell .navbar .dropdown-item { color:#0b345d; }
body.site-shell .navbar .dropdown-menu { background:#f5f8fc; }
body.site-shell .navbar .dropdown-item.active { background:#0b345d; color:#fff; }
body.site-shell .navbar .dropdown-item:hover { background:#e3edf6; color:#0b345d; }
body.site-shell :is(.about-section,.mv-section,.rules-section,.classes-section,.facility-section,.details-section,.contact-section,.gallery-container) { background:linear-gradient(130deg,#eaf1f8,#f5f8fc); }
body.site-shell :is(.class-card,.about-card,.contact-card,.contact-form-card,.gallery-card,.faculty-card,.school-page-highlight) { background:#f5f8fc; border-color:#dce5ef; }
body.reference-home .home-activities .dash-card { background:#eaf1f8; }
body.reference-home .home-activities .dash-card:nth-child(2n) { background:#fff5d9; }
body.reference-home .home-activities .dash-card:nth-child(3n) { background:#edf3f9; }
body.site-shell .footer-section .disclaimer-item { background:#edf3f9; border-color:#dce5ef; }
body.reference-home #heroCarousel .carousel-item > img { width:55%; right:22px; border:1px solid #efc34b70; border-radius:70px 10px 10px 10px; padding:9px; box-shadow:0 22px 50px #160c2538; }
body.reference-home #heroCarousel .carousel-item { background:radial-gradient(ellipse at 90% 10%,#326b9b,transparent 65%),#071e3c; }
body.reference-home #heroCarousel::before { border-color:#efc34b25; }
body.reference-home .facilities-section { padding:52px 28px; }
.facilities-grid { margin-top:28px; }
.facilities-grid > .swiper-wrapper { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; transform:none; height:auto; }
.facilities-grid .swiper-slide { width:auto; min-width:0; height:auto; }
body.reference-home .facilities-grid .facility-card { height:285px; opacity:1; translate:none; border-radius:10px 30px 10px 10px; }
body.reference-home .facilities-grid .facility-body { left:18px; right:18px; bottom:18px; }
body.reference-home .facilities-grid .facility-body h3 { color:#fff; font-size:22px; }
body.reference-home .facilities-grid .facility-body p { color:#f4edf1; }
body.reference-home .facilities-grid .facility-overlay { background:linear-gradient(0deg,#071e3cf5,#071e3c20 85%); }
body.reference-home .fb-section { padding:36px 28px; background:#eaf1f8; }
body.reference-home .fb-card { max-width:1180px; width:100%; margin:auto; display:grid; grid-template-columns:.85fr 1.15fr; gap:14px 34px; align-items:center; padding:30px; background:#f5f8fc; border:1px solid #dce5ef; border-radius:12px 38px 12px 12px; text-align:left; }
body.reference-home .fb-card h4 { grid-column:1; align-self:end; margin:0; font-family:Georgia,serif; font-size:clamp(30px,3.3vw,46px); color:#0b345d; }
body.reference-home .fb-card > .divider-motif { display:none; }
body.reference-home .fb-card > a { grid-column:2; grid-row:1 / span 2; display:block; min-width:0; }
body.reference-home .fb-card > p { grid-column:1; margin:0; align-self:start; color:#586d81; }
body.reference-home .fb-thumb { height:250px; border-radius:12px 28px 12px 12px; overflow:hidden; }
body.reference-home .fb-thumb img { width:100%; height:100%; object-fit:cover; }
body.reference-home .fb-thumb-overlay { opacity:1; background:linear-gradient(0deg,#071e3c90,transparent 70%); }
.management-section { padding:64px 24px 80px; background:radial-gradient(ellipse at 50% 0%,#dce5ef,transparent 70%),#f5f8fc; }
.management-leaders,.management-team { display:grid; gap:30px; margin:0 auto; max-width:1120px; }
.management-leaders { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:740px; margin-bottom:36px; }
.management-team { grid-template-columns:repeat(3,minmax(0,1fr)); }
.management-card { position:relative; padding:32px 22px 24px; text-align:center; background:linear-gradient(145deg,#f5f8fc,#eaf1f8); border:1px solid #dce5ef; border-bottom:4px solid #efc34b; border-radius:12px 36px 12px 36px; box-shadow:0 10px 28px #0b345d10; }
.management-portrait { width:180px; height:180px; margin:0 auto 22px; border-radius:50%; padding:7px; background:linear-gradient(135deg,#86accb,#efc34b); box-shadow:0 8px 20px #0b345d1c; }
.management-portrait img,.management-avatar { display:flex; align-items:center; justify-content:center; width:100%; height:100%; border-radius:50%; object-fit:cover; object-position:50% 25%; background:#eaf1f8; color:#326b9b; border:4px solid #f5f8fc; }
.management-avatar i { font-size:76px; }
.management-card h2 { margin:0; font-family:Georgia,serif; font-size:25px; line-height:1.35; color:#0b345d; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .management-card { transition:transform .25s,box-shadow .25s; }
 .management-card:hover { transform:translateY(-7px); box-shadow:0 18px 35px #0b345d20; }
 body.reference-home #heroCarousel .hero-arrow:hover { background:#efc34b; color:#071e3c; }
}
@media(max-width:991.98px) {
 .facilities-grid > .swiper-wrapper { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .management-team { gap:18px; }
 .management-portrait { width:150px; height:150px; }
 .management-card h2 { font-size:22px; }
 body.reference-home #heroCarousel .carousel-item > img { width:51%; right:14px; }
}
@media(max-width:600px) {
 body.reference-home #heroCarousel .carousel-item > img { width:100%; right:auto; }
 .facilities-grid > .swiper-wrapper { grid-template-columns:minmax(0,1fr); gap:18px; }
 body.reference-home .facilities-section { padding:38px 20px; }
 body.reference-home .facilities-grid .facility-card { height:270px; }
 body.reference-home .fb-section { padding:24px 16px; }
 body.reference-home .fb-card { grid-template-columns:minmax(0,1fr); padding:24px 18px; gap:18px; }
 body.reference-home .fb-card h4,body.reference-home .fb-card > p,body.reference-home .fb-card > a { grid-column:1; grid-row:auto; }
 body.reference-home .fb-thumb { height:210px; }
 .management-section { padding:36px 20px; }
 .management-leaders,.management-team { grid-template-columns:minmax(0,1fr); gap:22px; }
 .management-leaders { margin-bottom:22px; }
}

.management-card .management-role { margin:8px 0 0; color:#586d81; font-size:15px; font-weight:600; line-height:1.5; }

/* Coordinated finishing details: clear hierarchy, gold accents and gentle motion. */
body.site-shell .navbar { background:linear-gradient(110deg,var(--paper),var(--cream))!important; box-shadow:var(--shadow-sm)!important; }
body.site-shell .navbar .dropdown-menu { border-color:var(--line); border-top-color:var(--gold); box-shadow:var(--shadow-lg); }
body.site-shell .navbar .navbar-nav .nav-link.active { color:var(--paper)!important; }
body.site-shell .navbar .dropdown-item.active { color:var(--paper); }
body.site-shell :is(h1,h2,h3,.school-wordmark) { font-family:var(--font-display); }
body.site-shell :is(.home-panel,.dash-card,.management-card,.school-page-copy,.class-card,.contact-card,.gallery-card) { box-shadow:var(--shadow-sm); }
body.reference-home .home-overview > :not(.latest-news-card),body.reference-home .home-activities .dash-card,body.site-shell .school-page-copy { border-radius:var(--radius); }
body.reference-home .home-overview .principal-preview { background:linear-gradient(145deg,var(--paper),#fff5d9); }
body.reference-home .home-overview .home-events { background:linear-gradient(145deg,var(--paper),#eaf1f8); }
body.reference-home .home-overview .quick-links-panel { background:linear-gradient(145deg,#eaf1f8,var(--cream)); }
body.reference-home .mission-section { background:radial-gradient(ellipse at 10% 10%,#86accb30,transparent 65%),var(--cream); }
body.reference-home .mission-card { background:var(--paper); border-top-color:var(--gold); box-shadow:12px 12px 0 #86accb22; }
body.reference-home #heroCarousel .carousel-item { background:radial-gradient(ellipse at 95% 0%,var(--plum-700),transparent 68%),var(--plum-950); }
body.reference-home #heroCarousel .hero-content .btn-gold { background:linear-gradient(120deg,var(--gold-light),var(--gold)); border-color:var(--gold); box-shadow:0 8px 26px #efc34b20; }
body.reference-home .home-shortcuts { background:linear-gradient(110deg,var(--plum-900),var(--plum-700)); }
body.site-shell .management-card { background:linear-gradient(145deg,var(--paper),#eaf1f8); border-color:var(--line); border-bottom-color:var(--gold); border-radius:var(--radius); }
body.site-shell .management-portrait { background:linear-gradient(135deg,var(--plum-500),var(--gold-light)); }
body.site-shell .management-card h2 { color:var(--plum-800); }
body.site-shell .management-card .management-role { color:var(--muted); }
body.site-shell :is(a,button):focus-visible { outline:3px solid var(--gold); outline-offset:4px; }
body.site-shell ::selection { color:var(--plum-950); background:var(--gold-light); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 body.site-shell :is(.panel-more,.btn-gold,.navbar .dropdown-item,.management-portrait) { transition:transform .25s ease,background .25s ease,box-shadow .25s ease; }
 body.site-shell .navbar .dropdown-item:hover { transform:translateX(3px); }
 body.site-shell .panel-more:hover { background:var(--plum-700); box-shadow:var(--shadow-md); }
 body.reference-home #heroCarousel .hero-content .btn-gold:hover { transform:translateY(-3px); box-shadow:0 12px 30px #efc34b35; }
 body.site-shell .management-card:hover .management-portrait { transform:scale(1.035); }
 body.site-shell .management-card:hover { box-shadow:var(--shadow-lg); }
}

/* Notice freshness is driven by the live notice date, never by a static label. */
body.reference-home .notice-bar { background:linear-gradient(110deg,var(--plum-800),var(--plum-700)); border-block:1px solid #86accb45; }
.notice-fresh-badge,.notice-latest-badge { display:inline-flex; align-items:center; flex-shrink:0; align-self:center; padding:5px 9px; border-radius:6px; font:800 10px/1.2 var(--font-body); letter-spacing:1px; }
.notice-fresh-badge { background:var(--gold); color:var(--plum-950); box-shadow:0 0 0 3px #efc34b22; }
.notice-latest-badge { background:#ffffff16; color:var(--gold-light); border:1px solid #ffe4a060; }
body.reference-home .notice-scroll-container:focus-within .notice-scroll-content { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) {
 body.reference-home .notice-scroll-container { overflow-x:auto; }
 body.reference-home .notice-scroll-content { animation:none!important; transform:none!important; }
}
/* A composed, two-column footer keeps the location and school details together. */
body.site-shell .footer-section { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:28px; align-items:stretch; padding:56px max(24px,calc((100vw - 1200px)/2)); background:radial-gradient(ellipse at 0 100%,#326b9b45,transparent 65%),var(--plum-950); border-top:4px solid var(--gold); }
body.site-shell .footer-section .map-wrap { min-width:0; overflow:hidden; border:1px solid #86accb60; border-radius:var(--radius); box-shadow:var(--shadow-lg); }
body.site-shell .footer-section .map-wrap iframe { height:100%; min-height:360px; filter:none; }
body.site-shell .footer-section .map-title { top:18px; bottom:auto; left:18px; right:auto; transform:none; background:var(--plum-800); color:var(--paper); border:1px solid #86accb80; border-radius:30px; padding:12px 18px; line-height:1.3; }
body.site-shell .footer-section .disclaimer-card { width:100%; max-width:none; margin:0; padding:32px; text-align:left; border:1px solid #86accb50; border-radius:var(--radius); background:linear-gradient(145deg,var(--plum-900),var(--plum-800)); box-shadow:none; color:var(--cream); }
body.site-shell .footer-section .disclaimer-card h2 { color:var(--paper); margin:0; }
body.site-shell .footer-section .disclaimer-line { margin:16px 0; background:var(--gold); }
body.site-shell .footer-section .disclaimer-card > p { color:#dce5ef; font-size:14px; margin:16px 0 24px; }
body.site-shell .footer-section .disclaimer-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin:0; }
body.site-shell .footer-section .disclaimer-item { display:flex; align-items:center; gap:14px; padding:12px 14px; background:#ffffff08; border:1px solid #86accb30; border-radius:10px; text-align:left; }
body.site-shell .footer-section .disclaimer-item i { color:var(--gold); font-size:18px; margin:0; }
body.site-shell .footer-section .disclaimer-item p { color:var(--cream); font-size:13px; margin:0; overflow-wrap:anywhere; }
body.site-shell .site-footer { border-top:1px solid #86accb35; background:var(--plum-950); }
body.site-shell .bottom-bar { background:var(--plum-900); color:var(--cream); border-top:1px solid #86accb25; }
body.site-shell .bottom-bar span { color:var(--gold-light)!important; }
/* Reading rhythm for every long-form page, with the original copy intact. */
body.site-shell .school-page-layout { gap:36px; }
body.site-shell .school-page-copy { padding:28px; background:linear-gradient(145deg,var(--paper),var(--cream)); border:1px solid var(--line); }
body.site-shell .school-page-copy > p { position:relative; padding:20px 22px; margin:0 0 18px; background:#eaf1f870; border-left:3px solid var(--plum-300); border-radius:0 12px 12px 0; line-height:1.9; }
body.site-shell .school-page-copy > p:nth-of-type(even) { background:#fff5d960; border-left-color:var(--gold); }
body.site-shell .school-page-copy > p:first-child { font-size:18px; color:var(--plum-800); font-weight:500; background:#eaf1f8; }
body.site-shell .school-page-highlight { background:linear-gradient(130deg,var(--plum-900),var(--plum-700)); color:var(--cream); border-left:4px solid var(--gold); box-shadow:var(--shadow-md); padding:28px; }
body.site-shell .school-page-highlight h2 { color:var(--gold-light); }
body.site-shell .school-page-highlight p { color:var(--cream); }
body.site-shell .school-rule { margin:18px 0; padding:24px; background:var(--paper); border:1px solid var(--line); border-top:3px solid var(--gold); border-radius:14px; }
body.site-shell .school-rule h2 { margin-top:0; }
body.site-shell .school-rule li::marker { color:var(--plum-500); }
body.site-shell .school-page-photo figcaption { background:var(--plum-800); color:var(--cream); border-top:3px solid var(--gold); }
@media(min-width:992px) { body.site-shell .school-page-aside { position:sticky; top:28px; } }
@media(max-width:767px) {
 body.site-shell .footer-section { grid-template-columns:minmax(0,1fr); padding:32px 18px; gap:20px; }
 body.site-shell .footer-section .map-wrap iframe { height:260px; min-height:260px; }
 body.site-shell .footer-section .disclaimer-card { padding:24px 20px; }
 body.site-shell .school-page-copy { padding:16px; }
 body.site-shell .school-page-copy > p { padding:16px; }
 body.site-shell .school-page-copy > p:first-child { font-size:17px; }
 body.site-shell .school-page-highlight,body.site-shell .school-rule { padding:20px; }
}

/* Override the legacy footer declarations that use !important. */
body.site-shell .footer-section { background:radial-gradient(ellipse at 0% 100%,#326b9b45,transparent 65%),var(--plum-950)!important; padding-bottom:56px!important; }
body.site-shell .bottom-bar { background:var(--plum-900)!important; color:var(--cream)!important; }
body.site-shell .footer-section .disclaimer-item i { background:#ffffff10; }
@media(max-width:767px) { body.site-shell .footer-section { padding-bottom:32px!important; } }

body.site-shell .footer-section .map-wrap { background:linear-gradient(0deg,#071e3c55,#071e3c15),url("images/asas.jpg") center/cover; }

/* Campus motion: one-time entrances, image reveals and responsive hover feedback. */
@keyframes campus-heading { from { opacity:0; transform:translateY(28px); filter:blur(4px); } to { opacity:1; transform:none; filter:none; } }
@keyframes campus-line { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes campus-menu { from { opacity:0; translate:0 10px; } to { opacity:1; translate:0 0; } }
@media(prefers-reduced-motion:no-preference) {
 body.site-shell .campus-motion { transition:opacity .85s ease var(--motion-delay,0ms),translate .85s cubic-bezier(.16,1,.3,1) var(--motion-delay,0ms),scale .85s ease var(--motion-delay,0ms),box-shadow .3s ease; }
 body.site-shell .campus-motion.motion-wait { opacity:0; translate:0 44px; }
 body.site-shell .photo-motion.motion-wait { scale:.94; }
 body.site-shell .campus-motion:focus-within { opacity:1; translate:none; scale:1; }
 body.site-shell .rules-hero h1 { animation:campus-heading .9s both; }
 body.site-shell .rules-hero .eyebrow { animation:campus-heading .7s both; }
 body.site-shell .navbar .dropdown-menu.show { animation:campus-menu .25s ease both; }
 body.site-shell :is(.school-page-photo,.gallery-card,.facility-card,.fb-thumb) { overflow:hidden; }
 body.site-shell :is(.school-page-photo,.gallery-card,.facility-card,.fb-thumb) img { transition:transform .85s cubic-bezier(.2,.7,.2,1); }
 body.site-shell .motion-entered .disclaimer-line { transform-origin:left; animation:campus-line .8s .2s both; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 body.site-shell :is(.school-page-photo,.gallery-card,.facility-card,.fb-thumb):hover img { transform:scale(1.055); }
 body.site-shell .facility-card .facility-body { transition:translate .4s ease; }
 body.site-shell .facility-card:hover .facility-body { translate:0 -8px; }
 body.site-shell .social-icon { transition:transform .3s ease,box-shadow .3s ease; }
 body.site-shell .social-icon:hover { transform:translateY(-5px) rotate(-6deg); box-shadow:0 8px 22px #0003; }
 body.site-shell .school-page-copy > p { transition:border-color .3s,box-shadow .3s; }
 body.site-shell .school-page-copy > p:hover { border-left-color:var(--plum-700); box-shadow:var(--shadow-sm); }
}
@media(max-width:767px) { body.site-shell .campus-motion.motion-wait { translate:0 24px; } }
@media(prefers-reduced-motion:reduce) {
 body.site-shell .campus-motion { opacity:1!important; translate:none!important; scale:1!important; transition:none!important; }
 body.site-shell .rules-hero h1,body.site-shell .rules-hero .eyebrow { animation:none!important; }
}
@media print { body.site-shell .campus-motion { opacity:1!important; translate:none!important; scale:1!important; } }

/* Moving bulletin strips inspired by the reference school. */
body.reference-home .notice-label { background:var(--gold); color:var(--plum-950); border-radius:0 24px 24px 0; }
body.reference-home .notice-scroll-content { animation-duration:35s; animation-timing-function:linear; }
body.reference-home .notice-bar.ticker-paused .notice-scroll-content { animation-play-state:paused; }
.notice-motion-toggle { align-self:center; flex:0 0 32px; width:32px; height:32px; margin:0 12px 0 0; border:1px solid #ffe4a090; border-radius:50%; color:var(--gold-light); background:var(--plum-900); font-size:12px; }
@keyframes school-banner-pan { from { scale:1; } to { scale:1.025; } }
@keyframes school-attention { 0%,100% { box-shadow:0 0 0 0 #efc34b00; } 50% { box-shadow:0 0 0 6px #efc34b30; } }
@media(prefers-reduced-motion:no-preference) {
 body.reference-home #heroCarousel.carousel-fade .carousel-item { transition:opacity 1.1s ease-in-out; }
 body.reference-home #heroCarousel .carousel-item.active > img { animation:school-photo-enter 1s both,school-banner-pan 5s 1s ease-out both; }
 body.reference-home .notice-fresh-badge,body.reference-home .apply-now-bar a { animation:school-attention 1.8s ease-in-out 3; }
}
@media(max-width:600px) {
 body.reference-home #heroCarousel .carousel-item.active > img { animation:none!important; }
 .notice-motion-toggle { margin-right:6px; flex-basis:28px; width:28px; height:28px; }
}

/* Stronger type and contrast across the school website. */
body.site-shell { font-weight:500; }
body.site-shell :is(h1,h2,h3,h4,h5,h6) { font-weight:700; }
body.site-shell :is(p,li,td,th,label,figcaption) { font-weight:600; }
body.site-shell :is(.school-page-copy,.class-content,.about-card,.contact-card,.details-section) { color:var(--ink);  }
body.site-shell :is(.school-page-copy,.class-content,.about-card,.details-section) p,
body.site-shell .school-rule li { color:var(--ink); font-size:17px; line-height:1.85; text-align:left; }
body.site-shell .school-page-copy > p { background:#edf3f9; border-left-width:4px; }
body.site-shell .school-page-copy > p:nth-of-type(even) { background:#fff7e2; }
body.site-shell .school-page-copy > p:first-child { font-size:19px; font-weight:700; color:var(--plum-950); }
body.site-shell :is(.school-page-copy,.class-content,.about-card) h2 { font-weight:700; color:var(--plum-800); letter-spacing:-.3px; }
body.site-shell .school-page-copy > h2,
body.site-shell .school-rule h2 { padding:12px 16px; background:#e3edf6; border-left:4px solid var(--gold); border-radius:0 9px 9px 0; }
body.site-shell .school-page-highlight h2 { color:var(--gold-light); font-weight:700; }
body.site-shell .school-page-highlight p { color:var(--paper); font-weight:600; }
body.site-shell :is(strong,b) { font-weight:800; }
body.site-shell :is(.notice-title,.notice-message,.news-title,.news-message,.dash-view,.panel-more,.gallery-text) { font-weight:700; }
body.reference-home :is(.home-panel,.dash-card) p,
body.reference-home .news-message { color:var(--ink); }
body.reference-home #heroCarousel .hero-content h1 { font-weight:700; }
body.reference-home #heroCarousel .hero-content p { color:var(--cream); font-weight:600; }
body.site-shell .management-card .management-role { font-weight:700; color:var(--plum-700); }
body.site-shell .footer-section .disclaimer-card > p { color:var(--cream); font-weight:600; }
body.site-shell .footer-section .disclaimer-item p { color:var(--paper); font-weight:600; }
@media(max-width:767px) {
 body.site-shell :is(.school-page-copy,.class-content,.about-card,.details-section) p,
 body.site-shell .school-rule li { font-size:16px; line-height:1.8; }
 body.site-shell .school-page-copy > p:first-child { font-size:18px; }
}
/* Recent Events uses the school's live photo gallery. */
.events-gallery { margin:0 16px 18px; min-width:0; }
.events-window { overflow:hidden; border-radius:6px; }
.events-track { display:flex; transition:transform .55s ease; }
.events-slide { flex:0 0 100%; min-width:0; text-decoration:none; color:#0b345d; }
.events-slide img { display:block; width:100%; height:190px; object-fit:cover; }
.events-caption { margin:0; padding:18px 8px 8px; text-align:center; height:74px; overflow:hidden; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.events-controls { display:flex; justify-content:center; align-items:center; gap:12px; padding-top:10px; }
.events-controls[hidden] { display:none; }
.events-controls button { min-width:36px; height:36px; border:1px solid #b5c8da; border-radius:50%; background:#fff; color:#0b345d; font-size:20px; }
.events-controls button:focus-visible,.events-slide:focus-visible { outline:3px solid #bf8d20; outline-offset:-3px; }
.events-count { font-size:12px; color:#0b345d; }
.events-status { padding:40px 12px; text-align:center; }
@media(prefers-reduced-motion:reduce) { .events-track { transition:none; } }
