@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Varela+Round&display=swap');

/* ===== CSS 变量 ===== */
:root {
  --mint: #5cc6b0;
  --sand: #d4c4a8;
  --ink: #172623;
  --ink-light: #2d4a44;
  --ink-muted: #4a6660;
  --bg: #f7f3ec;
  --bg-warm: #f0ead8;
  --bg-card: #faf7f2;
  --border: #d4c4a8;
  --mint-pale: #e8f8f4;
  --mint-dark: #3da890;
  --text: #172623;
  --text-muted: #5a7a74;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --sidebar-w: 240px;
  --font-heading: 'Varela Round', 'Nunito Sans', sans-serif;
  --font-body: 'Nunito Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --shadow-soft: 0 2px 12px rgba(23,38,35,0.08);
  --shadow-card: 0 1px 4px rgba(23,38,35,0.06);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-dark); text-decoration: none; transition: color 0.2s ease-out; }
a:hover { color: var(--mint); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.3; color: var(--ink); }

/* ===== 网格底纹 ===== */
.site-wrap {
  position: relative;
}
.site-wrap::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(92,198,176,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,198,176,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 布局骨架：左侧固定侧边栏 + 右侧内容 ===== */
.site-wrap {
  display: flex;
  min-height: 100vh;
}

/* ===== 侧边栏 details/summary ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 20px 20px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid rgba(92,198,176,0.2);
}
.sidebar-brand::-webkit-details-marker { display: none; }

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--mint);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.brand-toggle {
  font-size: 0.7rem;
  color: var(--sand);
  background: rgba(92,198,176,0.12);
  padding: 2px 8px;
  border-radius: 20px;
  display: none;
}

.sidebar-menu {
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.sidebar-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s ease-out;
  line-height: 1.5;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.sidebar-menu li a:hover,
.sidebar-menu li a:focus {
  color: var(--mint);
  border-left-color: var(--mint);
  background: rgba(92,198,176,0.08);
}

.sidebar-contact a {
  color: var(--mint) !important;
  border-top: 1px solid rgba(92,198,176,0.15);
  margin-top: 8px;
}

/* details 展开时侧边栏全显 */
.sidebar[open] .sidebar-menu,
.sidebar .sidebar-menu {
  display: flex;
}

/* ===== 页面内容区 ===== */
.page-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

main {
  flex: 1;
}

/* ===== Hero 区（首页）===== */
.hero-section {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(92,198,176,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,196,168,0.08) 0%, transparent 40%);
}

.hero-aside {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hero-deco {
  animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.hero-figure {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  max-width: 560px;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--sand);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-block;
  background: var(--mint);
  color: var(--ink);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: background 0.2s ease-out, transform 0.15s ease-out;
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary:hover {
  background: var(--mint-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--mint);
  color: var(--mint);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease-out;
  min-height: 44px;
  line-height: 1.4;
}

.btn-outline:hover {
  background: var(--mint);
  color: var(--ink);
}

/* ===== 频道卡片区 ===== */
.channels-section {
  padding: 48px 48px 32px;
  background: var(--bg);
}

.channels-section h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.channels-section > hr {
  border: none;
  border-top: 2px solid var(--mint);
  width: 40px;
  margin-bottom: 28px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease-out, transform 0.2s ease-out;
}

.card:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
}

.card-link {
  display: block;
  padding: 20px;
  color: var(--text);
}

.card-link h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.card-link p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  background: var(--mint-pale);
  color: var(--mint-dark);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* ===== 首页内容区（双栏）===== */
.content-section {
  display: flex;
  gap: 32px;
  padding: 40px 48px 48px;
  background: var(--bg-warm);
}

.content-figure {
  flex: 1;
  min-width: 0;
}

.content-prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.content-prose h2 {
  font-size: 1.3rem;
  margin: 24px 0 8px;
}

.content-prose h3 {
  font-size: 1.1rem;
  margin: 20px 0 6px;
}

.content-prose p { margin-bottom: 14px; }
.content-prose ul, .content-prose ol { padding-left: 20px; margin-bottom: 14px; }
.content-prose li { margin-bottom: 6px; list-style: disc; }

.content-aside {
  width: 220px;
  flex-shrink: 0;
}

.content-aside h3 {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  margin-top: 24px;
}

.content-aside h3:first-child { margin-top: 0; }

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.article-item a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
  font-size: 0.85rem;
}

