@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=EB+Garamond:wght@400;500;600;700;800&display=swap');

/* ============================
   CSS 变量 & 基础重置
   ============================ */
:root {
  --green: #87ff71;
  --amber: #ffce5c;
  --ink: #192617;
  --ink-deep: #0e1a0c;
  --ink-mid: #2a3d27;
  --ink-light: #3d5438;
  --green-dim: #5dc44a;
  --amber-dim: #d4a630;
  --text-main: #e8f5e4;
  --text-muted: #9ab894;
  --text-inv: #192617;
  --font-serif: 'EB Garamond', 'Crimson Text', Georgia, 'Times New Roman', serif;
  --font-body: 'Crimson Text', 'EB Garamond', Georgia, serif;
  --radius: 4px;
  --header-h: 64px;
  --anchor-h: 40px;
  --transition: 240ms cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--amber); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ============================
   全局遮罩菜单
   ============================ */
.overlay-menu {
  position: fixed;
  inset: 0;
  background: var(--ink-deep);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.overlay-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.overlay-menu[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.overlay-menu[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

.overlay-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--green);
  font-size: 1.6rem;
  padding: 10px 14px;
  min-height: 44px;
  min-width: 44px;
  transition: color var(--transition), transform var(--transition);
}
.overlay-close:hover { color: var(--amber); transform: rotate(90deg); }

.overlay-aside nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.overlay-aside nav ul li a {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 12px 32px;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
  letter-spacing: .02em;
}
.overlay-aside nav ul li a:hover,
.overlay-aside nav ul li a[aria-current="page"] {
  color: var(--green);
  border-color: var(--green);
}

/* ============================
   顶部 Header
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--ink-deep);
  border-bottom: 2px solid var(--green);
  z-index: 800;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-icon {
  height: 38px;
  width: auto;
}
.brand-icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  order: 2;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 1px;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta {
  order: 3;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  min-height: 40px;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.header-cta:hover { background: var(--amber); color: var(--ink); }

.site-wrap { padding-top: var(--header-h); }

/* ============================
   粘性锚点条
   ============================ */
.sticky-anchors {
  position: sticky;
  top: var(--header-h);
  z-index: 700;
  background: var(--ink-mid);
  border-bottom: 1px dashed var(--green);
  display: flex;
  gap: 0;
  padding: 0 20px;
  height: var(--anchor-h);
  align-items: center;
  overflow-x: auto;
}
.sticky-anchors a {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 40px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-right: 1px solid var(--ink-light);
  transition: color var(--transition);
}
.sticky-anchors a:hover { color: var(--amber); }

/* ============================
   Memphis 装饰形状
   ============================ */
.shape {
  position: absolute;
  pointer-events: none;
}
.shape-tri1 {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid var(--green);
  opacity: .18;
  top: 8%;
  right: 5%;
  transform: rotate(15deg);
}
.shape-tri2 {
  width: 0; height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 78px solid var(--amber);
  opacity: .22;
  top: 12%;
  left: 6%;
  transform: rotate(-20deg);
}
.shape-tri3 {
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid var(--green);
  opacity: .2;
  bottom: 10%;
  right: 8%;
  transform: rotate(8deg);
}
.shape-circ1 {
  width: 90px; height: 90px;
  border: 8px solid var(--amber);
  border-radius: 50%;
  opacity: .25;
  top: 20%;
  left: 10%;
}
.shape-circ2 {
  width: 60px; height: 60px;
  border: 6px dotted var(--green);
  border-radius: 50%;
  opacity: .3;
  bottom: 15%;
  right: 12%;
}
.shape-sq1 {
  width: 50px; height: 50px;
  background: var(--amber);
  opacity: .15;
  bottom: 20%;
  left: 8%;
  transform: rotate(25deg);
}
.shape-sq2 {
  width: 40px; height: 40px;
  border: 4px solid var(--green);
  opacity: .22;
  top: 30%;
  right: 15%;
  transform: rotate(12deg);
}
.shape-zigzag {
  top: 60%;
  right: 3%;
  width: 80px;
  height: 20px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--amber) 0px,
      var(--amber) 4px,
      transparent 4px,
      transparent 10px
    );
  opacity: .35;
}
.shape-dot-grid {
  top: 50%;
  left: 3%;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(var(--green) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: .3;
}
.shape-line1 {
  top: 40%;
  left: 2%;
  width: 4px;
  height: 80px;
  background: var(--amber);
  opacity: .4;
  transform: rotate(10deg);
}

/* ============================
   斜切色带
   ============================ */
.hero-slash {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}

/* ============================
   Hero — 首页
   ============================ */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-mid);
  overflow: hidden;
  border-bottom: 3px solid var(--green);
  padding: 80px 20px 100px;
}
.hero-shapes { position: absolute; inset: 0; z-index: 0; }
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--ink);
  border: 2px solid var(--amber);
  padding: 4px 14px;
  margin-bottom: 20px;
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0% 50%);
}
.hero-section h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  min-height: 48px;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--amber); color: var(--ink); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  min-height: 48px;
  background: transparent;
  color: var(--green);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-ghost:hover { background: var(--green); color: var(--ink); }

