/* ========================================
   design_slate - 板岩灰 · 仪表盘商务
   首页: L2 仪表盘式 | 列表: L2 双列对比 | 详情: D1 阅读进度
   ======================================== */

:root {
  --primary: #9f1239;
  --secondary: #e11d48;
  --accent: #f43f5e;
  --bg: #fff1f2;
  --text: #4c0519;
  --text-light: #9f1239;
  --border: #e2e8f0;
  --radius: 6px;
  --transition: 0.3s ease;
  --container: 1200px;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ========== Header ========== */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { flex-shrink: 0; }
.brand-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.3px; }
.brand-tagline { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 12px; }
.nav-list { display: flex; gap: 2px; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--radius); transition: all var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { background: var(--primary); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); }

/* ========== Hero Carousel (纯CSS轮播) ========== */
.hero-carousel { position: relative; overflow: hidden; height: 420px; }
.hero-slides { display: flex; width: 300%; height: 100%; animation: heroSlide 12s infinite; }
.hero-slide { width: 33.333%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 0 24px; }
.hero-slide.s1 { background: linear-gradient(135deg, #1e293b 0%, #475569 100%); }
.hero-slide.s2 { background: linear-gradient(135deg, #334155 0%, #64748b 100%); }
.hero-slide.s3 { background: linear-gradient(135deg, #0f172a 0%, #334155 100%); }
.hero-slide-inner { max-width: 700px; }
.hero-slide-inner h1 { font-size: clamp(28px,5vw,48px); font-weight: 900; margin-bottom: 12px; line-height: 1.2; }
.hero-slide-inner p { font-size: 18px; opacity: 0.9; margin-bottom: 24px; }
.hero-slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@keyframes heroSlide { 0%,28%{transform:translateX(0)} 33%,61%{transform:translateX(-33.333%)} 66%,95%{transform:translateX(-66.666%)} 100%{transform:translateX(0)} }
@media(max-width:768px){ .hero-carousel{height:340px} .hero-slide-inner h1{font-size:24px} .hero-slide-inner p{font-size:14px} }

/* ========== Stats Bar ========== */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats-item { display: flex; flex-direction: column; gap: 4px; }
.stats-num { font-size: 28px; font-weight: 800; color: var(--primary); }
.stats-label { font-size: 13px; color: var(--text-light); }

/* ========== Section Common ========== */
.section-white { padding: 64px 0; background: #fff; }
.section-gray { padding: 64px 0; background: var(--bg); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.section-head p { color: var(--text-light); font-size: 15px; }

/* ========== Services Grid ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: all var(--transition); }
.service-card:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.svc-icon { width: 44px; height: 44px; background: var(--accent); color: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card:hover .svc-icon { background: rgba(255,255,255,0.25); }
.svc-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.service-card:hover .svc-info h3 { color: #fff; }
.svc-info p { font-size: 12px; color: var(--text-light); line-height: 1.4; }
.service-card:hover .svc-info p { color: rgba(255,255,255,0.8); }

/* ========== Advantages ========== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all var(--transition); }
.adv-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.adv-card-icon { display: flex; justify-content: center; margin-bottom: 12px; color: var(--accent); }
.adv-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.adv-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ========== News Grid ========== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { display: block; padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: all var(--transition); }
.news-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.news-card h3 { font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; }
.news-cat { font-size: 11px; color: var(--accent); background: rgba(59,130,246,0.08); padding: 2px 8px; border-radius: 10px; }
.news-date { font-size: 12px; color: var(--text-light); }

/* ========== CTA ========== */
.cta-section { padding: 64px 0; background: var(--primary); color: #fff; text-align: center; }
.cta-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.cta-section p { opacity: 0.9; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: #fff; color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--accent); color: #fff; }
.cta-section .btn-outline { color: #fff; border-color: #fff; }
.cta-section .btn-outline:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

@media(max-width:768px){ .services-grid,.adv-grid,.news-grid,.stats-grid{grid-template-columns: repeat(2,1fr)} }
@media(max-width:480px){ .services-grid,.adv-grid,.news-grid,.stats-grid{grid-template-columns: 1fr} }

/* ========== Buttons ========== */
.btn { display: inline-block; padding: 10px 20px; font-size: 14px; font-weight: 600; border-radius: var(--radius); transition: all var(--transition); cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ========== Section ========== */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-head h2 { font-size: 22px; font-weight: 800; color: var(--text); }
.section-head h2 small { color: var(--text-light); font-size: 13px; font-weight: 400; margin-left: 8px; }
.section-head a { font-size: 13px; color: var(--accent); }

/* ========== CTA ========== */
.section-cta { background: var(--primary); color: #fff; }
.cta-box { max-width: 720px; margin: 0 auto; text-align: center; padding: 48px 24px; }
.cta-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.cta-desc { font-size: 16px; margin-bottom: 24px; opacity: 0.9; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.section-cta .btn-primary { background: var(--accent); }
.section-cta .btn-outline { color: #fff; border-color: #fff; }
.section-cta .btn-outline:hover { background: #fff; color: var(--primary); }

/* ========== Footer ========== */
.site-footer { background: #0f172a; color: #cbd5e1; margin-top: 80px; }
.footer-top { padding: 48px 0 32px; }
.footer-grid { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col { font-size: 13px; }
.footer-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-desc { color: #94a3b8; line-height: 1.6; margin-bottom: 12px; }
.footer-contact-item { color: #cbd5e1; margin-bottom: 4px; font-size: 13px; }
.footer-contact-item strong { color: var(--accent); margin-right: 4px; }
.footer-links li { margin-bottom: 6px; }
.footer-link { color: #cbd5e1; font-size: 13px; transition: color var(--transition); }
.footer-link:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #1e293b; padding: 16px 0; }
.footer-bottom-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #94a3b8; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--accent); }

/* ========== Breadcrumb ========== */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; }
.breadcrumb-link { color: var(--text-light); font-size: 13px; }
.breadcrumb-link:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-light); margin: 0 6px; }
.breadcrumb-current { color: var(--text); font-size: 13px; font-weight: 500; }

/* ========== L2 双列对比式 列表 ========== */
.list-layout-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0 64px; }
.list-col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.list-col-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.list-col-head h2 { font-size: 18px; font-weight: 700; color: var(--text); }
.list-col-head .col-tag { font-size: 11px; color: var(--accent); background: rgba(59, 130, 246, 0.08); padding: 2px 10px; border-radius: 12px; }
.list-col-items { display: flex; flex-direction: column; }
.list-col-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.list-col-item:last-child { border-bottom: none; }
.list-col-num { font-size: 14px; font-weight: 700; color: var(--accent); min-width: 22px; font-feature-settings: 'tnum'; }
.list-col-link { font-size: 14px; color: var(--text); line-height: 1.5; }
.list-col-link:hover { color: var(--accent); }
.list-col-meta { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ========== 详情页 D1 阅读进度 ========== */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 1000; width: 0; transition: width 0.1s ease; }
.article-progress { background: #fff; padding: 56px 0 32px; text-align: center; border-bottom: 1px solid var(--border); }
.article-progress-cat { font-size: 12px; color: var(--accent); letter-spacing: 2px; font-weight: 600; margin-bottom: 12px; }
.article-progress h1 { font-size: 36px; font-weight: 800; line-height: 1.3; max-width: 800px; margin: 0 auto 16px; letter-spacing: -0.3px; }
.article-progress-meta { font-size: 13px; color: var(--text-light); }
.article-progress-meta span { margin: 0 8px; }
.article-progress-body { padding: 56px 0; }
.article-progress-content { max-width: 720px; margin: 0 auto; }
.article-progress-content p { font-size: 16px; line-height: 1.85; margin-bottom: 20px; color: var(--text); }
.article-progress-content h2 { font-size: 24px; font-weight: 800; margin: 32px 0 16px; color: var(--text); }
.article-progress-content h3 { font-size: 19px; font-weight: 700; margin: 24px 0 12px; }
.article-progress-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.article-progress-tag { display: inline-block; padding: 4px 12px; background: var(--bg); color: var(--accent); font-size: 13px; border-radius: 14px; margin: 0 4px 8px; }
.article-progress-tag:hover { background: var(--accent); color: #fff; }
.article-progress-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.article-progress-nav-link { display: block; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.article-progress-nav-link:hover { border-color: var(--accent); }
.article-progress-nav-label { font-size: 12px; color: var(--text-light); display: block; margin-bottom: 4px; }
.article-progress-nav-title { font-size: 14px; font-weight: 600; }

/* ========== 相关资讯（横向滚动） ========== */
.related-scroll { background: #fff; padding: 40px 0; border-top: 1px solid var(--border); }
.related-scroll-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.related-scroll-head h2 { font-size: 20px; font-weight: 800; }
.related-scroll-track { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.related-scroll-track::-webkit-scrollbar { height: 6px; }
.related-scroll-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.related-scroll-card { flex: 0 0 280px; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.related-scroll-card:hover { border-color: var(--accent); }
.related-scroll-card-title { font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; color: var(--text); }
.related-scroll-card-date { font-size: 12px; color: var(--text-light); }

/* ========== CTA 底部 ========== */
.section-bottom-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #fff; padding: 48px 0; text-align: center; }
.section-bottom-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.section-bottom-cta p { opacity: 0.9; margin-bottom: 20px; }

/* ========== Page ========== */
.section-page { padding: 40px 0 64px; }
.page-title { font-size: 32px; font-weight: 800; margin-bottom: 24px; }
.page-desc { color: var(--text-light); margin-bottom: 32px; }
.page-content { max-width: 800px; margin: 0 auto; }
.page-body { font-size: 15px; line-height: 1.8; }
.page-body p { margin-bottom: 14px; }
.page-body h2 { font-size: 22px; font-weight: 700; margin: 24px 0 12px; }
.page-body h3 { font-size: 18px; font-weight: 600; margin: 20px 0 8px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-info-icon { font-size: 32px; margin-bottom: 8px; }
.contact-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-info-card p { color: var(--text-light); font-size: 14px; }
.contact-info-card a { color: var(--accent); font-weight: 500; }

/* ========== Search ========== */
.search-form { display: flex; gap: 8px; max-width: 600px; margin: 0 auto 24px; }
.search-input { flex: 1; padding: 12px 16px; font-size: 15px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; outline: none; }
.search-input:focus { border-color: var(--accent); }
.search-result-meta { text-align: center; margin-bottom: 24px; color: var(--text-light); }
.search-result-meta strong { color: var(--accent); }
.search-results { display: flex; flex-direction: column; gap: 12px; }
.search-result-item { display: block; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.search-result-item:hover { border-color: var(--accent); }
.search-result-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.search-result-excerpt { color: var(--text-light); font-size: 13px; line-height: 1.6; margin-bottom: 6px; }
.search-result-date { font-size: 12px; color: var(--text-light); }
.search-hot { margin-top: 32px; background: #fff; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }

/* ========== Sitemap ========== */
.sitemap-section { margin-bottom: 32px; }
.sitemap-h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; padding-left: 10px; border-left: 3px solid var(--accent); }
.sitemap-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sitemap-list.sitemap-articles { grid-template-columns: repeat(3, 1fr); }
.sitemap-cat-link, .sitemap-article-link { color: var(--text); font-size: 13px; }
.sitemap-cat-link:hover, .sitemap-article-link:hover { color: var(--accent); }

/* ========== 通用 list（保留） ========== */
.list-main { min-width: 0; }
.list-header { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.list-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.list-desc { color: var(--text-light); font-size: 14px; }

.list-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; }
.list-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-block { background: #fff; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.hot-list { display: flex; flex-direction: column; gap: 10px; }
.hot-item { display: flex; gap: 10px; align-items: flex-start; }
.hot-num { font-size: 14px; font-weight: 700; color: var(--accent); min-width: 20px; font-feature-settings: 'tnum'; }
.hot-link { color: var(--text); font-size: 13px; line-height: 1.5; }
.hot-link:hover { color: var(--accent); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-block; padding: 3px 10px; background: var(--bg); color: var(--text); font-size: 12px; border-radius: 12px; border: 1px solid var(--border); }
.tag-pill:hover, .tag-pill.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.sidebar-cta { text-align: center; }
.sidebar-cta p { color: var(--text-light); font-size: 13px; margin-bottom: 12px; }

.article-rows { display: flex; flex-direction: column; }
.article-row { border-bottom: 1px solid var(--border); }
.article-row-link { display: flex; gap: 16px; padding: 20px 0; color: var(--text); align-items: stretch; }
.article-row-link:hover .article-row-title { color: var(--accent); }
.article-row-cover { flex: 0 0 33.333%; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 120px; }
.article-row-icon { font-size: 36px; }
.article-row-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.article-row-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; transition: color var(--transition); }
.article-row-excerpt { color: var(--text-light); font-size: 13px; line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); }
.article-row-cat { background: rgba(59, 130, 246, 0.08); color: var(--accent); padding: 2px 8px; border-radius: 10px; font-weight: 500; }

.empty-state { padding: 60px 0; text-align: center; color: var(--text-light); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination-link { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 13px; }
.pagination-link:hover, .pagination-link.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.detail-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.detail-bottom-block { background: #fff; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }

/* ========== Back to top ========== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 18px; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3); cursor: pointer; z-index: 99; }
.back-to-top:hover { background: var(--accent); }
.back-to-top.is-visible { display: flex; }

/* ========== Responsive 992/768/576 ========== */
@media (max-width: 992px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav-list { flex-direction: column; width: 100%; display: none; gap: 0; padding: 12px 0 0; }
  .nav-list.is-open { display: flex; }
  .nav-link { padding: 10px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-toggle { display: flex; align-self: flex-end; margin-top: -36px; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard-main { grid-template-columns: 1fr; }
  .list-layout-2col { grid-template-columns: 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .list-sidebar { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-3x3 { grid-template-columns: repeat(2, 1fr); }
  .advantages-dash { grid-template-columns: repeat(2, 1fr); }
  .article-row-table { grid-template-columns: 40px 1fr 80px; gap: 8px; }
  .article-row-table-cat, .article-row-table-views { display: none; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .sitemap-list { grid-template-columns: repeat(2, 1fr); }
  .detail-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .article-row-link { flex-direction: column; gap: 8px; }
  .article-row-cover { flex: 0 0 auto; min-height: 100px; width: 100%; }
  .article-progress-nav { grid-template-columns: 1fr; }
  .article-progress h1 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .services-grid-3x3 { grid-template-columns: 1fr; }
  .advantages-dash { grid-template-columns: 1fr; }
  .list-title { font-size: 20px; }
  .article-progress h1 { font-size: 22px; }
  .back-to-top { width: 40px; height: 40px; font-size: 16px; bottom: 16px; right: 16px; }
}


/* ===========================================
   全局通用样式（每套都用 CSS 变量，自动适配色板）
   追加到每套 style.css 末尾
   =========================================== */

/* ========== 面包屑 ========== */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; }
.breadcrumb-link { color: var(--text-light); font-size: 13px; transition: color var(--transition); }
.breadcrumb-link:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-light); margin: 0 6px; font-size: 13px; }
.breadcrumb-current { color: var(--text); font-size: 13px; font-weight: 500; }

/* ========== 按钮（全局） ========== */
.btn { display: inline-block; padding: 12px 28px; font-size: 14px; font-weight: 600; border-radius: var(--radius, 4px); transition: all var(--transition, 0.3s ease); cursor: pointer; border: 1px solid transparent; text-align: center; line-height: 1.5; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { display: block; width: 100%; }

/* ========== Section / Page 通用 ========== */
.section { padding: 64px 0; }
.section-page { padding: 40px 0 64px; min-height: 60vh; }
.page-title { font-size: 30px; font-weight: 800; margin-bottom: 16px; color: var(--text); letter-spacing: -0.3px; }
.page-desc { color: var(--text-light); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.page-layout { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-content { max-width: 800px; margin: 0 auto; }
.page-body { font-size: 15px; line-height: 1.85; color: var(--text); }
.page-body p { margin-bottom: 16px; }
.page-body h2 { font-size: 22px; font-weight: 800; margin: 28px 0 14px; color: var(--text); }
.page-body h3 { font-size: 18px; font-weight: 700; margin: 20px 0 10px; color: var(--text); }
.page-body ul, .page-body ol { margin: 0 0 16px 24px; list-style: disc; }
.page-body ol { list-style: decimal; }
.page-body li { margin-bottom: 6px; }
.page-body a { color: var(--primary); text-decoration: underline; }
.page-body a:hover { color: var(--accent); }

/* ========== 导航项（nav-item） ========== */
.nav-item { display: block; }
.nav-link { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--radius, 4px); transition: all var(--transition, 0.3s ease); white-space: nowrap; text-decoration: none; }
.nav-link:hover, .nav-link.is-active { background: var(--primary); color: #fff; }

/* ========== Footer 通用类 ========== */
.footer-col { font-size: 13px; }
.footer-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-desc { line-height: 1.6; margin-bottom: 12px; }
.footer-contact-item { margin-bottom: 4px; font-size: 13px; }
.footer-contact-item strong { color: var(--accent); margin-right: 4px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-link { font-size: 13px; text-decoration: none; transition: color var(--transition, 0.3s ease); }
.footer-link:hover { color: var(--accent); }

/* ========== 分页 ========== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination-link { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--radius, 4px); color: var(--text); font-size: 13px; text-decoration: none; transition: all var(--transition, 0.3s ease); min-width: 36px; text-align: center; }
.pagination-link:hover { border-color: var(--primary); color: var(--primary); }
.pagination-link.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== Sitemap 通用 ========== */
.sitemap-section { margin-bottom: 32px; }
.sitemap-h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--primary); color: var(--text); }
.sitemap-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; }
.sitemap-list.sitemap-articles { grid-template-columns: repeat(3, 1fr); }
.sitemap-cat { display: inline-block; }
.sitemap-cat-link { color: var(--text); font-size: 13px; text-decoration: none; transition: color var(--transition, 0.3s ease); }
.sitemap-cat-link:hover { color: var(--primary); }
.sitemap-article { display: inline-block; }
.sitemap-article-link { color: var(--text); font-size: 13px; text-decoration: none; transition: color var(--transition, 0.3s ease); }
.sitemap-article-link:hover { color: var(--primary); }

/* ========== 标签云 ========== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-block; padding: 4px 12px; background: var(--bg); color: var(--text); font-size: 12px; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; transition: all var(--transition, 0.3s ease); }
.tag-pill:hover, .tag-pill.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== 热门文章（Hot List） ========== */
.hot-list { display: flex; flex-direction: column; gap: 10px; }
.hot-item { display: flex; gap: 10px; align-items: flex-start; }
.hot-num { font-size: 14px; font-weight: 700; color: var(--primary); min-width: 20px; flex-shrink: 0; }
.hot-link { color: var(--text); font-size: 13px; line-height: 1.5; text-decoration: none; transition: color var(--transition, 0.3s ease); }
.hot-link:hover { color: var(--primary); }

/* ========== 联系信息卡 ========== */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.contact-info-card { background: #fff; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius, 4px); text-align: center; }
.contact-info-icon { font-size: 32px; margin-bottom: 8px; line-height: 1; }
.contact-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.contact-info-card a { color: var(--primary); text-decoration: none; }
.contact-info-card a:hover { color: var(--accent); }
.contact-info-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ========== 文章列表行（article-row-*） ========== */
.article-rows { display: flex; flex-direction: column; }
.article-row { border-bottom: 1px solid var(--border); }
.article-row:last-child { border-bottom: none; }
.article-row-link { display: flex; gap: 20px; padding: 20px 0; color: var(--text); text-decoration: none; transition: background var(--transition, 0.3s ease); }
.article-row-link:hover { background: var(--bg); }
.article-row-link:hover .article-row-title { color: var(--primary); }
.article-row-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.article-row-title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: var(--text); transition: color var(--transition, 0.3s ease); }
.article-row-excerpt { color: var(--text-light); font-size: 13px; line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); flex-wrap: wrap; align-items: center; }
.article-row-date { font-size: 12px; color: var(--text-light); }
.article-row-views { font-size: 12px; color: var(--text-light); }

/* ========== 响应式（全局） ========== */
@media (max-width: 992px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .sitemap-list { grid-template-columns: repeat(2, 1fr); }
  .sitemap-list.sitemap-articles { grid-template-columns: repeat(2, 1fr); }
  .article-row-link { gap: 16px; }
  .section { padding: 48px 0; }
}
@media (max-width: 768px) {
  .sitemap-list, .sitemap-list.sitemap-articles { grid-template-columns: 1fr; }
  .article-row-link { flex-direction: column; gap: 12px; }
  .page-title { font-size: 24px; }
  .section-page { padding: 32px 0 48px; }
}
@media (max-width: 576px) {
  .page-layout, .container { padding: 0 16px; }
  .pagination-link { padding: 6px 10px; font-size: 12px; min-width: 32px; }
}

/* ===========================================
   全局补充样式：补全 86-100 缺失的 8 个共用类
   追加到每套 style.css 末尾
   =========================================== */

/* 备案号 */
.beian { font-size: 12px; }
.beian a { color: inherit; text-decoration: none; }
.beian a:hover { color: var(--accent); }

/* 版权 */
.copyright { font-size: 12px; margin: 0; }

/* site-main（主区） */
.site-main { display: block; min-height: 60vh; }

/* site-brand（品牌） */
.site-brand { display: flex; align-items: center; }
.site-brand .brand-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }

/* footer-about（关于列） */
.footer-about { font-size: 13px; }

/* search-result-excerpt */
.search-result-excerpt { color: var(--text-light); font-size: 13px; line-height: 1.5; margin: 0; }

/* article-text（详情页正文容器） */
.article-text { font-size: 16px; line-height: 1.85; color: var(--text); }
.article-text p { margin-bottom: 16px; }
.article-text h2 { font-size: 22px; font-weight: 800; margin: 28px 0 14px; }
.article-text h3 { font-size: 18px; font-weight: 700; margin: 20px 0 10px; }
.article-text img { max-width: 100%; height: auto; border-radius: var(--radius, 4px); margin: 20px 0; }
.article-text a { color: var(--primary); text-decoration: underline; }
.article-text a:hover { color: var(--accent); }
.article-text blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; margin: 20px 0; background: var(--bg); color: var(--text); font-style: italic; }
.article-text code { background: var(--bg); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }
.article-text pre { background: var(--text); color: #fff; padding: 16px; border-radius: var(--radius, 4px); overflow-x: auto; margin: 20px 0; }
.article-text ul, .article-text ol { margin: 0 0 16px 24px; }
.article-text ul { list-style: disc; }
.article-text ol { list-style: decimal; }

/* ========== 带前缀的子组件别名（继承全局类） ========== */
.-article-row-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; flex: 1; }
.-article-row-date { font-size: 12px; color: var(--text-light); }
.-article-row-views { font-size: 12px; color: var(--text-light); }
.-nav-item { display: block; }
.-brand { display: flex; align-items: center; }
.-brand .brand-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.-main { display: block; min-height: 60vh; }
.-copyright { font-size: 12px; margin: 0; }
.-beian { font-size: 12px; }
.-beian a { color: inherit; text-decoration: none; }
.-beian a:hover { color: var(--accent); }
.-footer-about { font-size: 13px; }

/* ========== 内容区样式补丁 (auto-added) ========== */

/* 段落间距 */
.article-content p,
.article-text p,
.article-body p,
.detail-body p,
.article-detail .content p,
.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* 标题样式 */
.article-content h2,
.article-text h2,
.article-body h2,
.detail-body h2,
.article-detail .content h2,
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 14px;
  line-height: 1.4;
}

.article-content h3,
.article-text h3,
.article-body h3,
.detail-body h3,
.article-detail .content h3,
.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  line-height: 1.4;
}

/* 列表样式 */
.article-content ul,
.article-text ul,
.article-body ul,
.detail-body ul,
.article-detail .content ul,
.page-content ul {
  list-style: disc;
  margin: 0 0 16px 24px;
}

.article-content ol,
.article-text ol,
.article-body ol,
.detail-body ol,
.article-detail .content ol,
.page-content ol {
  list-style: decimal;
  margin: 0 0 16px 24px;
}

.article-content li,
.article-text li,
.article-body li,
.detail-body li,
.article-detail .content li,
.page-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* 图片样式 */
.article-content img,
.article-text img,
.article-body img,
.detail-body img,
.article-detail .content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}

/* 引用块 */
.article-content blockquote,
.article-text blockquote,
.article-body blockquote,
.detail-body blockquote,
.article-detail .content blockquote,
.page-content blockquote {
  border-left: 4px solid var(--primary, #2563eb);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--bg, #f9fafb);
  font-style: italic;
}

/* 代码块 */
.article-content code,
.article-text code,
.article-body code,
.detail-body code,
.article-detail .content code,
.page-content code {
  background: var(--bg, #f3f4f6);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.article-content pre,
.article-text pre,
.article-body pre,
.detail-body pre,
.article-detail .content pre,
.page-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 16px 0;
}

/* 表格样式 */
.article-content table,
.article-text table,
.article-body table,
.detail-body table,
.article-detail .content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-content th,
.article-text th,
.article-body th,
.detail-body th,
.article-detail .content th,
.page-content th {
  background: var(--bg, #f3f4f6);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--border, #e5e7eb);
}

.article-content td,
.article-text td,
.article-body td,
.detail-body td,
.article-detail .content td,
.page-content td {
  padding: 10px 12px;
  border: 1px solid var(--border, #e5e7eb);
}

/* ========== 品牌标语防溢出 ========== */
.brand-tagline,
[class*="brand-tagline"] {
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  color: var(--text-light, #6b7280);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .brand-tagline,
  [class*="brand-tagline"] {
    max-width: 200px;
    font-size: 11px;
  }
}



/* 一级栏目 - 醒目样式 */
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  background: #f9fafb;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 18px;
}

/* 二级栏目 - 三列网格 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 8px;
  padding: 8px 10px;
  margin: 0 0 8px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  background: #eff6ff;
}

/* 响应式：小屏幕改为两列 */
@media (max-width: 992px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sidebar-cats > li > ul,
  .sidebar-cats > li > .sidebar-subcats,
  .side-nav > li > ul,
  .sidebar-widget .side-nav > li > ul {
    grid-template-columns: 1fr;
  }
}

/* ========== 侧栏分类优化 (auto-added) ========== */

/* 一级栏目 - 醒目样式，颜色跟随主题 */
.sidebar-cats > li > a,
.side-nav > li > a,
.sidebar-widget .side-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f2937);
  background: var(--bg, #f9fafb);
  border-radius: 6px;
  margin-bottom: 6px;
  border-left: 3px solid var(--primary, #2563eb);
  transition: all 0.2s;
}

.sidebar-cats > li > a:hover,
.side-nav > li > a:hover,
.sidebar-widget .side-nav > li > a:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  padding-left: 16px;
}

/* 二级栏目 - 自适应布局，处理长名称 */
.sidebar-cats > li > ul,
.sidebar-cats > li > .sidebar-subcats,
.side-nav > li > ul,
.sidebar-widget .side-nav > li > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  margin: 0 0 6px 0;
  list-style: none;
}

.sidebar-cats > li > ul > li,
.sidebar-cats > li > .sidebar-subcats > li,
.side-nav > li > ul > li,
.sidebar-widget .side-nav > li > ul > li {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.sidebar-cats > li > ul > li > a,
.sidebar-cats > li > .sidebar-subcats > li > a,
.side-nav > li > ul > li > a,
.sidebar-widget .side-nav > li > ul > li > a {
  display: block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  border-radius: 4px;
  border: 1px solid var(--border, #e5e7eb);
  transition: all 0.2s;
}

.sidebar-cats > li > ul > li > a:hover,
.sidebar-cats > li > .sidebar-subcats > li > a:hover,
.side-nav > li > ul > li > a:hover,
.sidebar-widget .side-nav > li > ul > li > a:hover {
  color: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.05);
}

/* 响应式 */
@media (max-width: 768px) {
  .sidebar-cats > li > ul > li > a,
  .sidebar-cats > li > .sidebar-subcats > li > a,
  .side-nav > li > ul > li > a,
  .sidebar-widget .side-nav > li > ul > li > a {
    max-width: 100px;
    font-size: 12px;
  }
}