.article-item a:hover { border-color: var(--mint); }

.article-title {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.article-item time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quick-links li a {
  display: block;
  padding: 7px 12px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.quick-links li a:hover {
  background: var(--mint-pale);
  color: var(--mint-dark);
}

/* ===== hr 装饰（h2/h3 后）===== */
h2 + hr, h3 + hr {
  border: none;
  border-top: 2px solid var(--mint);
  width: 36px;
  margin-bottom: 20px;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ===== 栏目页 ===== */
.channel-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1e3a34 100%);
  padding: 48px 48px 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.channel-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(92,198,176,0.1) 0%, transparent 60%);
}

.channel-aside-top {
  position: relative;
  z-index: 1;
  padding-top: 6px;
}

.channel-tag-badge {
  display: inline-block;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.channel-figure {
  position: relative;
  z-index: 1;
  flex: 1;
}

.channel-figure h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
}

.channel-desc {
  color: var(--sand);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
}

.channel-body {
  display: flex;
  gap: 0;
  min-height: 400px;
}

.channel-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-warm);
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.channel-sidebar h3 {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  margin-top: 20px;
  font-weight: 700;
}

.channel-sidebar h3:first-child { margin-top: 0; }
.channel-sidebar h3 + hr { margin-bottom: 12px; }

.channel-main {
  flex: 1;
  min-width: 0;
  padding: 36px 48px;
}

.channel-content {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 720px;
}

.channel-content p { margin-bottom: 14px; }
.channel-content h2 { font-size: 1.25rem; margin: 24px 0 8px; }
.channel-content h3 { font-size: 1.05rem; margin: 18px 0 6px; }

.channel-articles h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* ===== 子页列表 ol > li > a + small ===== */
.child-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: child-counter;
}

.child-list li {
  counter-increment: child-counter;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 14px 52px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.2s;
}

.child-list li::before {
  content: counter(child-counter, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint);
  font-family: var(--font-heading);
}

.child-list li:hover { border-color: var(--mint); }

.child-list li a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

.child-list li a:hover { color: var(--mint-dark); }

.child-list li small {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.child-list li small time {
  margin-left: 6px;
  color: var(--mint-dark);
  font-weight: 600;
}

/* ===== 侧边栏链接 ===== */
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  min-height: 40px;
}

.sidebar-links li a:hover {
  background: var(--mint-pale);
  color: var(--mint-dark);
}

/* ===== 标签云 ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.tag-pill {
  display: inline-block;
  background: var(--mint-pale);
  color: var(--mint-dark);
  border: 1px solid rgba(92,198,176,0.35);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  min-height: 28px;
  line-height: 1.6;
}

.tag-pill:hover {
  background: var(--mint);
  color: var(--ink);
}

/* ===== 文章页 ===== */
.article-section {
  display: flex;
  gap: 0;
  min-height: 500px;
}

.article-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-warm);
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.article-sidebar h3 {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.article-sidebar h3:first-child { margin-top: 0; }
.article-sidebar h3 + hr { margin-bottom: 10px; }

.article-figure {
  flex: 1;
  min-width: 0;
  padding: 36px 48px 48px;
}

.article-header {
  margin-bottom: 28px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--mint-dark); }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span { color: var(--ink-muted); }

.article-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.article-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-date.mod { color: var(--mint-dark); }

