/* ===== 文章资讯中心 / 详情 样式 (与官网风格一致) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #3b82f6;
  --accent: #16a34a; --ink: #1e293b; --ink-2: #475569; --ink-3: #64748b;
  --bg: #fff; --bg-soft: #f8fafc; --line: #e2e8f0; --radius: 12px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--ink); line-height: 1.75; background: var(--bg-soft); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }

/* 顶部导航 */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(226,232,240,.7); }
.site-nav .inner { display: flex; align-items: center; height: 64px; }
.site-nav .brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.site-nav .brand .logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 4px 12px rgba(37,99,235,.25); }
.site-nav .links { display: flex; gap: 26px; margin-left: 40px; }
.site-nav .links a { font-size: 15px; color: var(--ink-2); }
.site-nav .links a:hover, .site-nav .links a.active { color: var(--primary); }
.site-nav .right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; border-radius: 8px; padding: 10px 20px; border: 1px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* 资讯头部 */
.news-hero { background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; padding: 54px 0 46px; }
.news-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.news-hero p { opacity: .92; font-size: 16px; max-width: 720px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { text-decoration: underline; }

/* 布局 */
.news-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 36px 0 60px; align-items: start; }
.cat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 84px; }
.cat-box h4 { font-size: 14px; color: var(--ink-3); margin: 4px 8px 12px; font-weight: 600; }
.cat-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 9px; color: var(--ink-2); font-size: 15px; transition: background .15s, color .15s; cursor: pointer; }
.cat-item:hover { background: #f1f5f9; color: var(--primary); }
.cat-item.active { background: #eff6ff; color: var(--primary); font-weight: 700; }
.cat-item .cnt { font-size: 12px; color: var(--ink-3); background: #f1f5f9; border-radius: 999px; padding: 1px 9px; }
.cat-item.active .cnt { background: #dbeafe; }

/* 头条 */
.featured { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; margin-bottom: 22px; }
.featured .fc-cover { width: 240px; flex: 0 0 auto; height: 100%; min-height: 200px; object-fit: cover; display: block; background: #f1f5f9; }
.featured .fc-body { padding: 26px 28px; flex: 1; }
.featured .tag { display: inline-block; background: #eff6ff; color: var(--primary); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }
.featured h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; line-height: 1.4; }
.featured p { color: var(--ink-2); }
.featured .meta { color: var(--ink-3); font-size: 13px; margin-top: 14px; }

/* 列表 */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; overflow: hidden; transition: all .2s; display: block; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,23,42,.08); border-color: #dbeafe; }
.news-card .nc-cover { width: 100%; height: 180px; object-fit: cover; display: block; background: #f1f5f9; }
.news-card .nc-body { padding: 18px 20px; }
.news-card .nc-tag { display: inline-block; background: #eff6ff; color: var(--primary); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.news-card .nc-sum { color: var(--ink-2); font-size: 14px; }
.news-card .nc-meta { color: var(--ink-3); font-size: 12px; margin-top: 12px; }
.news-card.no-cover .nc-body { min-height: 150px; }

.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0 8px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .cur { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager .dis { opacity: .45; }

.search-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.search-bar input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; outline: none; }
.search-bar input:focus { border-color: var(--primary); }

/* 详情 */
.article-wrap { max-width: 1180px; margin: 0 auto; padding: 30px 0 60px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px 44px; }
.article-card .a-tag { display: inline-block; background: #eff6ff; color: var(--primary); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.article-card h1 { font-size: 30px; font-weight: 800; line-height: 1.45; margin-bottom: 14px; }
.article-card .a-meta { color: var(--ink-3); font-size: 13px; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.article { font-size: 16px; color: var(--ink); }
.article h2 { font-size: 22px; font-weight: 800; margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.article p { margin-bottom: 14px; color: var(--ink-2); }
.article ul, .article ol { margin: 0 0 16px 22px; color: var(--ink-2); }
.article li { margin-bottom: 7px; }
.article img { max-width: 100%; border-radius: 10px; margin: 10px 0; }
.a-cover-wrap { margin: 0 0 22px; border-radius: 12px; overflow: hidden; }
.a-cover { width: 100%; max-height: 440px; object-fit: cover; display: block; background: #f1f5f9; }
.article a { color: var(--primary); text-decoration: underline; }
.article .faq-q { font-weight: 700; color: var(--ink); margin-top: 16px; }
.article-cta { margin-top: 34px; padding: 22px; background: linear-gradient(135deg,#eff6ff,#f8fafc); border-radius: 12px; text-align: center; }
.article-cta a { margin: 0 8px; }

.related-box { margin-top: 30px; }
.related-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.related-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.related-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--ink); transition: all .15s; }
.related-list a:hover { border-color: var(--primary); color: var(--primary); }

/* 页脚 */
.site-footer { background: #0f172a; color: #94a3b8; padding: 42px 0 28px; margin-top: 30px; }
.site-footer .inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.site-footer .brand .logo { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,#3b82f6,#60a5fa); color:#fff; display:flex; align-items:center; justify-content:center; }
.site-footer a { color: #94a3b8; font-size: 14px; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .fb { border-top: 1px solid #1e293b; margin-top: 28px; padding-top: 18px; text-align: center; font-size: 12px; }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
  .cat-box { position: static; }
  .news-grid, .related-list { grid-template-columns: 1fr; }
  .featured { flex-direction: column; }
  .featured .fc-cover { width: 100%; height: 200px; }
  .site-nav .links { display: none; }
  .article-card { padding: 26px 20px; }
}
