.notice .wrap{align-items:center;justify-content:center;gap:.3rem .8rem;text-align:center;min-width:0}
.notice strong,.notice a,.footer-brand,.brand b,.contact-method a{overflow-wrap:anywhere}
.footer-brand{font-size:clamp(1.25rem,3vw,1.8rem);line-height:1.15}
.site-header .header-inner{min-width:0;gap:.5rem}
.site-header .brand{min-width:0}
.contact-details{min-width:0}
.contact-map{width:100%;display:grid;gap:.6rem;margin-top:1.15rem;scroll-margin-top:6rem}
.contact-map h2{margin:0;font-size:clamp(1.35rem,3vw,1.8rem)}
#find-school{scroll-margin-top:6rem}
.map-frame{width:100%;height:clamp(270px,28vw,330px);border:1px solid #bcd2c4;border-radius:14px;overflow:hidden;background:#eef6ee}
#school-map iframe{width:100%;height:100%;border:0}
.map-consent{display:grid;place-content:center;justify-items:center;align-content:center;text-align:center;gap:.65rem;padding:1rem;height:100%}
.map-consent p,.map-fallback{margin:0}
.map-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.1rem}
.map-skip,.map-fallback{font-size:.87rem;color:#365847}
.map-fallback span{display:block}
.boarding-opening{background:#f4f7ec;border:1px solid #bdd9cc;border-radius:20px;padding:clamp(1.25rem,4vw,2.5rem);display:grid;justify-items:start;gap:.5rem}
.boarding-opening strong{color:#15543e;font-family:Georgia,serif;font-size:clamp(1.6rem,3.5vw,2.7rem)}
.slide-arrows:not([hidden]){position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;padding:.65rem;pointer-events:none}
.slide-arrows button{pointer-events:auto;background:#163f35ed;color:white;border:1px solid white;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;cursor:pointer}
.slide-arrows svg{width:23px;height:23px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hero-home .slide-frame img{object-fit:cover}
.section-photo-link{display:block;border-radius:10px}
.gallery-item img{min-width:0}
body:has(dialog[open]){overflow:hidden}
@media(min-width:1280px){.gallery-grid:not(.featured-photos){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:860px){.contact-grid{grid-template-columns:minmax(0,1fr);gap:1.75rem}}
@media(max-width:350px){.site-header .brand img{width:42px;height:42px}.gallery-grid:not(.featured-photos){grid-template-columns:1fr}.slide-controls{gap:.22rem}}
.section-left.has-photo,.section-right.has-photo,.section-two.has-photo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:1.5rem}
.school-section:is(.section-text,.section-icontext,.section-left,.section-right,.section-full,.section-two,.section-grid,.section-gallery,.section-carousel,.section-under){grid-column:1/-1}
.section-left.has-photo>.section-photos{grid-column:1;grid-row:1}
.section-full .section-photos.single img{height:clamp(14rem,42vw,32rem)}
.section-photo-area{margin-top:1rem}
.section-carousel .slide-frame img{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .65s}
.section-carousel .slide-frame img.active{opacity:1}
@media(max-width:700px){.section-left.has-photo,.section-right.has-photo,.section-two.has-photo{grid-template-columns:minmax(0,1fr)}.section-left.has-photo>.section-photos{grid-column:auto;grid-row:auto}}
@media(prefers-reduced-motion:reduce){.section-carousel .slide-frame img{transition:none}}

html{scroll-padding-top:5rem}
main>.privacy-maps{margin-block:clamp(1.5rem,4vw,3rem)}
.school-sections{grid-auto-rows:max-content}
.school-section.section-feature:not(.has-photo){padding-block:clamp(1rem,1.8vw,1.5rem)}
.section-feature.has-photo{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1rem,2.4vw,2rem)}
.section-feature.has-photo:nth-child(even){grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.school-section .section-photo-link{width:100%;background:#eef3ef}
.school-section .section-photos img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.school-section.section-full .section-photos.single img{height:clamp(14rem,42vw,32rem)}
.school-section .section-photos figcaption{line-height:1.35}
.contact-method>div,.enquiry-form label,.form-row>*{min-width:0}
#lightbox{width:min(920px,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 1.5rem);border-radius:12px;color:#fff;overflow:auto}
#lightbox [hidden]{display:none}
#lightbox .lightbox-stage{height:min(57dvh,540px);min-height:8rem;display:grid;place-items:center;background:#1e2521;border-radius:8px;overflow:hidden;touch-action:pan-y}
#lightbox .lightbox-stage img{width:100%;height:100%;max-height:none;min-height:0;object-fit:contain}
#lightbox .lightbox-status{margin:0;padding:1rem;text-align:center;color:#fff}
#lightbox .image-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1rem;margin:.65rem 0}
#lightbox .gallery-controls:not([hidden]){display:flex;justify-content:space-between;gap:.5rem}
#lightbox button{min-height:40px}
@media(max-width:900px){.site-header nav{top:100%;max-height:calc(100dvh - 5rem);overflow-y:auto}.nav-toggle{flex:none}}
@media(max-width:700px){
    .section-feature.has-photo,.section-feature.has-photo:nth-child(even){grid-template-columns:minmax(0,1fr)}
    .notice .wrap{padding-block:.45rem}
    .enquiry-form input,.enquiry-form select,.enquiry-form textarea{font-size:1rem}
    #lightbox .lightbox-stage{height:min(53dvh,480px)}
}
