.site-image-popup{position:fixed;inset:0;margin:auto;border:0;border-radius:14px;padding:56px 22px 16px;background:#f7f9f8;color:#173f49;width:max-content;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);box-sizing:border-box;box-shadow:0 24px 100px #0c293b55;overflow:auto}.site-image-popup::backdrop{background:#12313cc2;backdrop-filter:blur(5px)}.site-image-popup-photo{display:block;width:auto;height:auto;max-width:min(100%,1000px);max-height:calc(100svh - 150px);object-fit:contain;margin:0 auto;background:#f7f9f8}.site-image-popup-close{position:absolute;top:8px;inset-inline-end:10px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #b8cbca;border-radius:50%;font:30px/1 Arial,sans-serif;color:#173f49;background:white;cursor:pointer}.site-image-popup-caption{margin:13px 0 0;text-align:center;color:#45616a;font-size:14px;line-height:1.5}.site-image-popup-close:focus-visible{outline:3px solid #ad8d45;outline-offset:3px}@media(max-width:600px){.site-image-popup{max-width:calc(100vw - 18px);max-height:calc(100svh - 24px);padding:56px 12px 14px;border-radius:11px}.site-image-popup-photo{max-width:calc(100vw - 42px);max-height:calc(100svh - 144px)}}
/* Keep existing site galleries in a light framed viewer too. */
.photo-dialog{background:#f7f9f8;color:#173f49;border-radius:12px}.photo-dialog .photo-toolbar{background:#f7f9f8;color:#173f49}.photo-dialog .photo-toolbar button{color:#173f49;background:white}.photo-dialog img{background:#f7f9f8}
