/* Applied only after the progressive carousel controller is ready. */
.lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-slide {
  grid-area: 1 / 1;
  min-width: 0;
  width: 100%;
}

.lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-image-link {
  overflow: hidden;
}

.lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-image {
  display: block;
  transform-origin: 50% 50%;
}

.lt-home-showcase .lt-banner-carousel.is-transitioning .lt-banner-slide:not([hidden]) {
  will-change: transform;
}

.lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-slide[aria-hidden="true"] {
  pointer-events: none;
}

/* Measuring caption heights keeps the content below the carousel stationary. */
.lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-slide.is-motion-measuring {
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-slide,
  .lt-home-showcase .lt-banner-carousel.has-slide-motion .lt-banner-image {
    animation: none !important;
    transition: none !important;
  }
}
