.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@charset "UTF-8";

/* =============================================
   design_zent — 禅意极简风格
   Warm stone palette · Clean lines · Minimal
   ============================================= */

:root {
  --primary: #57534e;
  --secondary: #78716c;
  --accent: #d6d3d1;
  --bg: #fafaf9;
  --text: #1c1917;
  --text-light: #78716c;
  --border: #e7e5e4;
  --radius: 2px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; 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(--secondary); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* Container */
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ====================== Header ====================== */
.header { background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.logo:hover { color: rgba(255,255,255,0.85); color: #fff; }
#mainNav ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: flex-end; }
#mainNav ul li a { display: block; padding: 8px 14px; color: rgba(255,255,255,0.85); font-size: 0.9rem; white-space: nowrap; transition: background var(--transition), color var(--transition); }
#mainNav ul li a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.search-btn a { padding: 8px; display: flex; align-items: center; }
#navToggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 4px; }

@media (max-width: 768px) {
  #navToggle { display: block; }
  #mainNav { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; width: 100%; }
  #mainNav.active { max-height: 500px; }
  #mainNav ul { flex-direction: column; width: 100%; }
  #mainNav ul li a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
}

/* ====================== Hero (Home) ====================== */
.hero-zent { background: linear-gradient(135deg, #44403c, #57534e, #78716c); color: #fff; padding: 80px 0; }
.hero-zent-content { display: flex; align-items: center; justify-content: center; }
.hero-zent-text { text-align: center; max-width: 720px; }
.hero-zent h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; color: #fff; }
.hero-zent p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 28px; }

.hero-zent-adv { display: flex; justify-content: center; gap: 40px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-adv-item { text-align: center; }
.hero-adv-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-adv-item span { font-size: 0.85rem; opacity: 0.7; }

.hero-zent-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-zent-btn { display: inline-block; padding: 12px 32px; background: #fff; color: var(--primary); font-weight: 600; border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition); }
.hero-zent-btn:hover { transform: translateY(-2px); box-shadow: 0 2px 12px rgba(0,0,0,0.2); color: var(--primary); }
.hero-zent-btn-second { display: inline-block; padding: 12px 32px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); font-weight: 600; border-radius: var(--radius); transition: all var(--transition); }
.hero-zent-btn-second:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* ====================== Section ====================== */
.section { padding: 60px 0; }
.section-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 24px; text-align: center; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }

/* ====================== Zen Features (Home advantages) ====================== */
.zent-features { background: #fff; }
.zent-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zent-feature-item { text-align: center; padding: 28px 18px; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow var(--transition), transform var(--transition); background: var(--bg); }
.zent-feature-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.zf-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--primary); background: #fff; border-radius: 50%; border: 1px solid var(--border); }
.zent-feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.zent-feature-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 0; }

/* ====================== Zent Grid (Home categories) ====================== */
.zent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zent-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow var(--transition), transform var(--transition); }
.zent-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.zent-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.zent-item h3 a { color: var(--text); }
.zent-item h3 a:hover { color: var(--secondary); }
.zent-item ul { margin: 0; padding: 0; }
.zent-item li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.zent-item li:last-child { border-bottom: none; }
.zent-item li a { color: var(--text-light); }
.zent-item li a:hover { color: var(--primary); }

/* ====================== Zent News (Home latest) ====================== */
.zent-news { display: flex; flex-direction: column; gap: 0; }
.zent-news-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.zent-news-item:last-child { border-bottom: none; }
.zent-news-item a { font-size: 0.95rem; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zent-news-item a:hover { color: var(--primary); }
.zent-news-item .date { font-size: 0.82rem; color: var(--text-light); flex-shrink: 0; margin-left: 16px; }

/* ====================== CTA (Home) ====================== */
.cta-zent { background: var(--primary); color: #fff; padding: 40px 0; text-align: center; }
.cta-zent p { font-size: 1.1rem; margin-bottom: 16px; opacity: 0.9; }
.cta-zent .more { display: inline-block; padding: 12px 32px; background: #fff; color: var(--primary); font-weight: 600; border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition); }
.cta-zent .more:hover { transform: translateY(-2px); box-shadow: 0 2px 12px rgba(0,0,0,0.2); color: var(--primary); }

/* ====================== Breadcrumb ====================== */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.sep { margin: 0 8px; color: var(--accent); }

/* ====================== Page Header ====================== */
.page-header { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 40px 0; text-align: center; }
.page-header h1 { font-size: 1.6rem; color: #fff; }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 0.92rem; }

/* ====================== Content with Sidebar ====================== */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; }
.main-content { min-width: 0; }

/* ====================== Article List ====================== */
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.article-item:first-child { padding-top: 0; }
.article-item:last-child { border-bottom: none; padding-bottom: 0; }
.article-item h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.article-item h2 a { color: var(--text); }
.article-item h2 a:hover { color: var(--primary); }
.meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--text-light); margin-bottom: 8px; }
.article-item p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.more { font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.more:hover { color: var(--secondary); }

/* ====================== Pagination ====================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.pagination a, .pagination span { 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); font-size: 0.88rem; color: var(--text); background: #fff; transition: all var(--transition); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ====================== Sidebar ====================== */
.sidebar .widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); color: var(--text); }
.side-nav { list-style: none; }
.side-nav li { margin-bottom: 4px; }
.side-nav a { display: block; padding: 8px 10px; font-size: 0.88rem; color: var(--text); border-radius: 4px; transition: background var(--transition), color var(--transition); }
.side-nav a:hover { background: var(--bg); color: var(--primary); }
.side-nav ul { margin-left: 12px; }
.side-nav ul a { font-size: 0.82rem; color: var(--text-light); }
.hot-list { list-style: none; }
.hot-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.hot-list li:last-child { border-bottom: none; }
.hot-list .num { width: 22px; height: 22px; background: var(--primary); color: #fff; font-size: 0.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.hot-list a { font-size: 0.82rem; color: var(--text); line-height: 1.4; }
.hot-list a:hover { color: var(--primary); }

/* ====================== Detail / Page ====================== */
.detail-article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: var(--text-light); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.detail-meta a { color: var(--primary); }
.detail-body { line-height: 1.85; font-size: 0.95rem; color: var(--text); }
.detail-body h2, .detail-body h3 { margin-top: 24px; margin-bottom: 10px; font-weight: 700; color: var(--primary); }
.detail-body h2 { font-size: 1.2rem; }
.detail-body h3 { font-size: 1.05rem; }
.detail-body p { margin-bottom: 14px; }
.detail-body ul, .detail-body ol { padding-left: 20px; margin-bottom: 14px; }
.detail-body li { margin-bottom: 4px; }
.detail-body img { border-radius: var(--radius); margin: 14px 0; max-width: 100%; }

/* ====================== About ====================== */
.about-content { line-height: 1.85; font-size: 0.95rem; }
.about-content p { margin-bottom: 14px; }

/* ====================== Contact ====================== */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info h2, .contact-form h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); color: var(--text); }
.contact-info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; line-height: 1.6; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 4px; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; font-family: inherit; transition: border-color var(--transition); background: #fff; color: var(--text); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.btn { display: inline-block; padding: 12px 32px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.btn:hover { background: var(--secondary); }

/* ====================== Search ====================== */
.search-form { display: flex; gap: 12px; margin-bottom: 24px; }
.search-input-wrap { flex: 1; }
.search-input-wrap input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; }
.search-input-wrap input:focus { outline: none; border-color: var(--primary); }
.search-info { font-size: 0.88rem; color: var(--text-light); margin-bottom: 18px; }

