.slideshow-v2 {
  --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-v2 {
    padding-top: calc(var(--pt) * 1px);
    padding-bottom: calc(var(--pb) * 1px);
  }
}

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

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

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

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

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

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

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

.slideshow-v2__text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .slideshow-v2__text {
    align-items: flex-start;
    padding-top: 15%;
  }
}
@media (min-width: 1400px) {
  .slideshow-v2__text {
    padding-top: 30%;
  }
}

.slideshow-v2__subtitle {
  font-size: clamp(1.1rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  letter-spacing: calc(var(--font-heading-scale) * 0.15rem);
  line-height: calc(1 + 0.12 / var(--font-heading-scale));
  padding-bottom: 0.5rem;
  color: rgba(var(--color-foreground));
}

.slideshow-v2__title {
  font-family: var(--font-custom-family);
  font-size: clamp(3rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  color: rgba(var(--color-foreground));
  text-transform: capitalize;
  text-align: center;
}
@media (min-width: 768px) {
  .slideshow-v2__title {
    text-align: left;
  }
}

.slideshow-v2__smalltitle {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v2__smalltitle {
    display: block;
    font-size: clamp(1.4rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
    font-weight: var(--fontweight);
    line-height: calc(1 + 0.2 / var(--font-heading-scale));
    padding: 0.5rem 1rem;
    border-left: 0.2rem solid rgba(var(--color-foreground));
    color: rgba(var(--color-foreground), 0.7);
    margin-bottom: 3rem;
  }
}
@media (min-width: 1900px) {
  .slideshow-v2__smalltitle {
    padding: 1rem 2rem;
  }
}

.slideshow-v2__side-text {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v2__side-text {
    display: block;
    position: absolute;
    top: 29%;
    font-size: clamp(1.4rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
    font-weight: var(--fontweight);
    letter-spacing: calc(var(--font-body-scale) * 0.7rem);
    text-transform: uppercase;
    padding-left: 4.5rem;
    color: rgba(var(--color-foreground));
    transform: rotate(90deg);
    white-space: nowrap;
    z-index: 1;
  }
  [dir=ltr] .slideshow-v2__side-text {
    left: var(--left);
    right: var(--right);
  }
  [dir=rtl] .slideshow-v2__side-text {
    right: var(--left);
    left: var(--left);
  }
}
@media (min-width: 1400px) {
  .slideshow-v2__side-text {
    top: 37%;
  }
}

.slideshow-v2__side-text:before {
  content: "";
  background-color: rgba(var(--color-foreground));
  width: 3.5rem;
  height: 0.1rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
[dir=ltr] .slideshow-v2__side-text:before {
  left: 0;
}
[dir=rtl] .slideshow-v2__side-text:before {
  right: 0;
}

.slideshow-v2__pagination {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v2__pagination {
    padding-top: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 9;
  }
  [dir=ltr] .slideshow-v2__pagination {
    padding-left: 1rem;
  }
  [dir=rtl] .slideshow-v2__pagination {
    padding-right: 1rem;
  }
  .slideshow-v2__pagination xo-carousel-bullet[xo-active]:not([xo-active=false]) .slideshow-v2__bullet {
    background-color: rgba(var(--color-foreground));
  }
}

.slideshow-v2__bullet {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: rgba(var(--color-foreground), 0.2);
  transition: 0.3s;
}

.slideshow-v2__img {
  position: relative;
  display: flex;
  justify-content: var(--justify);
}

.slideshow-v2__img-front {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v2__img-front {
    display: block;
    z-index: 2;
    width: 95%;
  }
}
.slideshow-v2__img-front .xo-image {
  width: 100%;
  aspect-ratio: 1/1;
}
.slideshow-v2__img-front img {
  width: 100%;
  object-fit: contain;
}

.slideshow-v2__img-back {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v2__img-back {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    width: 20%;
    height: 100%;
    z-index: 1;
  }
  [dir=ltr] .slideshow-v2__img-back {
    left: var(--img-left);
    right: var(--img-right);
  }
  [dir=rtl] .slideshow-v2__img-back {
    right: var(--img-left);
    left: var(--img-left);
  }
  .slideshow-v2__img-back .xo-image {
    width: 100%;
    aspect-ratio: 135/460;
  }
  .slideshow-v2__img-back img {
    width: 100%;
    object-fit: contain;
  }
}

.slideshow-v2__img-mobile {
  width: 100%;
  aspect-ratio: 1/1;
}
.slideshow-v2__img-mobile .xo-image {
  width: 100%;
  height: 100%;
}
.slideshow-v2__img-mobile img {
  width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .slideshow-v2__img-mobile {
    display: none;
  }
}