.gallery-lead{margin:16px 0 32px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gallery-card{margin:0;background:#0f192b;border:1px solid #263650;border-radius:14px;overflow:hidden}.gallery-photo{display:block;position:relative;overflow:hidden;background:#142239}.gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .3s ease}.gallery-photo:hover img{transform:scale(1.04)}.gallery-zoom{position:absolute;right:14px;bottom:14px;background:#0a1228d9;color:#fff;border:1px solid #5275ad;border-radius:8px;padding:5px 12px;font-size:22px}.gallery-card figcaption{padding:20px}.gallery-card h3{font-size:19px;margin:0;color:#eef3ff}.gallery-card figcaption p{color:#a9b9cf;font-size:14px;line-height:1.65;margin:10px 0 0}.gallery-dialog{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:56px 70px 32px;border:0;background:#080f1bf5;color:#fff;overflow:auto}.gallery-dialog[open]{display:flex;align-items:center;justify-content:center}.gallery-dialog::backdrop{background:#030711e8}.gallery-preview{max-width:1200px;width:100%;text-align:center}.gallery-preview img{display:block;max-width:100%;max-height:74dvh;width:auto;height:auto;object-fit:contain;margin:auto}.gallery-caption{white-space:pre-line;color:#c5d1e5;line-height:1.5;margin:16px 0 8px}.gallery-counter{color:#93b5eb;font-size:13px}.gallery-dialog button{position:fixed;border:1px solid #405477;border-radius:9px;background:#14223a;color:white;cursor:pointer;min-width:44px;min-height:44px;font-size:32px}.gallery-close{right:18px;top:16px}.gallery-prev{left:14px;top:48%}.gallery-next{right:14px;top:48%}.gallery-photo:focus-visible,.gallery-dialog button:focus-visible{outline:3px solid #79aaff;outline-offset:3px}body.gallery-open{overflow:hidden}@media(max-width:1000px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.gallery-grid{grid-template-columns:1fr;gap:18px}.gallery-dialog{padding:68px 48px 24px}.gallery-dialog button{min-width:38px}.gallery-prev{left:5px}.gallery-next{right:5px}}@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}}

.gallery-page{min-height:65vh}.gallery-back{padding-top:30px}.gallery-page .gallery-section{padding-top:30px}.navigation a[aria-current="page"]{color:#78a9ff}
