.schedule-slider[hidden] {
  display: none;
}

.schedule-slider__title {
  margin-bottom: 0.75em;
  text-align: center;
}


.x_content.schedule-slider,
.x_content--events {
  background-color: #0000001f;
  backdrop-filter: blur(10px);
}

.schedule-slider__inner {
  position: relative;
  padding: 0 0;
  --swiper-navigation-color: rgb(90, 70, 55);
  --swiper-navigation-size: 1.75em;
}

.schedule-slider__swiper .swiper-slide {
  width: auto;
}

.schedule-slider__card {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.schedule-slider__img {
  display: block;
  flex: none;
  height: 12em;
  margin: 1em 0;
  width: auto;
  max-width: none;
  border-radius: 0.5em;
  background-color: rgba(90, 70, 55, 0.08);
  box-shadow: 0 0.25em 1em rgba(55, 44, 36, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-slider__card:hover .schedule-slider__img,
.schedule-slider__card:focus-visible .schedule-slider__img {
  transform: translateY(-2px);
  box-shadow: 0 0.4em 1.25em rgba(55, 44, 36, 0.25);
}

.schedule-slider__caption {
  width: 11em;
  padding-top: 0.25em;
}

.schedule-past {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.schedule-slider__slide.schedule-past:hover {
  opacity: 0.85;
}

.schedule-slider__caption-title {
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.25;
  color: rgb(55, 44, 36);
}

.schedule-slider__caption-date {
  margin-top: 0.25em;
  font-size: 0.75em;
  color: rgba(55, 44, 36, 0.7);
}

.schedule-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(10, 8, 6, 0.85);
  --swiper-navigation-color: #fff;
}

.schedule-lightbox[hidden] {
  display: none;
}

.schedule-lightbox-open,
.schedule-lightbox-open body {
  overflow: hidden;
}

.schedule-gallery {
  --gallery-img-height: min(90vh, calc(100vh - 8em));
  --gallery-img-max-width: calc(100vw - 8em);
  width: 100%;
  height: 100%;
}

.schedule-gallery .schedule-gallery__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min-content;
  height: auto;
  padding: 1em 0;
  filter: brightness(0.4);
  transform: scale(0.82);
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.schedule-gallery .schedule-gallery__slide.swiper-slide-active {
  filter: none;
  transform: none;
  cursor: default;
}

.schedule-gallery__img {
  --natural-height: 90vh;
  display: block;
  flex: none;
  height: min(var(--gallery-img-height), var(--natural-height));
  width: auto;
  max-width: var(--gallery-img-max-width);
  object-fit: contain;
  border-radius: 1em;
}
.swiper-slide-active {
  .schedule-gallery__img {
    box-shadow: 0 0.4em 1.25em rgba(55, 44, 36, 0.25);
  }
}

.schedule-gallery__caption {
  flex: none;
  width: 100%;
  min-width: 12em;
  padding-top: 0.75em;
  text-align: center;
}

.schedule-gallery__caption-title {
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.3;
}

.schedule-gallery__caption-date {
  margin-top: 0.25em;
  font-size: 0.9em;
  opacity: 0.75;
}

.schedule-lightbox .schedule-gallery__slide {
  height: 100%;
}

.schedule-lightbox .schedule-gallery__caption {
  color: #fff;
}

.schedule-lightbox__close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  z-index: 2;
  width: 1.6em;
  height: 1.6em;
  padding: 0;
  border: 0;
  background: none;
  font-size: 2.25em;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
}

.schedule-lightbox__close:hover {
  opacity: 1;
}

.schedule-toolbar {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 1em;
  @media (max-width: 767px) {
    position: relative;
    justify-content: center;
    right: auto;
  }
}

.schedule-toolbar:empty {
  display: none;
}

.schedule-toolbar__label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8em;
  font-weight: 400;
  color: rgba(55, 44, 36, 0.75);
}

.schedule-toolbar__select {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  max-width: 12em;
  padding: 0.35em 2em 0.35em 0.6em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px solid rgba(90, 70, 55, 0.25);
  border-radius: 0.4em;
  background-color: rgba(255, 255, 255, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23372c24' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em center;
  background-size: 0.7em auto;
  font: inherit;
  font-weight: 400;
  color: rgb(55, 44, 36);
  cursor: pointer;
  @media (max-width: 767px) {
    max-width: 100%;
  }
}

.schedule-badge {
  margin-top: 0.2em;
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgb(196, 38, 38);
}

.schedule-gallery__caption .schedule-badge {
  font-size: 0.75em;
}

.schedule-date--past {
  color: rgb(196, 38, 38);
  opacity: 1;
}

.schedule-lightbox .schedule-date--past,
.schedule-lightbox .schedule-badge {
  color: rgb(255, 110, 110);
}

.schedule-slider__more {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
}

.schedule-events {
  position: relative;
  --swiper-navigation-color: #fff;
}

.schedule-events[hidden] {
  display: none;
}

.schedule-events .schedule-gallery {
  --gallery-img-height: 30em;
}

.schedule-events .schedule-gallery__slide {
  justify-content: flex-start;
}

.schedule-events .schedule-gallery__caption {
  color: rgb(55, 44, 36);
}

.schedule-events .swiper-button-prev,
.schedule-events .swiper-button-next {
  top: 16em;
  filter: drop-shadow(0 0 0.3em rgba(0, 0, 0, 0.6));
}

@media (max-width: 767px) {
  .schedule-slider__inner {
    padding: 0 0em;
  }
  .schedule-slider__card {
    padding: 0 1em;
    flex-direction: column;
  }

  .schedule-slider__prev,
  .schedule-slider__next {
    display: none;
  }

  .schedule-slider__img {
    height: 20em;
  }

  .schedule-gallery {
    --gallery-img-max-width: calc(100vw - 3em);
  }

  .schedule-lightbox .schedule-gallery__slide {
    padding-top: 4em;
  }

  .schedule-gallery__prev,
  .schedule-gallery__next {
    display: none;
  }
}
