.gallery-section{padding-top:65px}.gallery-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-bottom:45px}.gallery-tabs [role=tab]{display:flex;align-items:center;justify-content:center;min-height:78px;font:500 19px/1.6 var(--serif);letter-spacing:.08em;border-bottom:3px solid transparent;color:var(--muted);transition:background .2s,color .2s}.gallery-tabs [role=tab]:hover{background:#eeede7;color:var(--navy)}.gallery-tabs [role=tab][aria-selected=true]{color:var(--navy);border-bottom-color:var(--gold);background:#efede5}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.photo-grid--preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.gallery-photo{display:block;position:relative;overflow:hidden;aspect-ratio:1;background:#e7e9e7}.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}.gallery-photo:hover img{transform:scale(1.04)}.gallery-zoom{position:absolute;bottom:12px;right:12px;width:31px;height:31px;display:grid;place-items:center;background:#173858bd;color:white;font:400 23px/1 Arial,sans-serif;opacity:0;transition:opacity .2s}.gallery-photo:hover .gallery-zoom,.gallery-photo:focus-visible .gallery-zoom{opacity:1}.gallery-empty{padding:100px 20px;text-align:center;min-height:320px}.gallery-empty .english{font-size:50px;letter-spacing:.04em}.gallery-empty p{font-size:12px;color:var(--muted);margin-top:20px}body.gallery-open{overflow:hidden}.gallery-modal{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:55px 85px 35px;background:#0b1c2aef;color:#fff;overflow:hidden;border:0}.gallery-modal::backdrop{background:#081b29eb}.gallery-modal[open]{display:grid;place-items:center}.gallery-modal figure{margin:0;width:100%;height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;gap:17px}.gallery-modal .gallery-modal-image{width:100%;height:100%;min-height:0;object-fit:contain}.gallery-modal .gallery-modal-counter{font:400 17px/1.5 var(--display);letter-spacing:.12em;min-height:26px}.gallery-modal button{position:absolute;width:48px;height:48px;padding:0;background:#ffffff0b;border:1px solid #ffffff50;border-radius:50%;color:white;font:400 26px/1 Arial,sans-serif;display:grid;place-items:center;cursor:pointer;z-index:1}.gallery-modal button:hover{background:#ffffff25}.gallery-modal-close{top:18px;right:24px}.gallery-modal-prev{top:calc(50% - 24px);left:18px}.gallery-modal-next{top:calc(50% - 24px);right:18px}.gallery-modal [hidden]{display:none!important}
@media(max-width:1000px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-grid--preview{gap:20px}}
@media(max-width:600px){.gallery-section{padding-top:35px}.gallery-tabs{margin-bottom:27px}.gallery-tabs [role=tab]{min-height:64px;font-size:15px;letter-spacing:.025em}.photo-grid,.photo-grid--preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-zoom{width:25px;height:25px;bottom:7px;right:7px;font-size:19px;opacity:.8}.gallery-empty{padding:75px 8px;min-height:280px}.gallery-empty .english{font-size:40px}.gallery-modal{padding:70px 12px 65px}.gallery-modal figure{gap:14px}.gallery-modal button{width:40px;height:40px;font-size:23px}.gallery-modal-close{top:16px;right:16px}.gallery-modal-prev{top:auto;bottom:17px;left:calc(50% - 76px)}.gallery-modal-next{top:auto;bottom:17px;right:calc(50% - 76px)}}
@media(prefers-reduced-motion:reduce){.gallery-photo img,.gallery-zoom,.gallery-tabs [role=tab]{transition:none}}
