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

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

.slideshow-v4__slide {
  position: relative;
}

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

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

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

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

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

.slideshow-v4__text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .slideshow-v4__text {
    padding-top: 10rem;
    padding-bottom: 16rem;
  }
}
@media (min-width: 1400px) {
  .slideshow-v4__text {
    padding-top: 36%;
    padding-bottom: 30%;
  }
}

.slideshow-v4__subtitle {
  position: relative;
  font-size: clamp(1.4rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  line-height: calc(1 + 0.3 / var(--font-heading-scale));
  text-transform: capitalize;
  margin-bottom: 1.5rem;
}

.slideshow-v4__title {
  font-family: var(--font-custom-family);
  font-size: clamp(3.5rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.3 / var(--font-heading-scale));
  text-transform: capitalize;
  text-align: center;
  margin-bottom: 4rem;
}

.slideshow-v4__description {
  font-size: clamp(1.6rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  text-align: center;
  margin-bottom: 4rem;
}

.slideshow-v4__pagination {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v4__pagination {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
  }
}

.slideshow-v4__arrows {
  display: none;
}
@media (min-width: 1200px) {
  .slideshow-v4__arrows {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    justify-content: space-between;
    z-index: 9;
    width: 100%;
    padding: 0 5.5rem;
  }
}

.slideshow-v4__img-desktop {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v4__img-desktop {
    position: absolute;
    display: block;
    z-index: 2;
    bottom: 0;
    width: 46%;
    aspect-ratio: 870/645;
  }
  [dir=ltr] .slideshow-v4__img-desktop {
    left: var(--left);
    right: var(--right);
  }
  [dir=rtl] .slideshow-v4__img-desktop {
    right: var(--left);
    left: var(--left);
  }
}
.slideshow-v4__img-desktop .xo-image {
  width: 100%;
  height: 100%;
}
.slideshow-v4__img-desktop img {
  height: 100%;
  object-fit: contain;
}

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