/* 要闻轮播组件（首页与 AAVS 副站共用）
 * 主题色经 --news-accent 注入：默认 TiDE 紫；AAVS 页覆盖为 var(--tide-orange)。
 * 硬约束：仅用 var(--*) 令牌；直角；禁渐变。
 */
.news-carousel {
  --news-accent: var(--tide-purple);
  position: relative; border: 1px solid var(--line); background: var(--bg); overflow: hidden;
}
.news-viewport { overflow: hidden; }
.news-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.news-track.no-anim { transition: none; }
.news-slide { flex: 0 0 100%; min-width: 0; }
.news-slide-inner { display: grid; grid-template-columns: 46% 1fr; height: 100%; }
.news-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-slide-inner:hover .news-thumb img { transform: scale(1.03); }
.news-tag {
  position: absolute; left: 0; top: var(--sp-2); z-index: 1;
  background: var(--news-accent); color: var(--bg);
  font-size: var(--fs-tiny); font-weight: 700; letter-spacing: .06em; padding: 4px 12px;
}
.news-body { padding: var(--sp-4); display: flex; flex-direction: column; justify-content: center; gap: var(--sp-2); }
.news-date { font-family: var(--font-mono); font-size: var(--fs-tiny); color: var(--gray); letter-spacing: .14em; }
.news-title {
  font-weight: 900; font-size: clamp(19px, 2vw, 28px); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-slide-inner:hover .news-title { color: var(--news-accent); }
.news-summary {
  font-size: var(--fs-small); color: var(--gray);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more { font-family: var(--font-en); font-size: var(--fs-tiny); letter-spacing: .12em; color: var(--ink-2); margin-top: var(--sp-1); }
.news-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg);
  font-size: 18px; cursor: pointer; color: var(--ink); font-family: var(--font-en);
}
.news-arrow:hover { background: var(--news-accent); border-color: var(--news-accent); color: var(--bg); }
.news-arrow.prev { left: var(--sp-2); }
.news-arrow.next { right: var(--sp-2); }
.news-dots { position: absolute; right: var(--sp-3); bottom: var(--sp-2); display: flex; gap: 8px; z-index: 2; }
.news-dot { width: 10px; height: 10px; border: 1px solid var(--gray-2); background: var(--bg); cursor: pointer; padding: 0; }
.news-dot.on { background: var(--news-accent); border-color: var(--news-accent); }

@media (max-width: 1080px) {
  .news-body { padding: var(--sp-3); }
}
@media (max-width: 640px) {
  .news-slide-inner { grid-template-columns: 1fr; }
  .news-thumb { aspect-ratio: 16/9; }
  .news-arrow { display: none; }
  .news-dots { position: static; justify-content: center; padding: var(--sp-1) 0 var(--sp-2); }
}
