.slideshow-v2__container {
  position: relative;
  height: 60rem;
  max-height: 100dvh;
  user-select: none;
  cursor: all-scroll;
}
@media (min-width: 992px) {
  .slideshow-v2__container {
    height: 90rem;
  }
}
.slideshow-v2__container svg {
  display: block;
  overflow: visible;
}

.slideshow-v2__slide-heading {
  color: rgba(var(--color-foreground));
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: clamp(2rem, calc(2.5vw + 1rem), 4rem);
  font-weight: 500;
}

.slideshow-v2__slide-desc {
  margin-bottom: 2rem;
  color: rgba(var(--color-foreground), 0.7);
  font-size: 1.7rem;
  font-weight: 400;
}

.slideshow-v2__control {
  z-index: 2;
  position: absolute;
  top: 0;
  width: 12%;
  height: 100%;
  transition: opacity 0.3s;
  will-change: opacity;
  opacity: 0;
}
.slideshow-v2__control--inactive:hover {
  cursor: auto;
}
.slideshow-v2__control:not(.slideshow-v2__control--inactive):hover {
  opacity: 1;
  cursor: pointer;
}
.slideshow-v2__control--left {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4196078431), rgba(0, 0, 0, 0));
}
.slideshow-v2__control--right {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4196078431), rgba(0, 0, 0, 0));
}

.slideshow-v2__pagination {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  font-size: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}
.slideshow-v2__pagination-elem {
  cursor: pointer;
  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-v2__pagination-elem {
    width: 0.8rem;
    height: 0.8rem;
  }
}
.slideshow-v2__pagination-elem.active {
  background-color: rgba(var(--color-foreground));
}

.slideshow-v2__slider {
  z-index: 1;
  position: relative;
  height: 100%;
}
.slideshow-v2__slider.animating {
  transition: transform 0.5s;
  will-change: transform;
}
.slideshow-v2__slider.animating .slideshow-v2__slide-bg {
  transition: transform 0.5s;
  will-change: transform;
}

.slideshow-v2__slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slideshow-v2__slide--active .slideshow-v2__slide-overlay,
.slideshow-v2__slide--active .slideshow-v2__slide-text {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 991px) {
  .slideshow-v2__slide--active .slideshow-v2__slide-overlay,
  .slideshow-v2__slide--active .slideshow-v2__slide-text {
    top: 50%;
    transform: translateY(-50%);
  }
}
.slideshow-v2__slide-bg {
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background-size: cover;
  will-change: transform;
}
.slideshow-v2__slide:nth-child(1) {
  left: 0;
}
.slideshow-v2__slide:nth-child(1) .slideshow-v2__slide-bg {
  left: 0;
}
.slideshow-v2__slide:nth-child(2) {
  left: 100%;
}
.slideshow-v2__slide:nth-child(2) .slideshow-v2__slide-bg {
  left: -50%;
}
.slideshow-v2__slide:nth-child(3) {
  left: 200%;
}
.slideshow-v2__slide:nth-child(3) .slideshow-v2__slide-bg {
  left: -100%;
}
.slideshow-v2__slide:nth-child(4) {
  left: 300%;
}
.slideshow-v2__slide:nth-child(4) .slideshow-v2__slide-bg {
  left: -150%;
}
.slideshow-v2__slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slideshow-v2__slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  min-height: 810px;
  transition: transform 0.5s 0.5s, opacity 0.2s 0.5s;
  will-change: transform, opacity;
  transform: translate3d(-20%, 0, 0);
  opacity: 0;
}
@media (max-width: 991px) {
  .slideshow-v2__slide-overlay {
    display: none;
  }
}
.slideshow-v2__slide-overlay path {
  opacity: 0.8;
}
.slideshow-v2__slide-text {
  position: absolute;
  width: 25%;
  bottom: 15%;
  left: 12%;
  color: #fff;
  transition: transform 0.5s 0.8s, opacity 0.5s 0.8s;
  will-change: transform, opacity;
  transform: translateY(-50%);
  opacity: 0;
}
@media (max-width: 991px) {
  .slideshow-v2__slide-text {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20rem;
    text-align: center;
    transform: translateY(50%);
    transition: transform 0.5s 0.5s, opacity 0.5s 0.5s;
    padding: 0 1rem;
  }
}
.slideshow-v2__slide-text-heading {
  font-size: 5rem;
  margin-bottom: 2rem;
}
@media (max-width: 991px) {
  .slideshow-v2__slide-text-heading {
    line-height: 20rem;
    font-size: 3.5rem;
  }
}
.slideshow-v2__slide-text-desc {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 991px) {
  .slideshow-v2__slide-text-desc {
    display: none;
  }
}
.slideshow-v2__slide-text-link {
  z-index: 5;
  display: inline-block;
  position: relative;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 2.3rem;
  perspective: 1000px;
}
@media (max-width: 991px) {
  .slideshow-v2__slide-text-link {
    display: none;
  }
}
.slideshow-v2__slide-text-link:before {
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform-origin: 50% 100%;
  transform: rotateX(-85deg);
  transition: transform 0.3s;
  will-change: transform;
}
.slideshow-v2__slide-text-link:hover:before {
  transform: rotateX(0);
}