.gallery-page{--paper:#fafaf8;--ink:#232421}.gallery-page .page-title{padding-block:42px 36px;margin-bottom:40px}.gallery-page .page-title h1{font-size:72px;margin-bottom:0}.gallery-page .page-title>.text-link{display:none}
.gallery-page .gallery{gap:44px 32px;align-items:start;padding-top:0;padding-bottom:85px}
.gallery-page .gallery-item:nth-child(3n+2){margin-top:65px}.gallery-page .gallery-item:nth-child(3n){margin-top:30px}
.gallery-page .gallery-item img{aspect-ratio:3/4;object-fit:cover}.gallery-page .gallery-item>span{padding-block:12px;border-bottom:1px solid var(--rule);font-variant-numeric:tabular-nums}
.gallery-open{overflow:hidden}.gallery-page .lightbox{width:min(1200px,94vw);padding:46px 24px 12px;max-height:94svh;background:#181a18;overscroll-behavior:contain}
.gallery-page .lightbox>img{height:calc(90svh - 108px);width:100%;object-fit:contain;touch-action:pan-y pinch-zoom}
.gallery-page .lightbox>div{height:50px}.gallery-page .lightbox .count{min-width:64px;text-align:center}.gallery-page .lightbox button:hover{background:#ffffff12}.gallery-page .lightbox button:focus-visible{outline:2px solid white;outline-offset:0}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.gallery-page .gallery-item img{transition:filter .35s,transform .6s}.gallery-page .gallery-item:hover img{transform:translateY(-5px);filter:brightness(1.04)}}
@media(max-width:760px){.gallery-page .page-title{padding-block:28px 25px;margin-bottom:28px}.gallery-page .page-title h1{font-size:42px}.gallery-page .gallery{gap:26px 16px;padding-bottom:45px}.gallery-page .gallery-item:nth-child(n){margin-top:0}.gallery-page .lightbox{width:96vw;padding:44px 8px 8px}.gallery-page .lightbox>img{height:calc(88svh - 100px)}}
