.school-gallery{margin:28px 0 32px;padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 14px 40px #10213c09}.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.gallery-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#546b94}.gallery-heading h2{font-size:clamp(20px,2.3vw,30px);letter-spacing:-.7px;color:#142648;margin:7px 0 0}.gallery-counter{font-size:14px;color:#6b7c96;white-space:nowrap;font-variant-numeric:tabular-nums}.gallery-frame{background:#eef2f6;border-radius:18px;overflow:hidden}.gallery-slide{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);min-height:360px}.gallery-slide[hidden]{display:none}.gallery-image{background:#dce4ef;min-width:0;position:relative;min-height:360px}.gallery-image img{position:absolute;width:100%;height:100%;inset:0;display:block}.gallery-caption{background:linear-gradient(145deg,#122b4c,#233d64);color:white;padding:36px 30px;display:flex;flex-direction:column;justify-content:center;overflow-wrap:anywhere}.gallery-caption .gallery-eyebrow{color:#acc6eb}.gallery-caption h3{color:white;font-size:clamp(22px,2.4vw,32px);line-height:1.2;margin:18px 0;letter-spacing:-.5px}.gallery-caption p{color:#dce7f7;font-size:15px;line-height:1.8;margin:0}.gallery-caption-line{height:4px;width:44px;background:#f3c96d;border-radius:8px;margin-top:28px}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.gallery-controls button{cursor:pointer;min-width:44px;min-height:44px;border:1px solid #dae2ed;border-radius:24px;background:#fff;color:#183354;font-weight:700;padding:8px 16px}.gallery-controls button:hover{background:#eef3fa}.gallery-controls button:focus-visible{outline:3px solid #338deb;outline-offset:3px}.gallery-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:2px}.gallery-dots button{position:relative;border:0;padding:0;min-width:28px;width:28px;min-height:44px;background:none}.gallery-dots button:after{content:"";position:absolute;left:10px;top:18px;width:8px;height:8px;border-radius:8px;background:#bac6d7}.gallery-dots button[aria-current=true]:after{background:#183b67;left:4px;width:20px}.gallery-arrows{display:flex;gap:7px}.gallery-arrows button{padding:8px;font-size:20px}.slide-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px}.slide-admin-photo{width:100%;height:200px;object-fit:contain;background:#e8edf4;border-radius:12px}.gallery-slide.is-active{animation:galleryFade .35s ease}@keyframes galleryFade{from{opacity:.5}to{opacity:1}}@media(max-width:750px){.school-gallery{padding:16px;border-radius:18px}.gallery-slide{grid-template-columns:1fr}.gallery-image{min-height:0;aspect-ratio:16/10}.gallery-caption{padding:24px}.gallery-caption h3{font-size:24px}.gallery-controls{gap:6px}.gallery-heading{align-items:flex-start}.gallery-caption-line{margin-top:18px}}@media(prefers-reduced-motion:reduce){.gallery-slide.is-active{animation:none}}
