/* ===== 字体引入（已在 head.js 通过 Google Fonts 引入）===== */

/* ===== CSS 变量 ===== */
:root {
  --c-bg: #1a1a2e;
  --c-bg2: #16213e;
  --c-bg3: #0f3460;
  --c-accent: #e94560;
  --c-gold: #f5a623;
  --c-text: #e8e8f0;
  --c-text-muted: #9999bb;
  --c-border: rgba(233,69,96,0.25);
  --c-border-subtle: rgba(255,255,255,0.08);
  --font-head: 'Calistoga', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --radius: 4px;
  --announce-h: 36px;
  --header-h: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-gold); }
ul, ol { list-style: none; }

/* ===== 公告条 ===== */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--announce-h);
  background: var(--c-accent);
  z-index: 200;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.announce-inner {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  padding: 0 16px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
.ticker {
  animation: ticker-scroll 28s linear infinite;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0; right: 0;
  height: var(--header-h);
  background: rgba(26,26,46,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  z-index: 150;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: 0 20px;
}
.brand-center {
  text-align: center;
}
.brand-link {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--c-gold);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.brand-link:hover { opacity: 0.8; color: var(--c-gold); }

/* 导航：header > nav > p > a（结构约束） */
.header-nav {
  display: none;
}
.header-nav p {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.header-nav p a {
  font-size: 14px;
  color: var(--c-text-muted);
  padding: 8px 4px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.header-nav p a:hover { color: var(--c-accent); }

/* ===== 汉堡按钮 ===== */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(233,69,96,0.15); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 全屏遮罩菜单 ===== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,24,0.98);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.fullscreen-menu.open {
  opacity: 1;
  pointer-events: all;
}
.fullscreen-menu nav p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fullscreen-menu nav p a {
  font-family: var(--font-head);
  font-size: clamp(20px, 4vw, 32px);
  color: var(--c-text);
  padding: 12px 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
.fullscreen-menu.open nav p a {
  opacity: 1;
  transform: translateY(0);
}
.fullscreen-menu nav p a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}
.menu-close {
  position: absolute;
  top: calc(var(--announce-h) + 16px);
  right: 20px;
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-close:hover { background: var(--c-accent); color: #fff; }

/* stagger animation for menu items */
.fullscreen-menu.open nav p a:nth-child(1) { transition-delay: 0.05s; }
.fullscreen-menu.open nav p a:nth-child(2) { transition-delay: 0.10s; }
.fullscreen-menu.open nav p a:nth-child(3) { transition-delay: 0.15s; }
.fullscreen-menu.open nav p a:nth-child(4) { transition-delay: 0.20s; }
.fullscreen-menu.open nav p a:nth-child(5) { transition-delay: 0.25s; }
.fullscreen-menu.open nav p a:nth-child(6) { transition-delay: 0.30s; }
.fullscreen-menu.open nav p a:nth-child(7) { transition-delay: 0.35s; }

/* ===== 页面偏移（固定头部补偿）===== */
main {
  padding-top: calc(var(--announce-h) + var(--header-h));
}

/* ===== 点阵底纹 ===== */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(233,69,96,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  border: none;
  margin: 0;
}
.section-deco {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold), transparent);
  border: none;
  margin: 0;
  pointer-events: none;
}

/* ===== 动态标题 Kinetic ===== */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.kinetic-title {
  font-family: var(--font-head);
  background: linear-gradient(135deg, #fff 0%, var(--c-gold) 40%, var(--c-accent) 70%, #fff 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

/* ===== Hero 首页 ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 60px 5vw 60px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg3) 100%);
  align-items: center;
}
.hero-aside {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  margin-bottom: 24px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  text-transform: uppercase;
  border: 1px solid var(--c-accent);
  padding: 4px 12px;
  border-radius: 2px;
}
.hero-text {
  grid-column: 1;
  grid-row: 2;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-h1 {
  font-size: clamp(32px, 7vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 16px;
  color: var(--c-text-muted);
  max-width: 480px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--c-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius);
  min-height: 48px;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}
.hero-cta:hover {
  background: var(--c-gold);
  color: var(--c-bg);
  transform: translateY(-2px);
}

/* 双图错位拼贴 */
.hero-images {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  height: 380px;
  z-index: 2;
}
.hero-img1-wrap,
.hero-img2-wrap {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  margin: 0;
}
.hero-img1-wrap {
  width: 65%;
  top: 0; left: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-img2-wrap {
  width: 60%;
  bottom: 0; right: 0;
  box-shadow: 0 20px 60px rgba(233,69,96,0.3);
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}
.hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg3);
  height: 200px;
}
.hero-placeholder span {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--c-accent);
  opacity: 0.5;
}
.hero-img1-wrap img,
.hero-img2-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 卡片通用（底部强调线）===== */
.cat-card,
.art-card,
.child-card,
.faq-card,
.related-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-bg2);
  border: 1px solid var(--c-border-subtle);
  border-bottom: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 20px 18px;
  color: var(--c-text);
  transition: border-bottom-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover,
.art-card:hover,
.child-card:hover,
.faq-card:hover,
.related-link:hover {
  border-bottom-color: var(--c-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(233,69,96,0.15);
  color: var(--c-text);
}
.cat-card strong,
.art-card strong,
.child-card strong,
.faq-card strong,
.related-link strong {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--c-text);
  line-height: 1.4;
}
.cat-desc,
.art-excerpt,
.child-desc,
.faq-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.art-meta,
.child-date,
.faq-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-text-muted);
}
.art-tag {
  background: rgba(233,69,96,0.18);
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 2px;
}
time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text-muted);
}

