/* Homepage only. Keep the vendor stylesheet unchanged. */
.whatis_wrap_image-1 {
  min-width: 0;
}

.home-slider {
  aspect-ratio: 1;
  width: calc(100% - 4px);
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  visibility: visible;
}

.home-slider .home-slider__viewport {
  height: 100%;
}

.home-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A usable first photo even when JavaScript is disabled or fails to load. */
.home-slider:not(.is-initialized) .splide__list {
  display: block;
}

.home-slider:not(.is-initialized) .splide__slide {
  height: 100%;
}

.home-slider:not(.is-initialized) .splide__slide:not(:first-child) {
  display: none;
}

.home-slider__controls {
  display: none;
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgb(0 0 0 / 60%));
  pointer-events: none;
}

.home-slider.is-initialized .home-slider__controls {
  display: flex;
}

.home-slider .splide__pagination {
  padding: 0;
  flex-wrap: nowrap;
  min-width: 0;
}

.home-slider .splide__pagination li {
  flex: 0 1 44px;
  min-width: 24px;
}

.home-slider .splide__pagination__page,
.home-slider__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  max-width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.home-slider__toggle {
  flex-shrink: 0;
}

.home-slider .splide__pagination__page::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 55%);
  box-shadow: 0 0 2px rgb(0 0 0 / 60%);
}

.home-slider .splide__pagination__page.is-active::before {
  background: #fff;
  transform: scale(1.25);
}

.home-slider .splide__pagination__page:focus-visible,
.home-slider__toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.home-slider__play-icon,
.home-slider.is-paused-by-user .home-slider__pause-icon {
  display: none;
}

.home-slider.is-paused-by-user .home-slider__play-icon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .home-slider__toggle {
    display: none;
  }
}
