/* Minimal lightbox (ArchiveVista) */
.av-no-scroll { overflow: hidden; }

.av-lightbox { position: fixed; inset: 0; display: none; z-index: 9999; }
.av-lightbox.is-open { display: block; }

.av-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.66); }

.av-lightbox__frame {
  position: relative;
  margin: 6vh auto;
  width: min(92vw, 1100px);
  background: #0b0f19;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}

.av-lightbox__img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: #0b0f19; }
.av-lightbox__caption {
  padding: 10px 14px;
  font-size: 14px;
  color: #e2e8f0;
  border-top: 1px solid rgba(226,232,240,.15);
}

.av-lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.av-lightbox__close:hover { background: rgba(255,255,255,.22); }
