/* =============================================
   design_bento 模板样式
   ============================================= */

/* --- CSS Variables --- */
:root {
  --primary: #2563eb;
  --secondary: #0891b2;
  --text: #1e293b;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #fff;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* =============================================
   Header / Navigation
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--light); color: var(--primary); }
.main-nav li.active > a { color: var(--primary); font-weight: 600; }

/* Sub-nav */
.main-nav li.has-sub > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 4px solid var(--gray);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  vertical-align: middle;
}
.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  z-index: 100;
}
.main-nav li:hover > .sub-nav { display: block; }
.sub-nav a {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 0;
}
.sub-nav a:hover { background: var(--light); }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* Search toggle */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--text);
  border-radius: 6px;
  transition: background .2s;
  flex-shrink: 0;
}
.search-toggle:hover { background: var(--light); }

/* =============================================
   Hero
   ============================================= */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #0f1d3d 0%, #1a3a6b 50%, var(--primary) 100%);
  color: var(--white);
}
.hero .container { text-align: center; }
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Hero 三屏轮播（grid 叠放） */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1/1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; min-height: 220px; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.hero-dot { width: 11px; height: 11px; border: none; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .3s, transform .3s; }
.hero-dot.active { background: #fff; transform: scale(1.2); }
.no-js .hero-slide { opacity: 1; visibility: visible; }
.no-js .hero-slide:not(:first-child) { display: none; }

/* Stats 信任数字 */
.stats-section { background: linear-gradient(135deg, #0f1d3d, #1a3a6b); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.stat-icon svg { color: #fff !important; }
.stat-item .stat-num { font-size: 2.4rem; font-weight: 800; line-height: 1.2; color: #fff !important; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.stat-item .stat-label { font-size: .95rem; color: rgba(255,255,255,.85); }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* =============================================
   Bento Grid (首页核心布局)
   ============================================= */
.bento-hero {
  padding: 40px 0 20px;
  background: var(--light);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.bento-card a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.bento-card h2,
.bento-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.bento-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}
.bento-card .meta {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}
.bento-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 40px;
}

/* Bento sizes */
.bento-2x1 { grid-column: span 2; }
.bento-2x1 a { padding: 28px 32px; }
.bento-2x1 h2 { font-size: 22px; }
.bento-2x1 .thumb { height: 200px; }

.bento-1x2 { grid-row: span 2; }
.bento-1x2 a { height: 100%; display: flex; flex-direction: column; justify-content: center; }

/* CTA card */
.bento-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  text-align: center;
  padding: 40px;
  color: var(--white);
}
.bento-cta h2 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.bento-cta p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.bento-cta .btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--white);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.bento-cta .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* =============================================
   Sections
   ============================================= */
.section { padding: 60px 0; }
.section-alt { background: #f8fafc; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.section-head h2 { font-size: 22px; font-weight: 700; color: var(--text); }
.section-head .more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}
.section-head .more:hover { opacity: .8; }

/* Category grid */
.home-category { padding: 40px 0; }
.bento-cat { grid-template-columns: repeat(4, 1fr); }
.bento-cat .bento-card a { padding: 16px; }
.bento-cat .bento-card h3 { font-size: 15px; }

/* News grid */
.latest-news { padding: 40px 0; }
.bento-news { grid-template-columns: repeat(3, 1fr); }
.bento-news .bento-card { display: flex; flex-direction: column; }
.bento-news .bento-card a { flex: 1; display: flex; flex-direction: column; }
.bento-news .bento-card p { flex: 1; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37,99,235,.1);
  transform: translateY(-2px);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,.9); }

/* =============================================
   Article List (list.html)
   ============================================= */
