@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS 变量 & 重置
   ============================================================ */
:root {
  --c-primary: #eb879c;
  --c-secondary: #ffb6c1;
  --c-dark: #26171a;
  --c-dark-80: rgba(38,23,26,0.80);
  --c-dark-60: rgba(38,23,26,0.60);
  --c-pink-light: #fff0f3;
  --c-pink-mid: #fdd9e0;
  --c-white: #ffffff;
  --c-text: #26171a;
  --c-text-soft: #5a3a41;
  --c-border: rgba(235,135,156,0.25);

  --font: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(38,23,26,0.10), 0 1px 2px rgba(235,135,156,0.10);
  --shadow-md: 0 4px 12px rgba(38,23,26,0.12), 0 2px 6px rgba(235,135,156,0.12);
  --shadow-lg: 0 8px 24px rgba(38,23,26,0.14), 0 4px 10px rgba(235,135,156,0.14);
  --nav-h: 56px;
  --transition: 220ms cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--c-pink-light);
  color: var(--c-text);
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: var(--nav-h);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-dark); }
a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 2px; }

ul, ol, menu { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   底部固定导航
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--c-dark);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(38,23,26,0.30);
}

.bottom-nav__brand { flex: 0 0 auto; }

.brand-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.brand-link:hover { color: var(--c-primary); }

.nav-details { position: relative; flex: 1; }

.nav-toggle {
  cursor: pointer;
  list-style: none;
  color: var(--c-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(255,182,193,0.12);
  border-radius: var(--radius);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: background var(--transition);
  user-select: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle::after { content: '▾'; margin-left: 6px; font-size: 0.75em; }
.nav-details[open] .nav-toggle::after { content: '▴'; }
.nav-toggle:hover { background: rgba(255,182,193,0.22); }

.nav-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: var(--c-dark);
  border: 1px solid rgba(235,135,156,0.30);
  border-radius: var(--radius-lg);
  padding: 8px 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
}

.nav-menu li { }
.nav-link {
  display: block;
  color: var(--c-secondary);
  font-size: 0.95rem;
  padding: 10px 18px;
  min-height: 40px;
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.is-active {
  background: rgba(235,135,156,0.18);
  color: var(--c-primary);
}

.nav-contact {
  flex: 0 0 auto;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border: 1px solid rgba(235,135,156,0.40);
  border-radius: var(--radius);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}
.nav-contact:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

/* ============================================================
   页面容器
   ============================================================ */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   Hero — 首页
   ============================================================ */
.home-main { flex: 1; }

.hero-section {
  position: relative;
  min-height: 45vh;
  background: linear-gradient(135deg, var(--c-dark) 0%, #3d1f26 60%, #4a1e2a 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px 24px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  text-align: right;
}

.hero-h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--c-secondary);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255,182,193,0.80);
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-figure--gradient {
  background: radial-gradient(ellipse at 30% 50%, rgba(235,135,156,0.25) 0%, transparent 60%);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }

.hero-arc {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 60px;
  background: var(--c-pink-light);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 3;
}

/* ============================================================
   按钮
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 44px;
}
.btn-primary:hover {
  background: #d96f86;
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--c-pink-mid);
  color: var(--c-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: var(--radius);
  min-height: 40px;
  transition: background var(--transition);
}
.btn-secondary:hover { background: var(--c-secondary); color: var(--c-dark); }

.btn-back {
  display: inline-flex;
  align-items: center;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  min-height: 40px;
  transition: background var(--transition), color var(--transition);
}
.btn-back:hover { background: var(--c-primary); color: var(--c-white); }

/* ============================================================
   通用 Section 间距
   ============================================================ */
.home-main section,
.topic-main section,
.article-main section,
.tag-main section,
.about-main section,
.privacy-main section,
.default-main section {
  padding: 40px 24px;
}

/* ============================================================
   Aside 通用
   ============================================================ */
.topics-aside,
.recent-aside,
.content-aside,
.topic-sidebar,
.article-sidebar,
.tag-all-aside,
.tag-nav-aside,
.about-sidebar,
.privacy-sidebar,
.default-sidebar {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.aside-tip {
  font-size: 0.88rem;
  color: var(--c-text-soft);
  margin-bottom: 8px;
}
.aside-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary);
}
.aside-links { display: flex; flex-direction: column; gap: 6px; }
.aside-links li a {
  font-size: 0.9rem;
  color: var(--c-text);
  padding: 4px 0;
  display: block;
}
.aside-links li a:hover { color: var(--c-primary); }

