/* Lagneia landing page only. No shared CABU components are overridden outside .venue-page. */
.venue-page .lagneia-gallery-shell {
  margin-top: 44px;
  width: 100%;
}

.venue-page .lagneia-gallery-viewport {
  width: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.venue-page .lagneia-gallery-track {
  display: flex;
  width: 100%;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.venue-page .lagneia-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.venue-page .lagneia-gallery-image-button {
  appearance: none;
  width: 100%;
  min-height: 420px;
  max-height: min(76vh, 820px);
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  display: grid;
  place-items: center;
}

.venue-page .lagneia-gallery-image-button img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(76vh, 820px);
  object-fit: contain;
  object-position: center;
}

.venue-page .lagneia-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.venue-page .lagneia-gallery-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(14,14,14,.18);
  background: rgba(255,255,255,.68);
  color: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.venue-page .lagneia-gallery-nav:hover,
.venue-page .lagneia-gallery-nav:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}

.venue-page .lagneia-gallery-counter {
  min-width: 72px;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .18em;
  color: #494949;
}

.venue-page .lagneia-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}

.venue-page .lagneia-gallery-thumb {
  aspect-ratio: 4 / 3;
  border: 1px solid transparent;
  padding: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: .68;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.venue-page .lagneia-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-page .lagneia-gallery-thumb:hover,
.venue-page .lagneia-gallery-thumb:focus-visible,
.venue-page .lagneia-gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}

.venue-page .lagneia-lightbox-trigger {
  cursor: zoom-in;
}

.lagneia-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.94);
}

.lagneia-lightbox.is-open { display: flex; }

.lagneia-lightbox img {
  display: block;
  max-width: min(94vw, 1600px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.lagneia-lightbox-close,
.lagneia-lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: rgba(0,0,0,.42);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.lagneia-lightbox-close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
}

.lagneia-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 72px;
  font-size: 34px;
}

.lagneia-lightbox-prev { left: 18px; }
.lagneia-lightbox-next { right: 18px; }

body.lagneia-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .venue-page .lagneia-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .venue-page .lagneia-gallery-image-button {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .venue-page .lagneia-gallery-shell { margin-top: 30px; }

  .venue-page .lagneia-gallery-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .venue-page .lagneia-gallery-viewport::-webkit-scrollbar { display: none; }

  .venue-page .lagneia-gallery-track {
    transition: none;
    width: max-content;
  }

  .venue-page .lagneia-gallery-slide {
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
    scroll-snap-align: center;
  }

  .venue-page .lagneia-gallery-image-button {
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .venue-page .lagneia-gallery-image-button img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .venue-page .lagneia-gallery-thumbs { display: none; }
  .venue-page .lagneia-gallery-controls { margin-top: 14px; }
  .venue-page .lagneia-gallery-nav { width: 42px; height: 42px; }

  .lagneia-lightbox { padding: 12px; }
  .lagneia-lightbox img { max-width: 96vw; max-height: 84vh; }
  .lagneia-lightbox-close { top: 12px; right: 12px; }
  .lagneia-lightbox-nav { width: 44px; height: 62px; }
  .lagneia-lightbox-prev { left: 8px; }
  .lagneia-lightbox-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .venue-page .lagneia-gallery-track { transition: none; }
  .venue-page .lagneia-gallery-nav,
  .venue-page .lagneia-gallery-thumb { transition: none; }
}
