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

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

.slideshow-v12__slide {
  position: relative;
}

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

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

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

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

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

.slideshow-v12__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}
@media (min-width: 768px) {
  .slideshow-v12__text {
    padding-top: 17%;
    align-items: flex-start;
  }
}

.slideshow-v12__subtitle {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  height: 4.5rem;
  font-size: clamp(1.6rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  text-transform: uppercase;
  background-color: rgba(var(--color-accent));
  padding-inline-start: 2rem;
  padding-inline-end: 6.5rem;
}

.slideshow-v12__subtitle::before {
  position: absolute;
  content: "";
  top: 0;
  border-width: 2.3rem 1.6rem;
  border-style: solid;
  border-color: rgba(var(--color-accent));
  border-right-color: transparent;
  border-bottom-color: transparent;
}
[dir=ltr] .slideshow-v12__subtitle::before {
  right: -3.1rem;
}
[dir=rtl] .slideshow-v12__subtitle::before {
  left: -3.1rem;
}

.slideshow-v12__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));
  color: rgba(var(--color-foreground));
  font-family: var(--font-custom-family);
  margin-bottom: 3rem;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 768px) {
  .slideshow-v12__title {
    text-align: start;
  }
}

.slideshow-v12__side-text {
  display: none;
}
@media (min-width: 768px) {
  .slideshow-v12__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.3rem);
    text-transform: uppercase;
    color: rgba(var(--color-foreground));
    transform: rotate(90deg);
    white-space: nowrap;
    z-index: 1;
    padding-inline-start: 4.5rem;
  }
  [dir=ltr] .slideshow-v12__side-text {
    right: var(--right);
    left: var(--left);
  }
  [dir=rtl] .slideshow-v12__side-text {
    left: var(--left);
    right: var(--left);
  }
}
@media (min-width: 1200px) {
  .slideshow-v12__side-text {
    top: 22rem;
  }
}

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

.slideshow-v12__pagination {
  width: 100%;
  justify-content: center;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1200px) {
  .slideshow-v12__pagination {
    padding-top: 20rem;
  }
}