/* banner.css — 首页零依赖轮播（banner.js 配套）
   桌面 ≥1201px：高 800px + object-fit:cover（外观同旧站 jssor）；
   移动 ≤1200px：aspect-ratio 12/5（=1920:800）整图自适应，无 min-width、无裁切。 */
#banner { position: relative; width: 100%; overflow: hidden; background: #111; }
.bs-slides { position: relative; width: 100%; aspect-ratio: 12 / 5; }
.bs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.bs-slide.bs-active { opacity: 1; z-index: 1; }
.bs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.bs-arrow:hover { background: rgba(0,0,0,.55); }
.bs-prev { left: 24px; }
.bs-next { right: 24px; }
.bs-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; text-align: center; }
.bs-dot {
  display: inline-block; width: 12px; height: 12px; margin: 0 6px; padding: 0;
  border: none; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer;
}
.bs-dot.bs-active { background: #fff; }
/* S29：HTML 文案层（多语言） */
.bs-caption {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 1;
  width: 54%; display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 0 6%;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 55%, rgba(255,255,255,0) 100%);
  color: #0b2a4a; text-shadow: none;
}
.bs-caption h2 {
  font-size: clamp(28px, 3.4vw, 54px); line-height: 1.12; margin: 0 0 16px;
  font-weight: 700; letter-spacing: -.01em;
}
.bs-caption p {
  font-size: clamp(14px, 1.25vw, 19px); line-height: 1.55; margin: 0 0 24px; max-width: 90%;
}
.bs-cta {
  display: inline-block; align-self: flex-start; width: auto;
  background: #208b70; color: #fff !important;
  padding: 12px 22px; border-radius: 3px; font-size: 15px;
  text-decoration: none; text-shadow: none;
}
.bs-cta:hover { background: #1a735c; }

@media (min-width: 1201px) {
  .bs-slides { aspect-ratio: auto; height: 800px; }
}
@media (max-width: 1200px) {
  .bs-caption { width: 62%; }
}
@media (max-width: 760px) {
  .bs-slides { aspect-ratio: auto; height: 360px; }
  .bs-arrow { width: 38px; height: 38px; font-size: 22px; }
  .bs-prev { left: 8px; }
  .bs-next { right: 8px; }
  .bs-caption {
    left: 0; right: 0; top: auto; bottom: 0; width: auto;
    padding: 22% 6% 8%; color: #fff;
    background: linear-gradient(0deg, rgba(11,42,74,.94) 0%, rgba(11,42,74,.78) 55%, rgba(11,42,74,0) 100%);
  }
  .bs-caption h2 { font-size: 21px; margin-bottom: 6px; }
  .bs-caption p { font-size: 12px; line-height: 1.4; margin-bottom: 10px; }
  .bs-cta { padding: 7px 13px; font-size: 11px; background: #fff; color: #0b2a4a !important; }
  .bs-dot { width: 10px; height: 10px; min-width: 10px; min-height: 10px; padding: 0; line-height: 0; }
}
