.gallery-grid{display:grid;gap:1.25rem;margin-top:1.5rem}.gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-item{margin:0;min-width:0}.gallery-item img{display:block;width:100%;height:auto;object-fit:cover}.gallery-ratio-landscape .gallery-item img{aspect-ratio:4/3}.gallery-ratio-square .gallery-item img{aspect-ratio:1}.gallery-ratio-portrait .gallery-item img{aspect-ratio:3/4}.gallery-item figcaption{padding-top:.65rem;line-height:1.6;overflow-wrap:anywhere}.gallery-open{display:block;position:relative;color:inherit}.gallery-open:focus-visible{outline:3px solid var(--primary,#234c3b);outline-offset:5px}.gallery-zoom{position:absolute;bottom:.6rem;right:.6rem;background:#102029de;color:#fff;padding:.25rem .5rem;font:14px/1.5 system-ui,sans-serif}.gallery-dialog{box-sizing:border-box;width:min(1100px,94vw);max-width:94vw;max-height:94vh;overflow:auto;padding:1rem;border:0;background:#101a25;color:#fff;border-radius:8px}.gallery-dialog::backdrop{background:#000c}.gallery-viewer-toolbar,.gallery-viewer-actions{display:flex;gap:1rem;justify-content:space-between;align-items:center}.gallery-dialog .gallery-full-image{display:block;width:auto;height:auto;max-width:100%;max-height:70vh;object-fit:contain;margin:1rem auto}.gallery-dialog button{border:1px solid #fff8;background:#fff;color:#101a25;padding:.5rem .8rem;border-radius:3px;font:inherit;cursor:pointer}.gallery-dialog button:disabled{opacity:.5;cursor:default}.gallery-viewer-caption{white-space:pre-line;overflow-wrap:anywhere;font:16px/1.6 system-ui,sans-serif}.gallery-counter{font:14px/1.5 system-ui,sans-serif}@media(max-width:900px){.gallery-columns-3,.gallery-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.gallery-grid{grid-template-columns:minmax(0,1fr)}}
