/* ===== 字体引入 ===== */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Merriweather:wght@300;400;700&display=swap');

/* ===== CSS 变量 ===== */
:root {
  --paper: #fdfbf7;
  --paper-alt: #f5f5f5;
  --ink: #1a1a1a;
  --ink-mid: #444444;
  --ink-light: #888888;
  --border: #d8d4cc;
  --border-light: #e8e4dc;
  --glass-bg: rgba(253, 251, 247, 0.72);
  --glass-border: rgba(26, 26, 26, 0.12);
  --radius: 10px;
  --font-serif: 'Merriweather', 'Noto Serif SC', 'Source Han Serif SC', Georgia, serif;
  --font-display: 'Abril Fatface', 'Noto Serif SC', Georgia, serif;
  --font-sans: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-w: 1100px;
  --content-w: 720px;
  --gap: 2rem;
  --header-h: 110px;
}

/* ===== 重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  line-height: 1.7;
  scroll-behavior: auto;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: var(--font-serif);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* 纸质纹理叠层 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.65; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select { font: inherit; }

/* ===== 页面包装 ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ===== 顶部导航：两行 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-light);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-alt);
}

.header-search input {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  width: 180px;
  outline: none;
  color: var(--ink);
}

.header-search button {
  border: none;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.85rem;
  min-height: 40px;
  min-width: 40px;
  transition: none;
}

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

/* 导航结构：aside > nav > ul > li > a */
.site-aside-nav {
  display: block;
}

.site-aside-nav nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-aside-nav nav ul li a {
  display: block;
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
  border-right: 1px solid var(--border-light);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: none;
}

.site-aside-nav nav ul li:first-child a {
  padding-left: 0;
}

.site-aside-nav nav ul li a:hover {
  color: var(--ink);
  background: var(--paper-alt);
  opacity: 1;
}

/* ===== 主要内容布局：main + aside 右侧 ===== */
.page-wrapper > main {
  flex: 1;
}

/* 正文 + 侧栏的外层 flex 容器 */
.page-wrapper {
  --aside-w: 260px;
}

/* 让 main 和 aside 并排 */
@media (min-width: 900px) {
  .page-wrapper > main + .page-aside {
    /* 通过包装实现，见下方包装 */
  }
}

/* 内容区包装（main 之后加 aside） */
.page-wrapper > main {
  width: 100%;
}

/* main 与 aside 横向布局 */
@media (min-width: 960px) {
  .page-wrapper > main,
  .page-wrapper > .page-aside {
    display: block;
  }

  /* 使用 grid 让 main+aside 并排，不破坏 flex 列方向 */
  .page-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas:
      "header"
      "banner"
      "content"
      "aside-placeholder"
      "footer";
  }
}

/* 简化：main + aside 用 CSS 并排 */
.content-layout {
  display: flex;
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem;
  align-items: flex-start;
}

/* 实际上 main 的 .wrap 控制宽度，aside 在外侧 */
/* 全局布局：header sticky, 下面内容区横排 */

.page-wrapper > main + .page-aside {
  width: 100%;
}

@media (min-width: 960px) {
  /* 用 wrapper 外的 flex 做并排 */
  .page-wrapper {
    display: block; /* reset grid */
  }

  .main-with-aside {
    display: flex;
    gap: var(--gap);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2rem;
    align-items: flex-start;
  }
}

/* ===== 包装容器 ===== */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem;
}

/* ===== 正文容器：main > article.wrap > section > div ===== */
.section-inner {
  padding: 2rem 0;
}

/* ===== 侧边栏 ===== */
.page-aside {
  background: var(--paper-alt);
  border-top: 1px solid var(--border);
  padding: 2rem;
}

@media (min-width: 960px) {
  /* 通过 flex 行排列来实现侧边栏在右侧 */
  /* 我们需要把 main 和 aside 包进一个容器，但 layout 里分开输出 */
  /* 方案：绝对定位侧边栏，或 grid on body */
  /* 此处用 fixed 宽度 + float 模拟 */
  .page-aside {
    position: relative;
    float: right;
    clear: right;
    width: 280px;
    margin: -100px 2rem 2rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .page-wrapper > main {
    margin-right: 320px;
  }
}

.aside-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aside-inner h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.aside-inner nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aside-inner nav ul li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: none;
}

.aside-inner nav ul li a:hover {
  border-left-color: var(--ink);
  background: var(--paper);
  opacity: 1;
}