.page-header {
  padding: 50px 0 40px;
  background: linear-gradient(135deg, #0f1d3d, var(--primary));
  color: var(--white);
  text-align: center;
}
.page-header h1 { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.page-header p { font-size: 15px; color: rgba(255,255,255,.75); }

.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s;
}
.article-item:hover { box-shadow: var(--shadow-md); }
.article-item h2 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.article-item h2 a { color: var(--text); }
.article-item h2 a:hover { color: var(--primary); }
.article-item .meta { font-size: 13px; color: #94a3b8; margin-bottom: 8px; display: flex; gap: 12px; }
.article-item p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.article-item .more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 40px 0;
}
.main-content { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.widget h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.side-nav li { margin-bottom: 2px; }
.side-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
  transition: background .2s;
}
.side-nav a:hover { background: var(--light); color: var(--primary); }

.hot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--light);
}
.hot-list li:last-child { border-bottom: none; }
.hot-list .num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
}
.hot-list a { font-size: 14px; color: var(--text); line-height: 1.4; }
.hot-list a:hover { color: var(--primary); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* =============================================
   Article Detail (detail.html)
   ============================================= */
.article-detail { max-width: 800px; margin: 0 auto; padding: 40px 0; }
.article-detail h1 { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.article-detail .meta { display: flex; gap: 16px; font-size: 13px; color: #94a3b8; margin-bottom: 20px; flex-wrap: wrap; }
.article-detail .content { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-detail .content h2 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.article-detail .content h3 { font-size: 17px; font-weight: 600; margin: 20px 0 10px; }
.article-detail .content p { margin-bottom: 16px; }
.article-detail .content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.article-detail .content ul,
.article-detail .content ol { padding-left: 20px; margin: 1em 0; }
.article-detail .content li { margin-bottom: 6px; }
.article-detail .content blockquote {
  border-left: 3px solid var(--primary);
  padding: 12px 20px;
  background: var(--light);
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
  color: var(--gray);
}
.article-detail .content code {
  background: var(--light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.article-detail .content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 16px 0;
}
.article-detail .content pre code { background: none; padding: 0; color: inherit; }
.article-detail .content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-detail .content th,
.article-detail .content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-detail .content th { background: var(--light); font-weight: 600; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.article-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light);
  border-radius: 4px;
  font-size: 13px;
  color: var(--gray);
  transition: all .2s;
}
.article-tags a:hover { background: var(--primary); color: var(--white); }

.article-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); gap: 16px; }
.article-nav a { font-size: 14px; color: var(--primary); }
.article-nav .next { text-align: right; }

/* =============================================
   Footer
   ============================================= */
.city-links-section {
  background: var(--light);
  padding: 32px 0;
}
.city-links-section .section-head { margin-bottom: 16px; }
.city-links-section .section-head h2 { font-size: 18px; }
.city-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 4px 8px;
}
.city-links-grid a {
  display: block;
  text-align: center;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gray);
  transition: background .2s, color .2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.city-links-grid a:hover { background: rgba(0,0,0,.06); color: var(--primary); }

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 6px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col a { font-size: 13px; color: #94a3b8; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* =============================================
   Contact Page
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
}
.contact-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--gray); margin-bottom: 12px; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-form h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group button { width: 100%; }

/* =============================================
   About Page
   ============================================= */
.about-content { padding: 40px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 12px; }
.about-stats { display: flex; gap: 32px; margin-top: 24px; }
.about-stats .stat-num { font-size: 32px; font-weight: 800; color: var(--primary); }
.about-stats .stat-label { font-size: 13px; color: var(--gray); }
.about-img { background: linear-gradient(135deg, #dbeafe, #e0e7ff); border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 64px; }

/* =============================================
   Search Page
   ============================================= */
.search-form { display: flex; gap: 8px; max-width: 600px; margin: 0 auto 32px; }
.search-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.search-form input:focus { outline: none; border-color: var(--primary); }
.search-form button { padding: 12px 24px; }

/* =============================================
   404 Page
   ============================================= */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 80px; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.error-page h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.error-page p { color: var(--gray); margin-bottom: 24px; }

/* =============================================
   Category Navigation (首页栏目导航)
   ============================================= */
.cat-nav-group {
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-nav-group:last-child { margin-bottom: 0; }
.cat-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--light);
}
.cat-nav-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.cat-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}
.cat-nav-more { font-size: 13px; color: var(--gray); }
.cat-nav-more:hover { color: var(--primary); }
.cat-nav-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
}
.cat-nav-item {
  display: inline-block;
  padding: 6px 14px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text);
  transition: all .2s;
}
.cat-nav-item:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* =============================================
   News List (最新资讯列表)
   ============================================= */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-size: 13px;
  color: #94a3b8;
  padding-top: 2px;
  white-space: nowrap;
}
.news-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.news-item h3 a { color: var(--text); }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { font-size: 13px; color: var(--gray); line-height: 1.5; margin: 0; }

