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

/* ===== 变量 ===== */
:root {
  --c-orange: #FF5C00;
  --c-black: #0D0D0D;
  --c-white: #F5F5F0;
  --c-orange-dim: #cc4900;
  --c-orange-light: #ff7a2e;
  --c-grey: #1a1a1a;
  --c-grey2: #2a2a2a;
  --c-grey3: #3d3d3d;
  --c-text: #F5F5F0;
  --c-text-muted: #aaa;
  --c-border: #FF5C00;
  --nav-w: 220px;
  --aside-w: 200px;
  --radius: 4px;
  --radius-card: 4px;
  --font: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --transition: 160ms ease;
}

/* ===== 重置 ===== */
*, *::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-black);
  color: var(--c-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--c-orange); text-decoration: none; }
a:hover { color: var(--c-orange-light); }
img { display: block; max-width: 100%; height: auto; }
ol, ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, button, select { font-family: inherit; }

/* ===== 布局 ===== */
.site-wrap {
  display: flex;
  min-height: 100vh;
}

/* ===== 侧边导航 ===== */
.sidenav {
  width: var(--nav-w);
  min-height: 100vh;
  background: var(--c-grey);
  border-right: 2px solid var(--c-orange);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.sidenav-brand {
  padding: 18px 16px 12px;
  border-bottom: 2px solid var(--c-orange);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-orange);
  color: var(--c-black);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--c-black);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.brand-mark:hover { background: var(--c-orange-light); color: var(--c-black); }
.brand-icon { font-weight: 700; }
.brand-logo-img { width: 100%; height: auto; }

.sidenav-search {
  padding: 12px 12px 8px;
  border-bottom: 1px solid var(--c-grey2);
}
.sidenav-search form {
  display: flex;
  gap: 4px;
}
.sidenav-search input {
  flex: 1;
  background: var(--c-grey2);
  border: 2px solid var(--c-grey3);
  color: var(--c-text);
  padding: 8px 10px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  outline: none;
  min-height: 40px;
}
.sidenav-search input:focus { border-color: var(--c-orange); }
.sidenav-search button {
  background: var(--c-orange);
  border: none;
  color: var(--c-black);
  padding: 0 10px;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1rem;
  min-height: 40px;
  min-width: 40px;
  transition: background var(--transition);
}
.sidenav-search button:hover { background: var(--c-orange-light); }

.sidenav-list {
  flex: 1;
  padding: 8px 0;
}
.sidenav-list li { }
.sidenav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 44px;
}
.sidenav-list li a:hover,
.sidenav-list li a.nav-active {
  background: var(--c-grey2);
  border-left-color: var(--c-orange);
  color: var(--c-orange);
}
.nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.nav-label { flex: 1; line-height: 1.3; }

.sidenav-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--c-grey2);
  display: flex;
  gap: 12px;
}
.sidenav-foot a {
  color: var(--c-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.sidenav-foot a:hover { color: var(--c-orange); }

/* ===== 页面主体 ===== */
.page-body {
  margin-left: var(--nav-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ===== main / section / aside 布局 ===== */
main {
  display: flex;
  flex-direction: row-reverse;
  gap: 0;
  flex: 1;
  align-items: flex-start;
}

/* aside 在内容左侧：用 flex row-reverse，aside 在右边显示但结构上在左 */
/* 实际：aside 放在 flex 容器最左，section 占剩余 */
main > section {
  flex: 1;
  min-width: 0;
  padding: 32px 28px 40px;
}

main > aside {
  width: var(--aside-w);
  flex-shrink: 0;
  padding: 32px 16px 40px;
  border-right: 2px solid var(--c-grey2);
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}

/* ===== 侧边栏 ===== */
.global-aside {
  order: -1;
}

.aside-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-grey2);
}
.aside-block:last-child { border-bottom: none; }
.aside-block h3 {
  font-size: 0.8rem;
  color: var(--c-orange);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.aside-block h3 span { display: inline; }

.aside-nav-list { }
.aside-nav-list li { }
.aside-nav-list li a {
  display: block;
  padding: 7px 0;
  color: var(--c-text);
  font-size: 0.84rem;
  font-weight: 700;
  border-bottom: 1px solid var(--c-grey2);
  transition: color var(--transition);
  min-height: 36px;
  display: flex;
  align-items: center;
}
.aside-nav-list li a:hover,
.aside-nav-list li a.active { color: var(--c-orange); }

.aside-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aside-tags a {
  background: var(--c-grey2);
  color: var(--c-text);
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.aside-tags a:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-black);
}

.aside-parent-link {
  display: block;
  color: var(--c-orange);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 0;
}

.aside-ad-placeholder {
  background: var(--c-grey2);
  border: 2px dashed var(--c-grey3);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-label { color: var(--c-text-muted); font-size: 0.78rem; }

/* ===== 通用节头 ===== */
.section-header { margin-bottom: 20px; }
.section-header h2,
.section-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  border-left: 4px solid var(--c-orange);
  padding-left: 12px;
}
.section-header h2 span,
.section-header h3 span { display: inline; }

/* ===== 徽章 ===== */
.badge-neon {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
}
.badge-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border: 2px solid var(--c-orange);
  border-radius: var(--radius);
  letter-spacing: 0.05em;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--c-orange);
  color: var(--c-black);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 22px;
  border: 2px solid var(--c-orange);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
}
.btn-primary:hover {
  background: var(--c-orange-light);
  color: var(--c-black);
  border-color: var(--c-orange-light);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--c-orange);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 22px;
  border: 2px solid var(--c-orange);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
}
.btn-outline:hover {
  background: var(--c-orange);
  color: var(--c-black);
}