.aside-site-nav {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.aside-site-nav h2 {
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

/* ===== Hero：双图错位拼贴，文案右对齐，约 70vh ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.hero-bg-text {
  position: absolute;
  left: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 18rem);
  color: var(--paper-alt);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
  border: none;
}

.hero-collage {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-collage-inner {
  position: relative;
  width: 100%;
  height: 80%;
}

.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.hero-img-1 {
  width: 62%;
  height: 75%;
  top: 0;
  left: 0;
  z-index: 2;
  box-shadow: 4px 4px 0 var(--border);
}

.hero-img-2 {
  width: 55%;
  height: 65%;
  bottom: 0;
  right: 0;
  z-index: 3;
  box-shadow: -4px -4px 0 var(--border);
}

.hero-text {
  position: relative;
  z-index: 4;
  margin-left: auto;
  max-width: 44%;
  padding: 3rem 3rem 3rem 0;
  text-align: right;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 0.75rem;
}

.hero-section h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: none;
}

.hero-cta:hover {
  background: var(--ink-mid);
  opacity: 1;
}

/* ===== 玻璃拟态卡片 ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  position: relative;
}

.card-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.glass-card h3 a {
  text-decoration: none;
}

.glass-card p {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.card-footer-link {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.83rem;
  font-family: var(--font-sans);
}

/* ===== 专题卡片网格 ===== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.topic-card {
  min-height: 160px;
}

/* ===== 文章表格 ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.article-table,
.topic-table {
  width: 100%;
  font-size: 0.9rem;
}

.article-table td,
.topic-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.article-table tr:last-child td,
.topic-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover td,
.topic-table tr:hover td {
  background: var(--paper-alt);
}

.article-table a,
.topic-table a {
  text-decoration: none;
  font-family: var(--font-sans);
}

.article-table a:hover,
.topic-table a:hover {
  text-decoration: underline;
  opacity: 1;
}

.td-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-light);
  width: 2.5rem;
}

.td-date {
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--ink-light);
  font-family: var(--font-sans);
  width: 9rem;
}

.td-desc {
  color: var(--ink-mid);
  font-size: 0.85rem;
}

/* ===== h2 + p.subtitle 标题副标题 ===== */
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.subtitle {
  font-size: 0.92rem;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* ===== 正文内容 ===== */
.content-body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
}

.content-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.content-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.content-body p {
  margin-bottom: 1.1rem;
}

.content-body ul,
.content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.content-body li {
  margin-bottom: 0.35rem;
}

.content-body a {
  color: var(--ink);
  text-decoration: underline;
}

.content-body blockquote {
  border-left: 3px solid var(--ink);
  margin: 1.25rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--paper-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.content-body img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1rem 0;
}

.content-body table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.content-body th,
.content-body td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.content-body th {
  background: var(--paper-alt);
  font-family: var(--font-sans);
  font-weight: 700;
}

/* ===== 专题 Banner ===== */
.topic-banner,
.about-banner,
.privacy-banner,
.tag-banner {
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  max-width: 100%;
}

.topic-banner-bg-text,
.about-banner-bg-text,
.privacy-banner-bg-text,
.tag-banner-bg-text {
  position: absolute;
  right: -0.02em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  color: var(--paper-alt);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}

.topic-banner-text,
.about-banner-text,
.privacy-banner-text,
.tag-banner-text {
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
}

.topic-banner-text h1,
.about-banner-text h1,
.privacy-banner-text h1,
.tag-banner-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0.4rem 0 0.6rem;
}

.topic-desc,
.about-desc {
  font-size: 0.95rem;
  color: var(--ink-mid);
  max-width: 560px;
}

.topic-banner-img,
.about-banner-img {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  z-index: 1;
}

.topic-hero-img,
.about-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.4rem;
}

/* ===== 文章页 ===== */
.article-wrap {
  max-width: calc(var(--content-w) + var(--gap) + 260px);
}

.article-main-section .section-inner {
  max-width: var(--content-w);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.83rem;
  font-family: var(--font-sans);
  color: var(--ink-light);
}

.breadcrumb-link {
  color: var(--ink-mid);
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
  opacity: 1;
}

.breadcrumb-sep {
  color: var(--ink-light);
}

.pub-date,
.mod-date {
  color: var(--ink-light);
}

.article-body h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.article-lead {
  font-size: 1rem;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}

.article-hero {
  margin-bottom: 1.5rem;
}

.article-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.article-content {
  margin-top: 1rem;
}

