.slideshow-v16 {
  --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);
  max-height: 95dvh;
}
@media (min-width: 768px) {
  .slideshow-v16 {
    padding-top: calc(var(--pt) * 1px);
    padding-bottom: calc(var(--pb) * 1px);
  }
}

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

.slideshow-v16__slide {
  position: relative;
  padding-top: 4rem;
}

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

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

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

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

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

.slideshow-v16__text {
  max-height: 80dvh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11rem 0;
}
@media (min-width: 768px) {
  .slideshow-v16__text {
    align-items: flex-start;
    padding-top: 11rem;
  }
}
@media (min-width: 1400px) {
  .slideshow-v16__text {
    padding-top: 41%;
  }
}

.slideshow-v16__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.2rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: uppercase;
  color: rgba(var(--color-foreground));
  margin-bottom: 1rem;
}

.slideshow-v16__title {
  font-size: clamp(3rem, calc(3.75vw + 1.5rem), 6rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  margin-bottom: 3rem;
  text-transform: capitalize;
  text-align: center;
}
@media (min-width: 768px) {
  .slideshow-v16__title {
    text-align: left;
  }
}

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

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

.slideshow-v16__pagination {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v16__pagination {
    position: absolute;
    bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    z-index: 9;
  }
  [dir=ltr] .slideshow-v16__pagination {
    left: 50%;
    transform: translateX(-50%);
  }
  [dir=rtl] .slideshow-v16__pagination {
    right: 50%;
    transform: translateX(50%);
  }
  .slideshow-v16__pagination xo-carousel-bullet[xo-active]:not([xo-active=false]) .slideshow-v16__bullet {
    background-color: rgba(var(--color-foreground));
  }
}

.slideshow-v16__bullet {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(var(--color-foreground), 0.2);
  transition: 0.3s;
}
@media (min-width: 768px) {
  .slideshow-v16__bullet {
    width: 0.8rem;
    height: 0.8rem;
  }
}

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

.slideshow-v16__arrow-btn {
  position: relative;
  transition: 0.3s;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  line-height: 0;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(182, 182, 182, 0.25) 0px 54px 100px, rgba(170, 170, 170, 0.12) 0px -12px 30px, rgba(161, 161, 161, 0.12) 0px 4px 6px, rgba(146, 146, 146, 0.17) 0px 12px 13px, rgba(148, 148, 148, 0.09) 0px -3px 5px;
  overflow: hidden;
}
.slideshow-v16__arrow-btn svg {
  color: rgba(var(--color-foreground));
}

.slideshow-v16__icon-after {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: 0.3s;
  line-height: 0;
  opacity: 0;
}

.slideshow-v16__icon-before {
  transition: 0.3s;
}

xo-carousel-prev .slideshow-v16__icon-after {
  transform: translate(6rem, -50%);
}

xo-carousel-next .slideshow-v16__icon-after {
  transform: translate(-6rem, -50%);
}

xo-carousel-prev .slideshow-v16__arrow-btn:hover .slideshow-v16__icon-before {
  transform: translate(-6rem, -50%);
}

xo-carousel-next .slideshow-v16__arrow-btn:hover .slideshow-v16__icon-before {
  transform: translate(6rem, -50%);
}

.slideshow-v16__arrow-btn:hover .slideshow-v16__icon-after {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.slideshow-v16__img {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.slideshow-v16__img-desktop {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v16__img-desktop {
    position: relative;
    display: block;
    z-index: 2;
    height: 100%;
    aspect-ratio: 490/800;
  }
}
.slideshow-v16__img-desktop .xo-image {
  width: 100%;
  height: 100%;
}
.slideshow-v16__img-desktop img {
  height: 100%;
  object-fit: contain;
}

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