/* Lichtbox der 66. Session, uebernommen fuer die 52. Session */
img.lichtbox-bild { cursor: zoom-in; }
.lichtbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 70px 70px 90px;
  background: rgba(36, 3, 5, .94); box-sizing: border-box; }
.lichtbox.offen { display: flex; }
.lichtbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lichtbox .rahmen { position: relative; background: #fff; padding: 14px; box-shadow: 0 0 0 1px #B08D47, 0 30px 70px rgba(0,0,0,.6); }
.lichtbox .rahmen::after { content: ""; position: absolute; top: 7px; right: 7px; bottom: 7px; left: 7px; border: 1px solid rgba(176,141,71,.55); pointer-events: none; }
.lichtbox img { display: block; max-width: min(1200px, calc(100vw - 168px)); max-height: calc(100vh - 220px); width: auto; height: auto; border: 0; float: none; margin: 0; }
.lichtbox figcaption { margin-top: 16px; text-align: center; color: #F3E6CC; font-style: italic; max-width: 70ch; font-family: Georgia, serif; font-size: 1rem; }
.lichtbox .zaehler { display: block; font-style: normal; font-variant: small-caps; letter-spacing: .14em; color: #C9A55C; font-size: .95rem; }
.lichtbox button { position: absolute; background: none; border: 1px solid rgba(201,165,92,.6); color: #F3E6CC; cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
  font: 500 1.6rem/1 Georgia, serif; display: grid; place-items: center; padding: 0; }
.lichtbox button[hidden] { display: none; }
.lichtbox button:hover { border-color: #C9A55C; color: #C9A55C; }
.lichtbox button:focus-visible { outline: 2px solid #B08D47; outline-offset: 3px; }
.lichtbox .zu { top: 18px; right: 18px; }
.lichtbox .zurueck { left: 14px; top: 50%; transform: translateY(-50%); }
.lichtbox .weiter { right: 14px; top: 50%; transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) {
  .lichtbox.offen .rahmen { animation: einblenden .35s ease both; }
  @keyframes einblenden { from { opacity: 0; transform: scale(.97); } }
}
@media (max-width: 700px) {
  .lichtbox { padding: 64px 8px 110px; }
  .lichtbox img { max-width: calc(100vw - 44px); max-height: calc(100vh - 230px); }
  .lichtbox .zurueck, .lichtbox .weiter { top: auto; bottom: 26px; transform: none; }
  .lichtbox .zurueck { left: calc(50% - 64px); } .lichtbox .weiter { right: calc(50% - 64px); }
}
