/* ============================================
   向银律师的博客 - 核心样式表 v2
   配色：深蓝 #142a4f + 金色 #c2a570
   设计原则：大字体、强视觉、去简历化
   ============================================ */

:root {
  --navy: #142a4f;
  --navy-light: #2d4a7a;
  --navy-dark: #0d1f3a;
  --gold: #c2a570;
  --gold-light: #d4bd8e;
  --gold-dark: #a8884f;
  --bg: #faf9f6;
  --bg-white: #ffffff;
  --text: #1a1a2e;
  --text-light: #444;
  --text-muted: #888;
  --border: #e5e3dd;
  --border-light: #f0eee8;
  --tag-bg: #eef1f6;
  --tag-text: #2d4a7a;
  --font-serif: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif CJK SC', serif;
  --font-sans: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-mono: 'SF Mono', 'Menlo', Consolas, 'Liberation Mono', monospace;
  --header-h: 72px;
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(20,42,79,0.08);
  --shadow-hover: 0 12px 36px rgba(20,42,79,0.16);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

/* ===== 导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  height: 100%; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--navy);
}
.logo .logo-mark {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 24px; font-weight: 700;
}
.logo .logo-sub {
  font-family: var(--font-sans);
  font-size: 11px; color: var(--gold-dark);
  font-weight: 400; letter-spacing: 1.5px;
  display: block; line-height: 1.2;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-menu a {
  padding: 10px 18px;
  font-size: 15px; color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-weight: 500;
}
.nav-menu a:hover { color: var(--navy); background: var(--tag-bg); }
.nav-menu a.active { color: var(--navy); font-weight: 600; }
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; font-size: 28px; color: var(--navy);
}

/* ===== 基础 ===== */
.main { padding-top: var(--header-h); }
.container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}

/* ===== Hero 区域 ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  color: #fff;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex; align-items: center;
}
/* 巨型法字背景 */
.hero::before {
  content: '法';
  position: absolute;
  right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(280px, 40vw, 520px);
  font-weight: 900;
  color: rgba(255,255,255,0.035);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-inner { position: relative; z-index: 2; max-width: 750px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(194,165,112,0.15);
  border: 1px solid rgba(194,165,112,0.35);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 14px; letter-spacing: 1px;
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--gold); }
.hero .tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600;
  transition: all 0.25s;
  cursor: pointer; border: none;
}
.btn-lg { padding: 16px 40px; font-size: 18px; }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(194,165,112,0.35); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-gold-outline { background: transparent; color: var(--gold-dark); border: 2px solid var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* ===== 通用 Section ===== */
.section { padding: 90px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-alt { background: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  font-size: 14px; letter-spacing: 3px;
  color: var(--gold-dark); text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 40px);
  color: var(--navy);
  font-weight: 700;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p {
  color: var(--text-muted); margin-top: 16px;
  font-size: 17px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ===== 数据统计 ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  padding: 56px 0;
}
.stat-item { padding: 8px; }
.stat-item .num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}
.stat-item .num .suffix { font-size: 0.6em; color: var(--gold); }
.stat-item .label {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 6px;
}
.stat-divider { width: 1px; background: var(--border); }

/* ===== 核心价值观 ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.value-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.value-card:hover::after { transform: scaleX(1); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-card .v-icon {
  font-size: 48px; margin-bottom: 20px;
  display: block;
}
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--navy);
  margin-bottom: 12px;
}
.value-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* ===== 宣言区 ===== */
.manifesto {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 0;
}
.manifesto .quote-mark {
  font-family: var(--font-serif);
  font-size: clamp(60px, 8vw, 100px);
  color: var(--gold);
  line-height: 0.8;
  opacity: 0.4;
  margin-bottom: 16px;
}
.manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.7;
  color: var(--navy);
  font-weight: 600;
  font-style: normal;
}
.manifesto .attribution {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== 文章卡片 ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s;
  display: flex; flex-direction: column;
  border: 1px solid var(--border-light);
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.article-cover {
  height: 180px;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 24px;
}
.article-cover .cover-tag {
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
}
.article-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 21px; color: var(--navy);
  line-height: 1.5; margin-bottom: 14px;
  font-weight: 700;
  transition: color 0.2s;
}
.article-card:hover .article-body h3 { color: var(--gold-dark); }
.article-body p {
  color: var(--text-light); font-size: 15px;
  line-height: 1.8; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.article-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--text-muted);
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--tag-bg);
  color: var(--tag-text);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.tag:hover { background: var(--navy); color: #fff; }
.tag.gold { background: rgba(194,165,112,0.15); color: var(--gold-dark); }
.tag-lg {
  padding: 10px 24px;
  font-size: 18px; font-weight: 600;
  background: var(--bg-white); color: var(--navy);
  border: 2px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.tag-lg:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.tags-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== 作品展示区 ===== */
.works-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.work-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.35s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.work-card .work-top {
  padding: 32px 32px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.work-card .work-icon {
  font-size: 42px;
  width: 64px; height: 64px;
  background: var(--tag-bg);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.work-card .work-count {
  font-family: var(--font-serif);
  font-size: 14px; color: var(--gold-dark);
  font-weight: 600;
}
.work-card .work-body { padding: 24px 32px 32px; }
.work-card h3 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--navy);
  margin-bottom: 12px;
}
.work-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}
.work-card .work-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}

