.photo-gallery{border:1px solid #d4e1e8;border-radius:18px;overflow:hidden;background:#f1f5f7;margin:0 0 24px}.photo-gallery-stage{position:relative;width:100%;aspect-ratio:var(--fr-gallery-ratio,4 / 3);max-height:min(80vh,900px);overflow:hidden;background:#f1f5f7}.photo-gallery figure{margin:0;position:absolute;inset:0}.photo-gallery [hidden]{display:none!important}.photo-gallery img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}.photo-gallery figcaption{position:absolute;right:12px;bottom:12px;background:#173747dd;color:white;border-radius:20px;padding:4px 12px;font:14px/1.5 system-ui,sans-serif}.photo-gallery-controls{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;padding:12px;background:white}.photo-gallery-controls button{min-height:44px;border:1px solid #b6cbd5;border-radius:8px;padding:8px 14px;background:white;color:#174f64;font:inherit;cursor:pointer}.photo-gallery-controls button:focus-visible{outline:3px solid #d99727;outline-offset:2px}.photo-gallery-controls span{min-width:44px;text-align:center}
.photo-gallery-stage{touch-action:pan-y}.photo-gallery img{-webkit-user-drag:none;user-select:none}.photo-gallery:focus-visible{outline:3px solid #d99727;outline-offset:2px}