/* 顶图区始终占位，避免加载时把下方 Tab 顶下去 */
.hero-carousel {
  aspect-ratio: 1280 / 492;
  width: 100%;
  background: #fff;
}

.hero-slides {
  width: 100%;
  height: 100%;
}

.hero-carousel.hero-carousel--pending:not(.is-ready) {
  opacity: 0;
  pointer-events: none;
}

.hero-carousel.hero-carousel--pending.is-ready {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.15s ease-out;
}

.hero-banner[hidden] {
  visibility: hidden;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}