/* ===== 业务领域 ===== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.practice-card {
  padding: 36px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.practice-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card .p-icon { font-size: 40px; margin-bottom: 18px; display: block; }
.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--navy);
  margin-bottom: 14px;
}
.practice-card p { color: var(--text-light); font-size: 15px; line-height: 1.8; }

/* ===== 关于/故事页 ===== */
.story-hero {
  background: var(--navy);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.story-hero::before {
  content: 'LAW';
  position: absolute;
  right: -20px; bottom: -30px;
  font-family: var(--font-serif);
  font-size: clamp(200px, 25vw, 400px);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  letter-spacing: 10px;
}
.story-hero-inner {
  display: flex; align-items: center; gap: 56px;
  position: relative; z-index: 2;
}
.avatar-lg {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 72px; font-weight: 700;
  color: var(--navy-dark); flex-shrink: 0;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.story-hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}
.story-hero-text .title-line {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
}
.story-hero-text .bio {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.9;
}

/* 故事化叙事 */
.story-section { padding: 80px 0; }
.story-section:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.story-section .story-label {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.story-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy);
  margin-bottom: 24px;
}
.story-section p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 16px;
  max-width: 680px;
}

/* 故事卡片 */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.story-card {
  padding: 36px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
}
.story-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.story-card .s-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.story-card h3 {
  font-family: var(--font-serif);
  font-size: 20px; color: var(--navy);
  margin-bottom: 10px;
}
.story-card p {
  font-size: 15px; color: var(--text-light);
  line-height: 1.9;
}
.story-card .s-meta {
  display: inline-block;
  font-size: 13px; color: var(--gold-dark);
  font-weight: 600;
  margin-top: 16px;
}

/* ===== 联系方式（突出版） ===== */
.contact-prominent {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-prominent::before {
  content: '✉';
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(200px, 25vw, 350px);
  opacity: 0.04;
  pointer-events: none;
}
.contact-prominent h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.contact-prominent p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.contact-prominent .contact-cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}
.contact-prominent .cta-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px 36px;
  min-width: 220px;
  transition: all 0.3s;
}
.contact-prominent .cta-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.contact-prominent .cta-card .cta-label {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.contact-prominent .cta-card .cta-value {
  font-size: 20px;
  font-weight: 600;
}
.contact-prominent .cta-card a { color: #fff; }
.contact-prominent .cta-card a:hover { color: var(--gold-light); }

/* 传统联系页 */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--bg-white);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 24px; color: var(--navy);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-light); margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s;
  background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-form-wrap .btn { width: 100%; justify-content: center; }