/* ===== 标签胶囊 ===== */
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: var(--c-grey2);
  color: var(--c-text);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 36px;
}
.tag-pill:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-black);
}
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== 正文 ===== */
.prose-wrap {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 780px;
}
.prose-wrap h2 { font-size: 1.25rem; color: var(--c-orange); margin: 1.5em 0 0.6em; border-left: 4px solid var(--c-orange); padding-left: 10px; }
.prose-wrap h3 { font-size: 1.05rem; color: var(--c-white); margin: 1.2em 0 0.5em; }
.prose-wrap p { margin-bottom: 1em; }
.prose-wrap ul, .prose-wrap ol { margin: 0.8em 0 0.8em 1.5em; }
.prose-wrap li { margin-bottom: 0.4em; }
.prose-wrap a { color: var(--c-orange); text-decoration: underline; }
.prose-wrap a:hover { color: var(--c-orange-light); }
.prose-wrap strong { color: var(--c-white); }
.prose-wrap table { margin: 1em 0; }
.prose-wrap td, .prose-wrap th { padding: 8px 12px; border: 1px solid var(--c-grey3); }
.prose-wrap th { background: var(--c-grey2); color: var(--c-orange); }

/* ===== HOME HERO ===== */
.hero-section {
  display: flex;
  gap: 32px;
  align-items: center;
  min-height: 70vh;
  padding: 40px 0 40px;
  margin-bottom: 48px;
  border-bottom: 2px solid var(--c-grey2);
}
.hero-left {
  flex: 1;
  min-width: 0;
}
.hero-right {
  width: 340px;
  flex-shrink: 0;
}
.hero-eyebrow { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  background: var(--c-grey);
  border: 2px solid var(--c-orange);
  border-radius: var(--radius);
  min-height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-block-a {
  font-size: 4rem;
  font-weight: 700;
  color: var(--c-orange);
  line-height: 1;
}
.hero-block-b {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  margin-top: 8px;
  text-align: center;
  padding: 0 12px;
}
.hero-tag-float {
  position: absolute;
  background: var(--c-orange);
  color: var(--c-black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.tag-f1 { top: 16px; left: 16px; }
.tag-f2 { top: 16px; right: 16px; }
.tag-f3 { bottom: 16px; right: 16px; }

/* ===== 分类卡片网格 ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 0;
}
.cat-card {
  border: 2px solid var(--c-orange);
  border-radius: var(--radius-card);
  background: var(--c-grey);
  transition: background var(--transition), border-color var(--transition);
}
.cat-card:hover { background: var(--c-grey2); border-color: var(--c-orange-light); }
.cat-card-link {
  display: block;
  padding: 20px 18px;
  text-decoration: none;
  color: inherit;
}
.cat-card-label {
  font-size: 0.7rem;
  color: var(--c-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.cat-card-title {
  font-size: 1rem;
  color: var(--c-white);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.cat-card-title span { display: inline; }
.cat-card-desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.cat-card-arrow {
  color: var(--c-orange);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== 入口卡片网格 ===== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.entry-card {
  background: var(--c-grey2);
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius-card);
  transition: border-color var(--transition), background var(--transition);
}
.entry-card:hover { border-color: var(--c-orange); background: var(--c-grey); }
.entry-card a {
  display: block;
  padding: 16px 14px;
  text-decoration: none;
  color: inherit;
}
.entry-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--c-grey3);
  color: var(--c-text-muted);
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.entry-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.entry-desc {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ===== CATEGORY ===== */
.cat-hero-section {
  padding: 36px 0 32px;
  border-bottom: 2px solid var(--c-grey2);
  margin-bottom: 36px;
}
.cat-hero-eyebrow { margin-bottom: 12px; }
.cat-hero-h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cat-hero-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 620px;
  line-height: 1.65;
}
.cat-date {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 10px;
}

/* 子页表格 */
.child-table {
  width: 100%;
  margin-bottom: 28px;
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius);
  overflow: hidden;
}
.child-table th {
  background: var(--c-grey);
  color: var(--c-orange);
  font-size: 0.82rem;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--c-orange);
}
.child-table td {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-grey2);
  vertical-align: middle;
}
.child-table tr:last-child td { border-bottom: none; }
.child-table tr:hover td { background: var(--c-grey2); }
.child-table td a {
  color: var(--c-orange);
  font-weight: 700;
}
.table-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--c-orange);
  color: var(--c-black);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 32px;
  transition: background var(--transition);
}
.table-btn:hover { background: var(--c-orange-light); color: var(--c-black); }