/* =============================================
   News Columns (首页3列资讯)
   ============================================= */
.news-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-card { padding: 16px; }
.news-card-full {
  border-bottom: 1px solid var(--border);
}
.news-card-full:last-child { border-bottom: none; }
.news-card-full h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.news-card-full h3 a { color: var(--text); }
.news-card-full h3 a:hover { color: var(--primary); }
.news-card-full .meta { font-size: 12px; color: #94a3b8; margin-bottom: 6px; }
.news-card-full p { font-size: 13px; color: var(--gray); line-height: 1.5; margin: 0; }

.news-card-mini {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.news-card-mini:last-child { border-bottom: none; }
.news-card-mini::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}
.news-card-mini a { font-size: 13px; color: var(--text); line-height: 1.4; }
.news-card-mini a:hover { color: var(--primary); }

/* =============================================
   Article Grid (栏目文章卡片)
   ============================================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--primary); }
.article-card .meta { font-size: 12px; color: #94a3b8; margin-bottom: 8px; }
.article-card p { font-size: 13px; color: var(--gray); line-height: 1.5; margin: 0; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cat { grid-template-columns: repeat(2, 1fr); }
  .bento-news { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .news-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header .container { min-height: 56px; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; width: 100%; padding: 8px 0; }
  .main-nav a { padding: 12px 20px; border-radius: 0; border-bottom: 1px solid var(--light); }
  .sub-nav { position: static; box-shadow: none; border: none; padding-left: 20px; background: var(--light); border-radius: 0; }
  .sub-nav a { padding: 8px 16px; }

  .bento-grid,
  .bento-cat,
  .bento-news { grid-template-columns: 1fr; }
  .bento-2x1 { grid-column: span 1; }
  .bento-1x2 { grid-row: span 1; }

  .hero h1 { font-size: 1.8rem; }
  .section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .about-stats { gap: 20px; flex-wrap: wrap; }
  .article-detail h1 { font-size: 22px; }
  .article-nav { flex-direction: column; }

  .cat-nav-sub { gap: 6px; }
  .cat-nav-item { font-size: 12px; padding: 5px 10px; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .news-date { font-size: 12px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .news-cols { grid-template-columns: 1fr; }
}

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

/* =============================================
   Ad Slots
   ============================================= */
.ad-slot { margin: 16px 0; text-align: center; }
.ad-slot img { max-width: 100%; border-radius: 6px; }

/* =============================================
   Float buttons
   ============================================= */
.float-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 160px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  border: none;
  z-index: 998;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.float-top.visible { display: flex; }

/* ===== 悬浮客服 ===== */
.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}}

/* ===== 侧边栏服务导航（上下级） ===== */
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav .side-nav-item { margin-bottom: 2px; }
.side-nav .side-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--text);
  border-radius: 8px; transition: background .2s, color .2s; text-decoration: none;
}
.side-nav .side-nav-link:hover { background: var(--light); color: var(--primary); }
.side-nav .side-nav-item.has-sub > .side-nav-link::after {
  content: ''; width: 6px; height: 6px; border-right: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray); transform: rotate(45deg); margin-top: -3px; opacity: .6;
}
.side-nav .side-nav-item.is-active > .side-nav-link,
.side-nav .side-nav-sub-item.is-active > .side-nav-sub-link {
  background: var(--primary); color: #fff; font-weight: 700;
}
.side-nav .side-nav-sub { list-style: none; margin: 2px 0 6px 12px; padding-left: 12px; border-left: 1px solid var(--border); }
.side-nav .side-nav-sub-link {
  display: block; padding: 6px 10px; font-size: 13px; color: var(--gray);
  border-radius: 6px; transition: background .2s, color .2s; text-decoration: none;
}
.side-nav .side-nav-sub-link:hover { background: var(--light); color: var(--primary); }
.side-nav .side-nav-sub-item.is-active > .side-nav-sub-link { background: var(--primary); color: #fff; }
﻿.featured-image { margin-bottom: 16px; }
.featured-image img { width: 100%; height: auto; border-radius: 8px; display: block; }

