.warmher-editorial-slider {
  overflow: hidden;
  padding: 54px 24px;
  background: #e9e2d7;
  color: #171717;
}

.warmher-editorial-slider__inner {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 62%);
  align-items: center;
  gap: 64px;
  max-width: 1880px;
  margin: 0 auto;
}

.warmher-editorial-slider__copy {
  box-sizing: border-box;
  padding: clamp(46px, 5vw, 86px) clamp(28px, 4vw, 64px);
  background: #f8f5ef;
}

.warmher-editorial-slider__eyebrow {
  margin: 0 0 22px;
  font-family: var(--type-body-font-family);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .18em;
}

.warmher-editorial-slider__title {
  max-width: 420px;
  margin: 0;
  font-family: var(--type-heading-font-family), Georgia, serif;
  font-size: clamp(42px, 4.25vw, 66px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .01em;
}

.warmher-editorial-slider__text {
  max-width: 330px;
  margin: 26px 0 0;
  color: #34312d;
  font-family: var(--type-body-font-family), Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.warmher-editorial-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 24px;
  background: #171717;
  color: #fff;
  font-family: var(--type-body-font-family), Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.warmher-editorial-slider__button:hover {
  background: #34312d;
  transform: translateY(-1px);
}

.warmher-editorial-slider__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-width: 0;
  background: #d8d0c4;
}

.warmher-editorial-slider__track {
  display: flex;
  width: 600%;
  height: 100%;
  will-change: transform;
  animation: blackwarm-editorial-slide 30s linear infinite;
}

.warmher-editorial-slider__slide {
  flex: 0 0 16.666667%;
  width: 16.666667%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.warmher-editorial-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  animation: blackwarm-editorial-breathe 6s ease-in-out infinite alternate;
}

.warmher-editorial-slider__media:hover .warmher-editorial-slider__track,
.warmher-editorial-slider__media:focus-within .warmher-editorial-slider__track {
  animation-play-state: paused;
}

.warmher-editorial-slider__index {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 6px;
}

.warmher-editorial-slider__index span {
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(0,0,0,.16);
}

@keyframes blackwarm-editorial-slide {
  0%, 15% { transform: translate3d(0,0,0); }
  20%, 35% { transform: translate3d(-16.666667%,0,0); }
  40%, 55% { transform: translate3d(-33.333333%,0,0); }
  60%, 75% { transform: translate3d(-50%,0,0); }
  80%, 95% { transform: translate3d(-66.666667%,0,0); }
  100% { transform: translate3d(-83.333333%,0,0); }
}

@keyframes blackwarm-editorial-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.035); }
}

@media (max-width: 989px) {
  .warmher-editorial-slider__inner {
    grid-template-columns: minmax(260px, 40%) minmax(0, 60%);
    gap: 28px;
  }

  .warmher-editorial-slider__copy {
    padding: 46px 34px;
  }
}

@media (max-width: 749px) {
  .warmher-editorial-slider {
    padding: 24px 16px 34px;
  }

  .warmher-editorial-slider__inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .warmher-editorial-slider__copy {
    width: 100%;
    padding: 38px 24px 42px;
  }

  .warmher-editorial-slider__eyebrow {
    margin-bottom: 16px;
  }

  .warmher-editorial-slider__title {
    max-width: 310px;
    font-size: 42px;
  }

  .warmher-editorial-slider__text {
    margin-top: 20px;
    font-size: 16px;
  }

  .warmher-editorial-slider__button {
    width: 100%;
    margin-top: 28px;
  }

  .warmher-editorial-slider__media {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .warmher-editorial-slider__index {
    right: 16px;
    bottom: 14px;
  }

  .warmher-editorial-slider__index span {
    width: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .warmher-editorial-slider__track,
  .warmher-editorial-slider__slide img {
    animation: none;
  }

  .warmher-editorial-slider__track {
    width: 100%;
  }

  .warmher-editorial-slider__slide {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .warmher-editorial-slider__slide:first-child {
    display: block;
  }

  .warmher-editorial-slider__index {
    display: none;
  }
}
