@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&family=Playfair+Display+SC:wght@400;700&display=swap');

/* ── 基础变量 ── */
:root {
  --c-primary: #56228b;
  --c-primary-light: #7a3db8;
  --c-primary-dark: #3a1660;
  --c-secondary: #8b4513;
  --c-secondary-light: #b05a1e;
  --c-ink: #1f1726;
  --c-ink-muted: #3a2f44;
  --c-surface: #faf7f4;
  --c-surface-2: #f2ece8;
  --c-surface-3: #e8dfd8;
  --c-border: #d4c5bb;
  --c-text: #2a1f35;
  --c-text-muted: #6b5c72;
  --c-white: #ffffff;
  --c-gold: #c9a84c;
  --c-gold-light: #e8c97a;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 4px 24px rgba(86,34,139,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 40px rgba(86,34,139,0.18), 0 2px 8px rgba(0,0,0,0.10);
  --shadow-card: 0 2px 16px rgba(86,34,139,0.08), 0 1px 3px rgba(0,0,0,0.05);

  --font-title: 'Playfair Display SC', Georgia, serif;
  --font-body: 'Karla', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --max-w: 1180px;
  --content-w: 820px;
  --sidebar-w: 260px;
  --gap: 1.5rem;
}

/* ── 重置 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-ink);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
a { color: var(--c-primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-gold); }
ol, ul { list-style: none; }

/* ── 站点包装 ── */
.site-wrap {
  min-height: 100vh;
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════
   顶部导航（两行：品牌行 + 菜单行）
══════════════════════════════ */
.site-header {
  background: var(--c-ink);
  border-bottom: 2px solid var(--c-primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-brand-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(86,34,139,0.3);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-white);
  text-decoration: none;
}
.brand-link:hover { color: var(--c-gold-light); }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.brand-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  min-height: 40px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(86,34,139,0.3);
}
.header-cta-btn:hover {
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-gold));
  color: var(--c-ink);
  box-shadow: 0 4px 20px rgba(86,34,139,0.4);
}

.header-nav-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-nav-row nav > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}
.header-nav-row nav > ol > li > a {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  min-height: 44px;
  border-radius: 0;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.header-nav-row nav > ol > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-primary-light);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.header-nav-row nav > ol > li > a:hover {
  color: var(--c-gold-light);
  background: rgba(86,34,139,0.15);
}
.header-nav-row nav > ol > li > a:hover::after { transform: scaleX(1); }

/* ══════════════════════════════
   主内容撑满剩余高度
══════════════════════════════ */
main { flex: 1; }

/* ══════════════════════════════
   Hero 区块 — 左图右文
══════════════════════════════ */
.hero-section {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-primary-dark) 60%, var(--c-ink-muted) 100%);
  display: flex;
  align-items: stretch;
  min-height: 45vh;
  max-height: 520px;
  overflow: hidden;
  position: relative;
}

/* 有机斑点装饰 */
.hero-section::before {
  content: '';
  position: absolute;
  top: -60px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(86,34,139,0.25) 0%, transparent 70%);
  border-radius: 50% 60% 40% 70%;
  pointer-events: none;
}

.hero-img-wrap {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}
.hero-img-wrap .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}
.hero-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: linear-gradient(135deg, var(--c-secondary), var(--c-secondary-light));
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(139,69,19,0.4);
}

.hero-text-wrap {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 3rem 3rem 3rem 2rem;
  text-align: right;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 1.5rem;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.6rem;
  background: linear-gradient(135deg, var(--c-secondary), var(--c-secondary-light));
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(139,69,19,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,69,19,0.45);
  color: var(--c-white);
}

/* ══════════════════════════════
   两栏布局：侧边栏左 + 内容右
══════════════════════════════ */
.content-aside-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── 侧边栏 ── */
.sidebar {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
  position: sticky;
  top: 100px;
}
.sidebar-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--c-primary-light);
}
.sidebar-title > span { display: inline; }
.sidebar-sub-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-secondary);
  margin: 1.2rem 0 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-sub-title > span { display: inline; }

.sidebar-nav-list > li > a,
.sidebar-related-list > li > a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.5rem 0.4rem;
  font-size: 0.88rem;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  min-height: 40px;
  gap: 0.5rem;
}
.sidebar-nav-list > li > a:hover,
.sidebar-related-list > li > a:hover {
  background: var(--c-surface-2);
  color: var(--c-primary);
}
.sidebar-related-list > li > small {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  padding-left: 0.4rem;
  display: block;
}

