.step-carousel {
  margin-top: 0.5rem;
}
.step-carousel__viewport {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #121820;
  outline: none;
}
.step-carousel__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #121820;
}
.step-carousel__caption {
  margin: 0;
  padding: 0.5rem 0.65rem 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  text-align: center;
}
.step-carousel__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.step-carousel__chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.step-carousel__nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.step-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border: none;
  border-radius: 999px;
  background: var(--line);
  padding: 0;
  cursor: pointer;
}
.step-carousel__dot.is-active {
  background: var(--orange);
}
.step-carousel__count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}
/* Full-width: left main slide, right thumb list */
.step-carousel--split .step-carousel__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
  min-width: 0;
}
.step-carousel--split .step-carousel__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.step-carousel--split .step-carousel__viewport {
  flex: 1 1 auto;
}
.step-carousel--split .step-carousel__slide img {
  aspect-ratio: 4 / 3;
  max-height: min(52vh, 420px);
  object-fit: contain;
}
.step-carousel--split .step-carousel__rail {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: min(52vh, 460px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-alt, var(--surface));
  min-width: 0;
}
.step-carousel--split .step-carousel__thumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.35rem 0.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm, 8px);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
}
.step-carousel--split .step-carousel__thumb:hover {
  border-color: var(--line);
}
.step-carousel--split .step-carousel__thumb.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}
.step-carousel--split .step-carousel__thumb img {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 3.25rem;
  object-fit: cover;
  border-radius: 6px;
  background: #121820;
}
.step-carousel--split .step-carousel__thumb-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
  .step-carousel--split .step-carousel__split {
    grid-template-columns: 1fr;
  }
  .step-carousel--split .step-carousel__rail {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding: 0.5rem;
  }
  .step-carousel--split .step-carousel__rail li {
    flex: 0 0 auto;
    width: 7.5rem;
  }
  .step-carousel--split .step-carousel__thumb {
    flex-direction: column;
    align-items: stretch;
    padding: 0.35rem;
  }
  .step-carousel--split .step-carousel__thumb img {
    width: 100%;
    height: 4.5rem;
  }
  .step-carousel--split .step-carousel__thumb-label {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }
}

/* Duo row: news + noRelease share step-carousel chrome */
.home-duo .home-news-duo,
.home-duo .no-release {
  height: 100%;
}