.slideshow-v5__banner-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.slideshow-v5__banner {
  height: 18rem;
  overflow: hidden;
}
@media (min-width: 576px) {
  .slideshow-v5__banner {
    height: 38rem;
  }
}
@media (min-width: 768px) {
  .slideshow-v5__banner {
    height: calc(50% - 0.35rem);
  }
}

.slideshow-v5__banner:hover img {
  transform: scale(1.1);
}

.slideshow-v5__banner-grid {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: var(--justify);
  align-items: flex-end;
  padding: 0 3rem;
}

.slideshow-v5__banner-text {
  z-index: 2;
  padding-bottom: 2.5rem;
}

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

.slideshow-v5__above-title {
  font-size: clamp(2rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: capitalize;
  color: rgba(var(--color-foreground));
  margin: 0;
}

.slideshow-v5__under-subtitle {
  font-size: clamp(1.2rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: capitalize;
  color: rgba(var(--color-foreground), 0.5);
  margin: 0;
}

.slideshow-v5__under-title {
  font-size: clamp(2rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: capitalize;
  color: rgba(var(--color-foreground));
  margin: 0;
}

.slideshow-v5__banner-image {
  width: 60%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: var(--banner-img-left);
  right: var(--banner-img-right);
}
.slideshow-v5__banner-image .xo-image {
  width: 100%;
  height: 100%;
  overflow: unset;
}
.slideshow-v5__banner-image img {
  height: 100%;
  object-fit: contain;
  transition: 0.5s;
}

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

.slideshow-v5__slide {
  position: relative;
}

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

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

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

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

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

.slideshow-v5__text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 8rem;
}
@media (min-width: 768px) {
  .slideshow-v5__text {
    padding-top: 24%;
    padding-bottom: 24%;
  }
}

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

.slideshow-v5__title {
  font-family: var(--font-custom-family);
  font-size: clamp(3rem, var(--fontsize) / 190 * 100vw, var(--fontsize) * 1rem);
  font-weight: var(--fontweight);
  line-height: calc(1 + 0 / var(--font-heading-scale));
  text-transform: capitalize;
  text-align: center;
  margin-bottom: 3rem;
}

.slideshow-v5__pagination {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .slideshow-v5__pagination {
    bottom: 3rem;
  }
}