/* ===== 首页分类区 ===== */
.home-content {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 5vw;
}
.cat-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* ===== 首页文章区 ===== */
.featured-section {
  position: relative;
  padding: 72px 5vw;
  background: var(--c-bg2);
}
.featured-aside {
  margin-bottom: 32px;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== 分类页 Hero ===== */
.cat-hero-section {
  position: relative;
  padding: 80px 5vw 60px;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg3) 100%);
  overflow: hidden;
}
.cat-hero-aside {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.cat-hero-text {
  max-width: 700px;
  position: relative;
  z-index: 2;
}
.cat-h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cat-desc-text {
  font-size: 16px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ===== 分类页内容区 ===== */
.cat-content-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5vw;
}
.cat-children-section {
  position: relative;
  padding: 64px 5vw;
  background: var(--c-bg2);
}
.children-aside {
  margin-bottom: 32px;
}
.child-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== 文章页 ===== */
.article-hero-section {
  position: relative;
  padding: 80px 5vw 48px;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg3) 100%);
  overflow: hidden;
}
.article-hero-aside {
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.article-hero-text {
  max-width: 800px;
  position: relative;
  z-index: 2;
}
.article-h1 {
  font-size: clamp(26px, 4.5vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.pub-date, .mod-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-muted);
}
.article-hero-fig {
  margin: 32px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 800px;
  border: none;
}
.article-hero-fig img {
  width: 100%;
  object-fit: cover;
}
.article-body-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5vw;
}

/* ===== 标签页 ===== */
.tag-hero-section {
  position: relative;
  padding: 80px 5vw 60px;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg3) 100%);
  overflow: hidden;
}
.tag-hero-aside { margin-bottom: 20px; }
.tag-hero-text { max-width: 700px; position: relative; z-index: 2; }
.tag-h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.tag-desc { font-size: 16px; color: var(--c-text-muted); }
.tag-content-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5vw;
}
.tag-list-section {
  position: relative;
  padding: 64px 5vw;
  background: var(--c-bg2);
}
.tag-list-aside { margin-bottom: 32px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== 关于页 ===== */
.about-hero-section {
  position: relative;
  padding: 80px 5vw 60px;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg3) 100%);
  overflow: hidden;
}
.about-hero-aside { margin-bottom: 20px; }
.about-hero-text { max-width: 700px; position: relative; z-index: 2; }
.about-h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.about-desc { font-size: 16px; color: var(--c-text-muted); }
.about-body-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5vw;
}
.info-dl dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
}
.info-dl dd {
  font-size: 14px;
  color: var(--c-text-muted);
}

/* ===== 隐私页 ===== */
.privacy-hero-section {
  position: relative;
  padding: 80px 5vw 60px;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg3) 100%);
  overflow: hidden;
}
.privacy-hero-aside { margin-bottom: 20px; }
.privacy-hero-text { max-width: 700px; position: relative; z-index: 2; }
.privacy-h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.privacy-desc { font-size: 16px; color: var(--c-text-muted); }
.privacy-body-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 5vw;
}
.contact-tip {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ===== Sidebar 通用 ===== */
.cat-sidebar,
.article-sidebar,
.tag-sidebar,
.about-sidebar,
.privacy-sidebar {
  position: sticky;
  top: calc(var(--announce-h) + var(--header-h) + 24px);
  align-self: start;
}
.aside-heading {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--c-gold);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.aside-heading-2 {
  margin-top: 32px;
}
.aside-heading span {
  display: inline;
}
.section-aside {
  position: relative;
  z-index: 2;
}
.featured-aside {
  position: relative;
  z-index: 2;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 32px);
  color: var(--c-text);
  margin-bottom: 8px;
}
.section-title span {
  display: inline;
}
.count-tip {
  font-size: 13px;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--c-text-muted);
  padding: 8px 12px;
  min-height: 40px;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: color 0.2s, border-left-color 0.2s, background 0.2s;
}
.sidebar-link:hover {
  color: var(--c-accent);
  border-left-color: var(--c-accent);
  background: rgba(233,69,96,0.07);
}
.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