/* ============================================================
   卡片网格 — 首页话题
   ============================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.card {
  display: block;
  border-radius: var(--radius);
  padding: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card--topic {
  background: var(--c-dark);
  color: var(--c-secondary);
  box-shadow: var(--shadow-sm);
}
.card--topic strong {
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  color: var(--c-primary);
}
.card--topic p {
  font-size: 0.88rem;
  color: rgba(255,182,193,0.80);
  line-height: 1.5;
}
.card--topic small {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: rgba(235,135,156,0.70);
}

/* ============================================================
   最近文章列表
   ============================================================ */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: recent-counter;
}
.recent-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.recent-list li:hover { transform: translateX(4px); }
.recent-list li a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-dark);
  flex: 1;
}
.recent-list li a:hover { color: var(--c-primary); }
.recent-list li small {
  font-size: 0.8rem;
  color: var(--c-text-soft);
  white-space: nowrap;
}

/* ============================================================
   Prose — 正文容器
   ============================================================ */
.prose {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text);
}
.prose h2 { font-size: 1.3rem; font-weight: 700; margin: 1.6em 0 0.5em; color: var(--c-dark); }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1.4em 0 0.4em; color: var(--c-dark); }
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { margin: 0.8em 0 0.8em 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--c-primary); font-weight: 500; }
.prose a:hover { color: var(--c-dark); }
.prose strong { font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 8px 16px;
  background: var(--c-pink-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1em 0;
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.9rem; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--c-pink-mid); font-weight: 700; }

/* ============================================================
   标题修饰
   ============================================================ */
h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 4px;
}
p.subtitle {
  font-size: 0.9rem;
  color: var(--c-text-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ============================================================
   面包屑
   ============================================================ */
.article-breadcrumb,
.topic-hero-aside,
.tag-breadcrumb,
.about-breadcrumb,
.privacy-breadcrumb,
.default-breadcrumb {
  font-size: 0.85rem;
  color: var(--c-text-soft);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.article-breadcrumb a,
.topic-hero-aside a,
.tag-breadcrumb a,
.about-breadcrumb a,
.privacy-breadcrumb a,
.default-breadcrumb a {
  color: var(--c-primary);
  font-weight: 500;
}
.breadcrumb-sep { color: var(--c-text-soft); }

/* ============================================================
   Topic 页
   ============================================================ */
.topic-hero-section {
  background: linear-gradient(150deg, var(--c-dark) 0%, #3b1a22 100%);
  color: var(--c-secondary);
  padding: 48px 24px 56px !important;
  position: relative;
  overflow: hidden;
}
.topic-hero-deco {
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,135,156,0.20) 0%, transparent 70%);
}
.topic-h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}
.topic-lead { color: rgba(255,182,193,0.80); font-size: 1rem; }

.topic-content-section { display: flex; flex-direction: column; }
.topic-sidebar {
  order: -1;
  margin-bottom: 24px;
}

.children-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  counter-reset: children-counter;
}
.child-item {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.child-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.child-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  color: var(--c-text);
}
.child-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  opacity: 0.60;
  flex: 0 0 28px;
  font-variant-numeric: tabular-nums;
}
.child-info { display: flex; flex-direction: column; gap: 3px; }
.child-info strong { font-size: 0.97rem; font-weight: 600; color: var(--c-dark); }
.child-info small { font-size: 0.82rem; color: var(--c-text-soft); }
.child-date { color: var(--c-primary) !important; }

.children-deco {
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  border-radius: 3px;
  margin-bottom: 16px;
}

/* ============================================================
   Article 页
   ============================================================ */
.article-main { flex: 1; }