/* 子页卡片 */
.child-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.child-card {
  background: var(--c-grey);
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius-card);
  transition: border-color var(--transition);
}
.child-card:hover { border-color: var(--c-orange); }
.child-card a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  min-height: 120px;
}
.child-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.child-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.child-card-title span { display: inline; }
.child-card-desc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  flex: 1;
}
.child-card-date {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: 8px;
}
.child-card-arrow {
  color: var(--c-orange);
  font-weight: 700;
  margin-top: 10px;
}

.other-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.other-cat-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--c-grey2);
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius);
  color: var(--c-text);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 40px;
}
.other-cat-link:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-black);
}

/* ===== ENTRY ===== */
.entry-breadcrumb {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.entry-breadcrumb a { color: var(--c-text-muted); }
.entry-breadcrumb a:hover { color: var(--c-orange); }
.bc-sep { color: var(--c-grey3); }

.entry-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.entry-date {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

.entry-h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 14px;
  line-height: 1.25;
}
.entry-lead {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.entry-tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0; }

.entry-header-section {
  padding: 32px 0 28px;
  border-bottom: 2px solid var(--c-grey2);
  margin-bottom: 32px;
}

.entry-hero-img-section { margin-bottom: 32px; }
.entry-hero-img { width: 100%; max-height: 360px; object-fit: cover; border: 2px solid var(--c-grey3); border-radius: var(--radius); }

.entry-content-section { margin-bottom: 36px; }

.sibling-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sibling-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--c-grey);
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color var(--transition), background var(--transition);
  min-height: 44px;
}
.sibling-item:hover { border-color: var(--c-orange); background: var(--c-grey2); color: var(--c-orange); }
.sibling-title { flex: 1; }
.sibling-arrow { color: var(--c-orange); }

/* ===== TAG ===== */
.tag-header-section {
  padding: 32px 0 24px;
  border-bottom: 2px solid var(--c-grey2);
  margin-bottom: 32px;
}
.tag-eyebrow { margin-bottom: 12px; }
.tag-h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.tag-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.tag-page-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tag-page-item {
  display: grid;
  grid-template-columns: auto 1fr 2fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--c-grey);
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-text);
  transition: border-color var(--transition), background var(--transition);
  min-height: 52px;
}
.tag-page-item:hover { border-color: var(--c-orange); background: var(--c-grey2); }
.tag-page-type {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-orange);
  background: var(--c-grey2);
  padding: 2px 8px;
  border-radius: var(--radius);
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-page-title { font-size: 0.9rem; font-weight: 700; color: var(--c-white); }
.tag-page-desc { font-size: 0.8rem; color: var(--c-text-muted); }
.tag-page-arrow { color: var(--c-orange); font-weight: 700; }

/* ===== ABOUT ===== */
.about-header-section {
  padding: 36px 0 28px;
  border-bottom: 2px solid var(--c-grey2);
  margin-bottom: 36px;
}
.about-eyebrow { margin-bottom: 12px; }
.about-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 14px;
}
.about-lead { font-size: 1rem; color: var(--c-text-muted); line-height: 1.65; max-width: 600px; }

.about-cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.about-cat-item {
  display: block;
  padding: 18px 16px;
  background: var(--c-grey);
  border: 2px solid var(--c-grey3);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color var(--transition);
}
.about-cat-item:hover { border-color: var(--c-orange); }
.about-cat-title { display: block; font-size: 0.95rem; font-weight: 700; color: var(--c-white); margin-bottom: 6px; }
.about-cat-desc { display: block; font-size: 0.8rem; color: var(--c-text-muted); line-height: 1.5; }

