/* ============================================================
   hero-slides.css — 首页英雄区右栏幻灯片（2026-11-20）
   五站共享：front/layout、front_bbs/layout、front_spw/layout 均加载。
   结构：<div class="hero-slides"><img class="hero-slide">×N<div class="hero-dots">…
   交互由 static/js/hero-slides.js 驱动（3s 轮换、hover 暂停、圆点直切）。
   ============================================================ */
.hero-slides {
  position: relative; width: 100%; aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
  background: #f1f5f9;
}
.hero-slides .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.6s ease;
}
.hero-slides .hero-slide.is-active { position: relative; opacity: 1; z-index: 1; }
.hero-slides a.hero-slide { display: block; }
.hero-slides a.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slides .hero-dots {
  position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.hero-slides .hero-dot {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.55); cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-slides .hero-dot.is-active { background: #ffffff; width: 18px; }
@media (max-width: 1024px) {
  .hero-slides { max-height: none; }
}

/* bbs 横幅位：通栏浅蓝条 + 右侧 420px 幻灯（原整幅广告位改造） */
.bbs-ad-banner {
  display: flex; justify-content: flex-end; align-items: center;
  background: var(--bbs-blue-l, #eaf2fb); padding: 12px 24px;
}
.bbs-ad-banner .hero-slides {
  max-width: 560px; width: 560px; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(44, 108, 176, 0.18);
}
@media (max-width: 768px) {
  .bbs-ad-banner { justify-content: center; padding: 10px 16px; }
  .bbs-ad-banner .hero-slides { width: 100%; max-width: none; }
}
