/* =============================================
   EDITORIAL GALLERY — CSS
   ============================================= */

#editorialGallery {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#editorialGallery .editorial-gallery__item {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  cursor: pointer !important;
  clip-path: inset(0 round 9px) !important;
  -webkit-clip-path: inset(0 round 9px) !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

#editorialGallery .editorial-gallery__item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease;
}

#editorialGallery .editorial-gallery__item:hover img {
  transform: scale(1.04);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 9px;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}
.lightbox__close:hover { opacity: 1; }