/* ===================================
   PROMOTED FESTIVALS SLIDER COMPONENT
   =================================== */

/* Component Container */
.promoted-festivals-slider {
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
}

/* Header Elements */
.promoted-festivals-slider h2 {
  font-size: 1em;
  font-weight: 600;
  text-align: left;
  margin: 0 0 1em 0;
}

.promoted-festivals-slider p {
  color: #656A7B;
  font-size: 0.75em;
  font-weight: 400;
  text-align: left;
  margin: 0;
}

/* Carousel Breakout Container */
.promoted-festivals-slider .carousel-breakout {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Carousel List */
.promoted-festivals-slider .carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  gap: 1rem;
  padding: 0 20px 1rem;
  margin: 0;
  list-style: none;
}

/* Individual Slides */
.promoted-festivals-slider .slide {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.promoted-festivals-slider figure {
  margin: 0;
  padding: 0;
}

/* Slide Items */
.promoted-festivals-slider .item {
  width: 190px;
  height: 160px;
  aspect-ratio: 190/160;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  overflow: hidden;
}

/* Video styling */
.promoted-festivals-slider .item-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient Overlay */
.promoted-festivals-slider .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

/* Item Content */
.promoted-festivals-slider .item-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0 0 1rem 1rem;
  box-sizing: border-box;
}

/* Item Title */
.promoted-festivals-slider .item-title {
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  text-align: left;
  display: block;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Item Details */
.promoted-festivals-slider .item-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.promoted-festivals-slider .item-date,
.promoted-festivals-slider .item-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-size: 0.8em;
  font-weight: 400;
  white-space: nowrap;
}

.promoted-festivals-slider .icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Responsive adjustments for larger screens */
@media (min-width: 500px) {
  .promoted-festivals-slider .carousel-breakout {
    width: auto;
    position: static;
    margin: 0;
  }

  .promoted-festivals-slider .carousel {
    padding-left: 0;
    padding-right: 0;
    scroll-padding: 0;
  }
}

/* Układ dwurzędowy - zawsze */
.promoted-festivals-slider .item-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.promoted-festivals-slider .item-title {
  margin-bottom: 0.5rem;
  text-align: left;
}

.promoted-festivals-slider .item-details {
  margin-top: 0;
  justify-content: space-between;
} 