/* Mount View global layout repair 2026-11-16.
   Load AFTER site.css. Reversible; does not edit school content. */
:root { --mv-deep:#12385b; --mv-blue:#087adf; --mv-sky:#ecf7ff; --mv-gold:#ffb93e; }
html,body{max-width:100%;overflow-x:clip}
body{font-family:Inter,'Segoe UI','Noto Sans Devanagari',Arial,sans-serif;line-height:1.6;color:#263e55}
/* Consistent header and brand across all routes */
header .brand, .site-header .brand, .brand{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;min-width:0!important;max-width:min(100%,370px)!important;text-decoration:none!important}
header .brand img, .site-header .brand img, .brand img{width:64px!important;height:60px!important;max-width:64px!important;object-fit:contain!important;flex-shrink:0!important}
header .brand strong, .site-header .brand strong, .brand strong{display:block!important;font-size:clamp(22px,2.5vw,33px)!important;line-height:1.05!important;letter-spacing:-.04em!important;margin:0!important;white-space:nowrap!important;color:#087adf!important}
header .brand small,.site-header .brand small,.brand small{font-size:clamp(9px,.9vw,11px)!important;letter-spacing:.12em!important;line-height:1.3!important;font-weight:750!important;white-space:nowrap!important}
header .nav,.site-header .nav{min-width:0!important;gap:14px!important;align-items:center!important}
header .nav a,.site-header .nav a{font-size:13px!important;white-space:nowrap!important;font-weight:650!important}
/* Prevent desktop navigation from pushing beyond the screen. */
@media(min-width:1101px){header .container,.site-header .container{max-width:1320px!important;width:min(96%,1320px)!important}header .nav,.site-header .nav{margin-left:auto!important;justify-content:flex-end!important;flex-wrap:wrap!important;row-gap:4px!important}}
/* Page title banner: make formerly blank oversized hero compact and colorful */
.page-hero{min-height:0!important;height:auto!important;margin:0!important;padding:30px 0 32px!important;background:linear-gradient(110deg,#0d467a,#087bd4 67%,#23a4c9)!important;color:white!important;position:relative!important}
.page-hero::before,.page-hero::after{pointer-events:none}
.page-hero .container{padding-top:0!important;padding-bottom:0!important}
.page-hero h1{font-family:Inter,'Segoe UI','Noto Sans Devanagari',Arial,sans-serif!important;font-size:clamp(26px,3.4vw,43px)!important;line-height:1.2!important;color:#fff!important;margin:6px 0 0!important;max-width:100%!important}
.page-hero .eyebrow{color:#d7efff!important;font-size:11px!important;letter-spacing:.15em!important;font-weight:800!important}
/* Inner page white space, typography, CMS media */
main .section{padding-top:38px!important;padding-bottom:38px!important}
.article-shell{padding-top:30px!important;padding-bottom:38px!important;min-height:0!important}
.rich-content{max-width:100%!important;font-size:16px!important;line-height:1.72!important;color:#344b60!important;overflow-wrap:anywhere}
.rich-content p{margin:0 0 14px!important}
.rich-content h2,.rich-content h3{color:#123c65!important;line-height:1.3!important;margin:20px 0 10px!important}
.rich-content img{max-width:100%!important;height:auto!important;object-fit:contain}
.rich-content img[src=""],.rich-content img:not([src]){display:none!important}
.article-shell > .rich-content:first-child{margin-top:0!important;padding-top:0!important}
/* Keep cards and supporting sections more compact */
.section-head{margin-bottom:20px!important}
.card,.news-card{border-radius:16px;overflow:hidden}
/* Mobile: allow existing mobile-menu toggle to operate as built */
@media(max-width:1100px){header .brand,.site-header .brand,.brand{max-width:310px!important}header .brand img,.site-header .brand img,.brand img{width:54px!important;height:52px!important}header .brand strong,.site-header .brand strong,.brand strong{font-size:25px!important}}
@media(max-width:700px){header .brand,.site-header .brand,.brand{gap:7px!important;max-width:calc(100vw - 84px)!important}header .brand img,.site-header .brand img,.brand img{width:44px!important;height:46px!important}header .brand strong,.site-header .brand strong,.brand strong{font-size:clamp(17px,5vw,23px)!important}header .brand small,.site-header .brand small,.brand small{font-size:8px!important;letter-spacing:.07em!important}.page-hero{padding:22px 0 23px!important}.page-hero h1{font-size:27px!important}main .section{padding-top:24px!important;padding-bottom:24px!important}.article-shell{padding-top:22px!important;padding-bottom:24px!important}.rich-content{font-size:15px!important}}
