:root {
  --primary: #0c4a6e;
  --primary-light: #0ea5e9;
  --primary-dark: #082f49;
  --hospital: #2563eb;
  --hospital-bg: #eff6ff;
  --edu-green: #059669;
  --edu-bg: #f0fdf4;
  --accent: #d97706;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hospital); }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: var(--shadow-lg); }

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700;
  color: var(--primary);
}
.logo .icon { font-size: 26px; }
.logo .sub { font-size: 11px; font-weight: 400; color: var(--text-light); display: block; margin-top: -2px; }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text); font-size: 14px; font-weight: 500;
  padding: 4px 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary-light);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e3a5f 100%);
  color: white; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(14,165,233,0.12) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(5,150,105,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 12px; letter-spacing: -1px; }
.hero h1 .hl-blue { color: #60a5fa; }
.hero h1 .hl-green { color: #34d399; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.3s; border: none;
}
.btn-primary { background: white; color: var(--primary); }
.btn-primary:hover { background: #e2e8f0; transform: translateY(-2px); color: var(--primary); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-hospital { background: var(--hospital); color: white; }
.btn-hospital:hover { background: #1d4ed8; transform: translateY(-2px); color: white; }
.btn-edu { background: var(--edu-green); color: white; }
.btn-edu:hover { background: #047857; transform: translateY(-2px); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #b45309; transform: translateY(-2px); color: white; }

/* Page Header */
.page-header {
  padding: 120px 24px 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white; text-align: center;
}
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 16px; }
.page-header .tagline { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.page-header .tagline span {
  padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.tag-hospital { background: rgba(37,99,235,0.25); color: #93c5fd; }
.tag-edu { background: rgba(5,150,105,0.25); color: #6ee7b7; }
.tag-tool { background: rgba(217,119,6,0.25); color: #fcd34d; }

/* Section */
.section { padding: 64px 24px; }
.section-alt { background: white; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-container { max-width: var(--max-width); margin: 0 auto; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.card-icon.blue { background: var(--hospital-bg); color: var(--hospital); }
.card-icon.green { background: var(--edu-bg); color: var(--edu-green); }
.card-icon.gold { background: #fffbeb; color: var(--accent); }
.card-icon.teal { background: #f0fdfa; color: #0d9488; }
.card h3 { font-size: 17px; margin-bottom: 8px; color: var(--primary); }
.card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Specialty card variants */
.card-hospital { border-left: 4px solid var(--hospital); }
.card-edu { border-left: 4px solid var(--edu-green); }
.card-hospital .card-icon { background: var(--hospital-bg); color: var(--hospital); }
.card-edu .card-icon { background: var(--edu-bg); color: var(--edu-green); }

/* Two column */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cols-2-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }

/* Feature blocks */
.feature-block {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin-bottom: 20px;
}
.feature-block h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.feature-block ul { list-style: none; margin: 0; }
.feature-block li {
  padding: 6px 0; display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; border-bottom: 1px solid #f1f5f9;
}
.feature-block li:last-child { border-bottom: none; }
.feature-block li::before { content: '›'; color: var(--primary-light); font-weight: 700; font-size: 18px; line-height: 1.4; }
.feature-block.hospital { border-left: 4px solid var(--hospital); }
.feature-block.education { border-left: 4px solid var(--edu-green); }

/* News items */
.news-list { list-style: none; }
.news-list li {
  padding: 16px 20px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 10px;
  transition: all 0.2s;
}
.news-list li:hover { border-color: var(--primary-light); background: #f8fafc; }
.news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.news-tag {
  display: inline-block; padding: 1px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 500;
}
.news-tag.hospital { background: var(--hospital-bg); color: var(--hospital); }
.news-tag.edu { background: var(--edu-bg); color: var(--edu-green); }
.news-tag.general { background: #f1f5f9; color: var(--text-light); }
.news-title { font-weight: 600; color: var(--text); font-size: 15px; }
.news-summary { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* Case cards */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all 0.3s;
}
.case-card:hover { box-shadow: var(--shadow-lg); }
.case-card h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; line-height: 1.6; }
.case-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 12px; }

/* Tools download */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool-item {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all 0.2s;
}
.tool-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.tool-icon { font-size: 28px; flex-shrink: 0; }
.tool-info { flex: 1; }
.tool-info h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.tool-info p { font-size: 12px; color: var(--text-light); margin-bottom: 8px; line-height: 1.5; }
.tool-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.tag {
  padding: 1px 8px; border-radius: 10px; font-size: 10px; font-weight: 500;
}
.tag-excel { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.tag-word { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.tag-new { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* Sub-navigation */
.sub-nav {
  background: white; border-bottom: 1px solid var(--border);
  padding: 0 24px; position: sticky; top: var(--header-height); z-index: 100;
}
.sub-nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; gap: 4px; overflow-x: auto;
}
.sub-nav a {
  display: inline-block; padding: 12px 20px;
  font-size: 14px; font-weight: 500; color: var(--text-light);
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: all 0.2s;
}
.sub-nav a:hover { color: var(--primary); border-bottom-color: var(--primary-light); }
.sub-nav a.active { color: var(--primary); border-bottom-color: var(--primary-light); }
.sub-nav a.hospital-link:hover, .sub-nav a.hospital-link.active { color: var(--hospital); border-bottom-color: var(--hospital); }
.sub-nav a.edu-link:hover, .sub-nav a.edu-link.active { color: var(--edu-green); border-bottom-color: var(--edu-green); }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: var(--max-width); margin: -40px auto 0; padding: 0 24px;
  position: relative; z-index: 10;
}
.stat-card {
  background: white; border-radius: var(--radius); padding: 24px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.stat-num { font-size: 32px; font-weight: 800; }
.stat-num.blue { color: var(--hospital); }
.stat-num.green { color: var(--edu-green); }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white; text-align: center; padding: 64px 24px;
}
.cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 24px; }

/* Footer */
footer {
  background: #0f172a; color: rgba(255,255,255,0.5);
  padding: 48px 24px 32px;
}
.footer-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 24px;
}
.footer-brand h3 { color: white; font-size: 18px; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 14px; margin-bottom: 10px; }
.footer-col a { display: block; color: rgba(255,255,255,0.4); font-size: 13px; padding: 3px 0; }
.footer-col a:hover { color: #60a5fa; }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; text-align: center;
}

/* Content page */
.content-page { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.content-page h2 { font-size: 22px; color: var(--primary); margin: 32px 0 12px; }
.content-page h3 { font-size: 17px; color: var(--primary); margin: 24px 0 10px; }
.content-page p { margin-bottom: 14px; color: var(--text); }
.content-page ul { margin: 0 0 16px 20px; }
.content-page li { margin-bottom: 6px; }

/* Sector quick links */
.sector-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sector-card {
  background: white; border-radius: var(--radius); padding: 36px;
  text-align: center; transition: all 0.3s; cursor: pointer;
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sector-card.hospital { border: 2px solid var(--hospital); }
.sector-card.hospital:hover { background: var(--hospital-bg); }
.sector-card.edu { border: 2px solid var(--edu-green); }
.sector-card.edu:hover { background: var(--edu-bg); }
.sector-icon { font-size: 48px; margin-bottom: 12px; }
.sector-card h3 { font-size: 22px; margin-bottom: 8px; }
.sector-card p { font-size: 14px; color: var(--text-light); max-width: 300px; margin: 0 auto 16px; }

/* YoYo software badges */
.yoyo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
}
.yoyo-badge.blue { background: #dbeafe; color: #1d4ed8; }
.yoyo-badge.green { background: #d1fae5; color: #065f46; }

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--header-height);
    left: 0; right: 0; background: white; flex-direction: column;
    padding: 16px 24px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); gap: 12px;
  }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero { padding: 120px 16px 60px; }
  .card-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; gap: 20px; }
  .cols-2-3 { grid-template-columns: 1fr; }
  .sector-links { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 16px; }
  .page-header { padding: 100px 16px 40px; }
  .page-header h1 { font-size: 26px; }
  .sub-nav { padding: 0; }
  .sub-nav a { padding: 10px 14px; font-size: 13px; }
  .sector-card { padding: 24px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ===== 搜索面板 ===== */
.search-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: none; background: transparent;
  font-size: 18px; cursor: pointer; border-radius: 8px;
  transition: background 0.2s;
}
.search-toggle:hover { background: var(--border); }

.search-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); z-index: 998;
}
.search-overlay.open { display: block; }

.search-panel {
  display: none; position: fixed; top: 80px; left: 50%;
  transform: translateX(-50%); width: 90%; max-width: 680px;
  max-height: 70vh; background: white; border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25); z-index: 999;
  overflow: hidden; flex-direction: column;
}
.search-panel.open { display: flex; }

.search-panel-header {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.search-panel-header input {
  flex: 1; border: none; outline: none; font-size: 16px;
  padding: 8px 0; background: transparent;
}
.search-close {
  border: none; background: var(--border); width: 32px; height: 32px;
  border-radius: 50%; font-size: 14px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: var(--text-light);
}
.search-results { overflow-y: auto; padding: 12px 0; }
.search-empty { padding: 32px 20px; text-align: center; color: var(--text-light); }
.search-hits { padding: 8px 20px 4px; font-size: 13px; color: var(--text-light); }
.search-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  text-decoration: none; color: var(--text); transition: background 0.15s;
}
.search-item:hover { background: #f1f5f9; }
.search-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
  white-space: nowrap; font-weight: 500;
}
.tag-article { background: #dbeafe; color: #1d4ed8; }
.tag-news { background: #fce7f3; color: #be185d; }
.tag-case { background: #d1fae5; color: #065f46; }
.search-title { flex: 1; font-size: 14px; font-weight: 500; }
.search-summary { font-size: 12px; color: var(--text-muted); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 文章动态网格 ===== */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin-top: 24px;
}
.article-card {
  display: block; background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-decoration: none;
  color: var(--text); transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-card h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.article-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; margin-bottom: 8px; }
.article-cat {
  display: inline-block; font-size: 11px; padding: 2px 8px;
  border-radius: 4px; background: var(--hospital-bg); color: var(--hospital);
  margin-bottom: 10px; font-weight: 500;
}
.article-date { font-size: 12px; color: var(--text-muted); }

/* ===== 资讯动态列表 ===== */
#news-list {
  display: flex; flex-direction: column; gap: 12px;
}
.news-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 24px;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px;
}
.news-badge {
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
  background: #f0fdfa; color: #0f766e; font-weight: 500;
}
.news-source { color: var(--text-muted); }
.news-card h3 { font-size: 16px; margin-bottom: 6px; }
.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== 首页最新资讯（紧凑版） ===== */
.news-teaser {
  padding: 24px 0 8px;
}
.teaser-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.teaser-header h2 {
  font-size: 16px; font-weight: 600; color: var(--text);
}
.teaser-more {
  font-size: 13px; color: var(--primary-light); text-decoration: none;
}
.teaser-more:hover { text-decoration: underline; }
.home-news {
  display: flex; flex-direction: column; gap: 6px;
}
.news-mini-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: white; border: 1px solid var(--border);
  border-radius: 6px; text-decoration: none; color: var(--text);
  transition: box-shadow 0.15s;
}
.news-mini-card:hover { box-shadow: var(--shadow); }
.news-meta {
  font-size: 10px; padding: 1px 6px; border-radius: 3px;
  background: #f0fdfa; color: #0f766e; white-space: nowrap;
  font-weight: 500; min-width: 40px; text-align: center;
}
.news-title { flex: 1; font-size: 13px; }
.news-date { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* ===== 案例动态列表 ===== */
.cases-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px; margin-top: 20px;
}
.case-card {
  background: white; border: 1px solid var(--border);
  border-left: 4px solid var(--hospital);
  border-radius: var(--radius-sm); padding: 20px 24px;
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: var(--shadow); }
.case-card h3 { font-size: 15px; margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.case-meta {
  display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--text-muted);
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center; padding: 48px 20px; color: var(--text-light);
  font-size: 15px;
}

/* ===== 文章详情页 ===== */
.article-meta-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 8px; font-size: 14px;
}
.article-meta-tag {
  font-size: 12px; padding: 3px 10px; border-radius: 6px;
  background: #f1f5f9; color: var(--text-light); font-weight: 500;
}
.article-meta-tag.tag-hospital { background: var(--hospital-bg); color: var(--hospital); }
.article-meta-tag.tag-edu { background: var(--edu-bg); color: var(--edu-green); }
.article-meta-tag.tag-news-badge { background: #fce7f3; color: #be185d; }
.article-meta-author { color: var(--text-light); font-size: 13px; }
.article-meta-date { color: var(--text-muted); font-size: 13px; }

.article-detail {
  max-width: 800px; margin: 0 auto;
}
.article-body {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 48px;
  line-height: 1.8; font-size: 15px; color: var(--text);
}
.article-body h2 {
  font-size: 20px; margin: 32px 0 12px; color: var(--primary);
  padding-bottom: 8px; border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-size: 17px; margin: 24px 0 8px; color: var(--text);
}
.article-body p { margin-bottom: 12px; }
.article-body ul, .article-body ol { margin: 8px 0 16px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body pre {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 20px; margin: 16px 0;
  font-size: 13px; line-height: 1.6; overflow-x: auto;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  color: #1e293b;
}
.article-body table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 14px;
}
.article-body th, .article-body td {
  padding: 10px 14px; border: 1px solid var(--border); text-align: left;
}
.article-body th { background: #f8fafc; font-weight: 600; }
.article-body strong { font-weight: 600; }

.article-back { margin-top: 32px; text-align: center; }
.article-body .loading-spinner { text-align: center; padding: 48px; color: var(--text-muted); }

@media (max-width: 768px) {
  .article-body { padding: 20px 16px; }
  .article-body h2 { font-size: 18px; }
  .article-body h3 { font-size: 16px; }
}

/* ===== 制度法规页面 ===== */
.reg-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px; margin-top: 20px;
}
.reg-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 24px;
  transition: box-shadow 0.2s;
}
.reg-card:hover { box-shadow: var(--shadow); }
.reg-card h3 { font-size: 15px; margin-bottom: 4px; }
.reg-badge {
  display: inline-block; font-size: 11px; padding: 2px 8px;
  border-radius: 4px; margin-bottom: 8px; font-weight: 500;
}
.reg-badge.general { background: #f1f5f9; color: #475569; }
.reg-badge.hospital { background: var(--hospital-bg); color: var(--hospital); }
.reg-badge.edu { background: var(--edu-bg); color: var(--edu-green); }
.reg-num { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.reg-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* 文章内法规依据框 */
.reg-footer {
  margin-top: 32px; padding: 20px 24px;
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px;
}
.reg-footer h4 {
  font-size: 14px; color: var(--primary); margin-bottom: 8px;
}
.reg-footer ul { margin: 4px 0 0 18px; }
.reg-footer li { margin-bottom: 4px; color: var(--text-light); line-height: 1.6; }
.reg-footer .reg-note {
  margin-top: 8px; font-size: 12px; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 8px;
}

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