/* ========================================
   design_pearl - 珍珠白·干净优雅
   ======================================== */
:root {
  --primary: #334155;
  --secondary: #f8fafc;
  --accent: #6366f1;
  --bg: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --transition: 0.3s ease;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section-title { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 8px; text-align: center; }
.section-subtitle { font-size: 16px; color: var(--text-light); margin-bottom: 40px; text-align: center; }
.breadcrumb { padding: 12px 0; font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--border); }
.page-header { padding: 48px 0 32px; text-align: center; }
.page-header h1 { font-size: 32px; color: var(--primary); }
.content-with-sidebar { display: flex; gap: 32px; }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 320px; flex-shrink: 0; }
.side-nav { background: var(--secondary); border-radius: var(--radius); padding: 24px; }
.side-nav h4 { font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.side-nav a { display: block; padding: 8px 0; color: var(--text-light); font-size: 15px; border-bottom: 1px solid var(--border); }
.side-nav a:last-child { border-bottom: none; }
.side-nav a:hover { color: var(--accent); }
.widget { background: var(--secondary); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.widget h4 { font-size: 18px; color: var(--primary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.hot-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.hot-list li:last-child { border-bottom: none; }
.hot-list a { font-size: 15px; color: var(--text); }
.hot-list a:hover { color: var(--accent); }
.hot-list .hot-num { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; background: var(--border); color: var(--text-light); border-radius: 4px; font-size: 12px; margin-right: 8px; }
.hot-list li:nth-child(1) .hot-num, .hot-list li:nth-child(2) .hot-num, .hot-list li:nth-child(3) .hot-num { background: var(--accent); color: #fff; }
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: var(--transition); }
.article-item:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.article-item .cat-tag { display: inline-block; font-size: 13px; color: var(--accent); background: rgba(99,102,241,0.08); padding: 2px 10px; border-radius: 4px; margin-bottom: 8px; }
.article-item h3 { font-size: 20px; margin-bottom: 8px; }
.article-item h3 a { color: var(--primary); }
.article-item h3 a:hover { color: var(--accent); }
.article-item .summary { color: var(--text-light); font-size: 14px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-item .meta { font-size: 13px; color: var(--text-light); display: flex; flex-wrap: wrap; gap: 16px; }
.article-item .meta span { display: flex; align-items: center; gap: 4px; }
.meta { font-size: 14px; color: var(--text-light); }
.meta span { margin-right: 16px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); transition: var(--transition); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination span.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty { text-align: center; padding: 64px 0; color: var(--text-light); font-size: 16px; }
.empty a { color: var(--accent); }

/* ========== Header ========== */
.header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; height: 64px; }
.logo { font-size: 22px; font-weight: 700; color: var(--primary); }
.logo a { color: var(--primary); }
.logo a:hover { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: 8px 16px; font-size: 15px; color: var(--text); border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.main-nav a:hover { color: var(--accent); background: rgba(99,102,241,0.06); }
.main-nav a.active { color: var(--accent); font-weight: 600; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ========== Hero - 方案D：大图Hero+搜索框+热门标签 ========== */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, var(--primary) 0%, #1e293b 50%, var(--primary) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-search { max-width: 560px; margin: 0 auto 24px; display: flex; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.hero-search input { flex: 1; padding: 16px 20px; border: none; font-size: 16px; outline: none; }
.hero-search button { padding: 16px 32px; background: var(--accent); color: #fff; border: none; font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.hero-search button:hover { background: #4f46e5; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 560px; margin: 0 auto; }
.hero-tags a { display: inline-block; padding: 6px 20px; background: rgba(255,255,255,0.15); color: #fff; border-radius: 20px; font-size: 14px; transition: var(--transition); backdrop-filter: blur(4px); }
.hero-tags a:hover { background: rgba(255,255,255,0.25); }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 32px; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 32px; color: #fff; font-weight: 700; }
.hero-stats span { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ========== 业务优势 ========== */
.advantages { background: var(--bg); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card { text-align: center; padding: 32px 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.adv-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.adv-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(99,102,241,0.08); display: flex; align-items: center; justify-content: center; }
.adv-icon svg { width: 28px; height: 28px; fill: var(--accent); }
.adv-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ========== 服务分类 - 2列大卡片 ========== */
.service-cats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-cat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); }
.service-cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.service-cat-card .cat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.service-cat-card .cat-icon { width: 48px; height: 48px; border-radius: var(--radius); background: linear-gradient(135deg, var(--accent), #818cf8); display: flex; align-items: center; justify-content: center; }
.service-cat-card .cat-icon svg { width: 24px; height: 24px; fill: #fff; }
.service-cat-card .cat-name { font-size: 20px; font-weight: 700; color: var(--primary); }
.service-cat-card .cat-name a { color: var(--primary); }
.service-cat-card .cat-name a:hover { color: var(--accent); }
.service-cat-card .cat-desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.service-cat-card .cat-articles { border-top: 1px solid var(--border); padding-top: 12px; }
.service-cat-card .cat-articles li { padding: 6px 0; font-size: 14px; }
.service-cat-card .cat-articles a { color: var(--text-light); }
.service-cat-card .cat-articles a:hover { color: var(--accent); }

/* ========== 最新资讯 - 左右布局(2/3+1/3) ========== */
.news-layout { display: flex; gap: 32px; }
.news-main { flex: 2; }
.news-hot { flex: 1; }
.news-main-list { display: flex; flex-direction: column; gap: 16px; }
.news-main-item { display: flex; gap: 20px; padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.news-main-item:hover { border-color: var(--accent); }
.news-main-item .news-img { width: 200px; height: 130px; border-radius: var(--radius); background: linear-gradient(135deg, var(--secondary), #e2e8f0); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.news-main-item .news-img svg { width: 40px; height: 40px; fill: var(--border); }
.news-main-item .news-info { flex: 1; min-width: 0; }
.news-main-item .news-cat { font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.news-main-item h3 { font-size: 18px; margin-bottom: 6px; }
.news-main-item h3 a { color: var(--primary); }
.news-main-item h3 a:hover { color: var(--accent); }
.news-main-item p { font-size: 14px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-main-item .time { font-size: 13px; color: var(--text-light); margin-top: 8px; }
.news-hot-panel { background: var(--secondary); border-radius: var(--radius); padding: 24px; position: sticky; top: 80px; }
.news-hot-panel h3 { font-size: 20px; color: var(--primary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.news-hot-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.news-hot-item:last-child { border-bottom: none; }
.news-hot-item .hot-rank { font-size: 20px; font-weight: 800; color: var(--accent); min-width: 28px; }
.news-hot-item h4 { font-size: 14px; line-height: 1.4; }
.news-hot-item h4 a { color: var(--text); }
.news-hot-item h4 a:hover { color: var(--accent); }

/* ========== CTA - 靛蓝渐变 ========== */
.cta { background: linear-gradient(135deg, var(--accent), #4f46e5); text-align: center; padding: 72px 0; }
.cta h2 { font-size: 32px; color: #fff; margin-bottom: 12px; }
.cta p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-btn { display: inline-block; padding: 14px 36px; border-radius: var(--radius); font-size: 16px; font-weight: 600; transition: var(--transition); }
.cta-btn-primary { background: #fff; color: var(--accent); }
.cta-btn-primary:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.cta-btn-outline:hover { border-color: #fff; }

/* ========== Footer ========== */
.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: var(--max-width); margin: 0 auto; padding: 0 16px 40px; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 24px 16px; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.float-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; background: var(--accent); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 12px rgba(99,102,241,0.3); transition: var(--transition); z-index: 99; }
.float-top:hover { background: #4f46e5; transform: translateY(-2px); }

/* ========== 列表页 ========== */
.sidebar .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar .tag-cloud a { display: inline-block; padding: 4px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; color: var(--text-light); transition: var(--transition); }
.sidebar .tag-cloud a:hover { border-color: var(--accent); color: var(--accent); }

/* ========== 详情页 - 变体B：全宽阅读式 ========== */
.detail-article { max-width: 720px; margin: 0 auto; }
.detail-article .article-header { margin-bottom: 32px; text-align: center; }
.detail-article .article-header h1 { font-size: 32px; color: var(--primary); margin-bottom: 16px; line-height: 1.4; }
.detail-article .article-header .meta { justify-content: center; }
.article-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 24px; color: var(--primary); margin: 32px 0 16px; }
.article-body h3 { font-size: 20px; color: var(--primary); margin: 24px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body img { border-radius: var(--radius); margin: 16px 0; }
.article-body ol, .article-body ul { padding-left: 24px; margin-bottom: 16px; }
.article-body ol { list-style: decimal; }
.article-body ul { list-style: disc; }
.article-body li { margin-bottom: 8px; }
.article-tags { margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--border); }
.article-tags span { font-weight: 600; color: var(--primary); margin-right: 8px; }
.article-tags a { display: inline-block; padding: 4px 14px; background: rgba(99,102,241,0.06); color: var(--accent); border-radius: 20px; font-size: 13px; margin: 4px; }
.article-tags a:hover { background: var(--accent); color: #fff; }
.article-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--border); }
.article-nav .prev, .article-nav .next { flex: 1; }
.article-nav span { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.article-nav a { font-size: 15px; color: var(--text); }
.article-nav a:hover { color: var(--accent); }
.article-nav .next { text-align: right; }
.related-section { padding: 48px 0; }
.related-section h3 { font-size: 22px; color: var(--primary); margin-bottom: 24px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.related-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: var(--transition); }
.related-card:hover { border-color: var(--accent); }
.related-card h4 { font-size: 16px; margin-bottom: 8px; }
.related-card h4 a { color: var(--primary); }
.related-card h4 a:hover { color: var(--accent); }
.related-card .time { font-size: 13px; color: var(--text-light); }

/* ========== 联系页 ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-item { display: flex; gap: 16px; padding: 24px; background: var(--secondary); border-radius: var(--radius); margin-bottom: 16px; }
.contact-item .ci-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ci-icon svg { width: 22px; height: 22px; fill: #fff; }
.contact-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-light); }
.contact-form { background: var(--secondary); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 20px; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; outline: none; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { padding: 12px 32px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: #4f46e5; }

/* ========== 搜索页 ========== */
.search-form { display: flex; max-width: 500px; margin: 0 auto 32px; }
.search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); font-size: 15px; outline: none; }
.search-form input:focus { border-color: var(--accent); }
.search-form button { padding: 12px 24px; background: var(--accent); color: #fff; border: none; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; cursor: pointer; }
.search-total { text-align: center; color: var(--text-light); margin-bottom: 24px; font-size: 14px; }

/* ========== 关于页/单页 ========== */
.page-content { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.page-content h2 { font-size: 24px; color: var(--primary); margin: 32px 0 16px; }
.page-content h3 { font-size: 20px; color: var(--primary); margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ol, .page-content ul { padding-left: 24px; margin-bottom: 16px; }
.page-content ol { list-style: decimal; }
.page-content ul { list-style: disc; }
.page-content li { margin-bottom: 8px; }
.page-content img { border-radius: var(--radius); margin: 16px 0; }

/* ========== 网站地图 ========== */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap-col h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.sitemap-col ul li { padding: 4px 0; }
.sitemap-col ul a { font-size: 14px; color: var(--text-light); }
.sitemap-col ul a:hover { color: var(--accent); }
.sitemap-articles h3 { font-size: 20px; color: var(--primary); margin: 40px 0 16px; }
.sitemap-articles ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; }
.sitemap-articles ul li { padding: 6px 0; }
.sitemap-articles ul a { font-size: 14px; color: var(--text-light); }
.sitemap-articles ul a:hover { color: var(--accent); }

/* ========== 区县页 / 标签页 ========== */
.county-header { text-align: center; padding: 48px 0 32px; background: var(--secondary); border-radius: var(--radius); margin-bottom: 32px; }
.county-header h1 { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.county-header p { color: var(--text-light); }
.tag-header { text-align: center; padding: 48px 0 32px; }
.tag-header h1 { font-size: 28px; color: var(--primary); }
.tag-cloud-page { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px; }
.tag-cloud-page a { display: inline-block; padding: 8px 20px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; color: var(--text-light); transition: var(--transition); }
.tag-cloud-page a:hover, .tag-cloud-page a.current { border-color: var(--accent); color: var(--accent); background: rgba(99,102,241,0.06); }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .container { padding: 0 20px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cats-grid { grid-template-columns: 1fr; }
  .news-layout { flex-direction: column; }
  .news-hot-panel { position: static; }
  .news-main-item { flex-direction: column; }
  .news-main-item .news-img { width: 100%; height: 160px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { flex-direction: column; }
  .sidebar { width: 100%; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-search { flex-direction: column; border-radius: var(--radius); }
  .hero-search input { border-radius: var(--radius) var(--radius) 0 0; }
  .hero-search button { border-radius: 0 0 var(--radius) var(--radius); }
  .adv-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); }
  .main-nav.active { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-article .article-header h1 { font-size: 24px; }
  .article-nav { flex-direction: column; }
  .article-nav .next { text-align: left; }
  .related-grid { grid-template-columns: 1fr; }
  .page-content { font-size: 15px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-articles ul { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .hero { min-height: 400px; }
  .hero h1 { font-size: 26px; }
  .hero-tags { gap: 8px; }
  .hero-tags a { padding: 4px 14px; font-size: 13px; }
  .cta { padding: 48px 0; }
  .cta h2 { font-size: 24px; }
  .article-item { padding: 16px; }
  .contact-form { padding: 20px; }
}


/* === footer-col-* semantic variants (auto-added) === */
.footer-col-services,
.footer-col-about,
.footer-col-links,
.footer-col-contact { /* inherits .footer-col base style */ }


/* ========== 内容区样式补丁 (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;
  }
}
/* ===== 悬浮客服 ===== */
.zfkf-float{position:fixed;right:20px;bottom:120px;z-index:9999;display:flex;flex-direction:column;gap:10px}
.zfkf-item{position:relative;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:all .25s;cursor:pointer}
.zfkf-item:hover{transform:scale(1.08);color:#fff}
.zfkf-phone{background:#2563eb}
.zfkf-wechat{background:#07c160}
.zfkf-consult{background:#f59e0b}
.zfkf-top{background:#334155}
.zfkf-tip{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);white-space:nowrap;background:rgba(0,0,0,.78);color:#fff;font-size:12px;padding:5px 10px;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10001}
.zfkf-item:hover .zfkf-tip{opacity:1}
.zfkf-wechat-mask{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:10000;display:none;align-items:center;justify-content:center}
.zfkf-wechat-mask.zfkf-show{display:flex}
.zfkf-wechat-box{background:#fff;border-radius:12px;padding:24px;text-align:center;position:relative;max-width:80vw}
.zfkf-wechat-box img{width:180px;height:180px;object-fit:contain;border:1px solid #eee;border-radius:8px}
.zfkf-wechat-noimg{width:180px;height:80px;display:flex;align-items:center;justify-content:center;background:#f6f7f9;border-radius:8px;font-size:16px;color:#07c160;font-weight:600}
.zfkf-wechat-box p{margin:12px 0 0;font-size:14px;color:#333}
.zfkf-wechat-close{position:absolute;top:8px;right:12px;font-size:22px;color:#666;cursor:pointer;line-height:1}
@media (max-width:768px){.zfkf-float{right:10px;bottom:100px}.zfkf-item{width:42px;height:42px}.zfkf-tip{display:none}}

/* STAGE9-G2-CAROUSEL */
.hero-carousel { position: relative; overflow: hidden; height: 660px; }
.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; padding: 0 24px; box-sizing: border-box; }
.hero-slide.s1 { background:linear-gradient(135deg,#1e3a8a 0%,#1d4ed8 50%,#2563eb 100%); }
.hero-slide.s2 { background:linear-gradient(135deg,#172554 0%,#1e40af 50%,#2563eb 100%); }
.hero-slide.s3 { background:linear-gradient(135deg,#0c1a43 0%,#1e3a8a 50%,#1d4ed8 100%); }
.hero-slide-inner { max-width: 980px; position: relative; z-index: 2; text-align: center; }
.hero-slide-inner h1 { font-size: clamp(28px,5vw,48px); font-weight: 900; margin-bottom: 12px; line-height: 1.2; color: #fff; }
.hero-slide-inner p { font-size: 18px; opacity: .95; margin-bottom: 24px; color: #fff; }
.hero-slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-slide-btns .btn { padding: 12px 28px; border-radius: 12px; font-weight: 700; display: inline-block; text-decoration: none; }
.hero-slide-btns .btn-primary { background: #fff; color: #1e3a8a; }
.hero-slide-btns .btn-outline { color: #fff; border: 2px solid rgba(255,255,255,0.6); background: transparent; }
@keyframes heroSlide { 0%,30% { transform: translateX(0); } 33%,63% { transform: translateX(-33.333%); } 66%,96% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.stats-bar { background: #eff6ff; border-bottom: 1px solid #bfdbfe; padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center; }
.stats-grid .stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; }
.stats-grid .stat-item svg { color: #2563eb; margin-bottom: 4px; }
.stats-grid .stat-item strong { font-size: 26px; font-weight: 900; color: #1e3a8a; }
.stats-grid .stat-item span { font-size: 13px; color: #1e40af; }
.hero-tag-row { max-width: 980px; margin-left: auto; margin-right: auto; }
.hero-micro { max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  .hero-carousel { height: 780px !important; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-micro { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
  .hero-carousel { height: 1120px !important; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-micro { grid-template-columns: 1fr !important; }
}