@charset "UTF-8";

/* =============================================
   design_vercel — 极简风格
   Dark monochrome · Clean grids · 1px borders
   ============================================= */

:root {
  --primary: #171717;
  --secondary: #333333;
  --accent: #0070f3;
  --bg: #fafafa;
  --text: #171717;
  --gray: #666666;
  --radius: 4px;
  --font-sans: 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --line-height: 1.6;
  --transition: 0.2s ease;
  --text-light: #94a3b8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
;}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); font-size: 15px; line-height: var(--line-height); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1048px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1100px) { .container { max-width: 100%; padding: 0 24px; } }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { font-size: 18px; font-weight: 700; color: var(--primary); white-space: nowrap; letter-spacing: -0.02em; }
.main-nav ul { display: flex; gap: 0; }
.main-nav a { display: block; padding: 10px 16px; font-size: 14px; color: var(--gray); white-space: nowrap; transition: var(--transition); font-weight: 500; letter-spacing: -0.01em; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: none; }
.main-nav a.active { font-weight: 600; }
.search-btn { background: none; border: none; font-size: 16px; cursor: pointer; padding: 6px; color: var(--gray); transition: var(--transition); }
.search-btn:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; padding: 4px 8px; color: var(--text); }
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e5e5; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; padding: 4px 0; }
  .main-nav a { padding: 14px 24px; }
}

/* Breadcrumb */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--gray); border-bottom: 1px solid #eee; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { margin: 0 8px; }

