/* Responsive V2.4 photographs retain full framing, with bounded enlargement. */
.gallery-mosaic .gallery-open img{margin-inline:auto;transition:transform .25s ease,box-shadow .25s ease}
.gallery-mosaic.has-active .gallery-open:not(.is-active) img{transform:none;filter:none}
@media(hover:hover) and (pointer:fine){
.gallery-mosaic .gallery-open.is-active img{transform:scale(var(--gallery-hover-scale,1));filter:none;box-shadow:0 9px 24px #0002}
}
.gallery-dialog{width:max-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;border-radius:8px}
.gallery-dialog-head{gap:12px;min-width:230px;margin-bottom:12px}
.gallery-full img{display:block;width:auto;height:auto;max-width:100%;object-fit:contain;margin-inline:auto}
.gallery-prev,.gallery-next{min-width:44px;min-height:44px;top:calc(50% - 22px)}
@media(max-width:600px){.gallery-dialog{padding:12px}.gallery-dialog-head{font-size:12px}.gallery-close{padding:10px}}
@media(prefers-reduced-motion:reduce){.gallery-mosaic .gallery-open img{transition:none}}
