
/* Gedenkseite: lokale Bildanzeige im Dialog */
.memorial-lightbox{position:fixed;inset:0;margin:auto;width:min(96vw,1100px);max-width:1100px;max-height:96dvh;padding:0;border:0;border-radius:14px;background:#0c1c30;color:white;box-shadow:0 20px 90px #0009;overflow:hidden}
.memorial-lightbox::backdrop{background:rgba(3,14,28,.88)}
.memorial-lightbox-frame{display:flex;flex-direction:column;max-height:96dvh}
.memorial-lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 15px;font-size:15px;font-weight:600}
.memorial-lightbox-close{font-size:30px;line-height:1;background:transparent;color:#fff;border:0;cursor:pointer;padding:4px 10px}
.memorial-lightbox-content{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:0;padding:0 8px}
.memorial-lightbox-content img{display:block;max-width:calc(100% - 92px);max-height:calc(96dvh - 115px);width:auto;height:auto;object-fit:contain}
.memorial-lightbox-arrow{flex:none;background:#ffffff1c;border:1px solid #ffffff40;color:white;border-radius:50%;font-size:36px;width:42px;height:42px;cursor:pointer}
.memorial-lightbox-arrow[hidden]{visibility:hidden}
.memorial-lightbox-count{text-align:center;color:#d0dce9;font-size:13px;padding:10px}
@media(max-width:550px){.memorial-lightbox{width:100vw;max-height:100dvh;border-radius:0}.memorial-lightbox-frame{max-height:100dvh}.memorial-lightbox-content{gap:2px;padding:0 4px}.memorial-lightbox-content img{max-width:calc(100% - 70px);max-height:calc(100dvh - 110px)}.memorial-lightbox-arrow{width:32px;height:38px;border-radius:6px;font-size:28px}}