.article-channel-tag {
  display: inline-block;
  background: var(--mint-pale);
  color: var(--mint-dark);
  font-size: 0.78rem;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.article-body {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 720px;
  color: var(--text);
}

.article-body h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.article-body h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 14px; }
.article-body li { margin-bottom: 8px; list-style: disc; }
.article-body a { color: var(--mint-dark); text-decoration: underline; }
.article-body a:hover { color: var(--mint); }
.article-body img { border-radius: var(--radius); margin: 16px 0; }
.article-body blockquote {
  border-left: 3px solid var(--mint);
  padding: 12px 16px;
  background: var(--mint-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  color: var(--ink-light);
}

.article-footer-links {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-footer-links h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.explore-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.explore-links li a {
  display: block;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.15s, color 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.explore-links li a:hover {
  border-color: var(--mint);
  color: var(--mint-dark);
}

/* ===== 标签页 ===== */
.tag-hero {
  background: linear-gradient(135deg, #1e3a34 0%, var(--ink) 100%);
  padding: 48px 48px 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.tag-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 70%, rgba(92,198,176,0.1) 0%, transparent 55%);
}

.tag-figure {
  position: relative;
  z-index: 1;
  flex: 1;
}

.tag-label-wrap { margin-bottom: 12px; }

.tag-label-badge {
  display: inline-block;
  background: var(--sand);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

.tag-figure h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 10px;
}

.tag-figure > p {
  color: var(--sand);
  font-size: 0.95rem;
  max-width: 480px;
}

.tag-aside {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tag-aside h3 {
  font-size: 0.85rem;
  color: var(--sand);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tag-aside .sidebar-links li a {
  color: rgba(212,196,168,0.8);
  background: rgba(255,255,255,0.04);
}

.tag-aside .sidebar-links li a:hover {
  background: rgba(92,198,176,0.15);
  color: var(--mint);
}

.tag-content-section {
  display: flex;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.tag-content-fig {
  flex: 1;
  padding: 32px 48px;
}

.tag-prose {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 680px;
}

.tag-prose p { margin-bottom: 14px; }
.tag-prose h2 { font-size: 1.2rem; margin: 20px 0 8px; }

.tag-content-aside {
  width: 200px;
  flex-shrink: 0;
  padding: 32px 20px;
  background: var(--bg-warm);
  border-left: 1px solid var(--border);
}

.tag-content-aside h3 {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.tag-content-aside h3 + hr { margin-bottom: 12px; }

.tag-list-section {
  padding: 36px 48px 48px;
}

.tag-list-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.tag-articles {
  max-width: 720px;
}

/* ===== 关于页 ===== */
.about-section {
  display: flex;
  gap: 0;
  min-height: 400px;
}

.about-aside {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-warm);
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.about-aside h3 {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

.about-aside h3:first-child { margin-top: 0; }
.about-aside h3 + hr { margin-bottom: 10px; }

.about-figure {
  flex: 1;
  min-width: 0;
  padding: 36px 48px 48px;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint-dark);
  letter-spacing: 0.06em;
  background: var(--mint-pale);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.about-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.about-body {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 680px;
}

.about-body h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.about-body h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.about-body p { margin-bottom: 14px; }
.about-body ul { padding-left: 18px; margin-bottom: 12px; }
.about-body li { margin-bottom: 6px; list-style: disc; }

.about-extra {
  padding: 36px 48px 48px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.about-extra h2 { font-size: 1.2rem; margin-bottom: 8px; }

.about-principles {
  margin-top: 16px;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}

.principles-list li {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-light);
}

/* ===== 隐私页 ===== */
.privacy-section {
  display: flex;
  gap: 0;
  min-height: 400px;
}

.privacy-aside {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-warm);
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.privacy-aside h3 {
  font-size: 0.88rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

.privacy-aside h3:first-child { margin-top: 0; }
.privacy-aside h3 + hr { margin-bottom: 10px; }

.privacy-figure {
  flex: 1;
  min-width: 0;
  padding: 36px 48px 48px;
}

.privacy-header {
  margin-bottom: 28px;
}

.privacy-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.privacy-header time {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}

.privacy-body {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 680px;
}

.privacy-body h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.privacy-body h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.privacy-body p { margin-bottom: 14px; }
.privacy-body ul { padding-left: 18px; margin-bottom: 12px; }
.privacy-body li { margin-bottom: 6px; list-style: disc; }

.privacy-links-section {
  padding: 32px 48px 48px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.privacy-links-section h2 { font-size: 1.1rem; margin-bottom: 8px; }

.privacy-extra-figure {
  margin-top: 14px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding: 48px 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--mint);
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(212,196,168,0.7);
  line-height: 1.6;
}

.footer-nav-col h4, .footer-contact h4 {
  font-size: 0.82rem;
  color: rgba(212,196,168,0.6);
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.footer-nav-col nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav-col nav a {
  color: rgba(212,196,168,0.8);
  font-size: 0.88rem;
  transition: color 0.15s;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.footer-nav-col nav a:hover { color: var(--mint); }

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(212,196,168,0.7);
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bar-nav {
  display: flex;
  gap: 20px;
}

.footer-bar-nav a {
  color: rgba(212,196,168,0.6);
  font-size: 0.82rem;
  transition: color 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-bar-nav a:hover { color: var(--mint); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(212,196,168,0.45);
}

/* ===== 滚动动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: border-color 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
  }
  .card:hover {
    box-shadow: 0 4px 20px rgba(92,198,176,0.12);
  }
  .hero-deco {
    animation: pulse-slow 4s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 36px 32px 24px;
  }
  .channel-main { padding: 28px 32px; }
  .article-figure { padding: 28px 32px 36px; }
  .about-figure { padding: 28px 32px 36px; }
  .privacy-figure { padding: 28px 32px 36px; }
  .tag-content-fig { padding: 28px 32px; }
  .tag-list-section { padding: 28px 32px 36px; }
  .channels-section { padding: 32px 32px 24px; }
  .content-section { padding: 28px 32px 36px; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    position: fixed;
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 200;
  }

  .sidebar[open] {
    transform: translateX(0);
    width: 260px;
  }

  .brand-toggle { display: inline-block; }

  .sidebar-brand {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--ink);
    z-index: 201;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(92,198,176,0.2);
  }

  .sidebar[open] .sidebar-brand {
    position: relative;
  }

  .page-content {
    margin-left: 0;
    padding-top: 56px;
  }

  .hero-section {
    min-height: 65vh;
    padding: 40px 20px;
    flex-direction: column;
    align-items: center;
  }

  .hero-text { max-width: 100%; }
  .hero-text h1 { font-size: 1.6rem; }

  .channels-section { padding: 24px 16px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }

  .content-section {
    flex-direction: column;
    padding: 20px 16px 28px;
  }
  .content-aside { width: 100%; }

  .channel-hero {
    flex-direction: column;
    padding: 32px 16px 24px;
  }

  .channel-body { flex-direction: column; }
  .channel-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }
  .channel-main { padding: 20px 16px 28px; }

  .article-section { flex-direction: column; }
  .article-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
    order: 2;
  }
  .article-figure { padding: 20px 16px 28px; order: 1; }

  .about-section { flex-direction: column; }
  .about-aside {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }
  .about-figure { padding: 20px 16px 28px; }
  .about-extra { padding: 20px 16px 28px; }

  .privacy-section { flex-direction: column; }
  .privacy-aside {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }
  .privacy-figure { padding: 20px 16px 28px; }
  .privacy-links-section { padding: 20px 16px 28px; }

  .tag-hero { flex-direction: column; padding: 28px 16px 24px; }
  .tag-aside { width: 100%; }
  .tag-content-section { flex-direction: column; }
  .tag-content-fig { padding: 20px 16px; }
  .tag-content-aside {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 16px;
  }
  .tag-list-section { padding: 20px 16px 28px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 16px 20px;
  }
  .footer-bar {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bar-nav { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.4rem; }
  .channel-figure h1 { font-size: 1.4rem; }
}
