.slideshow-v1 {
  --pt: 50;
  --pb: 50;
  position: relative;
  z-index: 9;
  padding-top: calc(var(--pt) * 0.75 * 1px);
  padding-bottom: calc(var(--pb) * 0.75 * 1px);
}
@media (min-width: 768px) {
  .slideshow-v1 {
    padding-top: calc(var(--pt) * 1px);
    padding-bottom: calc(var(--pb) * 1px);
  }
}

.slideshow-v1__slide {
  position: relative;
  padding: 1.5rem 0;
}
@media (min-width: 768px) {
  .slideshow-v1__slide {
    padding: 5rem 0;
  }
}

.slideshow-v1__video {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.slideshow-v1__bg-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slideshow-v1__bg {
  background-size: cover;
  height: 100%;
  background-position: center;
}

@media (max-width: 767px) {
  .slideshow-v1__bg--desktop {
    display: none;
  }
}

@media (min-width: 768px) {
  .slideshow-v1__bg--mobile {
    display: none;
  }
}

.slideshow-v1__bg-color {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slideshow-v1__text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .slideshow-v1__text {
    padding-top: 7rem;
    align-items: flex-start;
  }
}
@media (min-width: 1600px) {
  .slideshow-v1__text {
    padding-top: 14rem;
  }
}

.slideshow-v1__subtitle {
  position: relative;
  font-size: clamp(1.1rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  letter-spacing: calc(var(--font-heading-scale) * 0.16rem);
  line-height: calc(1 + 0.3 / var(--font-heading-scale));
}
[dir=ltr] .slideshow-v1__subtitle {
  padding-left: 5rem;
}
[dir=rtl] .slideshow-v1__subtitle {
  padding-right: 5rem;
}

.slideshow-v1__subtitle::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  background-color: rgba(var(--color-foreground));
  width: 4rem;
  height: 0.2rem;
}

.slideshow-v1__title {
  font-size: clamp(3rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  padding-bottom: 2rem;
  text-transform: capitalize;
  text-align: center;
}
@media (min-width: 768px) {
  .slideshow-v1__title {
    text-align: left;
  }
}

.slideshow-v1__pagination {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v1__pagination {
    padding-top: 8rem;
    padding-left: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  [dir=ltr] .slideshow-v1__pagination {
    padding-left: 1rem;
  }
  [dir=rtl] .slideshow-v1__pagination {
    padding-right: 1rem;
  }
  .slideshow-v1__pagination xo-carousel-bullet[xo-active]:not([xo-active=false]) .slideshow-v1__bullet {
    background-color: rgba(var(--color-foreground));
  }
}
@media (min-width: 768px) and (min-width: 1900px) {
  .slideshow-v1__pagination {
    padding-top: 16rem;
  }
}

.slideshow-v1__bullet {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: rgba(var(--color-foreground), 0.2);
  transition: 0.3s;
}
@media (max-width: 767px) {
  .slideshow-v1__bullet {
    width: 0.6rem;
    height: 0.6rem;
  }
}

.slideshow-v1__arrows {
  display: none;
}
@media (min-width: 1200px) {
  .slideshow-v1__arrows {
    position: absolute;
    bottom: 8rem;
    left: var(--left);
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  [dir=ltr] .slideshow-v1__arrows {
    left: var(--left);
    right: var(--right);
  }
  [dir=rtl] .slideshow-v1__arrows {
    right: var(--left);
    left: var(--left);
  }
}

.slideshow-v1__img {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.slideshow-v1__img-back {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v1__img-back {
    display: block;
    width: 71.4285714286%;
    aspect-ratio: 630/840;
    z-index: 1;
  }
  .slideshow-v1__img-back .xo-image {
    width: 100%;
    height: 100%;
  }
  .slideshow-v1__img-back img {
    width: 100%;
    height: 100%;
  }
}

.slideshow-v1__img-front {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v1__img-front {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    height: 100%;
    width: 64.2857142857%;
  }
  [dir=ltr] .slideshow-v1__img-front {
    left: 0;
  }
  [dir=rtl] .slideshow-v1__img-front {
    right: 0;
  }
}
.slideshow-v1__img-front .xo-image {
  width: 100%;
  aspect-ratio: 600/680;
  height: auto;
}
.slideshow-v1__img-front img {
  width: 100%;
  height: 100%;
}

.slideshow-v1__img-mobile {
  width: 100%;
  aspect-ratio: 767/600;
}
.slideshow-v1__img-mobile .xo-image {
  width: 100%;
  height: 100%;
}
.slideshow-v1__img-mobile img {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .slideshow-v1__img-mobile {
    display: none;
  }
}