.gallery-accessible-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.gallery-section{height:1156px;padding-top:42px}
.gallery-frame{position:relative;width:980px;max-width:calc(100% - 40px);height:948px;margin:auto;touch-action:pan-y pinch-zoom}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,306px);gap:15px}
.gallery-photo{position:relative;display:block;min-width:0;padding:0;border:0;background:#fff;cursor:zoom-in}
.gallery-photo picture,.gallery-photo img{display:block;width:100%;height:100%}
.gallery-photo img{object-fit:cover;object-position:center}
.gallery-photo::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.8);opacity:0;transition:opacity .2s}
.gallery-photo:hover::after,.gallery-photo:focus-visible::after{opacity:1}
.gallery-counter{position:absolute;right:5px;bottom:8px;color:#fff;background:#111;padding:2px 4px;font:13px/15px Arial,sans-serif;opacity:0;pointer-events:none}
.gallery-frame:hover .gallery-counter,.gallery-frame:focus-within .gallery-counter{opacity:1}
.gallery-grid.changing{animation:gallery-crossfade 1s}
@keyframes gallery-crossfade{from{opacity:0}to{opacity:1}}
#gallery-viewer{position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;height:100dvh;max-width:none;max-height:none;background:transparent;color:#fff;overflow:hidden;touch-action:pan-y pinch-zoom}
#gallery-viewer::backdrop{background:rgba(0,0,0,.9)}
#gallery-viewer figure{position:absolute;left:50%;top:calc(50% - var(--viewer-height)/2 - 36.5px);transform:translateX(-50%);width:var(--viewer-width);margin:0;text-align:center}
.gallery-expanded-image{display:block;width:100%;height:var(--viewer-height);object-fit:contain}
#gallery-viewer figcaption{font:100 16px/18px Helvetica,Arial,sans-serif;margin-top:20px;padding-bottom:20px}
#gallery-viewer button{position:absolute;background:none;color:#fff;border:0;padding:0}
#gallery-viewer svg{display:block;fill:none;stroke:currentColor;stroke-width:15;overflow:visible}
.gallery-viewer-close{right:50px;top:50px;width:18px;height:20px;z-index:2}
.gallery-viewer-close svg{width:18px;height:18px}
.gallery-viewer-next,.gallery-viewer-previous{top:0;bottom:0;width:33%}
.gallery-viewer-next{right:0}.gallery-viewer-previous{left:0}
.gallery-viewer-next svg,.gallery-viewer-previous svg{position:absolute;top:50%;width:18px;height:31px}
.gallery-viewer-next svg{right:50px}.gallery-viewer-previous svg{left:50px}
.gallery-viewer-error{position:absolute;top:40%;left:20%;right:20%;text-align:center;font:16px/1.5 Arial,sans-serif}
@media(max-width:750px){
 .gallery-page .site-header{height:162px}
 .gallery-section{height:601px;padding-top:20px}
 .gallery-frame{width:280px;max-width:none;height:561px}
 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,177px)}
 .gallery-photo:nth-child(n+7):not([data-current-page]){display:none}
 #gallery-viewer{background:#000}
 #gallery-viewer figure{inset:0;transform:none;width:100%;height:100%}
 .gallery-expanded-image{width:100%;height:100%;object-fit:contain}
 #gallery-viewer figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
 #gallery-viewer .gallery-viewer-close{zoom:calc(100vw / 320px);right:5px;top:5px;width:48px;height:48px;display:grid;place-items:center;background:#0008}
 #gallery-viewer .gallery-viewer-close svg{width:18px;height:18px}
 .gallery-viewer-next svg,.gallery-viewer-previous svg{zoom:calc(100vw / 320px);width:18px;height:31px}
 .gallery-viewer-next svg{right:40px}.gallery-viewer-previous svg{left:40px}
}
@media(prefers-reduced-motion:reduce){.gallery-grid.changing{animation:none}.gallery-photo::after{transition:none}}
