/* =============================================
   Scroll Template — Dark Theme
   ============================================= */

/* --- CSS Variables --- */
:root {
  --primary: #0f0f23;
  --secondary: #16213e;
  --accent: #e94560;
  --bg: #0a0a1a;
  --surface: #0f0f23;
  --surface-alt: #1a1a35;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: #1e293b;
  --radius: 8px;
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'PingFang SC', 'Microsoft YaHei', serif;
  --transition: 0.3s ease;
  --text-light: #94a3b8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
;}

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

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

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

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

a:hover {
  color: var(--accent);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

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

@media (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: nowrap;
  gap: 16px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.main-nav {
  background: var(--primary);
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.nav-list li {
  position: relative;
  flex-shrink: 0;
}

.nav-list a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.nav-list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 992px) {
  .header-inner {
    flex-wrap: nowrap;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 100%;
  }

  .main-nav.active {
    max-height: 90vh;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-list a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* --- Nav Dropdowns --- */
.nav-drop-wrap {
  position: relative;
  display: inline-block;
}

.nav-drop-wrap > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-drop-wrap > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .65;
}

.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  padding: 8px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .22s;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.nav-drop-wrap:hover .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text) !important;
  white-space: nowrap;
  text-decoration: none;
  background: transparent !important;
}

.nav-drop a:hover {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .nav-drop-wrap {
    display: block;
  }

  .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    display: none;
    background: transparent;
  }

  .nav-drop-wrap:hover .nav-drop,
  .nav-drop-wrap.active .nav-drop {
    display: flex;
  }

  .nav-drop a {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
}

/* =============================================
   Hero — Scroll (3-screen carousel)
   ============================================= */
.hero-scroll {
  background: linear-gradient(135deg, var(--primary), var(--secondary) 60%, var(--accent));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .6s ease, visibility .6s ease, transform .6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.no-js .hero-slide {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: none;
}

.no-js .hero-slide:first-child {
  display: flex;
}

.hero-scroll-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
}

.hero-tag span {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,.5);
}

.hero-scroll h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-scroll p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-scroll .btn {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-scroll .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--accent);
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s;
}

.hero-arrow:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

@media (max-width: 768px) {
  .hero-scroll,
  .hero-carousel {
    min-height: 480px;
  }

  .hero-slide {
    padding: 60px 16px 70px;
  }

  .hero-scroll h1 {
    font-size: 1.8rem;
  }

  .hero-scroll p {
    font-size: 1rem;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }
}

/* =============================================
   Section — Scroll
   ============================================= */
.section-scroll {
  padding: 80px 0;
  background: var(--surface);
}

.section-scroll:nth-child(even) {
  background: var(--bg);
}

.section-scroll-inner {
  max-width: 100%;
}

.section-scroll .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
}

.section-scroll .section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.section-scroll .section-more {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.section-scroll .section-more:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .section-scroll {
    padding: 50px 0;
  }

  .section-scroll .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 28px;
  }

  .section-scroll .section-header h2 {
    font-size: 1.4rem;
  }
}

/* =============================================
   Scroll Text
   ============================================= */
.scroll-text {
  padding: 60px 0;
  background: var(--bg);
}

.scroll-text h2 {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.scroll-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 720px;
}

.scroll-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .scroll-text {
    padding: 40px 0;
  }

  .scroll-text h2 {
    font-size: 1.3rem;
  }
}

/* =============================================
   Scroll Article List
   ============================================= */
.scroll-article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scroll-article-list .article-item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.scroll-article-list .article-item:hover {
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

.scroll-article-list .article-item h3 {
  margin-bottom: 8px;
}

.scroll-article-list .article-item h3 a {
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.4;
}

.scroll-article-list .article-item h3 a:hover {
  color: var(--accent);
}

.scroll-article-list .article-item .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.scroll-article-list .article-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.scroll-article-list .article-item .more-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

.scroll-article-list .article-item .more-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .scroll-article-list .article-item {
    padding: 18px;
  }

  .scroll-article-list .article-item h3 a {
    font-size: 1rem;
  }
}

/* =============================================
   Scroll News
   ============================================= */
.scroll-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scroll-news-item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.scroll-news-item:hover {
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.08);
}

.scroll-news-item h3 {
  margin-bottom: 8px;
}

.scroll-news-item h3 a {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
}

.scroll-news-item h3 a:hover {
  color: var(--accent);
}

.scroll-news-item .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.scroll-news-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .scroll-news {
    grid-template-columns: 1fr;
  }

  .scroll-news-item {
    padding: 18px;
  }
}

/* =============================================
   CTA — Scroll
   ============================================= */
.cta-scroll {
  background: linear-gradient(135deg, var(--accent), #c0392b);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  border-radius: var(--radius);
}

.cta-scroll-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-scroll h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.cta-scroll p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-scroll .btn {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-scroll .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--primary);
}

