/* Own PhotoSwipe presentation for 5B. The vendor stylesheet stays untouched. */
html.g-viewing{overflow:hidden;scrollbar-gutter:auto}
.pswp{--pswp-bg:#fff;--pswp-placeholder-bg:#fff;--pswp-icon-color:#454641;--pswp-icon-color-secondary:#fff;--pswp-icon-stroke-color:#fff;--pswp-icon-stroke-width:0;color:#222320}
.pswp .pswp__button{opacity:1;min-width:44px;min-height:44px}
.pswp .pswp__button:focus-visible{outline:2px solid #454641;outline-offset:-4px}
.pswp .pswp__counter{color:#666762;text-shadow:none;font:12px/48px Arial,sans-serif;letter-spacing:.03em}
.pswp .pswp__top-bar{padding-inline:8px;background:#fff}
.pswp .pswp__button--arrow{display:flex;align-items:center;justify-content:center;top:var(--viewer-art-center,50%);width:44px;height:60px;min-width:44px;min-height:44px;margin-top:-30px;background:transparent;opacity:.7;visibility:visible}
.pswp .pswp__button--arrow:hover,.pswp .pswp__button--arrow:focus-visible{opacity:1}
.pswp .pswp__button--arrow:disabled{display:none}
.pswp .pswp__button--arrow .pswp__icn{position:static;display:block;width:26px;height:26px;margin:0;background:none}
.g-viewer-caption{position:absolute;left:0;right:0;bottom:0;padding:12px clamp(18px,4vw,56px) max(24px,env(safe-area-inset-bottom));text-align:center;font:13px/1.5 Arial,sans-serif;max-height:32svh;overflow-x:hidden;overflow-y:auto;overflow-wrap:anywhere;background:#fff;pointer-events:auto}
.g-viewer-caption h2{font-size:14px;font-weight:400;line-height:1.5}
.g-viewer-caption p{font-size:12px;color:#666762;line-height:1.5;margin-top:5px}
.g-viewer-views{display:flex;gap:4px 14px;justify-content:center;flex-wrap:wrap;margin-top:5px}
.g-viewer-views:empty{display:none}
.g-viewer-views button{border:0;background:none;font:12px/1.5 Arial,sans-serif;min-height:44px;padding:6px 8px;color:#666762}
.g-viewer-views button[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px;color:#222320}
.g-viewer-views button:focus-visible{outline:2px solid #454641;outline-offset:-2px}
@media(max-width:600px){.g-viewer-caption{padding-top:10px}.g-viewer-caption h2{font-size:13px}.g-viewer-caption p{font-size:11px}}
@media(max-height:500px){
 .g-viewer-caption{padding-top:6px;padding-bottom:max(12px,env(safe-area-inset-bottom));max-height:35svh}
 .g-viewer-info{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:2px 16px}
 .g-viewer-caption h2{font-size:12px}.g-viewer-caption p{font-size:11px;margin-top:0}
 .g-viewer-views{margin-top:2px}.g-viewer-views button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.pswp *{scroll-behavior:auto!important}}
