/* Vinelan V58: skutečné zvětšení fotografií atrakcí */
.vinelan-attraction-zoom {
  cursor: zoom-in !important;
  transition: filter .2s ease, transform .2s ease;
}
.vinelan-attraction-zoom:hover { filter: brightness(.94); }
.vinelan-attraction-zoom:focus-visible {
  outline: 3px solid #f58220;
  outline-offset: 3px;
}

#vinelanAttractionLightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100vw;
  height: 100dvh;
  padding: 22px;
  background: rgba(2, 10, 24, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#vinelanAttractionLightbox.is-open { display: flex !important; }

#vinelanAttractionLightbox .vinelan-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(96vw, 1700px);
  height: min(92dvh, 1100px);
}

/* Width and height fill the stage. object-fit keeps the whole photograph visible.
   This deliberately enlarges smaller source images instead of showing them at natural size. */
#vinelanAttractionLightbox img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 24px 80px rgba(0,0,0,.62);
}

#vinelanAttractionLightbox .vinelan-lightbox-close {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #10233f;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
#vinelanAttractionLightbox .vinelan-lightbox-close:hover { transform: scale(1.06); }
html.vinelan-lightbox-open,
html.vinelan-lightbox-open body,
body.vinelan-lightbox-open { overflow: hidden !important; }

@media (max-width: 700px) {
  #vinelanAttractionLightbox { padding: 8px; }
  #vinelanAttractionLightbox .vinelan-lightbox-stage {
    width: 98vw;
    height: 88dvh;
  }
  #vinelanAttractionLightbox img { border-radius: 9px; }
  #vinelanAttractionLightbox .vinelan-lightbox-close {
    top: 8px;
    right: 8px;
    width: 46px;
    height: 46px;
  }
}
