/* 融科睿信资讯中心 —— 与官网一致的简洁高端风 */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eef4ff;
  --ink: #0a0f1e;
  --text-main: #10162a;
  --text-sub: #5b6472;
  --text-light: #9aa1ad;
  --bg-page: #ffffff;
  --bg-soft: #f7f9fc;
  --border: #eceef2;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(16, 22, 42, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* 顶部导航 */
.news-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.news-header .container {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.news-brand { display: flex; align-items: center; gap: 10px; }
.news-brand img { height: 34px; display: block; }
.news-brand strong { font-size: 17px; letter-spacing: 0.5px; }
.news-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.news-nav a { color: var(--text-sub); transition: color 0.2s; }
.news-nav a:hover, .news-nav a.active { color: var(--text-main); }
.news-nav .nav-cta {
  padding: 9px 22px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 14px;
}
.news-nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }

/* 页面主体 */
.news-main { padding: 56px 0 96px; }
.news-page-head { margin-bottom: 40px; }
.news-page-head h1 { font-size: 32px; font-weight: 700; letter-spacing: 0.5px; }
.news-page-head p { margin-top: 8px; color: var(--text-sub); font-size: 15px; }

/* 分类筛选 */
.news-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px 16px;
  align-items: flex-start; justify-content: space-between; margin-bottom: 36px;
}
.news-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.news-search {
  display: flex; align-items: center; flex: 0 0 auto;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; padding: 2px 4px 2px 14px;
}
.news-search:focus-within { border-color: var(--primary); }
.news-search input {
  border: none; outline: none; background: transparent;
  font-size: 13px; width: 150px; color: var(--ink);
}
.news-search button {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: none; border-radius: 50%;
  background: var(--primary); color: #fff; cursor: pointer;
}
.news-search button:hover { opacity: 0.88; }
.news-cats a {
  padding: 7px 20px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--border); color: var(--text-sub); transition: all 0.2s;
}
.news-cats a:hover { border-color: var(--primary); color: var(--primary); }
.news-cats a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

/* 文章卡片 */
.article-item {
  display: flex; gap: 28px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.article-item:first-child { padding-top: 0; }
.article-cover {
  flex: 0 0 220px; height: 132px; border-radius: 12px;
  overflow: hidden; background: var(--bg-soft);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-info { flex: 1; min-width: 0; }
.article-info h2 { font-size: 19px; font-weight: 600; line-height: 1.5; }
.article-info h2 a:hover { color: var(--primary); }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin: 8px 0 10px; font-size: 13px; color: var(--text-light);
}
.article-meta .cat { color: var(--primary); }
.article-summary {
  color: var(--text-sub); font-size: 14px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags span {
  font-size: 12px; padding: 3px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-sub);
}

/* 分页 */
.news-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.news-pager a, .news-pager span {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; border: 1px solid var(--border);
  color: var(--text-sub); transition: all 0.2s;
}
.news-pager a:hover { border-color: var(--primary); color: var(--primary); }
.news-pager .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 侧栏 */
.news-aside { position: sticky; top: 96px; }
.aside-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px;
}
.aside-box h3 {
  font-size: 16px; font-weight: 600; margin-bottom: 16px;
  padding-left: 12px; border-left: 3px solid var(--primary); line-height: 1.3;
}
.aside-box ul { list-style: none; }
.aside-box li { padding: 7px 0; font-size: 14px; line-height: 1.6; }
.aside-box li a {
  color: var(--text-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.aside-box li a:hover { color: var(--primary); }
.aside-cta { background: var(--ink); border: none; color: #fff; text-align: center; }
.aside-cta p { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin: 6px 0 18px; }
.aside-cta strong { font-size: 17px; }
.aside-cta a {
  display: inline-block; padding: 11px 30px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 14px;
}
.aside-cta a:hover { background: var(--primary-dark); }

/* 详情页 */
.detail-breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }
.detail-breadcrumb a:hover { color: var(--primary); }
.article-detail h1 { font-size: 30px; font-weight: 700; line-height: 1.45; }
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-light);
}
.detail-body { font-size: 16px; color: #2a3040; line-height: 1.9; word-break: break-word; }
.detail-body p { margin: 0 0 1.1em; }
.detail-body h2 { font-size: 22px; margin: 1.6em 0 0.7em; }
.detail-body h3 { font-size: 18px; margin: 1.4em 0 0.6em; }
.detail-body img { border-radius: 12px; margin: 12px 0; }
.detail-body ul, .detail-body ol { padding-left: 1.6em; margin-bottom: 1.1em; }
.detail-body blockquote {
  border-left: 3px solid var(--primary); background: var(--bg-soft);
  padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 0 0 1.1em;
  color: var(--text-sub);
}
.detail-body table { border-collapse: collapse; width: 100%; margin-bottom: 1.1em; }
.detail-body th, .detail-body td { border: 1px solid var(--border); padding: 10px 14px; font-size: 14px; }
.detail-body th { background: var(--bg-soft); }
.detail-nav {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-sub);
}
.detail-nav a:hover { color: var(--primary); }

/* 页脚 */
.news-footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 40px 0; }
.news-footer .container {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between; font-size: 13px;
}
.news-footer a { color: rgba(255, 255, 255, 0.78); }
.news-footer a:hover { color: #fff; }

/* 空状态 */
.news-empty { padding: 80px 0; text-align: center; color: var(--text-light); }

@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-aside { position: static; }
  .article-cover { flex-basis: 132px; height: 88px; }
  .article-info h2 { font-size: 16px; }
  .news-page-head h1 { font-size: 24px; }
  .article-detail h1 { font-size: 22px; }
  .news-nav { gap: 16px; }
  .news-nav .nav-link-hide-m { display: none; }
}
