/* Lightbox dla wersji archiwalnej (nadpisuje stare popupy showLargeImage) */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10, 16, 30, .92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1000px); max-height: 76vh;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lb-caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: min(88vw, 760px); text-align: center;
  color: rgba(255, 255, 255, .92); font-size: .98rem;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255, 255, 255, .12);
  color: #fff; border: 0; cursor: pointer; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; top: 26px; left: 26px;
  color: rgba(255, 255, 255, .65); font-size: .9rem;
}
@media (max-width: 700px) {
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-caption { bottom: 14px; font-size: .88rem; }
}