/* ============================
   Category Hero / Article Hero
   ============================ */
.cat-hero, .article-header-section, .about-banner, .privacy-banner {
  position: relative;
  padding: 60px 20px 80px;
  background: var(--ink-mid);
  overflow: hidden;
  border-bottom: 3px solid var(--amber);
}
.cat-hero-shapes, .article-header-shapes, .about-shapes, .privacy-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cat-hero-inner, .article-header-inner, .about-banner-inner, .privacy-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.cat-eyebrow, .art-eyebrow, .about-eyebrow, .privacy-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 2px dashed var(--green);
  padding-bottom: 2px;
  margin-bottom: 14px;
}
.cat-hero h1, .article-header-section h1, .about-banner h1, .privacy-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 14px;
}
.cat-hero .subtitle, .article-header-section .subtitle,
.about-banner .subtitle, .privacy-banner .subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ============================
   面包屑
   ============================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { color: var(--amber); }

/* ============================
   内容主区域（两栏布局）
   ============================ */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 60px;
}
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.content-main {
  min-width: 0;
}
.content-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--anchor-h) + 16px);
  background: var(--ink-mid);
  border: 2px solid var(--ink-light);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.content-sidebar h2 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 6px;
}
.content-sidebar .subtitle {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-links li a {
  display: block;
  padding: 8px 10px;
  font-size: .9rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.sidebar-links li a:hover {
  color: var(--green);
  border-left-color: var(--green);
  background: rgba(135, 255, 113, .06);
}
.sidebar-links-sm li a { font-size: .82rem; padding: 6px 10px; }
.sidebar-nav-group { margin-top: 20px; }
.sidebar-group-title {
  display: block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ============================
   装饰块 (figure)
   ============================ */
.content-deco {
  margin-bottom: 24px;
}
.deco-block {
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 40%, transparent 40%);
  border-radius: 3px;
}
.deco-amber { background: linear-gradient(90deg, var(--amber) 0%, var(--amber) 40%, transparent 40%); }
.deco-green { background: linear-gradient(90deg, var(--green) 0%, var(--green) 60%, transparent 60%); }

/* ============================
   正文排版
   ============================ */
.page-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}
.page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green);
  margin: 2em 0 .5em;
  padding-left: 14px;
  border-left: 4px solid var(--green);
}
.page-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber);
  margin: 1.6em 0 .4em;
}
.page-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 1.4em 0 .3em;
}
.page-content p { margin-bottom: 1.1em; }
.page-content ul, .page-content ol {
  margin: .8em 0 1.2em 1.4em;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: .4em; }