/* Page Header */
.page-header { padding: 52px 0; text-align: center; border-bottom: 1px solid #eee; }
.page-header h1 { font-size: 28px; color: var(--text); margin-bottom: 6px; font-weight: 700; letter-spacing: -0.02em; }
.page-subtitle { color: var(--gray); font-size: 15px; }

/* Hero */
.hero { position: relative; background: var(--primary); padding: 100px 0 60px; overflow: hidden; }
.hero-geo { position: absolute; inset: 0; pointer-events: none; opacity: .06; }
.geo-triangle { position: absolute; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.geo-1 { top: 10%; right: 10%; width: 200px; height: 180px; background: #fff; }
.geo-2 { bottom: 15%; left: 5%; width: 140px; height: 130px; background: #fff; }
.geo-rect { position: absolute; top: 20%; left: 15%; width: 80px; height: 80px; border: 2px solid #fff; opacity: .3; }
.geo-circle { position: absolute; bottom: 20%; right: 25%; width: 100px; height: 100px; border: 2px solid #fff; border-radius: 50%; opacity: .2; }
.hero-content { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 40px; line-height: 1.6; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; font-size: 14px; font-weight: 600; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: var(--transition); text-align: center; line-height: 1.4; letter-spacing: -0.01em; }
.btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline:hover { background: #fff; color: var(--primary); }
@media (max-width: 768px) { .hero { padding: 64px 0 40px; } .hero h1 { font-size: 32px; } .hero-subtitle { font-size: 16px; } }

/* Section */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: 26px; color: var(--text); margin-bottom: 10px; font-weight: 700; letter-spacing: -0.02em; }
.section-desc { color: var(--gray); font-size: 15px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: #e5e5e5; }
.card { display: block; background: #fff; padding: 32px 24px; transition: all var(--transition); position: relative; }
.card:hover { background: #f8f8f8; }
.card h3 { font-size: 16px; color: var(--text); margin-bottom: 10px; font-weight: 600; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.card-link { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 768px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .card-grid { grid-template-columns: 1fr; } }

/* Content with sidebar */
.content-with-sidebar { display: flex; gap: 40px; }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 260px; flex-shrink: 0; }
.widget { background: #fff; border: 1px solid #e5e5e5; padding: 24px; margin-bottom: 1px; }
.widget h4 { font-size: 14px; color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #e5e5e5; font-weight: 700; }
.side-nav li { margin-bottom: 4px; }
.side-nav a { display: block; padding: 8px 12px; font-size: 14px; color: var(--text); transition: var(--transition); }
.side-nav a:hover { background: #f5f5f5; color: var(--accent); }
.side-nav ul { padding-left: 12px; margin-top: 2px; }
.side-nav ul a { font-size: 13px; color: var(--gray); }
.hot-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.hot-list li:last-child { border-bottom: none; }
.hot-list a { font-size: 13px; color: var(--text); flex: 1; }
.hot-list a:hover { color: var(--accent); }
@media (max-width: 992px) { .content-with-sidebar { flex-direction: column; } .sidebar { width: 100%; } }

/* Article list */
.article-item { padding: 24px; margin-bottom: 4px; background: #fff; border: 1px solid #eee; transition: var(--transition); }
.article-item:hover { background: #f8f8f8; border-color: #ddd; }
.article-item h2 { font-size: 17px; margin-bottom: 8px; }
.article-item h2 a { color: var(--text); font-weight: 600; }
.article-item h2 a:hover { color: var(--accent); }
.article-item .meta { display: flex; gap: 16px; font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.article-item p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 8px; }
.article-item .more { font-size: 13px; color: var(--accent); font-weight: 600; }

/* Article detail */
.article-detail { padding: 32px; background: #fff; border: 1px solid #eee; }
.article-detail h1 { font-size: 30px; color: var(--text); margin-bottom: 16px; line-height: 1.3; letter-spacing: -0.02em; }
.article-detail .meta { display: flex; gap: 20px; font-size: 14px; color: var(--gray); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.article-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 22px; margin: 28px 0 12px; font-weight: 700; }
.article-body h3 { font-size: 18px; margin: 22px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body img { margin: 18px 0; }
.article-body ul, .article-body ol { margin-bottom: 18px; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-tags { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; font-size: 13px; }
.article-tags a { display: inline-block; padding: 4px 12px; margin: 0 4px; background: #f5f5f5; color: var(--text); font-size: 12px; }
.article-tags a:hover { background: var(--accent); color: #fff; }
.article-nav { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 16px; border-top: 1px solid #eee; font-size: 14px; flex-wrap: wrap; gap: 10px; }
.article-nav a { color: var(--accent); }
.article-nav a:hover { color: var(--text); }

/* Pagination */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; font-size: 14px; color: var(--text); background: #fff; border: 1px solid #e5e5e5; transition: var(--transition); }
.pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* About */
.about-intro { margin-bottom: 32px; }
.about-intro h2 { font-size: 24px; margin-bottom: 12px; color: var(--text); letter-spacing: -0.02em; }
.about-intro p { font-size: 15px; color: var(--gray); line-height: 1.8; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e5e5e5; margin-top: 20px; }
.value-card { background: #fff; padding: 28px; }
.value-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.value-card p { font-size: 14px; color: var(--gray); }
.value-card::before { content: ''; display: block; width: 16px; height: 2px; background: var(--accent); margin-bottom: 12px; }
@media (max-width: 576px) { .values-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; }
.contact-info h2, .contact-form-wrap h2 { font-size: 20px; margin-bottom: 20px; color: var(--text); letter-spacing: -0.02em; }
.contact-info { background: #fff; padding: 32px; border: 1px solid #e5e5e5; }
.info-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.info-item:last-child { border-bottom: none; }
.info-item strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 13px; }
.info-item span { color: var(--gray); }
.contact-form-wrap { background: #fff; padding: 32px; border: 1px solid #e5e5e5; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.form-control { width: 100%; padding: 10px 14px; font-size: 14px; border: 1px solid #e5e5e5; font-family: var(--font-sans); transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
textarea.form-control { resize: vertical; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

/* Search */
.search-form { display: flex; gap: 12px; margin-bottom: 32px; }
.search-input { flex: 1; padding: 12px 16px; font-size: 15px; border: 1px solid #e5e5e5; font-family: var(--font-sans); outline: none; transition: var(--transition); }
.search-input:focus { border-color: var(--accent); }
.search-count { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
@media (max-width: 576px) { .search-form { flex-direction: column; } }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { display: inline-block; padding: 6px 14px; font-size: 12px; background: #f5f5f5; color: var(--text); transition: var(--transition); }
.tag-cloud a:hover { background: var(--accent); color: #fff; }

/* County */
.county-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: #e5e5e5; }
.county-card { background: #fff; padding: 28px; }
.county-card h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.county-card h3 a { color: var(--text); }
.county-card ul { columns: 2; column-gap: 16px; }
.county-card ul li { margin-bottom: 6px; }
.county-card ul a { font-size: 13px; color: var(--gray); }
.county-card ul a:hover { color: var(--accent); }
@media (max-width: 576px) { .county-grid { grid-template-columns: 1fr; } .county-card ul { columns: 1; } }

/* Sitemap */
.sitemap-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e5e5; }
.sitemap-col { background: #fff; padding: 28px; }
.sitemap-col h3 { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; color: var(--text); font-weight: 700; }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col a { font-size: 14px; color: var(--text); }
.sitemap-col a:hover { color: var(--accent); }
.sitemap-col ul ul { padding-left: 16px; margin-top: 4px; }
.sitemap-col ul ul a { font-size: 13px; color: var(--gray); }
@media (max-width: 768px) { .sitemap-content { grid-template-columns: 1fr; } }

/* News grid */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e5e5; }
.news-card { background: #fff; padding: 28px; transition: var(--transition); }
.news-card:hover { background: #f8f8f8; }
.news-date { display: block; font-size: 12px; color: var(--gray); margin-bottom: 10px; text-transform: uppercase; }
.news-card h3 { font-size: 16px; margin-bottom: 8px; }
.news-card h3 a { color: var(--text); font-weight: 600; }
.news-card h3 a:hover { color: var(--accent); }
.news-card p { font-size: 14px; color: var(--gray); line-height: 1.5; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta-section { background: var(--primary); padding: 72px 0; text-align: center; }
.cta-content h2 { font-size: 32px; color: #fff; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.03em; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.cta-section .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-section .btn-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 768px) { .cta-content h2 { font-size: 24px; } }

/* Footer */
.site-footer { background: var(--primary); color: #888; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col p { font-size: 13px; line-height: 1.7; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { font-size: 13px; color: #666; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.05); text-align: center; font-size: 12px; color: #555; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }

/* Float top */
.float-top { position: fixed; bottom: 24px; right: 24px; width: 40px; height: 40px; background: var(--primary); color: #fff; border: 1px solid #333; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 99; transition: var(--transition); font-size: 16px; }
.float-top:hover { background: var(--accent); border-color: var(--accent); }

/* Empty */
.empty { padding: 64px 20px; text-align: center; }
.empty p { font-size: 15px; color: var(--gray); }


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