.sidebar-note {
  margin-top: 1.2rem;
  background: var(--c-surface-2);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ── 内容主体 ── */
.content-main { min-width: 0; }

/* ══════════════════════════════
   页面正文 prose
══════════════════════════════ */
.prose {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.8;
}
.prose h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin: 2rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--c-primary);
}
.prose h2 > span { display: inline; }
.prose h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-secondary);
  margin: 1.5rem 0 0.5rem;
}
.prose h3 > span { display: inline; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--c-primary); text-decoration: underline; }
.prose a:hover { color: var(--c-secondary); }
.prose blockquote {
  border-left: 4px solid var(--c-gold);
  background: var(--c-surface-2);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--c-text-muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.92rem; }
.prose th { background: var(--c-primary-dark); color: var(--c-white); padding: 0.6rem 0.8rem; text-align: left; }
.prose td { padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--c-border); }
.prose tr:nth-child(even) td { background: var(--c-surface-2); }

/* ══════════════════════════════
   section 标题
══════════════════════════════ */
.section-heading {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-heading > span { display: inline; }
.section-heading::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 1.4em;
  background: linear-gradient(180deg, var(--c-primary), var(--c-secondary));
  border-radius: 3px;
  flex-shrink: 0;
}

/* ══════════════════════════════
   首页专区卡片
══════════════════════════════ */
.home-content-section {
  background: var(--c-surface);
}
.cat-section {
  background: linear-gradient(180deg, var(--c-surface-2) 0%, var(--c-surface) 100%);
  padding: 3rem 1.5rem;
}
.cat-section > .section-heading {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.cat-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.cat-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.cat-card .card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.cat-card-body {
  padding: 1.1rem 1.1rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cat-card-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.3;
}
.cat-card-title > span { display: inline; }
.cat-card-desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  flex: 1;
}
.cat-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-secondary);
  margin-top: 0.25rem;
  transition: color 0.2s, gap 0.2s;
}
.cat-card-link:hover { color: var(--c-primary); gap: 0.4rem; }

/* ══════════════════════════════
   近期词条
══════════════════════════════ */
.recent-section {
  padding: 3rem 1.5rem;
  background: var(--c-surface);
}
.recent-section > .section-heading {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.entry-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.entry-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.entry-card .entry-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.entry-card-body {
  padding: 1rem 1.1rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.entry-date {
  font-size: 0.76rem;
  color: var(--c-text-muted);
  letter-spacing: 0.03em;
}
.entry-card-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.35;
}
.entry-card-title > span { display: inline; }
.entry-card-desc {
  font-size: 0.83rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  flex: 1;
}
.entry-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-top: 0.3rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-xl);
  transition: background 0.2s, color 0.2s;
  min-height: 32px;
}
.entry-card-link:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

/* ══════════════════════════════
   栏目页 Hero
══════════════════════════════ */
.cat-hero-section {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-primary-dark) 100%);
  padding: 3.5rem 1.5rem;
}
.cat-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.cat-eyebrow, .tag-eyebrow, .about-eyebrow, .privacy-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.cat-h1, .tag-h1, .about-h1, .privacy-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.cat-desc, .tag-desc, .about-lead, .privacy-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  line-height: 1.65;
}
.cat-body-section { background: var(--c-surface); }

/* ── 子页列表 ── */
.child-list-wrap { margin-top: 2.5rem; }
.child-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.child-item {
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.child-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}
.child-item-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--c-text);
  min-height: 64px;
}
.child-item-link:hover { color: var(--c-primary); }
.child-item .child-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.child-item-info { flex: 1; min-width: 0; }
.child-item-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-primary-dark);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.child-item-meta {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* ══════════════════════════════
   词条页
══════════════════════════════ */
.entry-header-section {
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-muted) 100%);
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}
.entry-hero-wrap {
  flex: 0 0 42%;
  overflow: hidden;
  max-height: 400px;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}
.entry-hero-wrap .entry-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}
.entry-meta-wrap {
  flex: 1;
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.entry-breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}
.entry-breadcrumb a { color: var(--c-gold); }
.entry-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.entry-dates {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
}
.entry-date-pub, .entry-date-mod {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.entry-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 500px;
}
.entry-body-section { background: var(--c-surface); }

.entry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.entry-gallery .gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.entry-gallery .gallery-img:hover { transform: scale(1.03); }