/* ====================== Sitemap ====================== */
.sitemap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sitemap-cat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.sitemap-cat h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--primary); padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.sitemap-cat ul li { margin-bottom: 4px; }
.sitemap-cat ul li a { font-size: 0.88rem; color: var(--text-light); }
.sitemap-cat ul li a:hover { color: var(--primary); }

/* ====================== County ====================== */
.county-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.county-cat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; transition: box-shadow var(--transition); }
.county-cat:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.county-cat a { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.county-cat a:hover { color: var(--primary); }

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

/* ====================== Footer ====================== */
.footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-col p { font-size: 0.85rem; margin-bottom: 4px; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 16px 0; font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }

/* ====================== Float Top ====================== */
.float-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--primary); color: #fff; border: none; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: background var(--transition), transform var(--transition); }
.float-top:hover { background: var(--secondary); transform: translateY(-3px); }

/* ====================== Responsive ====================== */
@media (max-width: 992px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-zent { padding: 50px 0; }
  .hero-zent h1 { font-size: 1.6rem; }
  .hero-zent-adv { gap: 20px; }
  .hero-adv-item strong { font-size: 1.3rem; }
  .section { padding: 40px 0; }
  .zent-grid { grid-template-columns: 1fr; }
  .zent-features-grid { grid-template-columns: repeat(2, 1fr); }
  .county-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .county-grid { grid-template-columns: 1fr; }
  .zent-features-grid { grid-template-columns: 1fr; }
}


/* ========== 内容区样式补丁 (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;
  }
}