[data-photo-viewer]{cursor:zoom-in}
[data-photo-viewer]:focus-visible{outline:3px solid #d9a625;outline-offset:4px}
.hero-visual:after{pointer-events:none}
html.photo-viewer-open,html.photo-viewer-open body{overflow:hidden}
.photo-viewer{position:fixed;inset:0;margin:auto;width:min(960px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:22px;background:#fffefa;color:#162d37;box-shadow:0 24px 100px #0008;overflow:hidden}
.photo-viewer::backdrop{background:#10212bd9;backdrop-filter:blur(5px)}
.photo-viewer-shell{position:relative;display:flex;flex-direction:column;max-height:calc(100dvh - 28px)}
.photo-viewer-image-wrap{display:flex;justify-content:center;align-items:center;min-height:0;background:#e7eae4}
.photo-viewer .photo-viewer-image{display:block;width:100%;height:auto;max-height:calc(100dvh - 145px);object-fit:contain;object-position:center}
.photo-viewer button{display:grid;place-items:center;border:1px solid #d8ded5;border-radius:50%;width:44px;height:44px;min-width:44px;background:#fffefa;color:#162d37;cursor:pointer;font:400 30px/1 Arial,sans-serif;padding:0}
.photo-viewer .photo-viewer-close{position:absolute;z-index:1;top:12px;right:12px;width:48px;height:48px;font-size:32px;box-shadow:0 3px 14px #0003}
.photo-viewer button:hover{background:#f7c43e}
.photo-viewer button:focus-visible{outline:3px solid #ad7c00;outline-offset:3px}
.photo-viewer-footer{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:16px 22px}
.photo-viewer-footer>div{flex:1;min-width:0;text-align:center}
.photo-viewer-caption{font:500 14px/1.45 'DM Sans',Arial,sans-serif;margin:0;overflow-wrap:anywhere}
.photo-viewer-count{font:400 12px/1.5 'DM Sans',Arial,sans-serif;color:#65746e;margin:5px 0 0}
@media(max-width:600px){.photo-viewer{border-radius:17px;width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.photo-viewer-footer{padding:12px;gap:10px}.photo-viewer-caption{font-size:12px}.photo-viewer .photo-viewer-image{max-height:calc(100dvh - 160px)}}
