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

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

.slideshow-v40__slide {
  position: relative;
  padding-top: 5rem;
}

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

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

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

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

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

.slideshow-v40__text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 13rem;
}
@media (min-width: 768px) {
  .slideshow-v40__text {
    align-items: flex-start;
    padding-top: 15rem;
    padding-bottom: 14rem;
  }
}
@media (min-width: 1400px) {
  .slideshow-v40__text {
    padding-top: 27%;
    padding-bottom: 30%;
  }
}

.slideshow-v40__subtitle {
  position: relative;
  color: rgba(var(--color-accent));
  font-size: clamp(1.2rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.slideshow-v40__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-v40__title {
    text-align: left;
  }
}

.slideshow-v40__smalltitle {
  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), 0.8);
  text-transform: unset;
  margin-bottom: 4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .slideshow-v40__smalltitle {
    text-align: start;
  }
}

.slideshow-v40__arrows {
  display: none;
}
@media (min-width: 1200px) {
  .slideshow-v40__arrows {
    display: flex;
    justify-content: center;
    position: absolute;
    gap: 13.5rem;
    bottom: 5rem;
    z-index: 9;
    width: 100%;
  }
}

.slideshow-v40__arrow-btn {
  transition: 0.3s;
}
.slideshow-v40__arrow-btn button {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slideshow-v40__arrow-btn svg {
  color: rgba(var(--color-foreground));
}

.slideshow-v40__arrow-btn:hover svg {
  color: rgba(var(--color-accent));
}

.slideshow-v40__pagination {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.slideshow-v40__pagination xo-carousel-bullet {
  position: relative;
}
.slideshow-v40__pagination xo-carousel-bullet::before {
  content: " 0" attr(xo-page) " ";
  color: rgba(var(--color-foreground), 0.5);
  font-size: calc(var(--font-body-scale) * 2rem);
  font-weight: 600;
}
.slideshow-v40__pagination xo-carousel-bullet::after {
  content: "/";
  margin: 0 0.4rem;
  color: rgba(var(--color-foreground), 0.5);
  font-size: calc(var(--font-body-scale) * 2rem);
  font-weight: 600;
}
.slideshow-v40__pagination xo-carousel-bullet:last-child::after {
  content: none;
}
.slideshow-v40__pagination xo-carousel-bullet[xo-active]:not([xo-active=false])::before {
  color: rgba(var(--color-foreground));
}
.slideshow-v40__pagination xo-carousel-bullet[xo-active]:not([xo-active=false])::after {
  color: rgba(var(--color-foreground));
}

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

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

.slideshow-v40__img-mobile {
  width: 100%;
  aspect-ratio: 735/725;
}
.slideshow-v40__img-mobile .xo-image {
  width: 100%;
  height: 100%;
}
.slideshow-v40__img-mobile img {
  width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .slideshow-v40__img-mobile {
    display: none;
  }
}