.about-policy-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ===== PRIVACY ===== */
.privacy-header-section {
  padding: 32px 0 24px;
  border-bottom: 2px solid var(--c-grey2);
  margin-bottom: 32px;
}
.privacy-eyebrow { margin-bottom: 12px; }
.privacy-h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 12px;
}
.privacy-lead { font-size: 1rem; color: var(--c-text-muted); line-height: 1.65; }
.privacy-date { display: block; font-size: 0.8rem; color: var(--c-text-muted); margin-top: 10px; }
.privacy-nav-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ===== SECTIONS SPACING ===== */
.cat-content-section,
.cat-children-section,
.cat-nav-section,
.tag-content-section,
.tag-pages-section,
.tag-other-section,
.about-content-section,
.about-links-section,
.about-policy-section,
.privacy-content-section,
.privacy-nav-section,
.entry-related-section,
.content-section,
.cats-section,
.entries-section,
.tags-section {
  margin-bottom: 44px;
}

.empty-tip {
  color: var(--c-text-muted);
  font-size: 0.88rem;
  padding: 20px 0;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--c-grey);
  border-top: 2px solid var(--c-orange);
  padding: 0;
}

.footer-cta {
  background: var(--c-orange);
  color: var(--c-black);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-cta-text {
  font-size: 1.05rem;
  font-weight: 700;
}
.footer-cta-btn {
  background: var(--c-black);
  color: var(--c-orange);
  border-color: var(--c-black);
  flex-shrink: 0;
}
.footer-cta-btn:hover { background: var(--c-grey); border-color: var(--c-grey); color: var(--c-orange); }

.footer-cols {
  display: flex;
  gap: 0;
  padding: 32px 32px 24px;
  flex-wrap: wrap;
}
.footer-dl {
  flex: 1;
  min-width: 160px;
  padding-right: 24px;
}
.footer-dl dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-dl dd {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-dl dd a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-dl dd a:hover { color: var(--c-orange); }

.footer-bottom {
  padding: 16px 32px;
  border-top: 1px solid var(--c-grey2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 0.78rem; color: var(--c-text-muted); }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--c-orange); }

/* ===== 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .cat-card,
  .entry-card,
  .child-card,
  .sibling-item,
  .tag-page-item,
  .about-cat-item {
    animation: fadeUp 0.2s ease both;
  }
  .cat-grid .cat-card:nth-child(1) { animation-delay: 0.02s; }
  .cat-grid .cat-card:nth-child(2) { animation-delay: 0.04s; }
  .cat-grid .cat-card:nth-child(3) { animation-delay: 0.06s; }
  .cat-grid .cat-card:nth-child(4) { animation-delay: 0.08s; }
  .entry-grid .entry-card:nth-child(1) { animation-delay: 0.02s; }
  .entry-grid .entry-card:nth-child(2) { animation-delay: 0.04s; }
  .entry-grid .entry-card:nth-child(3) { animation-delay: 0.06s; }
  .entry-grid .entry-card:nth-child(4) { animation-delay: 0.08s; }
  .entry-grid .entry-card:nth-child(5) { animation-delay: 0.10s; }
  .entry-grid .entry-card:nth-child(6) { animation-delay: 0.12s; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== 移动端 ===== */
@media (max-width: 900px) {
  .sidenav {
    width: 100%;
    min-height: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 2px solid var(--c-orange);
  }
  .sidenav-brand { border-bottom: none; padding: 12px 12px; }
  .sidenav-search { flex: 1; border-bottom: none; padding: 8px 8px; min-width: 160px; }
  .sidenav-list {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 4px 8px;
    border-top: 1px solid var(--c-grey2);
  }
  .sidenav-list li a {
    padding: 8px 10px;
    font-size: 0.8rem;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  .sidenav-list li a.nav-active,
  .sidenav-list li a:hover {
    border-left: none;
    border-bottom-color: var(--c-orange);
    background: transparent;
  }
  .nav-label { display: none; }
  .nav-icon { width: auto; }
  .sidenav-foot { display: none; }
  .page-body { margin-left: 0; }
  main { flex-direction: column; }
  main > aside {
    width: 100%;
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 2px solid var(--c-grey2);
    padding: 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .aside-block { margin-bottom: 0; padding-bottom: 0; border-bottom: none; min-width: 140px; }
  .aside-ad-placeholder { display: none; }
  main > section { padding: 24px 16px 32px; }
}

@media (max-width: 600px) {
  .hero-section { flex-direction: column; min-height: auto; gap: 24px; }
  .hero-right { width: 100%; }
  .hero-visual { min-height: 180px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .entry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .child-cards { grid-template-columns: 1fr; }
  .tag-page-item { grid-template-columns: auto 1fr; }
  .tag-page-desc { display: none; }
  .footer-cols { flex-direction: column; padding: 24px 16px 16px; }
  .footer-cta { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
  .footer-bottom { padding: 12px 16px; }
  .child-table { display: block; overflow-x: auto; }
}

@media (max-width: 375px) {
  .cat-grid { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 1.5rem; }
  main > section { padding: 16px 12px 24px; }
}
