.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;
}
@media (min-width: 992px) {
  .slideshow-v4__slide {
    padding: 10rem 0;
  }
}

.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 {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10rem 0;
}
@media (min-width: 768px) {
  .slideshow-v4__text {
    padding: 8% 0 12%;
  }
}

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

.slideshow-v4__social {
  position: absolute;
  top: 5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  z-index: 1;
}
@media (min-width: 768px) {
  .slideshow-v4__social {
    top: 12rem;
    transform: rotate(90deg);
  }
  [dir=ltr] .slideshow-v4__social {
    left: -9rem;
    padding-left: 5rem;
  }
  [dir=rtl] .slideshow-v4__social {
    right: -9rem;
    padding-right: 5rem;
  }
}
@media (min-width: 1200px) {
  .slideshow-v4__social {
    top: 15rem;
  }
}
@media (min-width: 1400px) {
  .slideshow-v4__social {
    top: 20rem;
  }
}

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

.slideshow-v4__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow-v4__icon svg {
  fill: rgba(var(--color-foreground));
}

.slideshow-v4__icon:hover svg {
  fill: rgba(var(--color-foreground), 0.6);
}

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

.slideshow-v4__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-v4__side-text:before {
  left: 0;
}
[dir=rtl] .slideshow-v4__side-text:before {
  right: 0;
}

.slideshow-v4__pagination {
  position: absolute;
  display: flex;
  bottom: 1rem;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 9;
}
.slideshow-v4__pagination xo-carousel-bullet[xo-active]:not([xo-active=false]) .slideshow-v4__bullet {
  background-color: rgba(var(--color-foreground));
}

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

.slideshow-v4__bullet:hover {
  background-color: rgba(var(--color-foreground));
}