/**
 * Slideshow
 */
.slideshow {
  overflow: hidden;
  position: relative;
}

.slideshow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;

  --current-index: 0;
  transform: translateX(calc(-100% * var(--current-index)));
  transition: transform var(--transition-duration-slow);
}

.slideshow__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.slideshow__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3125rem;
  height: 0.625rem;
}

.slideshow__dot {
  flex: 0 0 0.625rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--invert-text-color);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity var(--transition-duration);
}

.slideshow__dot--active {
  opacity: 1;
}

@media (hover: hover) {
  .slideshow__dot:hover {
    opacity: 1;
  }
}

/**
 * Slide
 */
.ss-slide {
  position: relative;
  display: flex;
}

.ss-slide__content {
  padding: 4.375rem 3.75rem;
  padding-right: 5rem;
  flex: 1;

  display: flex;
  flex-direction: row;
  position: relative;
}

.ss-slide__text-block {
  flex: 1;

  font-size: 1.125rem;
  line-height: 1.3;
}

.ss-slide__above-headline {
  margin-bottom: 1.5rem;
}

.ss-slide__headline {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 800;
}

.ss-slide--1 .ss-slide__headline {
  max-width: 10em;
}

.ss-slide__icon {
  width: 22.5rem;
  height: 22.5rem;
}

.ss-slide__btn-box {
  margin-top: 3.125rem;
}

.ss-slide__content--bigger .ss-slide__above-headline {
  font-size: 1.75rem;
  margin-bottom: 0;
  margin-top: 2.5rem;
}

.ss-slide__content--bigger .ss-slide__headline {
  font-size: 4.375rem;
}

.ss-slide__icon-block {
  flex: none;
  display: flex;
  align-items: center;
}

.ss-slide__icon-block--mobile {
  display: none;
}

.ss-slide__background {
  position: absolute;
  inset: 0;
}

.ss-slide__background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-slide__background-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 80%
  );
}

.ss-slide--3 {
  background-image: url(/assets/tv-pr-hero.webp);
  background-size: cover;
  background-position: center bottom -2.125rem;
  background-repeat: no-repeat;
}

.ss-slide--3 .ss-slide__headline {
  font-size: 3.5rem;
}

@media (max-width: 50em) {
  .ss-slide__content {
    padding: 1.25rem;
    padding-bottom: 4.375rem;
    align-items: flex-end;
  }

  .ss-slide__text-block {
    font-size: 1rem;
  }

  .ss-slide__above-headline {
    margin-bottom: 1em;
  }

  .ss-slide__headline {
    font-size: 1.875rem;
  }

  .ss-slide--1 .ss-slide__headline {
    margin-top: 2rem;
    max-width: unset;
  }

  .ss-slide__icon-block {
    display: none;
  }

  .ss-slide__icon-block--mobile {
    display: block;
  }

  .ss-slide__icon {
    width: 12.5rem;
    height: 12.5rem;
  }

  .ss-slide__btn-box {
    margin-top: 1.5rem;
  }

  .ss-slide__content--bigger .ss-slide__above-headline {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .ss-slide__content--bigger .ss-slide__headline {
    font-size: 1.875rem;
  }

  .ss-slide--2 .ss-slide__content {
    align-items: flex-start;
  }

  .ss-slide--2 .ss-slide__text-block {
    margin-top: 2.5rem;
  }

  .ss-slide--3 {
    background-size: 200%;
    background-position: right bottom;

    align-items: flex-start;
  }
}