/* ===== 正文区 ===== */
.prose-wrap {
  max-width: 100%;
  min-width: 0;
}
.prose-wrap h2,
.prose-wrap h3 {
  font-family: var(--font-head);
  color: var(--c-text);
  margin: 32px 0 12px;
  line-height: 1.3;
}
.prose-wrap h2 { font-size: clamp(20px, 3vw, 28px); }
.prose-wrap h3 { font-size: clamp(17px, 2.5vw, 22px); }
.prose-wrap p { margin-bottom: 16px; color: var(--c-text); line-height: 1.8; }
.prose-wrap a { color: var(--c-accent); border-bottom: 1px solid rgba(233,69,96,0.3); transition: border-color 0.2s; }
.prose-wrap a:hover { border-bottom-color: var(--c-gold); }
.prose-wrap ul, .prose-wrap ol { padding-left: 20px; margin-bottom: 16px; }
.prose-wrap ul { list-style: disc; }
.prose-wrap ol { list-style: decimal; }
.prose-wrap li { margin-bottom: 8px; color: var(--c-text); }
.prose-wrap blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 12px 20px;
  background: rgba(233,69,96,0.07);
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose-wrap strong { color: var(--c-gold); font-weight: 700; }
.prose-wrap code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(255,255,255,0.07);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--c-gold);
}

/* ===== 面包屑 / 标签 ===== */
.breadcrumb-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  padding: 4px 10px;
  border-radius: 2px;
}
.breadcrumb-back {
  font-size: 14px;
  color: var(--c-text-muted);
  transition: color 0.2s;
  padding: 8px 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.breadcrumb-back:hover { color: var(--c-accent); }
.empty-tip {
  color: var(--c-text-muted);
  font-size: 14px;
  padding: 20px;
}

/* ===== 页脚（三栏 dl 结构）===== */
.site-footer {
  background: #0d0d1e;
  border-top: 1px solid var(--c-border);
  padding: 64px 5vw 0;
}
.footer-top {
  text-align: center;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--c-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.footer-cols dl { }
.footer-cols dt {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--c-text);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border-subtle);
}
.footer-cols dt span { display: inline; }
.footer-cols dd { margin-bottom: 8px; }
.footer-cols dd a {
  font-size: 14px;
  color: var(--c-text-muted);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-cols dd a:hover { color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid var(--c-border-subtle);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== 断点：桌面导航显示 ===== */
@media (min-width: 900px) {
  .site-header {
    grid-template-columns: 56px 1fr 56px;
  }
  .header-nav {
    display: none; /* 桌面也用汉堡全屏菜单 */
  }
}

/* ===== 移动端断点 ===== */
@media (max-width: 768px) {
  :root {
    --announce-h: 32px;
    --header-h: 56px;
  }
  .hero-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    padding: 40px 20px 48px;
  }
  .hero-aside { grid-column: 1; grid-row: 1; }
  .hero-text { grid-column: 1; grid-row: 2; }
  .hero-images {
    grid-column: 1;
    grid-row: 3;
    height: 240px;
    margin-top: 32px;
  }
  .home-content {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }
  .cat-content-section,
  .article-body-section,
  .tag-content-section,
  .about-body-section,
  .privacy-body-section {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }
  .cat-sidebar,
  .article-sidebar,
  .tag-sidebar,
  .about-sidebar,
  .privacy-sidebar {
    position: static;
  }
  .featured-section,
  .cat-children-section,
  .tag-list-section {
    padding: 40px 20px;
  }
  .cat-hero-section,
  .article-hero-section,
  .tag-hero-section,
  .about-hero-section,
  .privacy-hero-section {
    padding: 48px 20px 36px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-cols dl:last-child {
    grid-column: 1 / 3;
  }
  .art-grid,
  .child-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    min-height: 48px;
    padding: 14px 28px;
  }
  .hamburger,
  .menu-close {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .footer-cols dl:last-child {
    grid-column: 1;
  }
  body { font-size: 16px; }
  .hero-h1 { font-size: 28px; }
  .cat-h1, .tag-h1, .about-h1, .privacy-h1 { font-size: 26px; }
  .article-h1 { font-size: 24px; }
}

/* ===== prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
  .kinetic-title { animation: none; -webkit-text-fill-color: var(--c-gold); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fullscreen-menu nav p a { transition: none; opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
