/* ===== design_terra (陶土色) ===== */
:root {
  --primary: #7c2d12;
  --primary-light: #9a3412;
  --primary-dark: #581c0c;
  --secondary: #9a3412;
  --accent: #c2410c;
  --accent-light: #ea580c;
  --bg: #fff7ed;
  --bg-alt: #ffedd5;
  --bg-card: #ffffff;
  --text: #292524;
  --text-light: #57534e;
  --text-lighter: #a8a29e;
  --border: #e7e5e4;
  --border-light: #f5f5f4;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --transition: 0.25s ease;
}

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

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

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

/* ===== Header ===== */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 0;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 5px; opacity: 0.9; }
.topbar-item svg { flex-shrink: 0; }
.topbar-right { opacity: 0.8; }

.header-main { padding: 12px 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.logo:hover { color: var(--accent); }

.nav { display: none; }
@media (min-width: 992px) { .nav { display: flex; align-items: center; } }
.nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-md); padding: 10px 20px; z-index: 99; }

.nav-list { display: flex; align-items: center; gap: 0; }
@media (max-width: 991px) { .nav.active .nav-list { flex-direction: column; width: 100%; } }

.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--primary); background: var(--bg-alt); }

.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 6px 0;
  z-index: 99;
}
.nav-item-has-children:hover .subnav { display: block; }
.subnav li a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.subnav li a:hover { color: var(--primary); background: var(--bg-alt); }
@media (max-width: 991px) {
  .subnav { position: static; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .nav-item-has-children:hover .subnav { display: none; }
  .nav-item-has-children.active .subnav { display: block; }
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text);
  transition: all var(--transition);
}
.search-btn:hover { background: var(--bg-alt); color: var(--primary); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-sm);
}
@media (min-width: 992px) { .nav-toggle { display: none; } }
.nav-toggle:hover { background: var(--bg-alt); }

/* ===== Hero ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hero-content { max-width: 700px; margin: 0 auto; }
.hero-content h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.hero-content p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 0.85rem;
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-lighter); }
.breadcrumb svg { flex-shrink: 0; color: var(--text-lighter); }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; }
.page-header p { opacity: 0.85; margin-top: 6px; font-size: 0.95rem; }

/* ===== Section ===== */
.section { padding: 50px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-desc { color: var(--text-light); font-size: 0.95rem; }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-item {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg));
  border-radius: 50%;
  color: var(--primary);
}
.feature-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--primary); }
.feature-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* ===== Service Grid ===== */
.section-services { background: var(--bg-alt); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  display: block;
  background: var(--bg-card);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg));
  border-radius: var(--radius);
  margin-bottom: 14px;
  color: var(--primary);
}
.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--primary); }
.service-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.service-card-link { font-size: 0.85rem; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.service-card:hover .service-card-link { gap: 8px; }

/* ===== Content with Sidebar ===== */
.content-with-sidebar { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 992px) { .content-with-sidebar { grid-template-columns: 1fr 300px; } }

/* ===== Article List ===== */
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.article-item:hover { box-shadow: var(--shadow-md); }
.article-item h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.article-item h2 a { color: var(--text); }
.article-item h2 a:hover { color: var(--primary); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; font-size: 0.82rem; color: var(--text-lighter); }
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.read-more:hover { gap: 8px; }

/* ===== Pagination ===== */
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 28px; justify-content: center; flex-wrap: wrap; }
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg-card);
  transition: all var(--transition);
}
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-info { font-size: 0.85rem; color: var(--text-lighter); padding: 0 8px; }

