/* Scoped native dialog for Stansen public Services photographs. */
.stansen-services-photos .photo-viewer{box-sizing:border-box;width:min(1100px,96vw);height:min(850px,96vh);height:min(850px,96dvh);max-width:96vw;max-height:96vh;max-height:96dvh;margin:auto;padding:0;border:1px solid #425572;border-radius:14px;background:#0b1c32;color:#fff;box-shadow:0 24px 80px #0008;overscroll-behavior:contain}
.stansen-services-photos .photo-viewer::backdrop{background:rgb(5 15 29 / .86)}
.stansen-services-photos .photo-viewer-panel{display:flex;flex-direction:column;height:100%;min-height:0}
.stansen-services-photos .photo-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #425572}
.stansen-services-photos .photo-viewer h2{margin:0;color:#fff;font-size:clamp(17px,3vw,23px);line-height:1.3}
.stansen-services-photos .photo-viewer button{box-sizing:border-box;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #71839c;border-radius:7px;background:#162d49;color:#fff;font:600 14px/1.3 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.stansen-services-photos .photo-viewer button:hover{background:#294568}
.stansen-services-photos .photo-viewer button:focus-visible,.stansen-services-photos .photo-viewer a:focus-visible{outline:3px solid #f4cf79;outline-offset:3px}
.stansen-services-photos .photo-viewer-close{flex:none;white-space:nowrap}
.stansen-services-photos .photo-viewer-close span{font-size:21px;margin-left:6px;vertical-align:middle}
.stansen-services-photos .photo-viewer-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:12px;overflow:hidden}
.stansen-services-photos .photo-viewer-image{width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;border-radius:0}
.stansen-services-photos .photo-viewer-image[hidden]{display:none}
.stansen-services-photos .photo-viewer-status{position:absolute;max-width:32em;margin:16px;text-align:center;color:#e2e8f0;font:400 15px/1.5 system-ui,sans-serif}
.stansen-services-photos .photo-viewer-status:empty{display:none}
.stansen-services-photos .photo-viewer-footer{flex:none;padding:10px 16px 14px;border-top:1px solid #425572}
.stansen-services-photos #stansen-photo-caption{margin:0 0 10px;color:#fff;font:400 14px/1.45 system-ui,sans-serif;overflow-wrap:anywhere}
.stansen-services-photos .photo-viewer-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px}
.stansen-services-photos .photo-viewer-count{font:500 13px/1.3 system-ui,sans-serif;white-space:nowrap;color:#e2e8f0}
.stansen-services-photos .photo-viewer-original{display:inline-block;margin-top:10px;color:#f4cf79;text-decoration:underline}
.stansen-services-photos .photo-viewer-original[hidden]{display:none}
@media(max-width:560px){.stansen-services-photos .photo-viewer{width:96vw;border-radius:10px}.stansen-services-photos .photo-viewer-header{padding:8px 10px}.stansen-services-photos .photo-viewer-stage{padding:6px}.stansen-services-photos .photo-viewer-footer{padding:8px 10px 10px}}
@media(max-height:450px){.stansen-services-photos .photo-viewer-header{padding:4px 10px}.stansen-services-photos .photo-viewer-footer{padding:4px 10px}.stansen-services-photos #stansen-photo-caption{margin-bottom:4px}.stansen-services-photos .photo-viewer-stage{padding:4px}}
