/* ==========================================================
   重庆君于役科技有限公司 官网样式（多页面版）
   Theme: 医疗廉政蓝 · 浅色专业风
   页面: index / products / about / contact
   ========================================================== */

:root {
  --primary: #1a56a8;
  --primary-dark: #123d7a;
  --primary-light: #e8f0fb;
  --accent: #c8a45a;
  --red: #c0392b;
  --text: #2b3445;
  --text-light: #6b7689;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-dark: #12203a;
  --border: #e3e9f2;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 32, 58, .08);
  --shadow-hover: 0 12px 36px rgba(18, 32, 58, .16);
  --transition: all .3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 32px; border-radius: 8px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,86,168,.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 44px; font-size: 17px; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(18,32,58,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; display: block; }
.nav-menu { display: flex; gap: 6px; }
.nav-link {
  padding: 8px 18px; border-radius: 8px; color: var(--text);
  font-size: 15px; font-weight: 500; transition: var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: #fff; background: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ---------- 首页横幅 ---------- */
.hero {
  position: relative; padding: 180px 0 0; color: #fff;
  background: linear-gradient(120deg, #0f2a52 0%, #1a56a8 60%, #2f7ad4 100%);
  overflow: hidden;
}
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero-bg::before { width: 480px; height: 480px; top: -160px; right: -120px; }
.hero-bg::after { width: 320px; height: 320px; bottom: 40px; left: -100px; }
.hero-content { position: relative; text-align: center; padding-bottom: 90px; }
.hero-content h1 { font-size: 46px; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; }
.hero-sub { font-size: 18px; opacity: .88; margin-bottom: 40px; line-height: 1.9; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 28px 0; backdrop-filter: blur(6px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-item strong { display: block; font-size: 34px; font-weight: 700; color: var(--accent); }
.stat-item span { font-size: 14px; opacity: .85; }

/* ---------- 内页页头横幅 ---------- */
.page-hero {
  padding: 150px 0 70px; color: #fff; text-align: center;
  background: linear-gradient(120deg, #0f2a52 0%, #1a56a8 70%, #2f7ad4 100%);
}
.page-hero h1 { font-size: 38px; font-weight: 700; letter-spacing: 3px; margin-bottom: 12px; }
.page-hero p { font-size: 16px; opacity: .85; }

/* ---------- 通用 Section ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 34px; font-weight: 700; margin-bottom: 12px; position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 14px auto 0;
}
.section-head p { color: var(--text-light); font-size: 16px; margin-top: 10px; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* ---------- 产品卡片（首页速览） ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  position: relative; display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 0 26px; overflow: hidden;
  transition: var(--transition); color: var(--text);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.product-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 16px;
  background: linear-gradient(90deg, var(--accent), #b8934a); color: #fff;
  font-size: 13px; font-weight: 600; border-radius: 20px;
}
.product-thumb {
  height: 190px; overflow: hidden; background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-card h3 { font-size: 19px; margin: 22px 26px 10px; color: var(--text); }
.product-card h3 small { font-size: 14px; color: var(--text-light); font-weight: 400; }
.product-desc { color: var(--text-light); font-size: 14.5px; margin: 0 26px; min-height: 66px; }
.product-card .product-status { margin: 16px 26px 0; }
.product-status {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600;
}
.product-status.success { background: #e6f6ec; color: #1e8e4e; }

/* ---------- 产品锚点导航（产品中心页） ---------- */
.product-anchor-bar {
  position: sticky; top: 68px; z-index: 80;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.anchor-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px;
  scrollbar-width: none;
}
.anchor-scroll::-webkit-scrollbar { display: none; }
.anchor-scroll a {
  flex-shrink: 0; padding: 7px 18px; border-radius: 20px; font-size: 14px;
  color: var(--text); background: var(--bg-alt); border: 1px solid var(--border);
  transition: var(--transition); font-weight: 500;
}
.anchor-scroll a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 产品详情区块（产品中心页） ---------- */
.product-detail { scroll-margin-top: 130px; }
.pd-head { text-align: center; margin-bottom: 44px; }
.pd-head h2 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.pd-head h2 small { font-size: 17px; color: var(--text-light); font-weight: 400; }
.pd-sub { color: var(--text-light); font-size: 16px; }
.pd-badge {
  display: inline-block; margin-bottom: 14px; padding: 5px 18px; border-radius: 20px;
  background: linear-gradient(90deg, var(--accent), #b8934a); color: #fff;
  font-size: 13.5px; font-weight: 600;
}
.pd-badge.success { background: linear-gradient(90deg, #1e8e4e, #34b06a); }
.pd-body {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start;
}
.pd-body.reverse .pd-img { order: 2; }
.pd-img {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
}
.pd-img img { width: 100%; border-radius: 8px; cursor: zoom-in; }
.pd-img-note { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 10px; }
.pd-info h3 {
  font-size: 17px; color: var(--primary); margin: 22px 0 10px;
  padding-left: 12px; border-left: 4px solid var(--primary);
}
.pd-info h3:first-child { margin-top: 0; }
.pd-info p { font-size: 14.5px; color: var(--text-light); }
.pd-features li {
  position: relative; padding: 6px 0 6px 24px; font-size: 14.5px;
  border-bottom: 1px dashed var(--border);
}
.pd-features li:last-child { border-bottom: none; }
.pd-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pd-tags span {
  padding: 4px 14px; font-size: 12.5px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary); font-weight: 500;
}
.pd-gallery { margin-top: 32px; }
.pd-gallery figure {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
}
.pd-gallery img { width: 100%; border-radius: 8px; cursor: zoom-in; }
.pd-gallery figcaption { text-align: center; font-size: 14px; color: var(--text-light); margin-top: 10px; }

/* ---------- 价值卡片 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-grid-3 { grid-template-columns: repeat(3, 1fr); }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-light); text-align: left; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.about-text h2 { font-size: 28px; margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; color: var(--text-light); font-size: 15px; }
.about-text strong { color: var(--text); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact-item {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center;
}
.fact-item strong { display: block; font-size: 24px; color: var(--primary); margin-bottom: 6px; }
.fact-item span { font-size: 13px; color: var(--text-light); }

/* ---------- 时间线（发展动态） ---------- */
.timeline { max-width: 860px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--primary), var(--accent));
}
.timeline-item { position: relative; padding: 0 0 36px 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary);
}
.timeline-date {
  display: inline-block; padding: 3px 14px; margin-bottom: 8px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13.5px; font-weight: 700; border-radius: 16px;
}
.timeline-body h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-body p { font-size: 14px; color: var(--text-light); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; font-size: 24px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 14px; color: var(--text-light); font-weight: 500; }
.contact-item p { font-size: 16.5px; font-weight: 600; color: var(--text); }
.contact-item a:hover { color: var(--primary-dark); }
.contact-map { margin-top: 24px; }
.map-placeholder {
  height: 180px; border-radius: var(--radius); border: 1px dashed var(--border);
  background: var(--bg-alt); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--text-light);
}
.map-placeholder span { font-size: 16px; font-weight: 600; color: var(--text); }
.map-placeholder small { font-size: 12.5px; }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; color: var(--text); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 20px; margin-bottom: 6px; }
.form-desc { font-size: 13.5px; color: var(--text-light); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: 8px; font-size: 14.5px;
  font-family: inherit; transition: var(--transition); resize: vertical;
  background: #fff; color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,168,.12);
}
.form-tip { margin-top: 12px; font-size: 13.5px; color: #1e8e4e; text-align: center; min-height: 20px; }
.form-note { font-size: 12.5px; color: var(--text-light); text-align: center; margin-top: 4px; }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(120deg, #0f2a52 0%, #1a56a8 100%);
  color: #fff; padding: 70px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 30px; margin-bottom: 12px; }
.cta-inner p { opacity: .85; margin-bottom: 30px; font-size: 16px; }

/* ---------- 页脚 & 回顶 ---------- */
.footer { background: #0b1626; color: rgba(255,255,255,.6); padding: 26px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.6); }
.footer-links a:hover { color: #fff; }

/* ---------- 新闻中心 ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }
.news-item {
  display: flex; align-items: center; gap: 26px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 30px;
  transition: var(--transition);
}
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.news-date { flex-shrink: 0; text-align: center; width: 70px; }
.news-date strong { display: block; font-size: 30px; color: var(--primary); line-height: 1.1; }
.news-date span { font-size: 12.5px; color: var(--text-light); }
.news-body { flex: 1; }
.news-body h3 { font-size: 17px; margin-bottom: 6px; }
.news-body p { font-size: 14px; color: var(--text-light); }
.news-cat {
  flex-shrink: 0; padding: 4px 14px; font-size: 12.5px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary);
}

/* ---------- 案例展示 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.case-cover {
  height: 150px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 600; letter-spacing: 2px;
}
.cover-1 { background: linear-gradient(135deg, #1a56a8, #0e2f5e); }
.cover-2 { background: linear-gradient(135deg, #0e7a5f, #09503f); }
.cover-3 { background: linear-gradient(135deg, #b8860b, #7a5800); }
.case-body { padding: 24px 26px 28px; }
.case-body h3 { font-size: 17px; margin-bottom: 10px; }
.case-body p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span {
  padding: 3px 12px; font-size: 12.5px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary);
}

/* ---------- 合作单位 ---------- */
.partner-strip { margin-top: 56px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 38px; text-align: center; }
.partner-strip h3 { font-size: 19px; margin-bottom: 14px; color: var(--text); }
.partner-strip h3::after { content: ""; display: block; width: 40px; height: 3px; background: var(--primary); margin: 10px auto 0; border-radius: 2px; }
.partner-strip p { font-size: 14.5px; line-height: 2.1; color: var(--text-light); }

/* ---------- 中标业绩表 ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; -webkit-overflow-scrolling: touch;
}
.bid-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.bid-table th, .bid-table td {
  padding: 14px 18px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--border); vertical-align: middle;
}
.bid-table thead th { background: var(--primary); color: #fff; font-weight: 600; white-space: nowrap; }
.bid-table tbody tr { transition: var(--transition); }
.bid-table tbody tr:hover { background: var(--primary-light); }
.bid-table tbody tr:last-child td { border-bottom: none; }
.bid-table td:first-child { font-weight: 600; color: var(--text); }
.bid-table .bid-amount { color: var(--primary); font-weight: 700; white-space: nowrap; }
.bid-table .bid-na { color: var(--text-light); white-space: nowrap; font-size: 13px; }

/* ---------- 企业资质 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.qual-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: var(--transition);
}
.qual-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.qual-icon { font-size: 34px; margin-bottom: 12px; }
.qual-card h4 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.qual-card p { font-size: 12.5px; color: var(--text-light); line-height: 1.6; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 960px) { .qual-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .qual-grid { grid-template-columns: 1fr; } }

/* ---------- 全线产品体系 / 更多产品 ---------- */
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.more-item {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 18px 20px; transition: var(--transition);
}
.more-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.more-item h4 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.more-item p { font-size: 12.5px; color: var(--text-light); line-height: 1.6; }

/* ---------- 软件著作权 ---------- */
.cr-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cr-list span {
  padding: 9px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; font-size: 14px; color: var(--text); transition: var(--transition);
}
.cr-list span:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
.cr-note { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 18px; }
.back-top {
  position: fixed; right: 28px; bottom: 28px; width: 46px; height: 46px;
  border-radius: 50%; border: none; background: var(--primary); color: #fff;
  font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none;
  transition: var(--transition); box-shadow: var(--shadow); z-index: 90;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- 图片灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10, 18, 34, .88); align-items: center; justify-content: center;
  padding: 30px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 90vh; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* ---------- 入场动画 ---------- */
.product-card, .value-card, .timeline-item, .pd-body, .pd-gallery, .about-grid, .contact-grid, .news-item, .case-card, .more-item, .news-card { opacity: 0; transform: translateY(30px); }
.fade-in { opacity: 1 !important; transform: translateY(0) !important; transition: opacity .6s ease, transform .6s ease; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .product-grid, .value-grid, .value-grid-3, .case-grid, .more-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .about-grid, .pd-body { grid-template-columns: 1fr; }
  .pd-body.reverse .pd-img { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-content h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 18px; }
  .product-grid, .value-grid, .value-grid-3, .about-facts, .case-grid, .more-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-content h1 { font-size: 27px; }
  .hero-sub { font-size: 15px; }
  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: 28px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .pd-head h2 { font-size: 24px; }
  .product-anchor-bar { top: 68px; }
}

/* ---------- 新闻中心 / 文章页 ---------- */
.news-item { text-decoration: none; color: inherit; }
.news-item .news-cat { flex: 0 0 auto; }
.news-more { text-align: center; margin-top: 30px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(20,60,120,.12); }
.news-card .nc-cat {
  align-self: flex-start; margin: 18px 18px 0; padding: 3px 12px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 999px; font-size: 12.5px;
}
.news-card .nc-date { margin: 12px 18px 0; color: var(--text-light); font-size: 13px; }
.news-card h3 { margin: 8px 18px 8px; font-size: 18px; line-height: 1.45; }
.news-card p { margin: 0 18px 14px; color: var(--text-light); font-size: 14px; line-height: 1.65; }
.news-card .nc-more { margin: auto 18px 20px; color: var(--primary); font-size: 14px; font-weight: 600; }

.article-wrap { max-width: 840px; margin: 0 auto; }
.article {
  background: #fff; border-radius: 16px; padding: 36px 40px;
  box-shadow: 0 8px 28px rgba(20,60,120,.06);
}
.article-cover { width: 100%; border-radius: 12px; margin-bottom: 22px; }
.article-body { font-size: 16px; line-height: 1.95; color: var(--text); }
.article-body h2 { font-size: 23px; margin: 30px 0 12px; }
.article-body h3 { font-size: 19px; margin: 24px 0 10px; }
.article-body h4 { font-size: 16.5px; margin: 20px 0 8px; }
.article-body p { margin: 14px 0; }
.article-body ul, .article-body ol { margin: 14px 0; padding-left: 26px; }
.article-body li { margin: 7px 0; }
.article-body img { max-width: 100%; border-radius: 10px; margin: 18px 0; }
.article-body blockquote {
  border-left: 4px solid var(--primary); background: var(--primary-light);
  margin: 18px 0; padding: 14px 18px; border-radius: 0 8px 8px 0; color: #33485f;
}
.article-body code { background: #eef2f7; padding: 2px 6px; border-radius: 5px; font-size: 14px; }
.article-body pre { background: #0f1b2d; color: #e6f0ff; padding: 16px 18px; border-radius: 10px; overflow: auto; }
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-foot { margin-top: 32px; }

@media (max-width: 760px) {
  .news-grid { grid-template-columns: 1fr; }
  .article { padding: 22px 18px; }
}
