.school-carousel{--carousel-ink:#183c5b;position:relative;outline-offset:8px;color:var(--carousel-ink)}
.school-carousel-intro{margin:0;color:#526879;font-size:16px;line-height:1.6}
.school-carousel-stage{position:relative;height:440px;isolation:isolate;overflow:hidden;margin:5px -20px 0}
.school-carousel-photo{position:absolute;left:50%;top:50%;width:54%;max-width:560px;height:302px;margin:0;border:7px solid #fff;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 12px 26px #163d5b24;transform:translate(-50%,-50%) translate(var(--carousel-x),var(--carousel-y)) scale(var(--carousel-scale));transition:transform 850ms cubic-bezier(.22,.65,.25,1),filter 850ms,box-shadow 850ms;z-index:var(--carousel-layer);text-decoration:none;will-change:transform}
.school-carousel-photo img{width:100%;height:100%;object-fit:cover;display:block}
.school-carousel-photo[data-carousel-position="0"]{--carousel-x:0%;--carousel-y:48px;--carousel-scale:1;--carousel-layer:5;box-shadow:0 18px 38px #163d5b30}
.school-carousel-photo[data-carousel-position="1"]{--carousel-x:-57%;--carousel-y:-12px;--carousel-scale:.76;--carousel-layer:3;filter:brightness(.88)}
.school-carousel-photo[data-carousel-position="2"]{--carousel-x:-36%;--carousel-y:-101px;--carousel-scale:.54;--carousel-layer:1;filter:brightness(.79)}
.school-carousel-photo[data-carousel-position="3"]{--carousel-x:36%;--carousel-y:-101px;--carousel-scale:.54;--carousel-layer:1;filter:brightness(.79)}
.school-carousel-photo[data-carousel-position="4"]{--carousel-x:57%;--carousel-y:-12px;--carousel-scale:.76;--carousel-layer:3;filter:brightness(.88)}
.school-carousel-photo-caption{position:absolute;bottom:0;left:0;right:0;padding:30px 17px 14px;background:linear-gradient(transparent,#123449db);color:#fff;font-size:16px;font-weight:650;opacity:0;transition:opacity 400ms}
.school-carousel-photo[data-carousel-position="0"] .school-carousel-photo-caption{opacity:1}
.school-carousel-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0 0;border-top:1px solid #c9d4d6}
.school-carousel-current{display:flex;align-items:center;gap:18px;min-width:0}
.school-carousel-count{font-size:12px;letter-spacing:.08em;white-space:nowrap;color:#627c89}
.school-carousel-caption{font-size:19px;color:var(--carousel-ink);font-weight:650;text-decoration:none;line-height:1.4}
.school-carousel-caption:hover{text-decoration:underline}
.school-carousel-controls{display:flex;align-items:center;gap:9px;flex-shrink:0}
.school-carousel-controls button{min-width:44px;height:44px;border:1px solid #9cafb9;background:transparent;border-radius:50%;color:var(--carousel-ink);font:inherit;cursor:pointer;transition:background 180ms,color 180ms}
.school-carousel-controls button:hover{background:#183c5b;color:white}
.school-carousel-controls .school-carousel-toggle{border-radius:24px;padding:0 18px;font-size:12px;min-width:108px;display:flex;align-items:center;justify-content:center;gap:8px}
.school-carousel :focus-visible{outline:3px solid #c38927;outline-offset:4px}
.school-carousel-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.school-carousel-stage{height:310px;margin:10px -10px 0}.school-carousel-photo{height:205px;width:57%;border-width:4px;border-radius:8px}.school-carousel-photo[data-carousel-position="0"]{--carousel-y:35px}.school-carousel-photo[data-carousel-position="1"],.school-carousel-photo[data-carousel-position="4"]{--carousel-y:-7px}.school-carousel-photo[data-carousel-position="2"],.school-carousel-photo[data-carousel-position="3"]{--carousel-y:-70px}.school-carousel-footer{flex-direction:column;align-items:stretch;gap:17px}.school-carousel-current{gap:14px}.school-carousel-caption{font-size:17px}.school-carousel-controls{justify-content:center}.school-carousel-photo-caption{font-size:12px;padding:24px 10px 9px}.school-carousel-intro{font-size:14px}}
@media(prefers-reduced-motion:reduce){.school-carousel-photo,.school-carousel-photo-caption,.school-carousel-controls button{transition:none}}
