.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-top: 5rem;
  height: 70vh;
  width: 100vw;
}
@media (min-width: 768px) {
  .slideshow-v2__slide {
    height: 90vh;
  }
}

.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 {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  color: rgba(var(--color-foreground));
  text-shadow: 0 5px 10px rgba(var(--color-background), 0.15);
  text-align: center;
  padding-top: 5rem;
}
@media (min-width: 768px) {
  .slideshow-v2__text {
    position: absolute;
    top: 20%;
    width: 130rem;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    text-align: start;
  }
}

.slideshow-v2__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-align: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .slideshow-v2__title {
    text-align: left;
  }
}
.slideshow-v2__title span {
  color: rgba(var(--color-accent));
}

.slideshow-v2__description {
  font-size: clamp(1.5rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.9 / var(--font-heading-scale));
  color: rgba(var(--color-foreground));
  text-transform: unset;
  margin-bottom: 4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .slideshow-v2__description {
    text-align: start;
  }
}

.slideshow-v2__arrows {
  position: absolute;
  top: 70%;
  right: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  gap: 4rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .slideshow-v2__arrows {
    width: 300px;
    right: 52%;
    top: 80%;
    max-width: 30%;
    gap: 1rem;
    align-items: center;
    justify-content: unset;
  }
}

.slideshow-v2__arrows button {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(238, 238, 238, 0.2666666667);
  border: none;
  color: #fff;
  font-weight: bold;
  transition: 0.5s;
}

.slideshow-v2__arrows button:hover {
  background-color: #fff;
  color: #000;
}

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

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

.slideshow-v2__img-mobile {
  width: 100%;
  aspect-ratio: 735/725;
}
.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;
  }
}