/*
 * B4N Events - CSS


/* === Disabled-look button with accessible click (no-access pop-up) === */
.b4n-btn.b4n-btn-no-access {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
}

/* === Lightbox === */
.b4n-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
.b4n-lightbox-modal[style*="display: flex"] {
  display: flex !important;
}
.b4n-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0008;
}
.b4n-lightbox-close {
  position: absolute;
  top: 2.5rem;
  right: 3rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}
/* Stejná výška všech slidů — karta vyplní celou výšku slidu */
.b4n-carousel-swiper .swiper-slide {
  height: auto;
}
.b4n-carousel-swiper .b4n-event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.b4n-carousel-swiper .b4n-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.b4n-carousel-swiper .b4n-event-actions {
  margin-top: auto;
}

/* Šířku slidu řídí Swiper přes slidesPerView breakpoints */
.b4n-carousel-swiper.swiper {
  overflow: hidden;
}

/* Zajistí ořez slidů i pokud téma přepisuje Swiper výchozí overflow */
.b4n-carousel-swiper.swiper {
  overflow: hidden;
}

/* Šipky mimo .swiper — flex layout: šipka | slider | šipka */
.b4n-events-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.b4n-events-carousel .b4n-carousel-swiper {
  flex: 1;
  min-width: 0;
}
.b4n-events-carousel .swiper-button-prev,
.b4n-events-carousel .swiper-button-next {
  position: static;
  transform: none;
  margin-top: 0;
  flex-shrink: 0;
}