.card-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity;
}

.card-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-slideshow__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.card-slideshow__slide.is-leaving {
  opacity: 0;
  z-index: 0;
}
