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

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

.slideshow-v31__slide {
  position: relative;
}

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

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

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

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

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

.slideshow-v31__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11rem 1.5rem;
}
@media (min-width: 768px) {
  .slideshow-v31__text {
    padding-top: 19%;
    padding-bottom: 18%;
  }
}

.slideshow-v31__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 7.5rem;
  background-color: #fff;
}

.slideshow-v31__title {
  font-size: clamp(3rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  letter-spacing: calc(var(--font-heading-scale) * 0.1rem);
  color: rgba(var(--color-foreground));
  margin-bottom: 2.5rem;
  text-transform: capitalize;
  text-align: center;
  padding-bottom: 2rem;
  position: relative;
}

.slideshow-v31__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 7rem;
  height: 0.1rem;
  display: block;
  background-color: rgba(var(--color-accent));
}

.slideshow-v31__description {
  font-size: clamp(2rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  color: rgba(var(--color-foreground));
  text-transform: unset;
  margin-bottom: 3.5rem;
  text-align: center;
}

.slideshow-v31__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slideshow-v31__arrows {
  display: flex;
  position: absolute;
  gap: 0.1rem;
  bottom: 0;
  z-index: 9;
}
[dir=ltr] .slideshow-v31__arrows {
  right: 0;
}
[dir=rtl] .slideshow-v31__arrows {
  left: 0;
}

.slideshow-v31__arrow-btn {
  width: 4.5rem;
  height: 4.5rem;
  background-color: rgba(var(--color-foreground), 0.5);
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow-v31__arrow-btn button {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow-v31__arrow-btn svg {
  height: 1.5rem;
  color: rgba(var(--color-background));
}
@media (min-width: 768px) {
  .slideshow-v31__arrow-btn {
    width: 7rem;
    height: 7rem;
  }
  .slideshow-v31__arrow-btn svg {
    height: 2.5rem;
  }
}

.slideshow-v31__arrow-btn:hover {
  background-color: rgba(var(--color-background));
}
.slideshow-v31__arrow-btn:hover svg {
  color: rgba(var(--color-foreground));
}