@media (max-width: 768px) {
  .cta-scroll {
    padding: 50px 16px;
  }

  .cta-scroll h2 {
    font-size: 1.5rem;
  }

  .cta-scroll p {
    font-size: 1rem;
  }
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 6px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Utility Classes
   ============================================= */
.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 16px; }
.mb-1 { margin-bottom: 16px; }
.mt-2 { margin-top: 32px; }
.mb-2 { margin-bottom: 32px; }

/* =============================================
   Buttons (generic)
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #d63d56;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent);
}

/* =============================================
   Float Top
   ============================================= */
.float-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  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(233, 69, 96, 0.3);
  transition: background var(--transition), transform var(--transition);
}

.float-top:hover {
  background: #d63d56;
  transform: translateY(-3px);
}


/* ========== 内容区样式补丁 (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; }
.breadcrumb { padding: 16px 0; font-size: 14px; }
.breadcrumb a { color: var(--primary); }
.sep { margin: 0 6px; color: var(--text-muted); }
.page-header { padding: 32px 0; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.about-content { max-width: 800px; margin: 0 auto; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 20px; }
.hot-list { list-style: none; padding: 0; }
.hot-list li { padding: 4px 0; }
.hot-list a { color: var(--text); font-size: 14px; }
.contact-info { margin-bottom: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 16px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
.county-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.county-cat { background: var(--surface); border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 12px 16px; }
.county-cat a { color: var(--text); font-size: 14px; }
.detail-article { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 24px; }
.detail-meta { display: flex; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-wrap: wrap; }
.search-form { display: flex; gap: 8px; margin-bottom: 24px; }
.search-input-wrap { flex: 1; }
.search-form input { width: 100%; padding: 10px 14px; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; font-size: 14px; }
.search-info { margin-bottom: 16px; color: var(--text-muted); font-size: 14px; }
.sitemap-cat { margin-bottom: 8px; }
@media (max-width: 768px) { .content-with-sidebar { grid-template-columns: 1fr; } .county-grid { grid-template-columns: 1fr; } }
﻿.more { display: inline-block; color: var(--primary); font-size: 14px; }
.article-list { display: flex; flex-direction: column; gap: 20px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pagination a { padding: 8px 14px; border: 1px solid var(--border, #e5e7eb); border-radius: 6px; color: var(--text, #1e293b); text-decoration: none; font-size: 14px; }
.pagination a.is-active, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { margin-bottom: 6px; }
.sitemap-list a { color: var(--text, #1e293b); }
.sitemap-list a:hover { color: var(--primary); }

/* 统一信任数据条（SKILL §5.0） */
.trust-bar{padding:54px 0;background:var(--primary);color:#fff}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.trust-item{display:flex;flex-direction:column;align-items:center}
.trust-icon{width:32px;height:32px;opacity:.8;margin-bottom:12px}
.trust-num{font-size:2.4rem;font-weight:800;line-height:1;letter-spacing:-.5px}
.trust-num i{font-style:normal;font-size:1.3rem;margin-left:2px}
.trust-label{font-size:.92rem;opacity:.82;margin-top:8px}
@media(max-width:768px){.trust-grid{grid-template-columns:repeat(2,1fr);gap:22px 12px}.trust-num{font-size:2rem}}

/* --- Service Grid --- */
.service-grid-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card-scroll {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card-scroll:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, .45);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.service-card-scroll h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card-scroll h3 a {
  color: #fff;
}

.service-card-scroll h3 a:hover {
  color: var(--accent);
}

.service-card-scroll p {
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-links a {
  font-size: .8125rem;
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.service-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 992px) {
  .service-grid-scroll {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-grid-scroll {
    grid-template-columns: 1fr;
  }
}

/* --- Process --- */
.process-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.process-step strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .process-scroll {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-scroll {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Mid --- */
.cta-mid {
  background: var(--surface-alt);
  text-align: center;
}

.cta-mid-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-mid h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 14px;
}

.cta-mid p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .cta-mid h2 {
    font-size: 1.5rem;
  }
}


/* ========== city-links 暗色适配（消除站点 header_code 注入的白底污染） ========== */
body .city-links-section { background: var(--surface, #0f0f23); border-top-color: var(--border, #1e293b); }
body .city-links-section h3 { color: var(--text-muted, #94a3b8); }
body .city-links-grid a { color: var(--text-muted, #94a3b8); border-color: var(--border, #1e293b); }
body .city-links-grid a:hover { background: rgba(233,69,96,.12); color: var(--accent, #e94560); border-color: var(--accent, #e94560); }
body .friend-links-section { background: var(--surface, #0f0f23); border-top-color: var(--border, #1e293b); }
body .friend-links-section h3 { color: var(--text-muted, #94a3b8); }
body .friend-links a { color: var(--text-muted, #94a3b8); }
body .friend-links a:hover { color: var(--accent, #e94560); }
