.subhero {
  min-height: 330px;
  gap: 32px;
}

.subhero > div:first-child {
  min-width: 0;
  flex: 1;
}

.workout-instruction-carousel {
  width: min(100%, 980px);
  margin: 22px 0 12px;
}

.workout-instruction-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: 18px;
}

.workout-instruction-track::-webkit-scrollbar {
  display: none;
}

.workout-instruction-slide {
  box-sizing: border-box;
  flex: 0 0 100%;
  min-height: 190px;
  padding: 24px 26px;
  scroll-snap-align: start;
  border: 1px solid #343439;
  border-radius: 18px;
  background: #202023;
}

.workout-instruction-label {
  display: block;
  margin-bottom: 9px;
  color: #e11d2e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.subhero .workout-instruction-slide h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.workout-instruction-slide ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.workout-instruction-slide li {
  position: relative;
  padding-left: 17px;
  color: #c7c7cc;
  font-size: 13px;
  line-height: 1.42;
}

.workout-instruction-slide li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e11d2e;
}

.workout-instruction-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 11px;
}

.workout-instruction-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.workout-instruction-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #57575d;
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.workout-instruction-dots button.active {
  width: 22px;
  background: #e11d2e;
}

.workout-instruction-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0 0 3px;
  border: 1px solid #3c3c42;
  border-radius: 50%;
  background: #252529;
  color: #fff;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.workout-instruction-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

@media (max-width: 640px) {
  .subhero {
    min-height: 0;
    padding: 22px 18px;
  }

  .subhero .pill {
    font-size: 9px;
    line-height: 1.25;
  }

  .workout-instruction-carousel {
    margin-top: 17px;
  }

  .workout-instruction-slide {
    min-height: 225px;
    padding: 20px 18px;
  }

  .subhero .workout-instruction-slide h3 {
    font-size: 24px;
  }

  .workout-instruction-slide li {
    font-size: 12px;
  }

  .workout-instruction-navigation {
    margin-top: 9px;
  }
}
