/* =============================================================================
 * news.css — 最新动态 横向轮播
 * ========================================================================== */

.news {
  padding: 56px 0 80px; background: var(--bg); overflow: hidden;
}
.news__head {
  max-width: var(--maxw); margin: 0 auto 22px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.news__section-title { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.news__controls { display: flex; gap: 10px; }
.news__arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background .2s, transform .2s, border-color .2s;
}
.news__arrow:hover { background: var(--bg-soft); border-color: var(--ink-3); transform: scale(1.06); }
.news__arrow:first-child svg { transform: rotate(180deg); }

.news__viewport {
  max-width: var(--maxw); margin: 0 auto;
  overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth;
  padding: 10px 24px 20px;
  scrollbar-width: none;
}
.news__viewport::-webkit-scrollbar { display: none; }

.news__track {
  display: flex; gap: 18px;
  width: max-content;
}
.news__card {
  width: 280px; flex: none; border-radius: var(--r); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.news__card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.news__thumb { position: relative; height: 180px; padding: 16px; display: flex; align-items: flex-start; }
.news__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.2), transparent 50%);
}
.news__chip {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  color: #fff; background: rgba(0,0,0,.24); backdrop-filter: blur(6px);
}
.news__body { padding: 18px; }
.news__title { font-size: 16px; font-weight: 700; line-height: 1.45; }
.news__desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
