/* ============================================

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #2c3e50; background: #f5f7fa; line-height: 1.6;
}
a { color: #2a7de1; text-decoration: none; transition: color .2s; }
a:hover { color: #1a5fb4; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 50px 0; }
.section-alt { background: #fff; }

/* --- Section Title --- */
.section-title {
  font-size: 1.5rem; font-weight: 700; color: #1a2332; margin-bottom: 8px;
}
.section-subtitle {
  font-size: .95rem; color: #7a8ba0; margin-bottom: 28px;
}
.section-title .accent { color: #2a7de1; }

/* --- Top Bar --- */
.top-bar {
  background: #1a2332; color: #a0aec0; font-size: .8rem; padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #a0aec0; margin-left: 16px; }
.top-bar a:hover { color: #fff; }

/* --- Header --- */
.header {
  background: #fff; border-bottom: 2px solid #2a7de1; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: #1a2332;
}
.logo-icon {
  width: 36px; height: 36px; background: #2a7de1; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
}
.logo .dot { color: #2a7de1; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 16px; border-radius: 6px; font-size: .95rem; font-weight: 500; color: #3d4f65;
  transition: all .2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #edf2fc; color: #2a7de1;
}
.main-nav a.hot::after {
  content: "HOT"; font-size: .6rem; background: #e74c3c; color: #fff;
  padding: 1px 4px; border-radius: 3px; margin-left: 4px; vertical-align: super;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a7de1 50%, #4aa3f0 100%);
  padding: 60px 0 70px; color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -.5px; }
.hero p { font-size: 1.1rem; opacity: .9; margin-bottom: 32px; }

.search-box {
  display: flex; max-width: 560px; margin: 0 auto; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.search-box input {
  flex: 1; border: none; padding: 16px 20px; font-size: 1rem; color: #2c3e50; outline: none;
}
.search-box input::placeholder { color: #a0aec0; }
.search-box button {
  background: #2a7de1; color: #fff; border: none; padding: 16px 32px;
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .2s;
}
.search-box button:hover { background: #1a5fb4; }

.hot-tags { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hot-tags span { font-size: .85rem; opacity: .7; }
.hot-tags a {
  background: rgba(255,255,255,.15); color: #fff; padding: 4px 12px;
  border-radius: 20px; font-size: .82rem; transition: background .2s;
}
.hot-tags a:hover { background: rgba(255,255,255,.3); }

/* --- Search Results Page --- */
.search-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a7de1 100%);
  padding: 40px 0 44px; color: #fff; text-align: center;
}
.search-hero h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; }
.search-form {
  display: flex; max-width: 600px; margin: 0 auto; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.search-input {
  flex: 1; border: none; padding: 14px 20px; font-size: 1rem; color: #2c3e50; outline: none;
}
.search-input::placeholder { color: #a0aec0; }
.search-btn {
  background: #2a7de1; color: #fff; border: none; padding: 14px 28px;
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .2s;
}
.search-btn:hover { background: #1a5fb4; }

.search-result-summary {
  padding: 0 0 20px; border-bottom: 1px solid #e8edf3; margin-bottom: 24px;
}
.search-result-summary p { font-size: .95rem; color: #5a6b80; margin: 0; }
.search-result-summary strong { color: #1a2332; }
.search-tip { margin-top: 6px !important; font-size: .88rem !important; color: #a0aec0 !important; }

.search-results-list { display: flex; flex-direction: column; gap: 20px; }
.search-result-item {
  background: #fff; border: 1px solid #e8edf3; border-radius: 12px;
  padding: 20px 24px; transition: box-shadow .2s, border-color .2s;
}
.search-result-item:hover { box-shadow: 0 4px 16px rgba(42,125,225,.1); border-color: #c5d9f0; }
.sr-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}
.sr-channel {
  background: #e8f2fc; color: #2a7de1; padding: 2px 10px; border-radius: 4px;
  font-size: .78rem; font-weight: 600;
}
.sr-date, .sr-views { font-size: .78rem; color: #a0aec0; }
.sr-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; line-height: 1.5; }
.sr-title a { color: #1a2332; text-decoration: none; transition: color .2s; }
.sr-title a:hover { color: #2a7de1; }
.sr-summary { font-size: .9rem; color: #5a6b80; line-height: 1.7; margin: 0 0 12px; }
.sr-footer { display: flex; justify-content: flex-end; }
.sr-read-more {
  font-size: .85rem; color: #2a7de1; text-decoration: none; font-weight: 600;
  transition: color .2s;
}
.sr-read-more:hover { color: #1a5fb4; }

.search-suggestions h3 { font-size: 1.1rem; font-weight: 700; color: #1a2332; margin-bottom: 14px; }
.suggestion-tags, .suggestion-channels {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.suggestion-tags a {
  background: #f4f7fb; color: #5a6b80; padding: 6px 14px; border-radius: 20px;
  font-size: .88rem; border: 1px solid #e8edf3; text-decoration: none; transition: all .2s;
}
.suggestion-tags a:hover { background: #e8f2fc; color: #2a7de1; border-color: #c5d9f0; }
.suggestion-channels a {
  background: #fff; color: #2a7de1; padding: 6px 14px; border-radius: 8px;
  font-size: .88rem; border: 1px solid #c5d9f0; text-decoration: none; font-weight: 600;
  transition: all .2s;
}
.suggestion-channels a:hover { background: #2a7de1; color: #fff; }

/* --- Category Grid --- */
.cat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.cat-card {
  background: #fff; border-radius: 12px; padding: 24px 16px; text-align: center;
  border: 1px solid #e8edf3; transition: all .25s; cursor: pointer;
}
.cat-card:hover {
  border-color: #2a7de1; box-shadow: 0 6px 20px rgba(42,125,225,.1);
  transform: translateY(-2px);
}
.cat-icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.cat-card h3 { font-size: 1rem; font-weight: 600; color: #1a2332; margin-bottom: 4px; }
.cat-card p { font-size: .78rem; color: #7a8ba0; }
.ci-implant { background: #eef4ff; }
.ci-ortho { background: #f0faf0; }
.ci-cosmetic { background: #fff5f0; }
.ci-child { background: #f5f0ff; }
.ci-periodontal { background: #f0f8f8; }
.ci-root { background: #fffbf0; }
.ci-denture { background: #f5f5f5; }
.ci-whitening { background: #f0fff5; }
.ci-checkup { background: #f8f0ff; }
.ci-emergency { background: #fff0f0; }

/* --- Price Reference --- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.price-card {
  background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #e8edf3;
  transition: all .25s;
}
.price-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-2px); }
.price-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.price-card-header h3 { font-size: 1.05rem; font-weight: 600; color: #1a2332; }
.price-badge {
  font-size: .7rem; padding: 3px 8px; border-radius: 10px; font-weight: 600;
}
.badge-hot { background: #fff0f0; color: #e74c3c; }
.badge-new { background: #f0faf0; color: #27ae60; }
.badge-trend { background: #f5f0ff; color: #8e44ad; }

.price-range {
  font-size: 1.5rem; font-weight: 800; color: #2a7de1; margin-bottom: 4px;
}
.price-range .unit { font-size: .85rem; font-weight: 500; color: #7a8ba0; }
.price-desc { font-size: .82rem; color: #7a8ba0; margin-bottom: 16px; }

.price-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.city-tag {
  font-size: .75rem; padding: 3px 10px; border-radius: 4px;
  background: #f0f3f8; color: #5a6b80; cursor: pointer; transition: all .2s;
}
.city-tag:hover { background: #edf2fc; color: #2a7de1; }

/* --- Knowledge Section --- */
.know-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 24px;
}
.know-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.know-card {
  background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e8edf3;
  transition: all .25s; cursor: pointer;
}
.know-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-2px); }
.know-card-img {
  height: 140px; background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; position: relative;
}
.know-card-img .tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.5); color: #fff; font-size: .7rem;
  padding: 2px 8px; border-radius: 4px;
}
.know-card-body { padding: 16px; }
.know-card-body h4 { font-size: .95rem; font-weight: 600; color: #1a2332; margin-bottom: 6px; line-height: 1.4; }
.know-card-body p { font-size: .82rem; color: #7a8ba0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.know-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-top: 1px solid #f0f3f8; font-size: .78rem; color: #a0aec0;
}

.know-sidebar { display: flex; flex-direction: column; gap: 16px; }
.know-list-card {
  background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #e8edf3;
}
.know-list-card h3 {
  font-size: .95rem; font-weight: 700; color: #1a2332; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 2px solid #2a7de1;
}
.know-list-card li {
  padding: 8px 0; border-bottom: 1px dashed #f0f3f8;
  display: flex; align-items: center; gap: 8px;
}
.know-list-card li:last-child { border-bottom: none; }
.know-list-card .rank {
  width: 20px; height: 20px; border-radius: 4px; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rank-1 { background: #e74c3c; color: #fff; }
.rank-2 { background: #e67e22; color: #fff; }
.rank-3 { background: #f39c12; color: #fff; }
.rank-n { background: #e8edf3; color: #7a8ba0; }
.know-list-card a { font-size: .85rem; color: #3d4f65; flex: 1; }
.know-list-card a:hover { color: #2a7de1; }
.know-list-card .views { font-size: .75rem; color: #a0aec0; flex-shrink: 0; }

/* --- Guide Section --- */
.guide-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.guide-card {
  background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #e8edf3;
  transition: all .25s; cursor: pointer; position: relative; overflow: hidden;
}
.guide-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-2px); }
.guide-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.gc-red::before { background: #e74c3c; }
.gc-blue::before { background: #2a7de1; }
.gc-green::before { background: #27ae60; }
.gc-purple::before { background: #8e44ad; }

.guide-card .gc-icon {
  font-size: 1.8rem; margin-bottom: 10px;
}
.guide-card h4 { font-size: .95rem; font-weight: 600; color: #1a2332; margin-bottom: 6px; }
.guide-card p { font-size: .78rem; color: #7a8ba0; line-height: 1.5; }

/* --- News Section --- */
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.news-item {
  background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #e8edf3;
  transition: all .25s;
}
.news-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.news-item-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.news-tag {
  font-size: .7rem; padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.nt-policy { background: #fff0f0; color: #e74c3c; }
.nt-industry { background: #edf2fc; color: #2a7de1; }
.nt-tech { background: #f0faf0; color: #27ae60; }
.news-date { font-size: .78rem; color: #a0aec0; }
.news-item h4 { font-size: .95rem; font-weight: 600; color: #1a2332; margin-bottom: 6px; line-height: 1.4; }
.news-item h4:hover { color: #2a7de1; }
.news-item p { font-size: .82rem; color: #7a8ba0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- City Map --- */
.city-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.city-card {
  background: #fff; border-radius: 10px; padding: 16px; border: 1px solid #e8edf3;
  text-align: center; transition: all .2s; cursor: pointer;
}
.city-card:hover { border-color: #2a7de1; background: #f8faff; }
.city-card h4 { font-size: .95rem; font-weight: 600; color: #1a2332; margin-bottom: 4px; }
.city-card .count { font-size: .78rem; color: #2a7de1; font-weight: 600; }
.city-card .label { font-size: .72rem; color: #a0aec0; }

/* --- Q&A Section --- */
.qa-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.qa-card {
  background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #e8edf3;
  transition: all .25s;
}
.qa-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.qa-q {
  font-size: .92rem; font-weight: 600; color: #1a2332; margin-bottom: 8px;
  display: flex; align-items: flex-start; gap: 6px;
}
.qa-q .q-mark {
  background: #2a7de1; color: #fff; font-size: .65rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; flex-shrink: 0; margin-top: 2px;
}
.qa-a { font-size: .82rem; color: #7a8ba0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.qa-meta { display: flex; justify-content: space-between; font-size: .75rem; color: #a0aec0; }

/* --- Toolbox Section --- */
.tool-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.tool-card {
  background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #e8edf3;
  text-align: center; transition: all .25s; cursor: pointer;
}
.tool-card:hover { border-color: #2a7de1; box-shadow: 0 6px 20px rgba(42,125,225,.08); transform: translateY(-2px); }
.tool-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.ti-calc { background: #edf2fc; }
.ti-compare { background: #f0faf0; }
.ti-quiz { background: #fff5f0; }
.ti-plan { background: #f5f0ff; }
.tool-card h4 { font-size: .95rem; font-weight: 600; color: #1a2332; margin-bottom: 4px; }
.tool-card p { font-size: .78rem; color: #7a8ba0; }

/* --- Footer --- */
.footer {
  background: #1a2332; color: #a0aec0; padding: 40px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.footer-about .footer-logo {
  font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.footer-about p { font-size: .85rem; line-height: 1.6; }
.footer-col h5 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .85rem; color: #a0aec0; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2d3a4a; padding-top: 16px;
  display: flex; justify-content: space-between; font-size: .78rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .know-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .qa-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hero h1 { font-size: 1.6rem; }
}

/* ============================================

/* Top Bar */
.top-bar{background:#1a2332;color:#a0aec0;font-size:.8rem;padding:6px 0}

/* Header */
.header{background:#fff;border-bottom:2px solid #2a7de1;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.logo{display:flex;align-items:center;gap:10px;font-size:1.4rem;font-weight:800;color:#1a2332}
.logo-icon{width:36px;height:36px;background:#2a7de1;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem}
.logo .dot{color:#2a7de1}
.main-nav{display:flex;gap:4px}
.main-nav a:hover,.main-nav a.active{background:#edf2fc;color:#2a7de1}

/* Breadcrumb */
.breadcrumb{padding:14px 0;font-size:.85rem;color:#7a8ba0}
.breadcrumb .sep{margin:0 6px}

/* Page Title */
.page-header{background:#fff;border-bottom:1px solid #e8edf3;padding:28px 0}
.page-header h1{font-size:1.6rem;font-weight:700;color:#1a2332;margin-bottom:6px}
.page-header p{font-size:.9rem;color:#7a8ba0}

/* Filter Bar */
.filter-bar{background:#fff;padding:16px 0;border-bottom:1px solid #e8edf3}
.filter-label{font-size:.85rem;font-weight:600;color:#5a6b80;flex-shrink:0}
.filter-tag{padding:5px 14px;border-radius:20px;font-size:.82rem;border:1px solid #e0e6ed;color:#5a6b80;cursor:pointer;transition:all .2s;background:#fff}
.filter-tag:hover,.filter-tag.active{background:#2a7de1;color:#fff;border-color:#2a7de1}

/* Main Layout */
.main-layout{display:grid;grid-template-columns:1fr 300px;gap:28px;padding:32px 0}

/* Article List */
.article-list{display:flex;flex-direction:column;gap:16px}
.article-item{background:#fff;border-radius:12px;padding:20px;border:1px solid #e8edf3;display:flex;gap:18px;transition:all .25s;cursor:pointer}
.article-item:hover{box-shadow:0 6px 20px rgba(0,0,0,.06);transform:translateY(-1px)}
.article-item-img .tag{position:absolute;top:6px;left:6px;background:rgba(0,0,0,.5);color:#fff;font-size:.65rem;padding:2px 7px;border-radius:3px}
.article-item-body h3{font-size:1.02rem;font-weight:600;color:#1a2332;margin-bottom:6px;line-height:1.45}
.article-item-body h3:hover{color:#2a7de1}
.article-item-body .desc{font-size:.84rem;color:#7a8ba0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;margin-bottom:10px}
.article-item-meta .cat-tag{background:#edf2fc;color:#2a7de1;padding:2px 8px;border-radius:4px;font-size:.72rem;font-weight:500}

/* Pagination */
.pagination{display:flex;justify-content:center;align-items:center;gap:6px;padding:32px 0}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:8px;font-size:.88rem;border:1px solid #e0e6ed;color:#5a6b80;transition:all .2s;padding:0 10px}
.pagination .active{background:#2a7de1;color:#fff;border-color:#2a7de1}
.pagination .dots{border:none;color:#a0aec0}

/* Sidebar */
.sidebar{display:flex;flex-direction:column;gap:16px}
.sidebar-card{background:#fff;border-radius:12px;padding:20px;border:1px solid #e8edf3}
.sidebar-card h3{font-size:.92rem;font-weight:700;color:#1a2332;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2a7de1}
.sidebar-card li{padding:7px 0;border-bottom:1px dashed #f0f3f8;display:flex;align-items:center;gap:8px}
.sidebar-card li:last-child{border-bottom:none}
.rank{width:20px;height:20px;border-radius:4px;font-size:.72rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rank-1{background:#e74c3c;color:#fff}
.rank-2{background:#e67e22;color:#fff}
.rank-3{background:#f39c12;color:#fff}
.rank-n{background:#e8edf3;color:#7a8ba0}
.sidebar-card .views{font-size:.72rem;color:#a0aec0;flex-shrink:0}

/* Tag Cloud */
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}

/* Footer */
.footer{background:#1a2332;color:#a0aec0;padding:36px 0 18px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px;margin-bottom:28px}
.footer-about .footer-logo{font-size:1.15rem;font-weight:700;color:#fff;margin-bottom:8px}
.footer-about p{font-size:.82rem;line-height:1.6}
.footer-col h5{color:#fff;font-size:.88rem;font-weight:600;margin-bottom:12px}
.footer-bottom{border-top:1px solid #2d3a4a;padding-top:14px;display:flex;justify-content:space-between;font-size:.75rem}

@media(max-width:768px){
.main-layout{grid-template-columns:1fr}
.article-item{flex-direction:column}
.footer-grid{grid-template-columns:1fr 1fr}
.main-nav{display:none}
}

/* ============================================
   ============================================ */

.top-bar{background:#1a2332;color:#a0aec0;font-size:.8rem;padding:6px 0}
.header{background:#fff;border-bottom:2px solid #2a7de1;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.logo{display:flex;align-items:center;gap:10px;font-size:1.4rem;font-weight:800;color:#1a2332}
.logo-icon{width:36px;height:36px;background:#2a7de1;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem}
.logo .dot{color:#2a7de1}
.main-nav{display:flex;gap:4px}
.main-nav a:hover,.main-nav a.active{background:#edf2fc;color:#2a7de1}
.breadcrumb{padding:14px 0;font-size:.85rem;color:#7a8ba0}
.breadcrumb .sep{margin:0 6px}
.main-layout{display:grid;grid-template-columns:1fr 300px;gap:32px;padding:32px 0}
.article-wrap{background:#fff;border-radius:12px;border:1px solid #e8edf3;overflow:hidden}
.article-header{padding:32px 36px 24px;border-bottom:1px solid #f0f3f8}
.article-header .cat-tag{display:inline-block;background:#edf2fc;color:#2a7de1;padding:3px 10px;border-radius:4px;font-size:.75rem;font-weight:600;margin-bottom:12px}
.article-header h1{font-size:1.65rem;font-weight:700;color:#1a2332;line-height:1.45;margin-bottom:14px}
.article-meta .author{font-weight:500;color:#3d4f65}
.article-body{padding:20px}
.article-body h2,.article-body h3,.article-body h4{scroll-margin-top:74px}
.article-body h2{font-size:1.25rem;font-weight:700;color:#1a2332;margin:32px 0 14px;padding-left:12px;border-left:3px solid #2a7de1}
.article-body h3{font-size:1.08rem;font-weight:600;color:#1a2332;margin:24px 0 10px}
.article-body p{font-size:.95rem;color:#3d4f65;line-height:1.85;margin-bottom:16px}
.article-body ul,.article-body ol{padding-left:24px;margin-bottom:16px}
.article-body li{font-size:.92rem;color:#3d4f65;line-height:1.8;margin-bottom:6px;list-style:disc}
.article-body ol li{list-style:decimal}
.article-body strong{color:#1a2332;font-weight:600}
.article-body blockquote{background:#f8faff;border-left:3px solid #2a7de1;padding:16px 20px;margin:20px 0;border-radius:0 8px 8px 0;font-size:.9rem;color:#5a6b80;line-height:1.7}
.article-body .highlight-box{background:linear-gradient(135deg,#fff9e6,#fff3cc);border:1px solid #f0d060;border-radius:10px;padding:18px 22px;margin:20px 0}
.highlight-box .box-title{font-weight:700;color:#b8860b;font-size:.9rem;margin-bottom:8px}
.highlight-box p{margin-bottom:0;font-size:.88rem;color:#7a6520}
.article-body .data-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:.88rem}
.data-table th{background:#2a7de1;color:#fff;padding:10px 14px;text-align:left;font-weight:600}
.data-table td{padding:10px 14px;border-bottom:1px solid #e8edf3;color:#3d4f65}
.data-table tr:nth-child(even) td{background:#f8faff}
.article-tags{padding:20px 36px;border-top:1px solid #f0f3f8;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.article-tags .label{font-size:.85rem;font-weight:600;color:#7a8ba0}
.article-nav{display:flex;justify-content:space-between;gap:16px;margin-top:20px}
.article-nav .nav-label{font-size:.75rem;color:#a0aec0;margin-bottom:4px}
.article-nav .nav-title{font-weight:600;color:#1a2332}
.related-section{margin-top:28px}
.related-section h3{font-size:1.1rem;font-weight:700;color:#1a2332;margin-bottom:16px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.related-card{background:#fff;border-radius:10px;padding:16px;border:1px solid #e8edf3;transition:all .2s}
.related-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.05);transform:translateY(-1px)}
.related-card .rc-tag{display:inline-block;background:#edf2fc;color:#2a7de1;padding:2px 8px;border-radius:3px;font-size:.7rem;font-weight:500;margin-bottom:6px}
.related-card h4{font-size:.88rem;font-weight:600;color:#1a2332;margin-bottom:4px;line-height:1.4}
.related-card p{font-size:.78rem;color:#7a8ba0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sidebar{display:flex;flex-direction:column;gap:16px}
.sidebar-card{background:#fff;border-radius:12px;padding:20px;border:1px solid #e8edf3}
.sidebar-card h3{font-size:.92rem;font-weight:700;color:#1a2332;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2a7de1}
.sidebar-card li{padding:7px 0;border-bottom:1px dashed #f0f3f8;display:flex;align-items:center;gap:8px}
.sidebar-card li:last-child{border-bottom:none}
.rank{width:20px;height:20px;border-radius:4px;font-size:.72rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rank-1{background:#e74c3c;color:#fff}
.rank-2{background:#e67e22;color:#fff}
.rank-3{background:#f39c12;color:#fff}
.rank-n{background:#e8edf3;color:#7a8ba0}
.sidebar-card .views{font-size:.72rem;color:#a0aec0;flex-shrink:0}
.sidebar-card li a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;color:#3d4f65;line-height:1.4}
.sidebar-card li a:hover{color:#2a7de1}
.toc-card{background:#fff;border-radius:12px;padding:20px;border:1px solid #e8edf3;position:sticky;top:80px}
.toc-card h3{font-size:.92rem;font-weight:700;color:#1a2332;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2a7de1}
.toc-card .toc-item{display:block;margin:2px 0}
.toc-card .toc-item a{display:block;padding:5px 8px;font-size:.82rem;color:#3d4f65;text-decoration:none;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
.toc-card .toc-item a:hover{background:#f0f4ff;color:#2a7de1}
.footer{background:#1a2332;color:#a0aec0;padding:36px 0 18px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px;margin-bottom:28px}
.footer-about .footer-logo{font-size:1.15rem;font-weight:700;color:#fff;margin-bottom:8px}
.footer-about p{font-size:.82rem;line-height:1.6}
.footer-col h5{color:#fff;font-size:.88rem;font-weight:600;margin-bottom:12px}
.footer-bottom{border-top:1px solid #2d3a4a;padding-top:14px;display:flex;justify-content:space-between;font-size:.75rem}
@media(max-width:768px){
.main-layout{grid-template-columns:1fr}
.article-header{padding:20px}
.article-tags{padding:16px 20px}
.article-nav{flex-direction:column}
.related-grid{grid-template-columns:1fr}
.toc-card{position:static}
.footer-grid{grid-template-columns:1fr 1fr}
.main-nav{display:none}
}