/* winners/2026/assets/gallery-lightbox.css
   Simple click-to-zoom lightbox for any image inside .gallery. Loaded on
   public, winner_preview, and vendor variants. */

.gallery img { cursor: zoom-in; transition: transform .15s ease; }
.gallery img:hover { transform: scale(1.02); }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 21, 48, 0.94);
  display: grid;
  place-items: center;
  z-index: 9999;
  cursor: zoom-out;
  padding: 20px;
  animation: gl-fadein 0.18s ease;
}
.gallery-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  cursor: default;
  background: #fff;
}
.gallery-lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.gallery-lightbox__close:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.4);
}
.gallery-lightbox__close:focus-visible {
  outline: 2px solid #d4a437;
  outline-offset: 2px;
}
@keyframes gl-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
