/* Shared photo viewer, isolated from existing site lightboxes. */
.cms-body a.cms-gallery-link{display:block;cursor:zoom-in}.cms-body img.cms-zoom,.cms-body .cms-gallery img{cursor:zoom-in}
#cms-photo-viewer{border:0;padding:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;background:#101821;color:white;position:fixed;inset:0;overflow:hidden;z-index:2147483000}
#cms-photo-viewer::backdrop{background:rgba(0,0,0,.9)}
#cms-photo-viewer .cms-viewer-toolbar{height:60px;display:flex;align-items:center;gap:10px;padding:10px 18px;background:#172533;flex-wrap:nowrap}
#cms-photo-viewer button,#cms-photo-viewer a{color:white;background:#314557;border:1px solid #64788a;border-radius:6px;padding:8px 12px;font:inherit;cursor:pointer;text-decoration:none;white-space:nowrap}
#cms-photo-viewer button:focus-visible,#cms-photo-viewer a:focus-visible{outline:3px solid #ffd066;outline-offset:2px}
#cms-photo-viewer .cms-viewer-count{margin-right:auto;white-space:nowrap}
#cms-photo-viewer .cms-viewer-stage{height:calc(100dvh - 118px);display:flex;align-items:center;justify-content:center;overflow:auto;padding:12px}
#cms-photo-viewer .cms-viewer-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;flex-shrink:0;cursor:zoom-in}
#cms-photo-viewer.cms-zoomed .cms-viewer-stage{display:block;text-align:center}
#cms-photo-viewer.cms-zoomed .cms-viewer-image{display:inline-block;max-width:none;max-height:none;width:auto;height:auto;cursor:zoom-out}
#cms-photo-viewer .cms-viewer-caption{height:58px;margin:0;padding:10px 18px;text-align:center;overflow:auto;color:#e4ecf2}
.cms-body [id^="section"]{scroll-margin-top:90px}
@media(max-width:600px){#cms-photo-viewer .cms-viewer-toolbar{gap:5px;padding:8px}#cms-photo-viewer button,#cms-photo-viewer a{padding:8px}#cms-photo-viewer .cms-original{font-size:12px}}
