/* Components based on the approved St Michael demo. */
.smb-hero { position:relative; min-height:650px; height:75vh; max-height:1000px; overflow:hidden; }
.sm-slides { position:absolute; inset:0; list-style:none; margin:0; padding:0; }
.smb-slide { position:absolute; inset:0; margin:0; padding:0; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .6s ease; }
.smb-hero:not(.smb-ready) .smb-slide:first-child,.smb-hero.smb-ready .sm-slide-active { opacity:1; visibility:visible; pointer-events:auto; }
.smb-hero .sm-hero-image { width:100%; height:100%; object-fit:cover; }
.smb-hero .s-hero__slide-bg::before { z-index:1; background:rgba(0,0,0,.58); }
.smb-hero .s-hero__slide-bg::after { z-index:1; }
.smb-hero .s-hero__slide-content { display:flex; align-items:center; height:100%; padding:200px 40px 130px; z-index:2; }
.smb-hero .s-hero__slide-content > .column { align-self:center; }
.smb-hero .s-hero__slide-text { color:#fff; font-size:clamp(32px,4vw,68px); line-height:1.08; margin:0 0 28px; }
.smb-hero .s-hero__slide-meta { font-size:clamp(17px,1.4vw,24px); line-height:1.5; }
.sm-slider-controls { display:none; position:absolute; bottom:40px; right:40px; z-index:3; gap:12px; }
.smb-hero.smb-ready .sm-slider-controls { display:flex; }
.sm-slider-controls button { margin:0; min-width:48px; min-height:48px; height:auto; line-height:1.5; padding:12px 20px; border-radius:8px; background:#fac535; color:#000; }
.sm-slider-controls button:disabled { opacity:.5; cursor:default; }
.sm-collage { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.sm-collage-image img { display:block; object-fit:cover; border-radius:35px; margin:0; width:100%; }
.sm-collage-image:nth-child(1) { margin-top:60px; }
.sm-collage-image:nth-child(4) { margin-top:-60px; }
.sm-welcome h2 { font-size:clamp(26px,2.5vw,40px); }
.sm-values { margin-top:20px; }
.sm-values-inner { display:flex; flex-wrap:wrap; gap:30px; justify-content:center; text-align:center; }
.sm-value h3 { font-family:'Mountains of Christmas',cursive; font-size:clamp(32px,3.5vw,68px); margin:0; }
.sm-value:nth-child(1) h3 {color:#0777b8;} .sm-value:nth-child(2) h3 {color:#087d46;} .sm-value:nth-child(3) h3 {color:#be2424;} .sm-value:nth-child(4) h3 {color:#946800;} .sm-value:nth-child(5) h3 {color:#a6480b;}
.sm-cta .cta-card { position:relative; z-index:0; }
.sm-cta .cta-heading,.sm-cta .sm-cta-text { position:relative; z-index:1; }
.sm-cta .sm-cta-text p { color:#fff; }
.sectionlinks.sm-section { padding-top:40px; }
.sectionlinks .sectionlinks-wrapper { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:70px 35px; padding:0; margin:0; }
.sectionlinks .sectionlinks-box { width:auto; margin:0; padding:0; position:relative; }
.sectionlinks .sectionlinks-box_url { display:block; height:100%; text-decoration:none; }
.sectionlinks .sectionlinks-box_name { font-size:28px; line-height:1.2; }
.sectionlinks .sectionlinks-box_bgimg img { width:100%; aspect-ratio:1.5; object-fit:cover; }
.sm-card-icon { position:absolute; top:-30px; left:24px; z-index:2; width:70px; height:70px; border-radius:50%; display:grid; place-items:center; background:#065da8; color:#fff; pointer-events:none; }
.sm-card-icon svg { width:38px; height:38px; fill:currentColor; }
.sectionlinks-box:nth-child(2) .sm-card-icon{background:#946800;} .sectionlinks-box:nth-child(3) .sm-card-icon{background:#087d46;} .sectionlinks-box:nth-child(4) .sm-card-icon{background:#065da8;} .sectionlinks-box:nth-child(5) .sm-card-icon{background:#a60808;} .sectionlinks-box:nth-child(6) .sm-card-icon{background:#591ab2;}
.sm-attendance { width:min(1342px,calc(100% - 2 * var(--sm-gutter,40px))); margin:70px auto; }
.sm-attendance-intro,.sm-attendance-label,.sm-attendance-number,.sm-award-key { color:#fff; }
.sm-attendance-row { display:grid; grid-template-columns:minmax(100px,20%) minmax(0,1fr) 65px; gap:20px; align-items:center; margin:15px 0; }
.sm-attendance-label { font-size:18px; }
.sm-whole-school .sm-attendance-label { font-size:24px; font-weight:700; }
.sm-attendance .project-percent::before { display:none; }
.sm-attendance .project-percent { transition:none; }
.sm-whole-school .project-percent { background:#ff9200; }
.sm-award-gold { color:#ffd700; } .sm-award-silver { color:#e4e4e4; } .sm-award-bronze { color:#f9b777; }
.sm-attendance-number { text-align:right; font-weight:700; }
.sm-attendance .sm-award-key { text-align:center; margin:20px 0 0; }
.smb-bg-blue {background:#065da8;} .smb-bg-light-blue {background:#d7ecfb;} .smb-bg-grey {background:#f3f5f6;}
@media(max-width:900px){ .smb-hero{height:70vh;min-height:560px;} .smb-hero .s-hero__slide-content{padding:150px 20px 120px;} .smb-hero .s-hero__slide-content>.column{max-width:100%;flex-basis:100%;} .sm-welcome .row.home-who-we-are{display:block;} .sm-collage{margin-bottom:30px;} .sm-welcome .m-add-left{margin-left:0;} .sectionlinks .sectionlinks-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));} .sm-attendance-row{gap:10px;grid-template-columns:100px minmax(0,1fr) 60px;} }
@media(max-width:600px){.sm-attendance {
    margin: 30px auto 0;
}}
@media(max-width:550px){.sectionlinks .sectionlinks-wrapper{grid-template-columns:1fr;} .sm-collage-image:nth-child(1),.sm-collage-image:nth-child(4){margin-top:0;} .sm-attendance{padding:20px;} .sm-whole-school .sm-attendance-label{font-size:18px;} .sm-attendance-row{grid-template-columns:minmax(0,1fr) 60px;} .sm-attendance-row .project-bar{grid-column:1;grid-row:2;} .sm-attendance-number{grid-column:2;grid-row:2;} }
@media(prefers-reduced-motion:reduce){.smb-slide{transition:none;}}

/* Override inherited demo floats deliberately; grid items must fill their cells. */
.sectionlinks.sectionlinks.sm-section { padding:35px 0 0; }
.sectionlinks.sectionlinks .sectionlinks-wrapper { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:35px 15px; }
.sectionlinks.sectionlinks .sectionlinks-wrapper::before,.sectionlinks.sectionlinks .sectionlinks-wrapper::after { content:none; display:none; }
.sectionlinks.sectionlinks .sectionlinks-wrapper > .sectionlinks-box { display:block; float:none; clear:none; width:100%; min-width:0; height:320px; margin:0; padding:0; }
.sectionlinks.sectionlinks .sectionlinks-box:nth-child(6n+3),.sectionlinks.sectionlinks .sectionlinks-box:nth-child(6n+4) { grid-column:span 2; }
.sectionlinks.sectionlinks .sectionlinks-box_url { width:100%; height:100%; border-radius:35px; background:#065da8; overflow:hidden; }
.sectionlinks.sectionlinks .sectionlinks-box_bgimg { width:100%; height:100%; }
.sectionlinks.sectionlinks .sectionlinks-box_bgimg img { display:block; width:100%; height:100%; max-width:none; margin:0; aspect-ratio:auto; object-fit:cover; }
.sectionlinks.sectionlinks .sectionlinks-box_name { font-size:32px; line-height:1.1; bottom:35px; margin:0; }
.sectionlinks .sm-card-icon { left:50%; transform:translateX(-50%); top:-35px; width:70px; height:70px; background:#f186b6; }
.sectionlinks-box:nth-child(6n+2) .sm-card-icon { background:#fcb813; }
.sectionlinks-box:nth-child(6n+3) .sm-card-icon { background:#35baa4; }
.sectionlinks-box:nth-child(6n+4) .sm-card-icon { background:#0066b2; }
.sectionlinks-box:nth-child(6n+5) .sm-card-icon { background:#a60808; }
.sectionlinks-box:nth-child(6n+6) .sm-card-icon { background:#591ab2; }
.sectionlinks .sectionlinks-box > .sm-card-icon svg { width:38px; height:38px; }
.sectionlinks .sm-card-description { position:absolute; left:25px; right:25px; bottom:75px; margin:0; color:#fff; font-size:16px; line-height:1.4; z-index:1; }
.sectionlinks .sectionlinks-box_url:focus-visible { outline:3px solid #fac535; outline-offset:5px; box-shadow:0 0 0 8px #094070; }
.sectionlinks .sectionlinks-box_url:focus-visible .sectionlinks-box_name { transform:translateY(-25px); }
.sectionlinks .sectionlinks-box_url:focus-visible .arrow-link { opacity:1; }
/* Full-width blue welcome area, curved at the top as in the supplied demo. */
.sm-welcome.sm-section { position:relative; isolation:isolate; width:100%; max-width:none; margin:0; padding:150px var(--sm-gutter,40px) 95px; color:#fff; }
.sm-welcome::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(135deg,var(--color-1-darker,#03396b),var(--color-1,#065da8)); clip-path:ellipse(138% 100% at 50% 100%); }
.sm-welcome .home-who-we-are { width:100%; max-width:1400px; margin:auto; }
.sm-welcome .home-who-we-are h2 { color:#fff; font-size:var(--text-xl); line-height:var(--vspace-1_25); }
.sm-welcome .home-who-we-are p { color:#fff; }
.sm-welcome .sm-collage-image img { border-radius:0px; }
.sm-welcome .smb-button .sm-button { background:var(--color-4,#fac535); color:#000; border-radius:100px; font-family:var(--font-2); text-transform:uppercase; }
.sm-welcome .smb-button .sm-button:hover { background:#000; color:#fff; }
.sm-home-content > .sm-welcome + .sm-values { width:100%; max-width:none; margin:0; padding:0 var(--sm-gutter,40px) 95px; background:linear-gradient(135deg,var(--color-1-darker,#03396b),var(--color-1,#065da8)); }
.sm-values .sm-values-inner { max-width:1200px; margin:auto; gap:30px; }
.sm-values .sm-value h3 { font-size:50px; line-height:1.3; text-transform:uppercase; }
.sm-values .sm-value:nth-child(1) h3 {color:#39b6ff;} .sm-values .sm-value:nth-child(2) h3 {color:#00be62;} .sm-values .sm-value:nth-child(3) h3 {color:#ff3231;} .sm-values .sm-value:nth-child(4) h3 {color:#ffdf59;} .sm-values .sm-value:nth-child(5) h3 {color:#ff914c;}
.sm-home-content > .sm-welcome + .sm-values :is(h2,p) { color:#fff; }
/* Keep announcement copy away from its button with longer client text. */
.sm-cta .cta-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 35px; align-items:center; }
.sm-cta .cta-card > .cta-heading,.sm-cta .cta-card > .sm-cta-text { grid-column:1; }
.sm-cta .cta-card > .btn { grid-column:2; grid-row:1 / 3; position:static; transform:none; margin:0; }
.sm-cta .cta-heading { line-height:1.2; }
.sm-cta .sm-cta-text > :last-child { margin-bottom:0; }
/* Match the demo news dates, headings and animated Read More affordance. */
.sm-news .sm-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; margin:0; gap:35px; }
.sm-news .sm-news-grid > .sm-news-card { width:100%; max-width:none; min-width:0; padding:0; }
.sm-news .sm-news-link > img { border-radius:17px; margin:35px 0 15px; }
.sm-news .news-date { font-size:14px; color:var(--color-gray-8,#777); margin-bottom:10px; }
.sm-news .sm-news-link h3 { font-size:var(--text-lg); line-height:var(--vspace-1); margin:0 0 var(--vspace-0_5); }
.sm-news .sm-news-link p { font-size:16px; }
.sm-news .sm-news-heading h2 { margin:0; }
.sm-read-more { position:relative; display:inline-block; width:140px; height:30px; line-height:30px; text-transform:uppercase; font-size:13px; color:var(--color-1); }
.sm-read-more::before { content:''; position:absolute; inset:0 auto 0 0; width:30px; border-radius:18px; background:var(--color-2,#00be62); transition:width .35s; }
.sm-read-more > .sm-read-more-arrow { position:absolute; left:8px; top:0; color:#fff; z-index:1; }
.sm-read-more > .sm-read-more-label { position:relative; margin-left:40px; z-index:1; }
.sm-news-link:hover .sm-read-more::before,.sm-news-link:focus-visible .sm-read-more::before { width:100%; }
.sm-news-link:hover .sm-read-more-label,.sm-news-link:focus-visible .sm-read-more-label { color:#fff; }
/* Attendance percentages remain visible inside their bars, including without JS. */
.sm-attendance.sm-section,.sm-attendance.work-process { max-width:1342px; background:#065da8; border-radius:35px; padding:30px; }
.sm-attendance .sm-attendance-row { grid-template-columns:92px minmax(0,1fr); gap:0; margin:7px 0; position:relative; }
.sm-attendance .sm-attendance-label { font-size:16px; font-weight:700; line-height:24px; }
.sm-attendance .sm-whole-school { grid-template-columns:1fr; margin-bottom:15px; }
.sm-attendance .sm-whole-school .sm-attendance-label { font-size:22px; margin-bottom:4px; }
.sm-attendance .project-bar { height:24px; padding:4px; background:rgba(255,255,255,.2); }
.sm-attendance .project-percent { height:16px; background:#f8d609; }
.sm-attendance .sm-whole-school .project-percent { background:#ff9200; }
.sm-attendance .sm-attendance-number { position:absolute; right:12px; bottom:2px; color:#000; font-size:14px; line-height:20px; }
.sm-attendance .sm-award { position:absolute; right:-15px; bottom:-7px; font-size:38px; line-height:1; z-index:1; }
.sm-attendance .sm-award-key { font-size:16px; font-weight:700; }
@media(max-width:1299px){ .sm-values .sm-value h3{font-size:44px;} }
@media(max-width:1050px){ .sectionlinks.sectionlinks .sectionlinks-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));} .sectionlinks.sectionlinks .sectionlinks-box:nth-child(n){grid-column:auto;height:250px;} .sm-cta .cta-card{display:block;} .sm-cta .cta-card>.btn{margin-top:18px;} }
@media(max-width:900px){ .sm-welcome.sm-section{padding:85px 20px 50px;} .sm-welcome .home-who-we-are>.column{width:100%;max-width:none;flex-basis:100%;padding:0;} .sm-welcome .sm-collage{grid-template-columns:repeat(4,minmax(0,1fr));} .sm-welcome .sm-collage-image:nth-child(n){margin-top:0;} .sm-welcome .m-add-left{margin-left:0;} .sm-home-content>.sm-welcome+.sm-values{padding-bottom:50px;} .sm-values .sm-value h3{font-size:30px;} .sm-values .sm-values-inner {gap: 15px;}}
@media(max-width:600px){ .sectionlinks.sectionlinks .sectionlinks-wrapper{grid-template-columns:1fr;} .sectionlinks.sectionlinks .sectionlinks-box:nth-child(n){height:230px;} .sm-welcome .sm-collage{grid-template-columns:repeat(2,minmax(0,1fr));} .sm-news .sm-news-grid{grid-template-columns:1fr;} .sm-attendance.work-process{padding:20px;} .sm-attendance .sm-attendance-row{grid-template-columns:80px minmax(0,1fr);} .sm-attendance .sm-whole-school{grid-template-columns:1fr;} .sm-attendance .sm-attendance-row .project-bar{grid-column:auto;grid-row:auto;} .sm-attendance .sm-attendance-number{bottom:2px;} }
.sm-attendance .sm-attendance-number { background:#f8d609; padding:0 4px; }
.sm-attendance .sm-whole-school .sm-attendance-number { background:#ff9200; }
.sm-collage-image { min-width:0; aspect-ratio:1; }
.sm-collage-image > img { width:100%; height:100%; object-fit:cover; }
/* Hero dimensions, typography and corner controls from the demo. */
.smb-hero.s-hero { height:70vh; min-height:calc(25.5 * var(--space,32px)); max-height:none; }
.smb-hero .s-hero__slide-bg::before { background:rgba(0,0,0,.4); }
.smb-hero .s-hero__slide-content { align-items:flex-end; padding-top:calc(6 * var(--space,32px)); padding-bottom:20vh; }
.smb-hero .s-hero__slide-content > .column { align-self:flex-end; }
.smb-hero .s-hero__slide-text { font-size:72px; line-height:1.091; margin-bottom:var(--vspace-0_75,24px); }
.smb-hero .s-hero__slide-meta { font-size:20px; }
.smb-hero .sm-slider-controls { bottom:0; right:0; gap:0; }
.smb-hero .sm-slider-controls button { border-radius:0; background:#fff; color:#000; min-width:64px; min-height:56px; padding:14px 20px; font-size:14px; }
.smb-hero .sm-slider-controls button:hover { background:#000; color:#fff; }
@media(max-width:1600px){.smb-hero .s-hero__slide-text{font-size:68px;}}
@media(max-width:1400px){.smb-hero .s-hero__slide-text{font-size:60px;}}
@media(max-width:1200px){.smb-hero .s-hero__slide-text{font-size:56px;}}
@media(max-width:1000px){.smb-hero .s-hero__slide-text{font-size:48px;}}
@media(max-width:800px){.smb-hero .s-hero__slide-text{font-size:40px;margin-bottom:10px;} .smb-hero .s-hero__slide-meta{font-size:16px;}}
@media(max-width:700px){.smb-hero.s-hero{height:40vh;min-height:calc(20.5 * var(--space,28px));} .smb-hero .s-hero__slide-content{padding-top:150px;padding-bottom:20vh;}}
@media(max-width:600px){.smb-hero .s-hero__slide-text{font-size:34px;}}
@media(max-width:500px){.smb-hero .s-hero__slide-text{font-size:30px;}}
/* The demo's row gutters and overlap around the announcement/welcome. */
.smb-hero .s-hero__slide-content { padding-left:0; padding-right:0; }
.sm-cta.sm-section { width:calc(92% - 48px); max-width:1400px; margin:calc(1.5 * var(--space,32px)) auto 0; }
.sm-cta.sm-section + .sm-welcome.sm-section { margin-top:-100px; padding-top:calc(5.5 * var(--space,32px)); }
.sm-cta.sm-section { position:relative; z-index:1; }
.sectionlinks.sectionlinks.sm-section { width:92%; max-width:1400px; margin-top:calc(3 * var(--space,32px)); }
.sm-news.sm-section { width:calc(92% - 48px); max-width:1352px; }
.sm-news .sm-news-grid { gap:48px; }
.sm-attendance.work-process { width:min(1342px,100%); }
@media(max-width:1342px){.sm-attendance.work-process{width:92%;}}
@media(max-width:900px){.sm-cta.sm-section,.sm-news.sm-section{width:calc(100% - 40px);} .sm-cta.sm-section+.sm-welcome.sm-section{margin-top:-60px;padding-top:125px;} .smb-hero .s-hero__slide-content{padding-left:0;padding-right:0;} }
@media(max-width:700px){.sm-cta.sm-section {
    margin: 0 auto 0;
}}
@media(max-width:600px){.sm-news .sm-news-grid{gap:25px;} }
.sm-values.sm-section { width:100%; max-width:none; padding:40px var(--sm-gutter,40px) 60px; background:linear-gradient(135deg,var(--color-1-darker,#044c89),var(--color-1,#065da8)); color:#fff; }
.sm-values.sm-section :is(h2,p) { color:#fff; }
@media(min-width:1025px) and (max-width:1050px){.sectionlinks.sectionlinks .sectionlinks-wrapper{grid-template-columns:repeat(4,minmax(0,1fr));} .sectionlinks.sectionlinks .sectionlinks-box:nth-child(6n+3),.sectionlinks.sectionlinks .sectionlinks-box:nth-child(6n+4){grid-column:span 2;} }
.sectionlinks .sm-card-description { transition:opacity .25s; }
.sectionlinks .sectionlinks-box_url:is(:hover,:focus-visible) .sm-card-description { opacity:0; }

/* Logo groups: all logos remain available if JavaScript is unavailable. */
.sm-accreditations .sm-logo-list { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:20px; align-items:center; list-style:none; }
.sm-accreditations.sm-logos-ready .sm-logo-list { grid-template-columns:repeat(var(--sm-logo-columns,8),minmax(0,1fr)); }
.sm-accreditations .sm-logo-item { min-width:0; margin:0; padding:8px; }
.sm-accreditations .sm-logo-item[hidden],.sm-logo-controls[hidden] { display:none!important; }
.sm-accreditations .sm-logo-item a { display:grid; place-items:center; }
.sm-accreditations .sm-accreditation-logo { display:block; width:auto; height:auto; max-width:100%; max-height:72px; object-fit:contain; margin:auto; }
.sm-accreditations .sm-logo-controls { display:flex; justify-content:center; gap:12px; margin-top:24px; }
.sm-logo-controls button { width:44px; height:44px; min-height:44px; margin:0; padding:0; background:var(--color-1,#065da8); color:#fff; border:0; border-radius:50%; font-size:24px; }
.sm-logo-controls button[aria-disabled="true"] { opacity:.4; cursor:default; }
@media(max-width:1199px){.sm-accreditations .sm-logo-list{grid-template-columns:repeat(6,minmax(0,1fr));}.sm-accreditations .sm-accreditation-logo{max-height:64px;}}
@media(max-width:899px){.sm-accreditations .sm-logo-list{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:599px){.sm-accreditations .sm-logo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.sm-accreditations .sm-accreditation-logo{max-width:100px;max-height:56px;}}
/* Percentage text travels with the fill rather than sitting at the row edge. */
.sm-attendance .project-percent { position:relative; }
.sm-attendance .project-percent .sm-attendance-number { position:absolute; right:4px; top:0; bottom:auto; padding:0 3px; line-height:16px; font-size:12px; white-space:nowrap; }
.sm-attendance .sm-award { top:50%; bottom:auto; right:-13px; transform:translateY(-50%); font-size:28px; }
.sm-attendance-animate .project-percent { clip-path:inset(0 100% 0 0); transition:clip-path 1.4s ease-out; }
.sm-attendance-animate.sm-attendance-visible .project-percent { clip-path:inset(0 0 0 0); }
/* Match the demo's 1400px row; leave room above each second-row icon. */
.sm-home-content > .sectionlinks.sectionlinks.sm-section,.sectionlinks.sectionlinks.sm-section { max-width:none; width:92%; }
.sectionlinks.sectionlinks .sectionlinks-wrapper { gap:60px 15px; }
.sm-news .sm-news-image { overflow:hidden; border-radius:17px; margin:35px 0 15px; }
.sm-news .sm-news-image img { display:block; width:100%; aspect-ratio:1.5; object-fit:cover; margin:0; transition:transform .4s ease; }
.sm-news .sm-news-link:is(:hover,:focus-visible) .sm-news-image img { transform:scale(1.1); }
.sm-news .sm-news-heading > .btn { flex-shrink:0; margin:0 0 0 auto; }
@media(max-width:600px){.sm-news .sm-news-heading > .btn{margin-left:0;}.sectionlinks.sectionlinks .sectionlinks-wrapper{gap:65px 20px;}}
@media(prefers-reduced-motion:reduce){.sm-attendance-animate .project-percent{clip-path:none;transition:none;}.sm-news .sm-news-image img{transition:none;}}

@media(min-width:600px) and (max-width:800px){.sm-news .sm-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:599px){.sm-news .sm-news-grid{grid-template-columns:minmax(0,1fr);}}

/* Keep accreditation navigation beside the logos and centre its arrow graphics. */
.sm-accreditations.sm-logos-ready .sm-container { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:14px; align-items:center; }
.sm-accreditations.sm-logos-ready .sm-logo-list { grid-column:2; grid-row:1; gap:14px; width:100%; }
.sm-accreditations.sm-logos-ready .sm-logo-controls:not([hidden]) { display:contents; }
.sm-accreditations .sm-logo-controls button { display:grid; place-items:center; line-height:1; padding:0; }
.sm-accreditations [data-sm-logo-prev] { grid-column:1; grid-row:1; }
.sm-accreditations [data-sm-logo-next] { grid-column:3; grid-row:1; }
.sm-accreditations .sm-logo-controls svg { display:block; width:20px; height:20px; }
.sm-accreditations .sm-accreditation-logo { max-height:110px; width:100%; max-width:155px; height:110px; object-fit:contain; }
.sm-accreditations .sm-logo-item { padding:4px; }
@media(max-width:1199px){.sm-accreditations .sm-accreditation-logo{height:100px;max-height:100px;max-width:145px;}}
@media(max-width:899px){.sm-accreditations .sm-accreditation-logo{height:90px;max-height:90px;max-width:140px;}}
@media(max-width:599px){.sm-accreditations .sm-accreditation-logo{height:80px;max-height:80px;max-width:130px;}.sm-accreditations.sm-logos-ready .sm-container{grid-template-columns:36px minmax(0,1fr) 36px;gap:6px;}.sm-accreditations .sm-logo-controls button{width:36px;height:44px;border-radius:12px;}.sm-accreditations.sm-logos-ready .sm-logo-list{gap:8px;}}
.sm-attendance-animate .project-percent { transition-delay:.4s; }
@media(prefers-reduced-motion:reduce){.sm-attendance-animate .project-percent{transition-delay:0s;}}
/* Honour the requested Quick Links gaps at every breakpoint. */
.sectionlinks.sectionlinks .sectionlinks-wrapper { gap:60px 15px; }

/* Welcome and nested values share one solid background and a full-width lower row. */
.sm-welcome::before { background:var(--color-1,#065da8); }
.sm-values.sm-section,.sm-home-content > .sm-welcome + .sm-values { background:var(--color-1,#065da8); }
.sm-welcome-values { width:100%; max-width:1200px; margin:45px auto 0; }
.sm-welcome .sm-welcome-values > .sm-values { width:100%; max-width:none; margin:0; padding:0; background:transparent; }
@media(max-width:899px){
 .sm-welcome.sm-section { padding:40px 20px; }
 .sm-welcome::before { clip-path:none; }
 .sm-cta.sm-section + .sm-welcome.sm-section { margin-top:40px; padding-top:40px; }
 .sm-welcome .sm-collage { gap:16px; margin-bottom:30px; }
 .sm-welcome .m-add-left { margin:0; }
 .sm-welcome-values { margin-top:32px; }
 .sm-home-content > .sm-welcome + .sm-values { padding:0 20px 40px; }
}

/* Attendance matches the uncapped Quick Link Cards width. */
.sm-home-content > .sm-attendance.work-process,.sm-attendance.work-process { width:92%; max-width:none; box-sizing:border-box; }

.sm-welcome .sm-values > .sm-values-heading { text-align:center; color:#fff; font-size:clamp(24px,2.5vw,36px); line-height:1.3; margin:0 0 24px; }

/* School buttons use the CTA button shape, typography and responsive sizing. */
.smb-button .btn.sm-button { display:inline-block; box-sizing:border-box; --btn-height:var(--vspace-btn,64px); height:auto; min-height:var(--btn-height); line-height:var(--btn-height); padding:0 2.8rem; margin:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; font-family:var(--font-2); font-weight:700; font-size:var(--text-s,16px); text-transform:uppercase; text-decoration:none; text-align:center; border:0; border-radius:100px; background:var(--color-4,#fac535); color:#000; transition:background-color .3s,color .3s; }
.smb-button.smb-button-blue .btn.sm-button { background:var(--color-1,#065da8); color:#fff; }
.smb-button.smb-button-light-blue .btn.sm-button { background:#d7ecfb; color:#094070; }
.smb-button .btn.sm-button:is(:hover,:focus-visible) { background:#000; color:#fff; }
@media(max-width:1050px){.smb-button .btn.sm-button{--btn-height:55px;padding:0 2.6rem;font-size:16px;}}
@media(prefers-reduced-motion:reduce){.smb-button .btn.sm-button{transition:none;}}

/* Quote layouts use the school's heading font and keep attribution with the quote. */
.sm-quote.sm-quote { display:grid; grid-template-columns:minmax(0,1fr); width:92%; max-width:1180px; box-sizing:border-box; margin:60px auto; overflow:hidden; border-radius:28px; }
.entry-content > .sm-quote.sm-quote:not(.alignwide):not(.alignfull) { width:92%; max-width:1180px; }
.entry-content > .sm-quote.sm-quote.alignwide { width:min(1400px,92vw); max-width:none; margin-left:50%; margin-right:0; transform:translateX(-50%); }
.entry-content > .sm-quote.sm-quote.alignfull { width:92vw; max-width:none; margin-left:50%; margin-right:0; transform:translateX(-50%); }
.sm-quote.sm-quote.has-image { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); }
.sm-quote.sm-quote.has-image.image-right { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.sm-quote.sm-quote > img { display:block; grid-column:1; grid-row:1; width:100%; height:100%; min-height:360px; max-height:none; margin:0; aspect-ratio:auto; object-fit:cover; }
.sm-quote.sm-quote.image-right > img { grid-column:2; }
.sm-quote.sm-quote .sm-quote-copy { display:flex; flex-direction:column; justify-content:center; gap:22px; grid-column:auto; grid-row:1; min-width:0; margin:0; padding:clamp(28px,4vw,64px); color:inherit; }
.sm-quote.sm-quote.image-right .sm-quote-copy { grid-column:1; }
.sm-quote.sm-quote .sm-quote-copy blockquote { display:block; margin:0; padding:0; border:0; background:none; color:inherit; }
.sm-quote.sm-quote .sm-quote-copy blockquote::before,.sm-quote.sm-quote .sm-quote-copy blockquote::after { content:none; display:none; }
.sm-quote.sm-quote .sm-quote-copy blockquote p { font-family:var(--font-2,'Varela Round',sans-serif); font-size:clamp(24px,2.8vw,var(--quote-font-size,42px)); font-weight:400; font-style:normal; line-height:1.35; color:inherit; margin:0; overflow-wrap:break-word; }
.sm-quote.sm-quote .sm-quote-copy .sm-quote-citation { font-family:var(--font-1,'Open Sans',sans-serif); font-size:16px; font-weight:600; font-style:normal; line-height:1.5; color:inherit; margin:0; }
.sm-quote.sm-quote.smb-bg-blue { color:#fff; }
.sm-quote.sm-quote:is(.smb-bg-white,.smb-bg-grey,.smb-bg-light-blue) { color:#094070; }
.sm-quote.sm-quote.is-simple .sm-quote-copy { max-width:1040px; width:100%; box-sizing:border-box; margin:auto; }
@media(max-width:800px){.sm-quote.sm-quote.has-image,.sm-quote.sm-quote.has-image.image-right{grid-template-columns:minmax(0,1fr);} .sm-quote.sm-quote > img,.sm-quote.sm-quote.image-right > img{grid-column:1;grid-row:1;height:clamp(220px,50vw,380px);min-height:0;aspect-ratio:auto;} .sm-quote.sm-quote .sm-quote-copy,.sm-quote.sm-quote.image-right .sm-quote-copy{grid-column:1;grid-row:auto;} .sm-quote.sm-quote{margin-top:40px;margin-bottom:40px;border-radius:20px;}}
.sm-quote.sm-quote.has-image { position:relative; }
.sm-quote.sm-quote.has-image > img { position:absolute; inset:0 auto 0 0; width:45.4545%; height:100%; min-height:0; }
.sm-quote.sm-quote.has-image.image-right > img { left:auto; right:0; }
.sm-quote.sm-quote.has-image .sm-quote-copy { grid-column:2; min-height:360px; box-sizing:border-box; }
.sm-quote.sm-quote.has-image.image-right .sm-quote-copy { grid-column:1; }
@media(max-width:800px){.sm-quote.sm-quote.has-image > img,.sm-quote.sm-quote.has-image.image-right > img{position:static;width:100%;height:clamp(220px,50vw,380px);} .sm-quote.sm-quote.has-image .sm-quote-copy,.sm-quote.sm-quote.has-image.image-right .sm-quote-copy{grid-column:1;min-height:0;}}
/* Quote image percentages must resolve against the complete figure grid. */
@media(min-width:801px){.sm-quote.sm-quote.has-image > img{grid-column:1 / -1;grid-row:1 / -1;width:45.4545%;}}
.sm-quote.sm-quote .sm-quote-copy,.sm-quote.sm-quote .sm-quote-copy blockquote,.sm-quote.sm-quote .sm-quote-copy blockquote p,.sm-quote.sm-quote .sm-quote-copy .sm-quote-citation { text-align:left; }
.sm-quote.sm-quote .sm-quote-copy blockquote p { font-family:var(--font-3,'Varela Round',sans-serif); }
.sm-quote.sm-quote .sm-quote-copy .sm-quote-citation { font-weight:400; }

/* Manual hero navigation and the demo's numbered dots. */
.smb-hero.s-hero { height:75vh; }
.smb-hero .slick-dots { display:none; position:absolute; bottom:12vh; left:4%; width:92%; max-width:none; list-style:none; padding:0 32px; margin:0; z-index:5; }
.smb-hero.smb-ready .slick-dots { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.smb-hero .slick-dots li { display:flex; align-items:center; padding:0; margin:0; }
.smb-hero .slick-dots li::after { content:""; display:block; width:0; height:1px; background:#fff; transition:width .3s; }
.smb-hero .slick-dots li.slick-active::after { width:32px; margin:0 4px; }
.smb-hero .slick-dots button { display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:0; margin:0; background:var(--color-2); color:#000; border:0; border-radius:50%; font-size:14px; line-height:1; }
.smb-hero .slick-dots button::before { content:none; }
.smb-hero .slick-dots li.slick-active button { background:var(--color-4); }
.smb-hero .slick-dots button:hover { background:#000; color:#fff; }
@media(max-width:900px){.smb-hero.s-hero{height:75svh;min-height:560px;} .smb-hero .s-hero__slide-content{align-items:flex-end;padding-top:150px;padding-bottom:150px;} .smb-hero .s-hero__slide-text{line-height:1.15;margin-bottom:12px;} .smb-hero .s-hero__slide-meta{line-height:1.5;margin-bottom:16px;} .smb-hero .slick-dots{bottom:85px;padding:0 20px;}}
@media(max-width:649px){.smb-hero.smb-ready .slick-dots{display:none;} .smb-hero .s-hero__slide-content{padding-bottom:90px;}}
@media(max-width:600px){.smb-hero .s-hero__slide-content > .column{box-sizing:border-box;padding-left:20px;padding-right:20px;} .smb-hero .s-hero__slide-text{font-size:clamp(28px,6.5vw,36px);} .smb-hero .s-hero__slide-meta{font-size:16px;}}
@media(prefers-reduced-motion:reduce){.smb-hero .slick-dots li::after{transition:none;}}

/* Align the 32px dot circles with slide copy; preserve a 44px pointer target. */
.smb-hero .slick-dots { left:var(--sm-dots-left,4%); width:calc(96% - var(--sm-dots-left,4%)); padding-left:0; padding-right:0; }
.smb-hero .slick-dots li button,.smb-hero .slick-dots li.slick-active button,.smb-hero .slick-dots li button:hover { background:transparent; position:relative; isolation:isolate; }
.smb-hero .slick-dots li button::after { content:""; position:absolute; left:6px; top:6px; width:32px; height:32px; border-radius:50%; background:var(--color-2); z-index:-1; }
.smb-hero .slick-dots li.slick-active button::after { background:var(--color-4); }
.smb-hero .slick-dots li button:hover::after { background:#000; }


/* Video uses the same responsive hero frame as the slideshow. */
.smb-hero.smb-hero-video { background:#000; }
.smb-hero.smb-hero-video::before,
.smb-hero.smb-hero-video::after { content:none; }
.smb-hero-video video { display:block; width:100%; height:100%; object-fit:contain; }
