@import url("/assets/reader-palette.css");
:where(a:any-link){color:var(--navy,var(--reader-navy));text-decoration:none}
a:any-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
body :is(p,label) a:any-link{color:var(--navy,var(--reader-navy));text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
body :is(.school-editions,.section-nav,.school-news) a:any-link,
body .school-next a:not([href*="wa.me"]):any-link,
body .directory-school .school-cta,
body.edition-home a[href*="Missing%20school"],body.edition-home a[href^="/features/"]{color:var(--navy,var(--reader-navy))!important;text-decoration:none!important}
body .directory-school{text-decoration:none}
body .directory-school:hover .school-cta,body :is(.school-editions,.school-news,.section-nav) a:hover,
body.edition-home a[href*="Missing%20school"]:hover,body.edition-home a[href^="/features/"]:hover{text-decoration:underline!important}
body .school-next a:any-link{text-decoration:none!important}
body .section-nav{border-bottom-color:transparent;overflow-x:auto;flex-wrap:nowrap}
body .section-nav a{flex:none;position:relative;min-height:44px;font-weight:700}
body .school-editions a[aria-current],body .school-news .sn-archive{font-weight:700}
body .school-news .sn-archive{gap:.45em}
.sn-archive .sn-chevron{align-self:center;margin:0}
.reader-chevron::after{content:'';width:.4em;height:.4em;border:solid var(--reader-red);border-width:2px 2px 0 0;transform:rotate(45deg)}
.reader-menu a[aria-current]::after,.section-nav a[aria-current]::after,.reader-ad[aria-current]::after{content:'';position:absolute;inset:auto 0 0;height:3px;background:var(--reader-red);pointer-events:none}
body header.reader-mast,body.edition-home>header.reader-mast{display:flex!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:nowrap!important;gap:0!important;background:white;color:var(--navy);box-sizing:border-box}
.reader-mast>a:first-child{display:inline-flex;align-items:center;flex:none;margin:0 24px 0 0}
.reader-mast>a:first-child img{display:block;width:112px!important;height:auto!important}
.reader-mast .reader-menu{display:flex;align-items:center;gap:24px;background:none;padding:0;margin:0}
.reader-mast :is(.reader-menu a,.reader-ad){position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;white-space:nowrap;text-decoration:none!important;line-height:1.2}
.reader-mast .reader-menu a:any-link{padding:0;border:0;box-shadow:none;background:none;color:var(--navy)!important;font-weight:500}
.reader-mast a.reader-ad:any-link{margin-left:auto!important;border:0;border-radius:12px;background:var(--navy)!important;color:white!important;padding:0 16px;font-weight:700}
.reader-mast a.reader-ad:hover{background:color-mix(in srgb,var(--navy) 88%,black)!important}
.reader-mast .reader-menu a:hover,.reader-mast a.reader-ad:hover{text-decoration:underline!important}
.reader-ad span:last-child,.reader-phone-kit{display:none!important}
.reader-book-context{display:flex;align-items:center;gap:1em;padding-inline:clamp(12px,3vw,48px)}
body footer.reader-footer{display:block!important;box-sizing:border-box;background:var(--paper,white)!important;color:var(--navy)!important}
body footer.reader-footer :is(span,strong){color:inherit}
body footer .reader-footer-links{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:0;background:transparent}
body footer.reader-footer .reader-footer-links a:any-link{display:inline-flex;align-items:center;min-height:44px;padding:0;margin:0;background:transparent;color:color-mix(in srgb,var(--navy,var(--reader-navy)) 86%,white)!important;text-decoration:none!important;white-space:nowrap;line-height:1.2}
body footer.reader-footer .reader-footer-links a:hover{text-decoration:underline!important}
.reader-footer-links a+a::before{content:'·' / '';padding-inline:.5em}
@media(max-width:599px){
 body header.reader-mast,body.edition-home>header.reader-mast{padding-inline:12px!important;width:100%!important}
 .reader-mast>a:first-child{margin-right:clamp(8px,3vw,16px)}
 .reader-mast>a:first-child img{width:clamp(66px,21vw,92px)!important}
 .reader-mast .reader-menu a,.reader-mast a.reader-ad{font-size:14px!important}
 .reader-mast .reader-menu .reader-kits{display:none!important}
 .reader-mast a.reader-ad{padding-inline:12px}
 .reader-ad span:first-child{display:none}.reader-ad span:last-child{display:inline!important}
 body footer.reader-footer{padding-inline:12px!important}
 .reader-footer-links a.reader-phone-kit{display:inline-flex!important}
 body footer.reader-footer .reader-footer-links a:any-link{font-size:13px!important}
}
body footer.reader-footer .reader-footer-links a[href*="june-2026"]{order:2}
@media(max-width:599px){.reader-footer-links a+a::before{padding-inline:.28em}}
.reader-mast>a:first-child img{aspect-ratio:308/121;object-fit:contain}
#mode a[href^="mailto:"],main a[href^="mailto:"]:not([class]){color:var(--navy,var(--reader-navy));text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.gallery-view a.gallery-report{display:block;width:fit-content;min-height:44px;align-content:center;margin:auto;color:var(--navy,var(--reader-navy))}
body aside[data-ad-slot="sticky-footer"]{
 height:auto;padding-bottom:calc(var(--space-12,12px) + env(safe-area-inset-bottom,0px))
}
body aside[data-ad-slot="sticky-footer"]>small{color:#b8b8bf}
body:has(aside[data-ad-slot="sticky-footer"]){
 padding-bottom:var(--school-sponsor-height,calc(100px + env(safe-area-inset-bottom,0px)))
}
@media(width < 700px){
 body footer.school-reader-footer.reader-footer{margin-block:0;padding:0!important}
 body footer.school-reader-footer .reader-footer-links{display:flex;flex-direction:column;align-items:stretch;gap:0}
 body footer.school-reader-footer .reader-footer-links a:any-link{
  box-sizing:border-box;min-height:44px;width:100%;padding:0 16px;justify-content:flex-start;
  text-align:left;white-space:normal;word-break:normal;overflow-wrap:normal;font-size:13px!important
 }
 .school-reader-footer .reader-footer-links a+a::before{content:none}
 body:has(.school-reader-footer) main:has(.school-next:last-child){padding-bottom:0;margin-bottom:0}
 body:has(.school-reader-footer) main .school-next:last-child{padding-bottom:0;margin-bottom:32px}
 body:has(.school-reader-footer) .school-next a:not([href*="wa.me"]){
  box-sizing:border-box;width:100%;background:white;border-radius:999px;font-weight:500
 }
 body:has(.school-reader-footer) main section:not(.school-news)>h2{
  display:grid;grid-template-columns:.5em minmax(0,1fr);column-gap:.5em;align-items:baseline
 }
 body:has(.school-reader-footer) main section:not(.school-news)>h2::before{margin-right:0}
 body:has(.school-reader-footer) .section-nav{scrollbar-width:none}
 body:has(.school-reader-footer) .section-nav::-webkit-scrollbar{display:none}
 body:has(.school-reader-footer) .section-nav::after{
  content:"";position:sticky;right:-12px;align-self:stretch;z-index:1;flex:0 0 18px;
  margin-left:-34px;background:linear-gradient(to right,transparent,white);pointer-events:none;opacity:0
 }
 body:has(.school-reader-footer) .section-nav.has-more-tabs::after{opacity:1}
 body:has(.school-reader-footer) aside[data-ad-slot="sticky-footer"]{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding-top:3px;padding-inline:6px;gap:2px
 }
 body:has(.school-reader-footer) aside[data-ad-slot="sticky-footer"]>small{
  order:-1;display:block;margin:0;font-size:12px;line-height:16px
 }
}

dialog.gallery-view{box-sizing:border-box;padding-top:60px}
.gallery-view .gallery-controls{display:flex;justify-content:center;gap:8px}
.gallery-view .gallery-controls button,.gallery-view [data-close]{box-sizing:border-box;min-height:44px;background:#fff;border:1px solid var(--reader-navy);color:var(--reader-navy);font-family:inherit;font-size:1rem;font-weight:700;cursor:pointer}
.gallery-view .gallery-controls button{border-radius:12px;padding:6px 14px}
.gallery-view [data-close]{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;font-size:26px;line-height:1}
@media(width < 700px){
 body.edition-home footer.reader-footer .reader-footer-links{column-gap:12px}
 .edition-home .reader-footer-links a+a::before{content:none}
}