.article-header-section {
  background: linear-gradient(135deg, var(--c-dark) 0%, #3a1820 100%);
  color: var(--c-secondary);
  padding: 40px 24px 48px !important;
}
.article-h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--c-secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.article-date {
  font-size: 0.83rem;
  color: rgba(255,182,193,0.70);
  background: rgba(255,182,193,0.10);
  padding: 3px 10px;
  border-radius: 99px;
}
.article-date--mod { color: rgba(235,135,156,0.70); }

.tag-chip {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(235,135,156,0.20);
  color: var(--c-secondary);
  padding: 3px 10px;
  border-radius: 99px;
  transition: background var(--transition);
}
.tag-chip:hover { background: var(--c-primary); color: var(--c-white); }
.tag-chip--active { background: var(--c-primary); color: var(--c-white); }

.article-hero-figure {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-hero-img { border-radius: var(--radius-lg); }

.article-body-section {
  display: flex;
  flex-direction: column;
}
.article-sidebar {
  order: -1;
  margin-bottom: 24px;
}
.article-sidebar h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sidebar-siblings, .sidebar-related {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.sidebar-siblings li a,
.sidebar-related li a {
  font-size: 0.88rem;
  color: var(--c-text);
  padding: 5px 0;
  display: block;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--transition), padding-left var(--transition);
}
.sidebar-siblings li a:hover,
.sidebar-related li a:hover {
  color: var(--c-primary);
  padding-left: 6px;
}
.sidebar-cta { margin-top: 12px; }

.article-footer-section {
  background: var(--c-pink-mid);
  padding: 24px !important;
}
.article-footer-deco {
  width: 80px; height: 4px;
  background: var(--c-primary);
  border-radius: 2px;
  margin-bottom: 16px;
}
.article-nav-aside { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Tag 页
   ============================================================ */
.tag-main { flex: 1; }

.tag-hero-section {
  background: linear-gradient(140deg, var(--c-dark) 0%, #421c26 100%);
  padding: 40px 24px 56px !important;
  position: relative;
  overflow: hidden;
}
.tag-hero-deco {
  position: absolute;
  left: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,193,0.15) 0%, transparent 70%);
}
.tag-h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}

.tag-filter-section { background: var(--c-pink-mid); }
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.tag-results-section { }
.tag-results-deco {
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  border-radius: 2px;
  margin-bottom: 16px;
}
.tag-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tag-item {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tag-article-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  color: var(--c-text);
  transition: background var(--transition);
}
.tag-article-link:hover { background: var(--c-pink-light); }
.tag-article-link strong { font-size: 0.97rem; font-weight: 600; color: var(--c-dark); }
.tag-article-link small { font-size: 0.82rem; color: var(--c-text-soft); }
.tag-date { color: var(--c-primary) !important; }

.tag-content-section { display: flex; flex-direction: column; }
.tag-nav-aside { order: -1; margin-bottom: 20px; }
.tag-nav-aside h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-bottom: 8px;
}
.tag-nav-aside ul { display: flex; flex-direction: column; gap: 4px; }
.tag-nav-aside ul li a { font-size: 0.9rem; }

.empty-tip { color: var(--c-text-soft); font-size: 0.95rem; }

/* ============================================================
   About 页
   ============================================================ */
.about-main { flex: 1; }

.about-hero-section {
  background: linear-gradient(130deg, var(--c-dark) 0%, #3e1b24 100%);
  padding: 48px 24px 60px !important;
  position: relative;
  overflow: hidden;
}
.about-hero-deco {
  position: absolute;
  right: 0; top: 0;
  width: 180px; height: 180px;
  background: conic-gradient(from 0deg, rgba(235,135,156,0.20) 0%, transparent 60%);
  border-radius: 0 0 0 100%;
}
.about-h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--c-secondary);
  margin-bottom: 8px;
}
.about-date { font-size: 0.85rem; color: rgba(255,182,193,0.60); }

.about-content-section { display: flex; flex-direction: column; }
.about-sidebar { order: -1; margin-bottom: 24px; }
.about-sidebar h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-card {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--c-pink-mid);
  border-radius: var(--radius);
}
.about-card strong { font-size: 0.85rem; font-weight: 700; color: var(--c-text-soft); }
.about-card p { font-size: 0.88rem; margin-top: 2px; }