/* ===== Sidebar ===== */
.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.sidebar-widget h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-alt);
}
.sidebar-nav li a {
  display: block;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.sidebar-nav li a:hover { color: var(--primary); padding-left: 4px; }
.sidebar-nav li ul { padding-left: 14px; }
.sidebar-nav li ul li a { font-size: 0.84rem; color: var(--text-light); }

.sidebar-hot li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-hot li:last-child { border-bottom: none; }
.hot-rank {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--primary);
  flex-shrink: 0;
}
.sidebar-hot li:nth-child(1) .hot-rank { background: var(--primary); color: #fff; }
.sidebar-hot li:nth-child(2) .hot-rank { background: var(--secondary); color: #fff; }
.sidebar-hot li:nth-child(3) .hot-rank { background: var(--accent); color: #fff; }
.sidebar-hot li a { font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.sidebar-hot li a:hover { color: var(--primary); }

/* ===== Detail Article ===== */
.detail-article { background: var(--bg-card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border-light); }
.detail-header { margin-bottom: 24px; }
.detail-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 14px; line-height: 1.35; }
.detail-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-lighter); margin-bottom: 14px; }
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.detail-meta a { color: var(--text-lighter); }
.detail-meta a:hover { color: var(--primary); }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all var(--transition);
}
.detail-tags a:hover { background: var(--primary); color: #fff; }
.detail-body { font-size: 0.95rem; line-height: 1.85; color: var(--text); }
.detail-body p { margin-bottom: 16px; }
.detail-body img { border-radius: var(--radius-sm); margin: 16px 0; }
.detail-body h2, .detail-body h3 { margin-top: 24px; margin-bottom: 12px; color: var(--primary); }
.detail-body ul, .detail-body ol { margin: 12px 0; padding-left: 20px; }
.detail-body li { margin-bottom: 6px; }

.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.detail-nav-prev, .detail-nav-next { flex: 1; min-width: 200px; }
.detail-nav-next { text-align: right; }
.nav-label { display: block; font-size: 0.82rem; color: var(--text-lighter); margin-bottom: 4px; }
.detail-nav a { font-size: 0.9rem; color: var(--primary); font-weight: 500; }
.detail-nav a:hover { color: var(--accent); }

/* ===== Related ===== */
.related-section { margin-top: 32px; }
.related-section h3 { font-size: 1.15rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.related-item {
  display: block;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.related-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.related-item h4 { font-size: 0.88rem; font-weight: 500; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.related-item span { font-size: 0.78rem; color: var(--text-lighter); }

/* ===== Page Body ===== */
.page-body {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  line-height: 1.85;
}
.page-body p { margin-bottom: 16px; }
.page-body h2 { font-size: 1.25rem; color: var(--primary); margin: 24px 0 12px; }
.page-body h3 { font-size: 1.1rem; color: var(--primary); margin: 20px 0 10px; }
.page-body ul { margin: 12px 0; padding-left: 20px; }
.page-body li { margin-bottom: 8px; }
.page-body strong { color: var(--primary); }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-lighter); }
.empty-state p { font-size: 1rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-item p { font-size: 0.88rem; color: var(--text-light); }

.contact-form-wrap { background: var(--bg-card); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-light); }
.contact-form-wrap h2 { font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,45,18,0.1); }

/* ===== Sitemap ===== */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.sitemap-group { background: var(--bg-card); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-light); }
.sitemap-group h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.sitemap-group h3 a { color: var(--primary); }
.sitemap-group ul li { padding: 5px 0; }
.sitemap-group ul li a { font-size: 0.88rem; color: var(--text-light); }
.sitemap-group ul li a:hover { color: var(--primary); padding-left: 4px; }

/* ===== Footer ===== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); }
.footer-main { padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-col h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: 0.88rem; opacity: 0.8; margin-bottom: 16px; }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; opacity: 0.8; margin-bottom: 8px; }
.footer-contact svg { flex-shrink: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: all var(--transition); }
.footer-nav li a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }

/* ===== Category Blocks ===== */
.section-category-block { background: var(--bg); }
.section-category-block:nth-child(even) { background: var(--bg-alt); }
.mini-article-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.mini-article-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; transition: all var(--transition); }
.mini-article-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.mini-article-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.mini-article-item h3 a { color: var(--text); }
.mini-article-item h3 a:hover { color: var(--accent); }
.mini-article-meta { font-size: 12px; color: var(--text-lighter); margin-bottom: 6px; }
.mini-article-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== CTA Section ===== */
.section-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-content h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.cta-content p { font-size: 1rem; opacity: 0.9; margin-bottom: 28px; }

/* ===== Float Top ===== */
.float-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 99;
}
.float-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .hero-section { padding: 50px 0; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.92rem; }
  .section { padding: 36px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .detail-article { padding: 20px; }
  .page-body { padding: 20px; }
  .contact-form-wrap { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* === Base CSS Leak Overrides === */
.section.section{padding:60px 0}.section-header.section-header{text-align:center;margin-bottom:36px;padding:0}.section-title.section-title{font-size:26px;text-align:center;font-weight:700}.section-desc.section-desc{font-size:16px;color:var(--text-light);margin-bottom:0}.section-actions.section-actions{text-align:center;margin-top:24px;padding:0}.hero-section.hero-section{padding:80px 0;background:var(--primary)}.hero-content.hero-content{text-align:center}.service-card.service-card{border-radius:var(--radius);overflow:visible}.service-card.service-card:hover{transform:translateY(-4px)}.service-card-link.service-card-link{color:var(--accent);text-decoration:none}.btn.btn{border-radius:var(--radius-sm);font-size:14px;padding:10px 22px}.feature-grid.feature-grid{display:grid;gap:24px}.service-grid.service-grid{display:grid;gap:20px}.article-meta.article-meta,.mini-article-meta.mini-article-meta{display:flex;gap:10px;color:var(--text-lighter)}.cta-content.cta-content{padding:0;background:none;border-radius:0}.section-category-block.section-category-block{padding:40px 0}.empty-state.empty-state{text-align:center;padding:60px 20px;overflow:visible}.tag.tag{border-radius:var(--radius-sm);display:inline-block;padding:4px 10px}.logo.logo{flex-shrink:0;max-width:initial}


/* ========== 内容区样式补丁 (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}}
﻿.main-content { min-width: 0; }
.section-features, .section-news { background: var(--bg-alt, #f9fafb); }

/* 低对比度修复（灰字浅底 → WCAG AA #595959） */
.nav-label { color: #595959; }
.page-info { color: #595959; }
