.home-slider {
  --home-slider-accent: #660066;
  --home-slider-gold: #9c7f3d;
  width: min(100%, 1100px);
  margin: clamp(1rem, 2vw, 1.5rem) auto;
  color: #29242b;
}

.home-slider + .body_text {
  padding-top: 0;
}

.home-slider__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #b8b8b8;
  border-radius: .4rem;
  background: #211e21;
  touch-action: pan-y pinch-zoom;
}

.home-slider__track {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-slider__slide {
  display: none;
  width: 100%;
  height: 100%;
}

.home-slider__slide:first-child {
  display: block;
}

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

.home-slider.is-enhanced .home-slider__track {
  display: flex;
  transition: transform 650ms cubic-bezier(.22, .68, 0, 1);
  will-change: transform;
}

.home-slider.is-enhanced .home-slider__slide {
  display: block;
  flex: 0 0 100%;
  min-width: 0;
}

.home-slider__pagination {
  display: none;
}

.home-slider__button {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgb(24 24 24 / 44%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease, opacity 160ms ease;
}

.home-slider__button--prev {
  left: clamp(.65rem, 2.5vw, 1.5rem);
}

.home-slider__button--next {
  right: clamp(.65rem, 2.5vw, 1.5rem);
}

.home-slider__button:hover {
  background: rgb(24 24 24 / 58%);
  opacity: .92;
}

.home-slider__button:focus-visible,
.home-slider__dot:focus-visible {
  outline: 3px solid var(--home-slider-gold);
  outline-offset: 3px;
}

.home-slider.is-enhanced .home-slider__button {
  display: inline-grid;
}

.home-slider.is-enhanced .home-slider__button[hidden],
.home-slider.is-enhanced .home-slider__pagination[hidden] {
  display: none;
}

.home-slider__status {
  display: flex;
  justify-content: center;
  margin-top: .85rem;
}

.home-slider__count {
  color: #4d454e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  white-space: nowrap;
}

.home-slider.is-enhanced .home-slider__pagination {
  display: flex;
  justify-content: center;
  gap: .2rem;
  margin-top: .35rem;
}

.home-slider__dot {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.home-slider__dot::before {
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: #c9c1cb;
  content: "";
  transition: width 180ms ease, background-color 180ms ease;
}

.home-slider__dot[aria-current="true"]::before {
  width: .9rem;
  background: var(--home-slider-accent);
}

.home-slider__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 600px) {
  .home-slider__button {
    width: 2.65rem;
    height: 2.65rem;
  }

  .home-slider__dot {
    width: 1.3rem;
    height: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slider.is-enhanced .home-slider__track,
  .home-slider__button,
  .home-slider__dot::before {
    transition-duration: .01ms;
  }
}