.page-content blockquote {
  border-left: 4px solid var(--amber);
  padding: 12px 20px;
  margin: 1.4em 0;
  background: rgba(255, 206, 92, .08);
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.page-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--amber); }
.page-content strong { color: var(--amber); font-weight: 700; }
.page-content code {
  font-family: 'Courier New', monospace;
  font-size: .9em;
  background: var(--ink-mid);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--green);
}
.page-content pre {
  background: var(--ink-mid);
  border: 1px solid var(--ink-light);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin: 1.2em 0;
}
.page-content pre code { background: none; padding: 0; }
.page-content table {
  margin: 1.2em 0;
  border: 1px solid var(--ink-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-content th {
  background: var(--ink-mid);
  color: var(--amber);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  font-size: .9rem;
  border-bottom: 2px solid var(--ink-light);
}
.page-content td { padding: 9px 14px; border-bottom: 1px solid var(--ink-light); }
.page-content tr:last-child td { border-bottom: none; }

/* 文章元信息 */
.art-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.art-meta time { font-style: italic; }

/* 文章 Hero 图 */
.article-hero-figure {
  margin-bottom: 28px;
  border: 2px solid var(--ink-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-hero-img { width: 100%; object-fit: cover; max-height: 400px; }
.article-hero-figure figcaption {
  padding: 8px 12px;
  font-size: .82rem;
  color: var(--text-muted);
  background: var(--ink-mid);
  border-top: 1px solid var(--ink-light);
}

/* ============================
   首页：分类卡片表格
   ============================ */
.categories-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  border-top: 1px dashed var(--ink-light);
}
.section-header {
  margin-bottom: 28px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.section-header .subtitle {
  font-size: .95rem;
  color: var(--text-muted);
}
.cat-table { border: none; }
.cat-table tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat-table tr { display: contents; }
.card-cell { display: block; }
.nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--ink-mid);
  border: 2px solid var(--ink-light);
  border-radius: var(--radius);
  color: var(--text-main);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  height: 100%;
}
.nav-card:hover {
  border-color: var(--green);
  background: var(--ink-deep);
  transform: translateY(-3px);
  color: var(--text-main);
}
.card-num {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--amber);
  font-family: var(--font-serif);
}
.nav-card strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1.4;
}
.nav-card .subtitle {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================
   首页：文章列表
   ============================ */
.articles-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  border-top: 1px dashed var(--ink-light);
  padding-top: 48px;
}
.articles-aside {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.tag-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--amber);
  padding: 3px 10px;
  border-radius: 2px;
  clip-path: polygon(4px 0%, calc(100% - 4px) 0%, 100% 50%, calc(100% - 4px) 100%, 4px 100%, 0% 50%);
}
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 2px solid var(--ink-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-list li {
  border-bottom: 1px solid var(--ink-light);
}
.article-list li:last-child { border-bottom: none; }
.article-list li a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 20px;
  min-height: 48px;
  color: var(--text-main);
  transition: background var(--transition), color var(--transition);
}
.article-list li a:hover { background: var(--ink-mid); color: var(--green); }
.art-date {
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--text-muted);
  font-style: italic;
  min-width: 120px;
}
.art-title {
  font-size: .98rem;
  font-family: var(--font-serif);
}

/* ============================
   栏目页子页表格
   ============================ */
.cat-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}
.children-table {
  border: 2px solid var(--ink-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.children-table thead tr {
  background: var(--ink-mid);
}
.children-table th {
  padding: 12px 14px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--amber);
  text-align: left;
  border-bottom: 2px solid var(--ink-light);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.children-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ink-light);
  font-size: .9rem;
  vertical-align: top;
}
.children-table tbody tr:last-child td { border-bottom: none; }
.children-table tbody tr:hover { background: rgba(135,255,113,.04); }
.child-num {
  font-family: var(--font-serif);
  font-size: .82rem;
  color: var(--amber);
  font-weight: 700;
  width: 40px;
  white-space: nowrap;
}
.child-title a {
  color: var(--green);
  font-family: var(--font-serif);
  font-weight: 600;
}
.child-title a:hover { color: var(--amber); }
.child-desc { color: var(--text-muted); font-size: .88rem; max-width: 380px; }
.child-date { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.empty-tip { color: var(--text-muted); font-size: .95rem; padding: 20px 0; }

/* ============================
   About / Privacy 日期
   ============================ */
.about-banner time { display: block; margin-top: 12px; font-size: .85rem; color: var(--text-muted); font-style: italic; }
.privacy-date { margin-top: 12px; font-size: .85rem; color: var(--text-muted); }
.privacy-date time { font-style: italic; }

/* ============================
   页脚（极简：p + small）
   ============================ */
.site-footer {
  background: var(--ink-deep);
  border-top: 3px solid var(--ink-mid);
  padding: 32px 20px;
  text-align: center;
}
.site-footer p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.8;
}
.site-footer p a { color: var(--green); }
.site-footer p a:hover { color: var(--amber); }
.site-footer small {
  display: block;
  font-size: .78rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ============================
   Stagger 动画
   ============================ */
@media (prefers-reduced-motion: no-preference) {
  .stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerIn 480ms ease forwards;
  }
  @keyframes staggerIn {
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-item { opacity: 1; transform: none; animation: none; }
  .hero-slash, .shape { display: none; }
}

/* ============================
   响应式断点
   ============================ */
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-sidebar {
    position: static;
  }
  .cat-table tbody {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  html { font-size: 17px; }
  .hero-section { min-height: 60vh; padding: 60px 16px 80px; }
  .hero-section h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .cat-hero, .article-header-section, .about-banner, .privacy-banner {
    padding: 44px 16px 64px;
  }
  .cat-table tbody { grid-template-columns: 1fr; }
  .content-section, .categories-section, .articles-section, .cat-list-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner { padding: 0 14px; }
  .header-cta { display: none; }
  .children-table { font-size: .82rem; }
  .child-desc { display: none; }
  .art-date { min-width: auto; font-size: .75rem; }
  .overlay-aside nav ul li a { font-size: 1.2rem; }
  .sticky-anchors { font-size: .78rem; }
}

@media (max-width: 375px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }
}