.about-values-section { background: var(--c-dark); color: var(--c-secondary); }
.about-values-section h2 { color: var(--c-primary); }
.about-values-section p.subtitle { color: rgba(255,182,193,0.70); }
.about-values-deco {
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  border-radius: 3px;
  margin-bottom: 20px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.value-card {
  background: rgba(255,182,193,0.08);
  border: 1px solid rgba(235,135,156,0.20);
  border-radius: var(--radius);
  padding: 16px;
}
.value-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.value-card p { font-size: 0.88rem; color: rgba(255,182,193,0.80); }

/* ============================================================
   Privacy 页
   ============================================================ */
.privacy-main { flex: 1; }

.privacy-hero-section {
  background: linear-gradient(130deg, var(--c-dark) 0%, #3a1820 100%);
  padding: 40px 24px 56px !important;
  position: relative;
  overflow: hidden;
}
.privacy-hero-deco {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 160px; height: 160px;
  border: 2px solid rgba(235,135,156,0.15);
  border-radius: 50%;
}
.privacy-h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--c-secondary);
  margin-bottom: 8px;
}
.privacy-dates {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: rgba(255,182,193,0.60);
}

.privacy-body-section { display: flex; flex-direction: column; }
.privacy-sidebar { order: -1; margin-bottom: 24px; }
.privacy-sidebar h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.privacy-note { margin-top: 12px; font-size: 0.83rem; color: var(--c-text-soft); }

.privacy-footer-section { background: var(--c-pink-mid); padding: 24px !important; }
.privacy-footer-deco {
  width: 60px; height: 4px;
  background: var(--c-primary);
  border-radius: 2px;
  margin-bottom: 16px;
}
.privacy-nav-aside { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Default 页
   ============================================================ */
.default-main { flex: 1; }
.default-hero-section {
  background: linear-gradient(135deg, var(--c-dark) 0%, #3e1a22 100%);
  padding: 40px 24px 56px !important;
  position: relative;
}
.default-hero-deco {
  position: absolute;
  right: 0; top: 0;
  width: 120px; height: 120px;
  background: rgba(235,135,156,0.10);
  border-radius: 0 0 0 100%;
}
.default-hero-section h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--c-secondary);
  margin-bottom: 8px;
}
.default-body-section { display: flex; flex-direction: column; }
.default-sidebar { order: -1; margin-bottom: 20px; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: var(--c-dark);
  color: var(--c-secondary);
  margin-bottom: var(--nav-h);
}
.footer-brand-section {
  padding: 28px 24px 12px;
  border-bottom: 1px solid rgba(235,135,156,0.15);
}
.footer-brand {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  display: block;
}
.footer-links-section {
  padding: 14px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,182,193,0.50); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,182,193,0.70);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--c-primary); }

/* ============================================================
   Hero 图片 section 内 figure
   ============================================================ */
.topic-hero-deco,
.tag-hero-deco,
.about-hero-deco,
.privacy-hero-deco,
.default-hero-deco,
.tag-results-deco,
.children-deco,
.article-footer-deco,
.privacy-footer-deco,
.about-values-deco { pointer-events: none; }

/* ============================================================
   桌面断点 ≥768px
   ============================================================ */
