/* Compact school navigation: one heading surface, one section navigation row. */
body.public-v2 .password-control{position:relative}
body.public-v2 .password-control input{width:100%;padding-right:48px}
body.public-v2 .password-reveal{position:absolute;right:4px;top:3px;bottom:3px;width:42px;border:0;background:transparent;color:#32475d;border-radius:5px}
body.public-v2 .password-reveal:focus-visible{outline:2px solid #cf233b}
body.public-v2 .cca-cal-filters{display:flex;flex-wrap:wrap;gap:8px}
body.public-v2 .cca-cal-filter{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;border:1px solid #cbd5df;border-radius:24px;background:#fff;font:500 13px 'DM Sans',sans-serif;cursor:pointer;transition:background .15s,border-color .15s}
body.public-v2 .cca-cal-filter:has(input:checked){background:#eaf0f5;border-color:#6f8498;color:#102137}
body.public-v2 .cca-cal-filter input{position:absolute;opacity:0;width:1px;height:1px}
body.public-v2 .cca-cal-filter:has(input:focus-visible){outline:3px solid #829eb9;outline-offset:2px}
body.public-v2 .cca-cal-filter:after{content:'+';font-size:16px;margin-left:4px;color:#60758a}
body.public-v2 .cca-cal-filter:has(input:checked):after{content:'✓';color:#102137}
body.public-v2 .cca-cal-swatch{border-radius:50%;width:9px;height:9px}
body.public-v2 .compact-section-row :is(.section-subnav a,.pto-v2-drop-btn,.pto-v2-menu-link){transition:background .16s,color .16s,border-color .16s}
body.public-v2 .compact-section-row :is(.section-subnav a,.pto-v2-drop-btn,.pto-v2-menu-link):is(:hover,:focus-visible){background:#e9eef2;color:#af1831;border-bottom-color:#cf233b}
body.public-v2 .compact-section-row .pto-v2-drop.is-current>.pto-v2-drop-btn{border-bottom-color:#cf233b;font-weight:700;color:#101f34}
@media(prefers-reduced-motion:reduce){body.public-v2 .compact-section-row *{transition:none!important}}
body.public-v2 .header-inner{height:82px;min-height:82px;padding-top:12px;padding-bottom:12px;gap:18px}
body.public-v2 .brand-logo{height:48px;width:48px}
body.public-v2 .flight-admissions{padding:12px 15px;gap:14px}
body.public-v2 .primary-nav{gap:18px}
body.public-v2 .primary-nav:not(.open)>.school-calendar-nav{display:block!important;white-space:nowrap;font:600 12px 'DM Sans',sans-serif}
body.public-v2 .page-hero-band,body.public-v2:has(.crumb-bar) .page-hero-band,body.public-v2 .flight-page-title{padding-top:16px;padding-bottom:16px;background:#f7f7f2;color:#101f34;overflow:visible}
body.public-v2 .page-hero-band h1,body.public-v2 .flight-page-title h1{font-family:'DM Sans',sans-serif;font-size:clamp(27px,3vw,40px);font-weight:700;line-height:1.16;margin:8px 0 0;letter-spacing:-.035em}
body.public-v2 .page-hero-band h1:before,body.public-v2 .flight-page-title>span{display:none}
body.public-v2 .page-hero-band p{font-size:14px;line-height:1.5;margin:8px 0 0!important;max-width:80ch}
body.public-v2 .compact-crumbs{background:transparent!important;border:0;box-shadow:none;margin:0;color:#52677b}
body.public-v2 .compact-crumbs .breadcrumb-cca{padding:0;max-width:none;font-size:11px;min-height:0;gap:6px;color:#52677b}
body.public-v2 .compact-crumbs a,body.public-v2 .compact-crumbs span{color:#52677b}
body.public-v2 .compact-section-row{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-top:16px;border-top:1px solid #dce2e6;padding-top:8px;min-width:0}
body.public-v2 .compact-section-row .section-subnav-wrap{margin:0;padding:0;border:0;min-width:0;flex:1;background:none}
body.public-v2 .compact-section-row .section-subnav-label{display:none}
body.public-v2 .compact-section-row .section-subnav{display:flex;flex-wrap:wrap;gap:4px;background:transparent;border:0;padding:0;border-radius:0;box-shadow:none}
body.public-v2 .compact-section-row .section-subnav a{border:0;border-bottom:2px solid transparent;border-radius:0;padding:9px 11px;min-height:36px;font:500 12px 'DM Sans',sans-serif;color:#32475d;background:transparent}
body.public-v2 .compact-section-row .section-subnav a.active{border-bottom-color:#cf233b;color:#101f34;font-weight:700;background:transparent}
body.public-v2 .section{padding-top:24px;padding-bottom:40px}
.page-social-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.page-social-links a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ccd6df;border-radius:50%;color:#193049;background:#fff;text-decoration:none;font-size:15px}
.page-social-links a:hover{color:#c82038;border-color:#c82038}
.topbar .page-social-links a{height:25px;width:25px;font-size:12px}
/* PTO uses the same compact tabs, retaining its grouped destinations. */
body.public-v2 .compact-section-row .pto-v2-menu{position:relative;top:auto;box-shadow:none;border:0;background:none;flex:1;min-width:0;margin:0;padding:0;z-index:30}
body.public-v2 .compact-section-row .pto-v2-menu-inner{padding:0;max-width:none;gap:12px;min-height:36px;display:flex;flex-wrap:wrap}
body.public-v2 .compact-section-row .pto-v2-menu-home{font:700 12px 'DM Sans',sans-serif;padding:8px 0}
body.public-v2 .compact-section-row .pto-v2-menu-list{display:flex!important;position:static;flex-direction:row;flex-wrap:wrap;gap:4px;width:auto;height:auto;max-height:none;padding:0;margin:0;transform:none;box-shadow:none;background:transparent;visibility:visible;opacity:1}
body.public-v2 .compact-section-row .pto-v2-menu-toggle,body.public-v2 .compact-section-row .pto-v2-menu-close,body.public-v2 .compact-section-row .pto-v2-menu-social{display:none!important}
body.public-v2 .compact-section-row .pto-v2-drop-btn,body.public-v2 .compact-section-row .pto-v2-menu-link{font:500 12px 'DM Sans',sans-serif;padding:9px 11px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;min-height:36px;color:#32475d}
body.public-v2 .compact-section-row .pto-v2-drop.is-open>.pto-v2-drop-btn,body.public-v2 .compact-section-row .pto-v2-menu-link.is-active{border-bottom-color:#cf233b;color:#101f34}
body.public-v2 .compact-section-row .pto-v2-drop{position:relative}
body.public-v2 .compact-section-row .pto-v2-drop-panel{position:absolute;top:100%;left:0;right:auto;min-width:200px;width:max-content;max-width:85vw;background:white;border:1px solid #dce2e6;box-shadow:0 8px 24px #10213714;border-radius:5px;padding:8px;z-index:40}
body.public-v2 .compact-section-row .pto-v2-drop-panel a{font:500 12px 'DM Sans',sans-serif;padding:10px;color:#32475d}
body.public-v2 .compact-section-row .pto-v2-drop-panel a:hover{background:#eef2f5;color:#b21c33}
body.public-v2 .compact-section-row .pto-v2-drop:not(.is-open):not(.is-hover) .pto-v2-drop-panel{display:none!important}
body.public-v2 .compact-section-row .pto-v2-drop.is-hover .pto-v2-drop-panel{display:block!important}
/* Uniform portrait windows remove the letterbox bands without stretching photos. */
body.public-v2 .person-photo{display:block;width:100%;height:auto!important;aspect-ratio:4/5;object-fit:cover!important;object-position:50% 20%;background:#fff}
/* The expanded menu is a compact category browser, not a full-width sitemap. */
@media(min-width:901px){
 body.public-v2 .primary-nav.open{display:flex!important;flex-direction:column;align-items:stretch;left:auto;right:4%;top:calc(100% + 1px);width:min(820px,92vw);height:auto;min-height:440px;max-height:calc(100dvh - 130px);overflow:auto;padding:18px 24px 78px;border:1px solid #d5dfe5;border-radius:0 0 10px 10px;background:#fff;box-shadow:0 18px 45px #10213726;gap:4px}
 body.public-v2 .primary-nav.open>.nav-item{position:static;width:190px;flex:none}
 body.public-v2 .primary-nav.open .nav-parent{display:block;padding:11px 13px;border-radius:5px;font:600 13px 'DM Sans',sans-serif}
 body.public-v2 .primary-nav.open .menu-selected>.nav-parent{background:#eef2f5;color:#b21c33}
 body.public-v2 .primary-nav.open .nav-submenu{display:none!important}
 body.public-v2 .primary-nav.open .menu-selected>.nav-submenu{display:grid!important;grid-template-columns:1fr 1fr;align-content:start;gap:4px 16px;position:absolute;top:18px;left:238px;right:24px;width:auto;min-width:0;padding:0;box-shadow:none;max-height:330px;overflow:auto}
 body.public-v2 .primary-nav.open .nav-submenu a{font:500 13px/1.4 'DM Sans',sans-serif;padding:10px 8px;white-space:normal;border-bottom:1px solid #edf0f2}
 body.public-v2 .primary-nav.open>.school-calendar-nav{width:190px;padding:11px 13px;font:600 13px 'DM Sans',sans-serif}
 body.public-v2 .primary-nav.open .nav-mobile-utils{position:absolute;bottom:16px;left:24px;right:24px;display:flex;gap:10px 18px;border-top:1px solid #e1e7eb;padding-top:12px;flex-wrap:wrap;margin:0}
 body.public-v2 .primary-nav.open .nav-mobile-utils a{font:500 11px 'DM Sans',sans-serif}
}
@media(min-width:901px) and (max-width:1200px){body.public-v2 .primary-nav{gap:10px}body.public-v2 .brand-text strong{max-width:115px;font-size:10px}body.public-v2 .header-actions{gap:10px}body.public-v2 .flight-admissions{display:none}}
@media(max-width:900px){
 body.public-v2 .header-inner{height:72px;min-height:72px}
 body.public-v2 .primary-nav.open{position:absolute;top:100%;left:0;right:0;width:100%;display:flex;flex-direction:column;gap:0;padding:12px 5%;background:white;max-height:calc(100dvh - 112px);overflow:auto;box-shadow:0 14px 25px #10213722}
 body.public-v2 .primary-nav.open>.nav-item{width:100%;padding:0;margin:0;border-bottom:1px solid #e5e9ed}
 body.public-v2 .primary-nav.open .nav-parent{font:600 14px 'DM Sans',sans-serif;padding:12px 0;width:100%}
 body.public-v2 .primary-nav.open .nav-submenu{display:none!important}
 body.public-v2 .primary-nav.open .menu-selected>.nav-submenu{display:grid!important;grid-template-columns:1fr 1fr;gap:0 12px;position:static;border:0;padding:0 0 12px;box-shadow:none}
 body.public-v2 .primary-nav.open .nav-submenu a{font:500 12px/1.5 'DM Sans',sans-serif;padding:8px 0;white-space:normal}
 body.public-v2 .primary-nav.open .nav-mobile-utils{display:flex;flex-wrap:wrap;gap:8px 16px;padding:14px 0;margin:0}
 body.public-v2 .primary-nav.open .nav-mobile-utils a{font:500 12px 'DM Sans',sans-serif;padding:6px 0}
 body.public-v2 .primary-nav.open>.school-calendar-nav{padding:12px 0;font:600 14px 'DM Sans',sans-serif}
 body.public-v2 .compact-section-row{flex-wrap:wrap;gap:8px;margin-top:12px}
 body.public-v2 .compact-section-row .section-subnav-wrap{flex-basis:100%}
 body.public-v2 .page-hero-band,body.public-v2:has(.crumb-bar) .page-hero-band{padding-top:12px;padding-bottom:12px}
 body.public-v2 .compact-section-row .pto-v2-drop-panel{left:auto;right:0}
}

.public-v2 .compact-crumbs .breadcrumb-cca{margin:0!important;width:100%;padding:0!important}
.public-v2 .compact-crumbs .breadcrumb-cca li+li:before{color:#718194}
.public-v2 .compact-section-row .pto-v2-menu-inner{width:100%;margin:0!important}
@media(min-width:901px){body.public-v2 .primary-nav.open{justify-content:flex-start!important}}
@media(max-width:900px){body.public-v2 .compact-section-row .pto-v2-menu{flex-basis:100%}body.public-v2 .compact-section-row .pto-v2-menu-inner{gap:3px}body.public-v2 .compact-section-row .pto-v2-drop-btn,body.public-v2 .compact-section-row .pto-v2-menu-link{padding:9px 7px}body.public-v2 .compact-section-row .page-social-links{margin-left:auto}}

.pto-parent-nav:empty{display:none}.compact-pto-child{margin-top:0!important;padding-top:0!important;border-top:0!important}.compact-pto-child .pto-v2-menu-inner{padding-top:0!important;padding-bottom:0!important}.pto-parent-nav .section-subnav-wrap{margin:0}

/* Separate school-level navigation from the PTO workspace below the hero divider. */
body.public-v2 .pto-section-navigation{background:#edf1f5;border-bottom:1px solid #d5dfe8;padding:14px 0;position:relative;z-index:31}
body.public-v2 .pto-section-navigation .compact-pto-child{margin:0 auto!important;gap:20px}
body.public-v2 .pto-section-navigation .pto-v2-menu-inner{gap:24px}
body.public-v2 .pto-section-navigation .pto-v2-menu-home{font-size:13px;letter-spacing:.04em;padding-right:24px;border-right:1px solid #c5d1dc}
body.public-v2 .pto-section-navigation :is(.pto-v2-drop-btn,.pto-v2-menu-link){min-height:44px;border-radius:7px;border:1px solid transparent;padding:11px 16px}
body.public-v2 .pto-section-navigation .pto-v2-drop.is-current>.pto-v2-drop-btn,
body.public-v2 .pto-section-navigation .pto-v2-menu-link.is-active{background:#102137;color:#fff;border-color:#102137}
body.public-v2 .pto-section-navigation :is(button,a):focus-visible{outline:3px solid #ba2941;outline-offset:3px}
@media(max-width:600px){
 body.public-v2 .pto-section-navigation .pto-v2-menu-inner{gap:8px}
 body.public-v2 .pto-section-navigation .pto-v2-menu-home{width:100%;border:0;padding:0 0 4px}
 body.public-v2 .pto-section-navigation .pto-v2-menu-list{gap:3px}
 body.public-v2 .pto-section-navigation :is(.pto-v2-drop-btn,.pto-v2-menu-link){padding:10px 11px}
 body.public-v2 .pto-section-navigation .pto-v2-drop-panel{min-width:170px;max-width:calc(100vw - 40px)}
 body.public-v2 .pto-section-navigation .pto-v2-drop:nth-last-child(2) .pto-v2-drop-panel{left:auto;right:0}
}

/* The old mobile drawer's scrolling container clipped the dropdown panels. */
body.public-v2 .compact-section-row .pto-v2-menu-list{overflow:visible;inset:auto;align-items:center}
body.public-v2 .compact-section-row .pto-v2-drop.is-open>.pto-v2-drop-panel{display:block}
@media(max-width:600px){
 body.public-v2 .pto-section-navigation .pto-v2-menu-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;align-items:start;gap:8px}
 body.public-v2 .pto-section-navigation .pto-v2-drop{min-width:0;border:0}
 body.public-v2 .pto-section-navigation .pto-v2-drop-btn{width:100%;text-align:left;background:#fff;border:1px solid #cad5df;display:flex;justify-content:space-between;align-items:center}
 body.public-v2 .pto-section-navigation .pto-v2-drop-btn:after{content:'⌄';margin-left:8px}
 body.public-v2 .pto-section-navigation .pto-v2-drop.is-open>.pto-v2-drop-btn:after{content:'⌃'}
 body.public-v2 .pto-section-navigation .pto-v2-drop-panel{position:static;width:100%;min-width:0;max-width:none;margin-top:4px;box-shadow:none;padding:4px}
 body.public-v2 .pto-section-navigation .pto-v2-drop-panel a{white-space:normal;min-height:44px;display:flex;align-items:center}
}
