/* 新闻资讯页专用样式 news.css */
.news-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.news-filter { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.news-filter button { position: relative; padding: 16px 20px 18px; border: 0; border-radius: 0; background: transparent; color: var(--text-muted); font-size: 15px; font-weight: 650; letter-spacing: .02em; white-space: nowrap; cursor: pointer; transition: color .2s; }
.news-filter button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; opacity: 0; transform: scaleX(.6); transition: background .25s, opacity .25s, transform .25s; }
.news-filter button:hover { color: var(--blue-600); }
.news-filter button:hover::after { background: rgba(53,99,245,.25); opacity: 1; transform: scaleX(1); }
.news-filter button.active { color: var(--blue-600); }
.news-filter button.active::after { background: linear-gradient(90deg, #3563f5, #34d3ee); opacity: 1; transform: scaleX(1); }
.news-summary { padding-bottom: 18px; color: var(--text-light); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.news-summary::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--cyan-500); vertical-align: middle; box-shadow: 0 0 0 4px rgba(52,216,238,.12); }
.news-list { display: grid; gap: 0; scroll-margin-top: 100px; }
.news-row { position: relative; display: grid; grid-template-columns: 168px 1fr 44px; align-items: start; gap: 24px; padding: 24px 4px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
.news-row:last-child { border-bottom: 0; }
.news-thumb { display: block; width: 168px; height: 120px; overflow: hidden; border-radius: 10px; background: #eef4ff; }
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.news-row:hover .news-thumb img { transform: scale(1.05); }
.news-content { display: flex; flex-direction: column; min-height: 120px; }
.news-content h3 { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--text-main); transition: color .2s; }
.news-row:hover .news-content h3 { color: var(--blue-600); }
.news-content p { margin-top: 8px; font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.news-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; }
.news-meta .type { display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid rgba(53,99,245,.14); border-radius: 4px; background: #f5f8ff; color: var(--blue-600); font-size: 11px; font-weight: 700; white-space: nowrap; }
.news-meta time { color: var(--text-light); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.news-row > svg.ico { justify-self: end; margin-top: 27px; width: 42px; height: 42px; padding: 11px; border-radius: 10px; background: #f5f8ff; color: var(--blue-600); transition: transform .25s, background .25s; }
.news-row:hover > svg.ico { transform: translateX(4px); background: #e7eeff; }
.news-row[hidden] { display: none; }
.news-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.news-pagination .page-btn { min-width: 42px; height: 42px; padding: 0 13px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text-muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.news-pagination .page-btn:hover:not(:disabled) { transform: translateY(-2px); background: #f1f5ff; color: var(--blue-600); box-shadow: 0 12px 24px -16px rgba(53,99,245,.75); }
.news-pagination .page-btn.active { color: #fff; background: linear-gradient(135deg, #3d6df8, #1e42cf); border-color: transparent; box-shadow: 0 14px 26px -14px rgba(53,99,245,.85); }
.news-pagination .page-btn:disabled { opacity: .4; cursor: not-allowed; }
.news-pagination .page-btn.page-nav { width: 50px; min-width: 50px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.news-pagination .page-arrow { width: 21px; height: 21px; stroke-width: 2.3; }

@media (max-width: 860px) {
  .news-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .news-filter { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .news-filter button { padding: 12px 14px 14px; font-size: 14px; }
  .news-summary { padding-bottom: 0; }
  .news-row { grid-template-columns: 112px 1fr; align-items: start; gap: 12px 14px; padding: 18px 0; }
  .news-thumb { grid-column: 1; grid-row: 1 / 3; width: 112px; height: 112px; }
  .news-content { grid-column: 2; grid-row: 1; min-height: 112px; }
  .news-content h3 { font-size: 16px; }
  .news-row > svg.ico { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 0; width: 38px; height: 38px; padding: 10px; }
}
