.gallery-item{margin:0;min-width:0}.gallery-item a{display:block;border-radius:16px;overflow:hidden;position:relative}.gallery-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.gallery-item figcaption{padding:12px 2px;font-size:.9rem;line-height:1.5}.gallery-item a:focus-visible{outline:4px solid #087ff5;outline-offset:4px}.gallery-enlarge{position:absolute;bottom:12px;right:12px;padding:6px 10px;border-radius:8px;background:#061a33;color:#fff;font-size:.8rem}.gallery-modal-open{overflow:hidden}
.gallery-lightbox{border:0;border-radius:18px;padding:0;background:#071827;color:#fff;width:min(1200px,96vw);max-width:96vw;max-height:96dvh;overflow:auto;box-shadow:0 20px 100px #0008}.gallery-lightbox::backdrop{background:#020a13e8}.gallery-lightbox-header,.gallery-lightbox-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px}.gallery-lightbox-header{justify-content:space-between}.gallery-lightbox-header h2{margin:0;font-size:1rem;color:#fff}.gallery-lightbox button,.gallery-lightbox a{color:#fff;background:#16394d;border:1px solid #638092;border-radius:9px;min-height:44px;padding:9px 14px;font:inherit;cursor:pointer;text-decoration:none}.gallery-lightbox button:hover,.gallery-lightbox a:hover{background:#28546a}.gallery-lightbox :focus-visible{outline:3px solid #90dcff;outline-offset:3px}.gallery-lightbox-viewport{overflow:auto;max-height:65dvh;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;background:#02090f;display:grid;place-items:center}.gallery-lightbox-photo{display:block;object-fit:contain;max-width:100%;width:auto;max-height:65dvh;height:auto}.gallery-original-size .gallery-lightbox-viewport{display:block}.gallery-original-size .gallery-lightbox-photo{max-width:none;max-height:none;width:auto;height:auto}.gallery-lightbox-caption{padding:10px 18px 0;margin:0;line-height:1.5;color:#fff}.gallery-lightbox-count{margin-inline-start:auto;font-variant-numeric:tabular-nums}.gallery-lightbox-error{padding:12px 18px;color:#ffdfb5}.gallery-lightbox-controls{justify-content:center}.gallery-lightbox-controls [data-count]{min-width:5em;text-align:center}.gallery-privacy-note{font-size:.85rem}
@media(max-width:600px){.gallery-lightbox{width:96vw}.gallery-lightbox-header,.gallery-lightbox-controls{gap:8px;padding:10px}.gallery-lightbox-header h2{font-size:.9rem}.gallery-lightbox-controls button,.gallery-lightbox-controls a{font-size:.85rem;padding:8px 10px}.gallery-lightbox-viewport,.gallery-lightbox-photo{max-height:55dvh}.gallery-lightbox-caption{padding:8px 12px 0;font-size:.85rem}}