.article-footer-nav {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.back-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink-mid);
}

.back-link:hover {
  color: var(--ink);
  opacity: 1;
}

/* ===== 标签页 ===== */
.tag-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.tag-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.tag-card-media {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--glass-border);
}

.tag-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.tag-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.tag-card-body h3 {
  margin-bottom: 0.4rem;
}

/* ===== 关于页 ===== */
.about-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  border-radius: 4px;
  min-height: 42px;
  transition: none;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}

.about-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-nav-item {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--paper-alt);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: none;
}

.about-nav-item:hover {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}

/* ===== 隐私政策页 ===== */
.privacy-article {
  max-width: var(--content-w);
}

.privacy-content {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.privacy-footer-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

/* ===== 页脚：footer > section×n ===== */
footer {
  border-top: 2px solid var(--ink);
  background: var(--paper);
  margin-top: 4rem;
}

.footer-brand-section {
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.footer-brand-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.footer-brand-section p {
  font-size: 0.9rem;
  color: var(--ink-mid);
  max-width: 480px;
  font-family: var(--font-sans);
}

.footer-links-section {
  padding: 2rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.footer-links-section nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer-links-section nav ul li a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink-mid);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  min-height: 40px;
  transition: none;
}

.footer-links-section nav ul li a:hover {
  color: var(--ink);
  border-color: var(--ink);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border-light);
  background: var(--paper-alt);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--ink-light);
  font-family: var(--font-sans);
}

/* ===== 空状态 ===== */
.empty-tip {
  padding: 2rem;
  text-align: center;
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ===== 滚动 Reveal（纯 CSS，prefers-reduced-motion 关闭）===== */
@media (prefers-reduced-motion: no-preference) {
  .glass-card,
  .section-inner,
  .tag-card {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal 0.45s ease forwards;
  }

  .glass-card:nth-child(1) { animation-delay: 0.05s; }
  .glass-card:nth-child(2) { animation-delay: 0.12s; }
  .glass-card:nth-child(3) { animation-delay: 0.19s; }
  .glass-card:nth-child(4) { animation-delay: 0.26s; }
  .section-inner { animation-delay: 0.08s; }
  .tag-card:nth-child(1) { animation-delay: 0.05s; }
  .tag-card:nth-child(2) { animation-delay: 0.1s; }
  .tag-card:nth-child(3) { animation-delay: 0.15s; }

  @keyframes reveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card,
  .section-inner,
  .tag-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 959px) {
  .page-wrapper > main {
    margin-right: 0;
  }

  .page-aside {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-collage {
    position: static;
    width: 100%;
    height: 280px;
    padding: 1rem;
  }

  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero-text {
    max-width: 100%;
    padding: 1.5rem 1.5rem 0;
    text-align: right;
  }

  .hero-bg-text {
    font-size: 35vw;
    left: -0.02em;
  }

  .topic-banner-img,
  .about-banner-img {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  :root {
    --gap: 1rem;
  }

  .header-brand-row {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .header-search {
    width: 100%;
    order: 3;
  }

  .header-search input {
    flex: 1;
    width: auto;
  }

  .header-nav-row {
    padding: 0 0.5rem;
    overflow-x: auto;
  }

  .site-aside-nav nav ul {
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .site-aside-nav nav ul li a {
    font-size: 0.8rem;
    padding: 0.6rem 0.7rem;
    white-space: nowrap;
  }

  .wrap {
    padding: 1rem;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .tag-card-grid {
    grid-template-columns: 1fr;
  }

  .about-nav-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text {
    padding: 1rem;
    text-align: left;
  }

  .footer-brand-section {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-links-section {
    padding: 1.5rem 1rem;
  }

  .footer-bottom {
    padding: 1rem;
  }

  .topic-banner,
  .about-banner,
  .privacy-banner,
  .tag-banner {
    padding: 2.5rem 1rem 2rem;
  }

  .topic-banner-bg-text,
  .about-banner-bg-text,
  .privacy-banner-bg-text,
  .tag-banner-bg-text {
    font-size: 28vw;
  }

  h2 {
    font-size: 1.3rem;
  }

  .table-wrap {
    font-size: 0.82rem;
  }

  .article-table td,
  .topic-table td {
    padding: 0.6rem 0.5rem;
  }

  .td-desc {
    display: none;
  }

  .privacy-footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .about-cta-row {
    flex-direction: column;
  }
}
