/* Scoped styles for the updated school pages. */
body,button,input,textarea,select{font-family:'Roboto',Arial,sans-serif}
.modern-hero h1,.modern-section h2,.site-inner-page .page-title h2,.site-inner-page .history-info h2,.site-inner-page .headerDirector__name{font-family:'Roboto',Arial,sans-serif}
.modern-contact__map{position:relative}
.modern-contact__map-hint{position:absolute;left:14px;right:14px;bottom:14px;z-index:2;pointer-events:none;background:rgba(7,46,52,.86);color:#fff;border-radius:8px;padding:8px 12px;font-size:12px;text-align:center;transition:opacity .2s}
.modern-contact__map.is-active .modern-contact__map-hint{opacity:0}
.staff-profile,.story-page,.clubs-page,.uniform-page{padding:24px 0 90px;color:#123d46}
.staff-profile__crumbs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0 34px;font-size:14px}
.staff-profile__crumbs a{color:#137d79;text-decoration:none}
.staff-profile__hero{display:grid;grid-template-columns:minmax(220px,350px) 1fr;gap:clamp(28px,6vw,88px);align-items:center;padding:clamp(24px,4vw,52px);background:linear-gradient(135deg,#0a5955,#0a333e 70%);border-radius:28px;color:#fff;box-shadow:0 22px 60px rgba(9,57,64,.16)}
.staff-profile__portrait{display:block;width:100%;aspect-ratio:4/5;padding:0;border:0;border-radius:20px;overflow:hidden;background:#c9e3df;cursor:zoom-in}
.staff-profile__portrait img{width:100%;height:100%;object-fit:cover}
.staff-profile__kicker,.story-page__heading span,.clubs-page__heading span,.uniform-page__heading span{display:block;color:#dd9b57;letter-spacing:.16em;font-size:12px;font-weight:800;margin-bottom:18px}
.staff-profile__intro h1{font:700 clamp(30px,4vw,60px)/1.13 'Roboto',Arial,sans-serif;margin:0 0 18px;color:#fff}
.staff-profile__intro strong{font-size:18px;color:#d9f5ed}
.staff-profile__short{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;line-height:1.7;max-width:780px;margin:24px 0}
.staff-profile__intro a{display:inline-flex;padding:13px 20px;background:#efbd7b;border-radius:9px;color:#183c44;font-weight:800;text-decoration:none}
.staff-profile__sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:30px 0 50px}
.staff-profile__card,.staff-profile__certificates,.story-page__article{background:rgba(255,255,255,.88);border:1px solid #cfe1dc;border-radius:22px;padding:clamp(22px,3vw,36px);box-shadow:0 15px 40px rgba(15,60,68,.06)}
.staff-profile__card span{color:#bc895b;font-weight:800;letter-spacing:.12em}
.staff-profile__card h2,.staff-profile__certificates h2{font:700 clamp(23px,2.6vw,34px)/1.2 'Roboto',Arial,sans-serif;margin:12px 0 18px}
.staff-profile__card p{white-space:pre-line;line-height:1.8;margin:0}
.staff-profile__richtext{line-height:1.8}.staff-profile__richtext p:last-child{margin-bottom:0}
.staff-profile__certificate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin-top:28px}
.staff-profile__certificate{padding:0;border:1px solid #d7e4df;border-radius:14px;overflow:hidden;background:#fff;text-align:left;cursor:zoom-in}
.staff-profile__certificate>span{height:270px;display:flex;align-items:center;justify-content:center;background:#eaf1ee;padding:12px}
.staff-profile__certificate img{max-width:100%;max-height:100%;object-fit:contain}
.staff-profile__certificate strong{display:block;padding:16px;font-size:14px}
.story-page__article{margin:16px 0 30px}
.story-page__heading h1,.clubs-page__heading h1,.uniform-page__heading h1{font:700 clamp(30px,3.4vw,48px)/1.2 'Roboto',Arial,sans-serif;margin:0 0 26px}
.story-page__text{line-height:1.85;white-space:pre-line;margin-bottom:28px}
.story-page__gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,195px),1fr));gap:14px}
.story-page__image{position:relative;display:block;width:100%;height:215px;border:0;border-radius:14px;overflow:hidden;padding:0;background:#e6eeeb;cursor:zoom-in}
.story-page__image[hidden]{display:none}
.story-page__image img{width:100%;height:100%;object-fit:contain}
.story-page__image span,.clubs-page__zoom,.uniform-page__photo span{position:absolute;right:12px;bottom:12px;background:#0b5b59;color:#fff;padding:5px 10px;border-radius:50%;font-size:18px}
.story-page__more,.uniform-page__rules-button{margin-top:20px;border:0;background:#0d6662;color:#fff;border-radius:9px;padding:12px 22px;font-weight:700;cursor:pointer}
.clubs-page__heading,.uniform-page__heading{margin:14px 0 26px}
.clubs-page__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:22px}
.clubs-page__card{max-width:290px;background:#fff;border-radius:19px;overflow:hidden;box-shadow:0 15px 42px rgba(15,60,68,.1);border:1px solid #cfe1dc;transition:transform .25s,box-shadow .25s}
.clubs-page__card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(15,60,68,.16)}
.clubs-page__photo{position:relative;width:100%;aspect-ratio:1;border:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#bdd4cf;padding:0;cursor:zoom-in}
.clubs-page__blur{position:absolute;inset:-18px;background-size:cover;background-position:center;filter:blur(18px);opacity:.7}
.clubs-page__photo img{position:relative;width:100%;height:100%;object-fit:contain}
.clubs-page__body{padding:21px}
.clubs-page__body h2{font:700 22px/1.3 'Roboto',Arial,sans-serif;margin:0 0 12px}
.clubs-page__body p{line-height:1.55;margin:0 0 12px}
.clubs-page__body p span{display:block;font-size:12px;letter-spacing:.1em;color:#59817d;font-weight:800;text-transform:uppercase}
.clubs-page__count{color:#6d827e;font-size:13px}
.uniform-page__heading{display:flex;align-items:end;justify-content:space-between;gap:25px}
.uniform-page__collage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:190px;gap:15px}
.uniform-page__photo{position:relative;border:0;border-radius:16px;overflow:hidden;padding:0;background:#e7efed;cursor:zoom-in}
.uniform-page__photo:nth-child(5n+1){grid-column:span 2;grid-row:span 2}
.uniform-page__photo:nth-child(7n+4){grid-column:span 2}
.uniform-page__photo img{width:100%;height:100%;object-fit:contain}
.uniform-page__dialog{border:0;border-radius:20px;max-width:min(760px,calc(100vw - 28px));max-height:85vh;padding:0;color:#163c43;box-shadow:0 20px 75px rgba(0,0,0,.3)}
.uniform-page__dialog::backdrop,.school-lightbox::backdrop{background:rgba(4,25,32,.78)}
.uniform-page__dialog-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:23px 28px;background:#0d5755;color:#fff}
.uniform-page__dialog-heading h2{font-size:22px;margin:0}.uniform-page__dialog-heading button{border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer}
.uniform-page__dialog-text{white-space:pre-line;line-height:1.8;padding:28px;overflow:auto}
.school-lightbox{border:0;background:#091c24;color:#fff;padding:0;width:min(1100px,98vw);height:min(900px,96vh);max-width:none;max-height:none;border-radius:14px;overflow:hidden}
.school-lightbox__bar{height:58px;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.school-lightbox__bar strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.school-lightbox button{cursor:pointer;border:0;color:#fff;background:rgba(255,255,255,.16);border-radius:8px}
.school-lightbox__bar button{width:39px;height:39px;font-size:23px;margin-left:5px}
.school-lightbox__stage{height:calc(100% - 86px);display:grid;grid-template-columns:46px 1fr 46px;gap:6px;align-items:center;padding:4px 12px}
.school-lightbox__stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.school-lightbox__stage img.is-zoomed{object-fit:none;cursor:zoom-out}
.school-lightbox__stage button{height:52px;font-size:40px}
.school-lightbox__stage button[hidden]{visibility:hidden}.school-lightbox small{display:block;text-align:center;height:22px}
.reference-teachers__bars{grid-template-columns:repeat(var(--teacher-count,4),minmax(66px,1fr));overflow-x:auto;gap:12px}
.site-inner-page .office-page__inner{border-radius:19px;padding:28px;margin-bottom:25px}
.site-inner-page .office-page__image img,.site-inner-page .office-page__item img,.site-inner-page .footer-office-img img{object-fit:contain;background:#e8efed}
.site-inner-page .office-page__header{align-items:stretch;gap:26px;margin:0 0 34px}.site-inner-page .office-page__image{width:46%;margin:0;border-radius:15px;background:#e8efed}.site-inner-page .office-page__image a{display:block;height:100%;min-height:260px}.site-inner-page .office-page__image img{width:100%;height:100%;max-height:390px}
.site-inner-page .office-page__li{width:54%;padding:8px 0}.site-inner-page .office-page-title{border-bottom:1px solid #cbded9;padding-bottom:15px}.site-inner-page .office-page-title h2{font:700 clamp(23px,2.5vw,34px)/1.2 'Roboto',Arial,sans-serif;margin:0}.site-inner-page .office-page__li ul{margin:0;padding:12px 0;border-bottom:1px solid #e6eeeb}.site-inner-page .office-page__li ul li{display:flex;gap:12px;align-items:center}.site-inner-page .office-page__li ul li p{font-size:18px;color:#123d46}.site-inner-page .office-page__li ul li span{margin:0}
.site-inner-page .office-page .header-slider{border:0;margin:0 0 18px;padding:0 0 12px;border-bottom:1px solid #dce9e4}.site-inner-page .office-page .header-slider h2{font:700 23px/1.25 'Roboto',Arial,sans-serif;margin:0}.site-inner-page .office-page__item,.site-inner-page .footer-office-img{height:auto;border-radius:13px;overflow:hidden;background:#f1f6f3}.site-inner-page .office-page__item a,.site-inner-page .footer-office-img a{display:block;text-decoration:none;color:#163d45}.site-inner-page .office-page__item img,.site-inner-page .footer-office-img img{height:175px;width:100%;margin:0}.site-inner-page .office-page__info{display:block;padding:12px 13px}.site-inner-page .office-page__info p{font-size:16px;font-weight:800;color:#123d46;margin:0 0 4px}.site-inner-page .office-page__info span{background:transparent;color:#507a76;margin:0;padding:0;font-size:13px}
.site-inner-page .teams-page__inner .card{text-decoration:none;color:#123d46;border:1px solid #d6e6df;border-radius:14px;overflow:hidden;box-shadow:0 14px 35px rgba(13,62,63,.08);transition:transform .2s,box-shadow .2s}.site-inner-page .teams-page__inner .card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(13,62,63,.15)}
.school-blur-frame{position:relative;isolation:isolate;overflow:hidden;background:#dce8e4}
.school-blur-frame::before{content:"";position:absolute;inset:-26px;z-index:0;background-image:var(--blur-image);background-position:center;background-size:cover;filter:blur(18px) brightness(.86);transform:scale(1.04);pointer-events:none}
.school-blur-frame>img{position:relative;z-index:1;background:transparent!important}
.school-blur-frame>.office-page__info{position:relative;z-index:1;background:rgba(255,255,255,.9)}
.school-blur-frame>.clubs-page__zoom,.school-blur-frame>span[aria-hidden]{z-index:2}
@media(max-width:760px){.staff-profile__hero{grid-template-columns:1fr}.staff-profile__portrait{max-width:330px}.staff-profile__sections{grid-template-columns:1fr}.uniform-page__heading{display:block}.uniform-page__collage{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:155px}.uniform-page__photo:nth-child(7n+4){grid-column:span 1}.school-lightbox__stage{grid-template-columns:32px 1fr 32px;padding:4px}.school-lightbox__stage button{font-size:28px}.site-inner-page .office-page__header{display:block}.site-inner-page .office-page__image,.site-inner-page .office-page__li{width:100%;margin-bottom:20px}}

body,body :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,small,li,label,button,input,textarea,select,em,blockquote,figcaption,td,th):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*='fa-']){font-family:'Roboto',Arial,sans-serif!important}
.clubs-page__card [hidden],.clubs-page__grid [data-gallery-item][hidden]{display:none!important}
.staff-list-page{padding:28px 0 90px;color:#173f47}
.staff-list-page__heading{margin:6px 0 30px}.staff-list-page__heading>span{display:block;color:#bd8d58;font-size:12px;font-weight:800;letter-spacing:.17em;margin-bottom:12px}.staff-list-page__heading h1{font:800 clamp(32px,4vw,50px)/1.15 'Roboto',Arial,sans-serif;margin:0}
.staff-list-page__filters{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 30px;padding:18px 20px;background:rgba(255,255,255,.88);border:1px solid #d6e8df;border-radius:16px}
.staff-list-page__filter-options,.staff-list-page__filter-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.staff-list-page__filter{display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 12px;border-radius:30px;background:#eaf4ee;color:#235c56;font-size:13px;font-weight:700;cursor:pointer}.staff-list-page__filter input{accent-color:#127367}.staff-list-page__filter-actions button,.staff-list-page__filter-actions a{display:inline-flex;align-items:center;padding:9px 15px;border:0;border-radius:8px;background:#176d62;color:#fff;font-weight:700;font-size:13px;text-decoration:none;cursor:pointer}.staff-list-page__filter-actions a{background:#e9f2ee;color:#235c56}
.staff-list-page__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:20px}.staff-list-page__card{display:flex;flex-direction:column;max-width:300px;border:1px solid #d4e4dc;border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 14px 32px rgba(17,72,65,.08);transition:transform .2s,box-shadow .2s}.staff-list-page__card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(17,72,65,.14)}
.staff-list-page__photo{position:relative;display:block;width:100%;aspect-ratio:4/5;padding:0;border:0;cursor:zoom-in}.staff-list-page__photo img{display:block;width:100%;height:100%;object-fit:contain}.staff-list-page__zoom{position:absolute;z-index:2;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#145f5b;color:#fff;font-size:23px;line-height:1}
.staff-list-page__card-body{display:flex;flex:1;flex-direction:column;align-items:start;padding:18px 19px 20px}.staff-list-page__card-body h2{font-size:18px;line-height:1.28;margin:0 0 8px;color:#174550;overflow-wrap:anywhere}.staff-list-page__card-body p{font-size:13px;color:#63817c;line-height:1.5;margin:0 0 20px}.staff-list-page__more{display:inline-flex;align-items:center;gap:13px;margin-top:auto;padding:10px 15px;border-radius:8px;background:#e5f2e9;color:#175d54;text-decoration:none;font-size:13px;font-weight:800;transition:background .2s,color .2s}.staff-list-page__more:hover{background:#176d62;color:#fff}
.clubs-page__teachers{display:grid;gap:8px;margin:2px 0 13px}.clubs-page__teachers-label{color:#59817d;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.clubs-page__teacher{display:flex;align-items:center;gap:10px;min-width:0;padding:7px;border:1px solid #e0ece5;border-radius:10px;background:#f5faf7;color:#194c50;text-decoration:none;transition:background .2s,border-color .2s}.clubs-page__teacher:hover{background:#e9f5ed;border-color:#9bcdb5;color:#146653}.clubs-page__teacher-photo{display:grid;flex:none;place-items:center;width:49px;height:56px;border-radius:7px;overflow:hidden;background:#dce8e4}.clubs-page__teacher-photo img{display:block;width:100%;height:100%;object-fit:contain}.clubs-page__teacher-initial{color:#17665c;font-size:21px;font-weight:800}.clubs-page__teacher-name{min-width:0;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.staff-detail .director-page__hero{min-height:470px;padding:56px 0}.staff-detail .director-page__hero-inner{grid-template-columns:310px minmax(0,1fr);gap:clamp(32px,6vw,80px)}.staff-detail .director-page__portrait{height:390px;max-width:310px}.staff-detail .director-page__portrait img{object-fit:contain!important;object-position:center!important}.staff-detail .director-page__portrait-zoom{z-index:2}.staff-detail .director-page__hero-body{padding:24px 0}.staff-detail .director-page__hero h1{margin:15px 0 13px}.staff-detail .staff-detail__profession{color:#e3f4ec!important;font-size:18px;font-weight:800;margin:0 0 19px}.staff-detail .staff-detail__short{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;max-width:720px;margin:0;color:#f3f8f5!important;line-height:1.7}.staff-detail .director-page__hero-actions{margin-top:27px}.staff-detail .director-page__content{padding-bottom:85px}.staff-detail .director-page__profile{margin-top:55px}.staff-detail .director-page__certificates{margin-top:55px}
@media(max-width:760px){.staff-list-page__grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}.staff-detail .director-page__hero{padding:38px 0}.staff-detail .director-page__hero-inner{grid-template-columns:1fr;gap:24px}.staff-detail .director-page__portrait{height:350px;max-width:280px}.staff-detail .director-page__hero-body{padding:0}.staff-detail .director-page__content{padding-bottom:55px}}

/* Office page: balanced room lists and a full-width public rooms carousel. */
.site-inner-page .office-page__header{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:26px;align-items:start;width:100%}
.site-inner-page .office-page__image,.site-inner-page .office-page__li{width:100%;min-width:0;margin:0;padding:0}
.site-inner-page .office-page__image a{height:100%;min-height:280px}
.site-inner-page .office-page__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.site-inner-page .office-page__li .office-page__column{display:grid;align-content:start;gap:9px;min-width:0;margin:0;padding:0;list-style:none}
.site-inner-page .office-page__li .office-page__room{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;margin:0;padding:11px 12px;border:1px solid #d9e9df;border-radius:10px;background:#f8fbf8}
.site-inner-page .office-page__room .office-page__room-number{display:block;margin:0;padding:0;border:0;background:none;color:#187468;font-size:14px;font-weight:800;line-height:1.2}
.site-inner-page .office-page__room-name{color:#214b50;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.site-inner-page .office-page__columns--compact .office-page__column{gap:5px}
.site-inner-page .office-page__columns--compact .office-page__room{flex-direction:row;align-items:center;gap:7px;min-height:34px;padding:6px 9px;overflow:hidden}
.site-inner-page .office-page__columns--compact .office-page__room-number{flex:none;font-size:12px;white-space:nowrap}
.site-inner-page .office-page__columns--compact .office-page__room-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.site-inner-page .office-carousel,.site-inner-page .office-page__public,.site-inner-page .office-page-footer,.site-inner-page .office-footer{width:100%;max-width:100%;min-width:0}
.site-inner-page .office-page-footer{display:block}
.site-inner-page .office-footer{display:block;overflow:hidden}
.site-inner-page .office-footer .swiper-slide{min-width:0;flex-shrink:0}
@media(max-width:900px){.site-inner-page .office-page__header{grid-template-columns:1fr}.site-inner-page .office-page__image a{height:310px;min-height:0}.site-inner-page .office-page__image img{max-height:310px}}
@media(max-width:560px){.site-inner-page .office-page__columns{grid-template-columns:1fr}.site-inner-page .office-page__image a{height:235px}.site-inner-page .office-page__image img{max-height:235px}}
