/* Screenshot-Lightbox für Projektseiten: nur Vergrößerung, kein Layout-Umbau */
.project-enterprise .pe-shot,
.project-gallery-card {
  cursor: zoom-in !important;
}

.yi-universal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 44px);
  background: rgba(1, 7, 16, 0.91);
  backdrop-filter: blur(12px);
}

.yi-universal-lightbox.open {
  display: flex;
}

.yi-universal-lightbox__box {
  position: relative;
  width: min(1500px, 96vw);
  max-height: 92vh;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(8, 22, 42, 0.97), rgba(3, 10, 22, 0.99));
  box-shadow: 0 0 0 1px rgba(34, 230, 255, 0.16), 0 30px 90px rgba(0, 0, 0, 0.68), 0 0 60px rgba(34, 230, 255, 0.15);
  overflow: hidden;
}

.yi-universal-lightbox__img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #071426;
}

.yi-universal-lightbox__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: #eaf3ff;
  border-top: 1px solid rgba(111, 157, 214, 0.22);
}

.yi-universal-lightbox__caption strong {
  color: #fff;
  font-size: 1.03rem;
}

.yi-universal-lightbox__caption span {
  color: #b9c9dd;
  font-size: 0.92rem;
}

.yi-universal-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(3, 10, 22, 0.84);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(34, 230, 255, 0.2);
}

.yi-universal-lightbox__close:hover {
  color: #22e6ff;
}

@media (max-width: 900px) {
  .yi-universal-lightbox { padding: 10px; }
  .yi-universal-lightbox__box { width: 98vw; border-radius: 18px; }
  .yi-universal-lightbox__img { max-height: 74vh; }
  .yi-universal-lightbox__caption { display: block; }
  .yi-universal-lightbox__caption span { display: block; margin-top: 4px; }
  .yi-universal-lightbox__close { top: 10px; right: 10px; }
}