@media (min-width: 768px) {

  .home-main section,
  .topic-main section,
  .article-main section,
  .tag-main section,
  .about-main section,
  .privacy-main section,
  .default-main section {
    padding: 56px 48px;
  }

  /* 首页 hero 更高 */
  .hero-section { padding: 64px 48px 100px; }

  /* topic content: 两栏 */
  .topic-content-section {
    display: grid;
    grid-template-columns: 1fr 280px;
    grid-template-rows: auto auto;
    gap: 32px;
    align-items: start;
  }
  .topic-content-section h2 { grid-column: 1 / -1; }
  .topic-content-section p.subtitle { grid-column: 1 / -1; }
  .topic-sidebar { order: 1; margin-bottom: 0; }
  .prose { grid-column: 1 / 2; }

  /* article body: 两栏 */
  .article-body-section {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
    align-items: start;
  }
  .article-body-section h2 { grid-column: 1 / -1; }
  .article-body-section p.subtitle { grid-column: 1 / -1; }
  .article-sidebar { order: 1; margin-bottom: 0; }
  .article-prose { grid-column: 1 / 2; }

  /* about content: 两栏 */
  .about-content-section {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
    align-items: start;
  }
  .about-content-section h2 { grid-column: 1 / -1; }
  .about-content-section p.subtitle { grid-column: 1 / -1; }
  .about-sidebar { order: 1; margin-bottom: 0; }

  /* privacy body: 两栏 */
  .privacy-body-section {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    align-items: start;
  }
  .privacy-body-section h2 { grid-column: 1 / -1; }
  .privacy-body-section p.subtitle { grid-column: 1 / -1; }
  .privacy-sidebar { order: 1; margin-bottom: 0; }

  /* tag content: 两栏 */
  .tag-content-section {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 32px;
    align-items: start;
  }
  .tag-content-section h2 { grid-column: 1 / -1; }
  .tag-content-section p.subtitle { grid-column: 1 / -1; }
  .tag-nav-aside { order: 1; margin-bottom: 0; }

  /* content section 首页 两栏 */
  .content-section {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    align-items: start;
  }
  .content-section h2 { grid-column: 1 / -1; }
  .content-section p.subtitle { grid-column: 1 / -1; }
  .content-aside { order: 1; margin-bottom: 0; }

  /* topics / recent 首页 两栏 */
  .topics-section {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 24px 32px;
    align-items: start;
  }
  .topics-section h2 { grid-column: 1 / -1; }
  .topics-section p.subtitle { grid-column: 1 / -1; }
  .topics-aside { order: 1; margin-bottom: 0; }
  .topics-grid { grid-column: 1 / 2; margin-top: 0; }

  .recent-section {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 24px 32px;
    align-items: start;
  }
  .recent-section h2 { grid-column: 1 / -1; }
  .recent-section p.subtitle { grid-column: 1 / -1; }
  .recent-aside { order: 1; margin-bottom: 0; }
  .recent-list { grid-column: 1 / 2; }

  .default-body-section {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 32px;
    align-items: start;
  }
  .default-body-section h2 { grid-column: 1 / -1; }
  .default-body-section p.subtitle { grid-column: 1 / -1; }
  .default-sidebar { order: 1; margin-bottom: 0; }

  /* tag filter + results: 横向 aside */
  .tag-filter-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
  }
  .tag-filter-section h2 { grid-column: 1 / -1; }
  .tag-filter-section p.subtitle { grid-column: 1 / -1; }

  /* 底部导航桌面稍高 */
  .bottom-nav { padding: 0 32px; gap: 20px; }
  .brand-link { font-size: 1.1rem; }
}

/* ============================================================
   桌面断点 ≥1200px — 最大宽度
   ============================================================ */
@media (min-width: 1200px) {
  .home-main section,
  .topic-main section,
  .article-main section,
  .tag-main section,
  .about-main section,
  .privacy-main section,
  .default-main section {
    padding: 64px calc((100% - 1080px) / 2);
  }
  .hero-section {
    padding: 80px calc((100% - 1080px) / 2) 120px;
  }
  .topic-hero-section,
  .tag-hero-section,
  .about-hero-section,
  .privacy-hero-section,
  .article-header-section,
  .default-hero-section {
    padding-left: calc((100% - 1080px) / 2) !important;
    padding-right: calc((100% - 1080px) / 2) !important;
  }
  .bottom-nav { padding: 0 calc((100% - 1080px) / 2); }
}

/* ============================================================
   动效 — prefers-reduced-motion 关闭
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); }
  .child-item:hover { transform: translateX(4px); }
  .recent-list li:hover { transform: translateX(4px); }
  .btn-primary:hover { transform: translateY(-2px); }

  /* Parallax hero — 纯 CSS 视差占位 */
  .hero-section { background-attachment: fixed; }

  /* 微动效：卡片进场 */
  .card, .child-item, .tag-item, .value-card {
    animation: fadeUp 280ms ease both;
  }
  .card:nth-child(2) { animation-delay: 40ms; }
  .card:nth-child(3) { animation-delay: 80ms; }
  .card:nth-child(4) { animation-delay: 120ms; }

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

/* ============================================================
   移动端 375px 保障
   ============================================================ */
@media (max-width: 480px) {
  .hero-h1 { font-size: 1.55rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-links-section { flex-direction: column; align-items: flex-start; }
  .bottom-nav { gap: 8px; padding: 0 12px; }
  .nav-menu { min-width: 180px; }
  .hero-section { min-height: auto; padding-bottom: 72px; }
  body { overflow-x: hidden; }
}
