.gallery-grid{columns:3;column-gap:22px}.gallery-image{display:block;break-inside:avoid;margin-bottom:22px;border-radius:var(--radius);overflow:hidden;background:var(--mist);box-shadow:var(--shadow)}.gallery-image img{width:100%;height:auto}.gallery-image:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.gallery-lightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:50px 65px;background:rgba(0,0,0,.94);overflow:hidden}.gallery-lightbox[open]{display:flex;align-items:center;justify-content:center}.gallery-lightbox::backdrop{background:rgba(0,0,0,.8)}.gallery-lightbox img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.gallery-lightbox button{position:absolute;z-index:1;width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--blue);color:#fff;font-size:36px;line-height:1;cursor:pointer}.gallery-close{right:14px;top:14px}.gallery-prev{left:10px;top:calc(50% - 24px)}.gallery-next{right:10px;top:calc(50% - 24px)}body.gallery-open{overflow:hidden}@media(max-width:980px){.gallery-grid{columns:2}}@media(max-width:680px){.gallery-grid{columns:1}.gallery-lightbox{padding:65px 12px}.gallery-lightbox .gallery-prev,.gallery-lightbox .gallery-next{top:auto;bottom:10px}}
