/* Anchor & Rise Academy unified visual layer — October 2026 */
:root { --academy-forest:#102E28; --academy-green:#173D34; --academy-sage:#D7E2D1; --academy-cream:#F4EBDD; --academy-gold:#C8A24A; }
html {scroll-behavior:smooth;} body {color:var(--academy-forest);} 
body:not(.dashboard-page):not(.staff-page):not(.player-page):not(.certificate-page) {background:#faf7f0;}
/* Shared navigation injected on participant secondary pages */
.academy-unified-header { box-sizing:border-box!important; position:relative; z-index:90; width:100%; padding:0 3.4%!important; min-height:78px; display:flex!important; gap:20px; align-items:center; justify-content:space-between; background:#102E28!important; color:#fff!important; border:0!important; border-bottom:3px solid #C8A24A!important; }
.academy-unified-header * {box-sizing:border-box;} .academy-unified-brand {display:flex;align-items:center;gap:13px;color:#fff!important;text-decoration:none!important;flex-shrink:0;font:600 18px Georgia,serif;letter-spacing:.04em;line-height:1.15;}
.academy-unified-brand img {width:49px;height:49px;object-fit:contain;} .academy-unified-brand small{display:block;font:600 10px Arial,sans-serif;color:#D7E2D1;letter-spacing:.2em;text-transform:uppercase;margin-top:4px;}
.academy-unified-nav {display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end;}
.academy-unified-nav a {font:600 12px Arial,sans-serif;color:#F4EBDD!important;text-decoration:none!important;padding:11px 12px;border-radius:9px;transition:background .15s;white-space:nowrap;}
.academy-unified-nav a:hover,.academy-unified-nav a[aria-current=page]{background:#245649;color:white!important;}
.academy-unified-nav .academy-unified-action {background:#C8A24A!important;color:#102E28!important;margin-left:6px;border-radius:24px;}
.academy-unified-header button.academy-menu-toggle {display:none;border:1px solid #6c9584;color:#fff;background:transparent;border-radius:8px;padding:10px;}
/* Protect readable text in the resource library: original hero had almost no contrast. */
body .library-hero{background:#102E28!important;color:#F4EBDD!important;}
body .library-hero h1,body .library-hero h1 i,body .library-hero h1 em,body .library-hero p{color:#F4EBDD!important;}
body .library-hero .eyebrow{color:#C8A24A!important;}
/* Consistent buttons/cards across the old pages */
body .post-button,body .round-button,body a.btn-gold {background:#C8A24A;color:#102E28;border-radius:24px;}
body .community-heading .eyebrow,body .library-topics span{color:#a47523;}
body .community,body .student-calendar,body .welcome-shell{max-width:1360px;margin-left:auto;margin-right:auto;}
body .community h1,body .student-calendar h1{color:#102E28;}
.academy-unified-footer{background:#102E28;color:#F4EBDD;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:26px 5%;font:12px Arial,sans-serif;}
.academy-unified-footer a{color:#D7E2D1;text-decoration:none;margin-right:15px;}
/* The welcome layout retains its walkthrough controls; top navigation now matches. */
@media(max-width:960px){ .academy-unified-header{flex-wrap:wrap;padding:10px 4%!important;} .academy-unified-header button.academy-menu-toggle{display:block;margin-left:auto;} .academy-unified-nav{display:none;width:100%;justify-content:flex-start;} .academy-unified-header.is-open .academy-unified-nav{display:flex;} }
@media print {.academy-unified-header,.academy-unified-footer{display:none!important;}}