/* ══════════════════════════════
   标签页
══════════════════════════════ */
.tag-hero-section {
  background: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-ink) 100%);
  padding: 3rem 1.5rem;
}
.tag-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.tag-body-section { background: var(--c-surface); }
.tag-list-wrap { margin-top: 2rem; }
.tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.tag-item {
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tag-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.tag-item-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem;
  color: var(--c-text);
  min-height: 80px;
}
.tag-item-link:hover { color: var(--c-primary); }
.tag-item .tag-item-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.tag-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.tag-item-meta {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* ══════════════════════════════
   关于页 / 隐私页
══════════════════════════════ */
.about-intro-section, .privacy-header-section {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-ink) 100%);
  padding: 3.5rem 1.5rem;
}
.about-intro-inner, .privacy-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-date, .privacy-date {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.about-body-section, .privacy-body-section { background: var(--c-surface); }

/* ══════════════════════════════
   页脚（极简：仅 p + small）
══════════════════════════════ */
.site-footer {
  background: var(--c-ink);
  border-top: 2px solid var(--c-primary-dark);
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}
.footer-brand-cta {
  font-size: 1.05rem;
  color: var(--c-white);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-brand-cta strong {
  color: var(--c-gold-light);
  font-family: var(--font-title);
}
.footer-links-line {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.footer-links-line a {
  color: rgba(255,255,255,0.75);
  padding: 0.2rem 0.3rem;
  transition: color 0.2s;
}
.footer-links-line a:hover { color: var(--c-gold-light); }
.footer-copy {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.5;
}

/* ══════════════════════════════
   动效（stagger + prefers-reduced-motion）
══════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .cat-card,
  .entry-card,
  .child-item,
  .tag-item {
    animation: fadeSlideUp 0.45s ease both;
  }
  .cat-grid > li:nth-child(1) { animation-delay: 0.05s; }
  .cat-grid > li:nth-child(2) { animation-delay: 0.12s; }
  .cat-grid > li:nth-child(3) { animation-delay: 0.19s; }
  .cat-grid > li:nth-child(4) { animation-delay: 0.26s; }
  .entry-grid > li:nth-child(1) { animation-delay: 0.07s; }
  .entry-grid > li:nth-child(2) { animation-delay: 0.14s; }
  .entry-grid > li:nth-child(3) { animation-delay: 0.21s; }
  .entry-grid > li:nth-child(4) { animation-delay: 0.28s; }
  .entry-grid > li:nth-child(5) { animation-delay: 0.35s; }
  .entry-grid > li:nth-child(6) { animation-delay: 0.42s; }

  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ══════════════════════════════
   移动端响应式（≤767px）
══════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --sidebar-w: 100%;
  }

  .header-brand-row {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .brand-name { font-size: 0.95rem; }
  .header-cta-btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }

  .header-nav-row { padding: 0 0.5rem; overflow-x: auto; }
  .header-nav-row nav > ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }
  .header-nav-row nav > ol > li > a {
    font-size: 0.8rem;
    padding: 0.6rem 0.7rem;
    white-space: nowrap;
  }

  .hero-section {
    flex-direction: column;
    min-height: auto;
    max-height: none;
  }
  .hero-img-wrap {
    flex: 0 0 auto;
    border-radius: 0;
    max-height: 220px;
  }
  .hero-img-wrap .hero-img { border-radius: 0; }
  .hero-text-wrap {
    flex: 0 0 auto;
    padding: 1.5rem 1.25rem;
    align-items: flex-start;
    text-align: left;
  }
  .hero-lead { max-width: 100%; }

  .content-aside-wrap {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  .sidebar { position: static; }

  .cat-section, .recent-section { padding: 2rem 1rem; }
  .cat-hero-section, .tag-hero-section, .about-intro-section, .privacy-header-section {
    padding: 2rem 1rem;
  }

  .entry-header-section { flex-direction: column; }
  .entry-hero-wrap {
    flex: 0 0 auto;
    max-height: 220px;
    border-radius: 0;
  }
  .entry-hero-wrap .entry-hero-img { border-radius: 0; }
  .entry-meta-wrap { padding: 1.5rem 1.25rem; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .entry-grid { grid-template-columns: 1fr; }
  .tag-list { grid-template-columns: 1fr 1fr; }

  .child-item-link { padding: 0.7rem 0.75rem; gap: 0.75rem; }
  .child-item .child-thumb { width: 64px; height: 48px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .tag-list { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 1.25rem; }
  .cat-h1, .tag-h1, .about-h1, .privacy-h1 { font-size: 1.3rem; }
}

/* ══════════════════════════════
   平板（768~1023px）
══════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --sidebar-w: 200px; }

  .hero-img-wrap { flex: 0 0 45%; }
  .hero-text-wrap { padding: 2rem 2rem 2rem 1.5rem; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
}