/* ===== 文章列表页 ===== */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: 12px;
}
.page-banner p { color: rgba(255,255,255,0.7); font-size: 17px; }
.filter-bar {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-bar .filter-label {
  font-size: 15px; font-weight: 600; color: var(--text-light);
  margin-right: 8px;
}
.filter-bar .tag.active { background: var(--navy); color: #fff; }

/* ===== 文章详情页 ===== */
.article-detail { padding: 72px 0; }
.article-detail-wrap { max-width: 820px; margin: 0 auto; }
.article-detail-header {
  text-align: center; margin-bottom: 48px;
}
.article-detail-header .tags-row { justify-content: center; margin-bottom: 24px; }
.article-detail-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.5;
  color: var(--navy); margin-bottom: 20px;
}
.article-detail-header .meta {
  display: flex; justify-content: center; gap: 24px;
  font-size: 15px; color: var(--text-muted);
}
.markdown-body {
  font-size: 17px; line-height: 2; color: var(--text);
}
.markdown-body h1 {
  font-family: var(--font-serif);
  font-size: 32px; color: var(--navy);
  margin: 48px 0 24px; font-weight: 700;
  padding-bottom: 14px; border-bottom: 2px solid var(--gold);
}
.markdown-body h2 {
  font-family: var(--font-serif);
  font-size: 26px; color: var(--navy);
  margin: 40px 0 18px; font-weight: 700;
  padding-left: 16px; border-left: 4px solid var(--gold);
}
.markdown-body h3 {
  font-size: 21px; color: var(--navy);
  margin: 32px 0 14px; font-weight: 700;
}
.markdown-body p { margin: 16px 0; }
.markdown-body ul, .markdown-body ol { margin: 16px 0; padding-left: 28px; }
.markdown-body li { margin: 10px 0; }
.markdown-body ul li::marker { color: var(--gold); }
.markdown-body blockquote {
  margin: 24px 0; padding: 20px 28px;
  background: linear-gradient(135deg, rgba(194,165,112,0.08), rgba(194,165,112,0.03));
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
  font-size: 16px;
}
.markdown-body code {
  font-family: var(--font-mono);
  background: #eef1f6; color: var(--navy);
  padding: 3px 8px; border-radius: 4px;
  font-size: 14px;
}
.markdown-body pre {
  background: var(--navy-dark); color: #e0e6f0;
  padding: 24px 28px; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 24px 0;
  font-size: 14px; line-height: 1.8;
}
.markdown-body table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 15px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm); overflow: hidden;
}
.markdown-body th {
  background: var(--navy); color: #fff;
  padding: 14px 18px; text-align: left;
  font-weight: 600;
}
.markdown-body td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.markdown-body tr:nth-child(even) td { background: var(--bg); }
.markdown-body hr {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 48px 0;
}
.markdown-body strong { color: var(--navy); font-weight: 700; }
.article-footer {
  max-width: 820px; margin: 48px auto 0;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.related { max-width: 820px; margin: 56px auto 0; }
.related h3 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--navy);
  margin-bottom: 24px;
}
.related-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}

/* ===== 标签云 ===== */
.tag-cloud {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center; max-width: 800px; margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600;
}
.footer-col p { font-size: 15px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo .logo-mark { background: var(--gold); color: var(--navy-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px; text-align: center;
  font-size: 14px; color: rgba(255,255,255,0.45);
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center; padding: 80px 20px; color: var(--text-muted);
}
.empty-state .emoji { font-size: 56px; margin-bottom: 20px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-hero-inner { flex-direction: column; text-align: center; }
  .story-hero-text .bio { max-width: 100%; }
  .contact-wrap { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .works-showcase { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-menu {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 16px 18px; width: 100%; border-radius: 0; font-size: 16px; }
  .menu-toggle { display: block; }
  .hero { padding: 60px 0 80px; min-height: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0; }
  .stat-divider:nth-child(4) { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-prominent .contact-cta-row { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 28px; }
  .page-banner { padding: 60px 0 40px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero { padding: 40px 0 60px; }
  .stats-row { grid-template-columns: 1fr; gap: 16px; }
  .stat-divider { display: none; }
  .section { padding: 48px 0; }
  .btn { padding: 12px 24px; font-size: 15px; }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
  .contact-prominent { padding: 60px 0; }
}
