@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ── 变量 ── */
:root {
  --bg: #1a1a2e;
  --bg2: #12112a;
  --bg3: #0d0c20;
  --red: #ff0000;
  --pink: #ff006e;
  --cyan: #00ffff;
  --text: #e8e8f0;
  --text-muted: #9090b0;
  --border: #ff0000;
  --border-pink: #ff006e;
  --aside-w: 240px;
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'Roboto', system-ui, sans-serif;
}

/* ── 重置 ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:#1a1a2e;
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  min-height:100vh;
}
img{display:block;max-width:100%;height:auto}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--pink)}
ul,ol{list-style:none}

/* ── 扫描线纹理 ── */
.crt-scanlines{
  position:absolute;inset:0;
  background:repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events:none;
  z-index:2;
}

/* ── 霓虹辉光 ── */
.neon-red{text-shadow:0 0 8px var(--red),0 0 20px var(--red),0 0 40px var(--red)}
.neon-pink{text-shadow:0 0 8px var(--pink),0 0 20px var(--pink)}

/* ── 页面骨架 ── */
.page-wrapper{
  display:flex;
  min-height:100vh;
}

/* ── 侧边导航 aside ── */
.site-aside{
  width:var(--aside-w);
  min-height:100vh;
  background:var(--bg3);
  border-right:2px solid var(--red);
  display:flex;
  flex-direction:column;
  position:fixed;
  top:0;left:0;
  z-index:100;
  overflow-y:auto;
  padding-bottom:2rem;
}

.brand-block{
  padding:1.5rem 1rem 1rem;
  border-bottom:1px solid rgba(255,0,0,0.3);
  margin-bottom:0.5rem;
}
.brand-logo{
  width:40px;height:40px;
  margin-bottom:0.5rem;
}
.brand-name{
  font-family:var(--font-head);
  font-size:1.1rem;
  font-weight:700;
  color:var(--red);
  text-shadow:0 0 10px var(--red);
  display:block;
  line-height:1.3;
  letter-spacing:0.03em;
}

.site-aside nav ul{
  display:flex;
  flex-direction:column;
  gap:0;
  padding:0.5rem 0;
}
.site-aside nav ul li a{
  display:block;
  padding:0.75rem 1rem;
  color:var(--text);
  font-size:0.85rem;
  font-weight:400;
  border-left:3px solid transparent;
  transition:border-color 0.2s,color 0.2s,background 0.2s;
  line-height:1.4;
}
.site-aside nav ul li a:hover,
.site-aside nav ul li a.nav-active{
  color:var(--red);
  border-left-color:var(--red);
  background:rgba(255,0,0,0.06);
  text-shadow:0 0 8px rgba(255,0,0,0.5);
}

.cta-btn{
  display:block;
  margin:1.5rem 1rem 0;
  padding:0.75rem 1rem;
  background:transparent;
  border:2px solid var(--red);
  color:var(--red);
  font-family:var(--font-body);
  font-size:0.85rem;
  font-weight:700;
  text-align:center;
  letter-spacing:0.08em;
  text-transform:uppercase;
  transition:background 0.2s,color 0.2s,box-shadow 0.2s;
  min-height:44px;
  line-height:1.4;
}
.cta-btn:hover{
  background:var(--red);
  color:#fff;
  box-shadow:0 0 16px var(--red);
}
.cta-secondary{
  border-color:var(--pink);
  color:var(--pink);
}
.cta-secondary:hover{
  background:var(--pink);
  color:#fff;
  box-shadow:0 0 16px var(--pink);
}

/* ── 内容区 ── */
.content-area{
  margin-left:var(--aside-w);
  flex:1;
  min-width:0;
}

/* ── 通用 Hero ── */
.home-hero,
.section-hero,
.about-hero,
.privacy-hero,
.tag-hero,
.story-header{
  position:relative;
  min-height:70vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:3rem 3rem 3rem;
  border-bottom:2px solid var(--red);
  overflow:hidden;
  background:var(--bg3);
}

/* 首页 hero 特殊 */
.home-hero{
  text-align:right;
}
.hero-deco{
  position:absolute;
  top:2rem;left:2rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0.5rem;
  z-index:3;
}
.hero-index-num{
  font-family:var(--font-head);
  font-size:8rem;
  font-weight:700;
  color:rgba(255,0,0,0.08);
  line-height:1;
  position:absolute;
  top:0;left:0;
  pointer-events:none;
  user-select:none;
}
.hero-eyebrow{
  font-family:var(--font-body);
  font-size:0.75rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--pink);
  border:1px solid var(--pink);
  padding:0.2em 0.6em;
  position:relative;
  z-index:3;
  margin-top:1rem;
}
.hero-text{
  position:relative;
  z-index:3;
  text-align:right;
}
.hero-cta-row{
  display:flex;
  gap:1rem;
  justify-content:flex-end;
  margin-top:1.5rem;
}
.hero-cta-row .cta-btn{
  display:inline-block;
  margin:0;
}
.hero-scanline-fig{
  position:absolute;inset:0;
  margin:0;
}
.hero-sub{
  max-width:480px;
  margin-left:auto;
  color:var(--text-muted);
  font-size:1rem;
}

/* ── h1 ── */
h1{
  font-family:var(--font-head);
  font-size:clamp(2rem,5vw,4rem);
  font-weight:700;
  line-height:1.15;
  color:#fff;
  text-shadow:0 0 20px rgba(255,0,0,0.4);
  position:relative;
  z-index:3;
  margin-bottom:1rem;
}

/* ── h2 ── */
h2{
  font-family:var(--font-head);
  font-size:clamp(1.3rem,2.5vw,2rem);
  font-weight:700;
  color:#fff;
  margin-bottom:0.4rem;
  border-left:4px solid var(--red);
  padding-left:0.75rem;
}
h3{
  font-family:var(--font-head);
  font-size:1.1rem;
  font-weight:600;
  color:#fff;
  margin-bottom:0.4rem;
}

/* ── subtitle ── */
p.subtitle{
  color:var(--text-muted);
  font-size:0.95rem;
  margin-bottom:1.5rem;
  line-height:1.5;
}

/* ── 面包屑 ── */
.about-breadcrumb,
.privacy-breadcrumb,
.tag-breadcrumb,
.story-breadcrumb,
.section-meta-aside{
  display:flex;
  align-items:center;
  gap:0.4rem;
  font-size:0.8rem;
  color:var(--text-muted);
  margin-bottom:1.5rem;
  position:relative;
  z-index:3;
  flex-wrap:wrap;
}
.breadcrumb-sep{color:var(--red)}
.breadcrumb-link,.about-breadcrumb a,.privacy-breadcrumb a,.tag-breadcrumb a,.story-breadcrumb a,.section-meta-aside a{
  color:var(--text-muted);
}
.breadcrumb-link:hover,.about-breadcrumb a:hover,.privacy-breadcrumb a:hover,.tag-breadcrumb a:hover,.story-breadcrumb a:hover,.section-meta-aside a:hover{
  color:var(--red);
}

/* ── 发布时间 ── */
time.pub-date,time.mod-date{
  display:inline-block;
  font-size:0.8rem;
  color:var(--pink);
  letter-spacing:0.05em;
  position:relative;
  z-index:3;
}
time.mod-date{margin-left:1rem}

/* ── 站点标签 ── */
.site-tag,.story-cat-tag{
  display:inline-block;
  font-size:0.75rem;
  padding:0.2em 0.6em;
  border:1px solid var(--pink);
  color:var(--pink);
  letter-spacing:0.1em;
  text-transform:uppercase;
}

/* ── div hero 特殊 ── */
.section-hero-text{
  position:relative;z-index:3;
}
.section-hero-fig{
  position:absolute;inset:0;margin:0;
}
.section-bg-num{
  position:absolute;
  bottom:1rem;right:2rem;
  font-family:var(--font-head);
  font-size:12rem;
  font-weight:700;
  color:rgba(255,0,0,0.06);
  line-height:1;
  pointer-events:none;
  user-select:none;
  z-index:1;
}

/* ── 霓虹线装饰 ── */
.neon-line{
  height:2px;
  background:linear-gradient(to right,var(--red),transparent);
  box-shadow:0 0 8px var(--red);
  margin:2rem 0;
}
.neon-line--pink{
  background:linear-gradient(to right,var(--pink),transparent);
  box-shadow:0 0 8px var(--pink);
}
figure.section-deco-fig,
figure.related-deco-fig,
figure.tags-deco-fig{
  margin:0 0 1rem;
}

/* ── 两栏布局（div body / story body / tag body / about / privacy）── */
.section-body-layout,
.story-body-layout,
.tag-content-layout,
.about-body,
.privacy-body{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:0;
  min-height:50vh;
}

/* ── 侧边栏 aside（内容左侧）── */
.section-sidebar,
.story-sidebar,
.tag-sidebar,
.about-sidebar,
.privacy-sidebar,
.home-aside-nav{
  background:var(--bg2);
  border-right:1px solid rgba(255,0,0,0.2);
  padding:2rem 1.2rem;
}
.section-sidebar h2,
.story-sidebar h2,
.tag-sidebar h2,
.about-sidebar h2,
.privacy-sidebar h2,
.home-aside-nav h2,
.sidebar-related h2{
  font-size:0.9rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:0.2rem;
  padding-left:0.5rem;
  border-left-width:2px;
}
.section-sidebar ul li,
.story-sidebar ul li,
.tag-sidebar ul li,
.about-sidebar ul li,
.privacy-sidebar ul li,
.home-aside-nav ul li{
  border-bottom:1px solid rgba(255,255,255,0.05);
}
.section-sidebar ul li a,
.story-sidebar ul li a,
.tag-sidebar ul li a,
.about-sidebar ul li a,
.privacy-sidebar ul li a,
.home-aside-nav ul li a,
.sidebar-related ul li a{
  display:block;
  padding:0.55rem 0.5rem;
  color:var(--text-muted);
  font-size:0.85rem;
  transition:color 0.2s,padding-left 0.2s;
}
.section-sidebar ul li a:hover,
.story-sidebar ul li a:hover,
.tag-sidebar ul li a:hover,
.about-sidebar ul li a:hover,
.privacy-sidebar ul li a:hover,
.home-aside-nav ul li a:hover,
.sidebar-related ul li a:hover,
.section-sidebar ul li a.nav-active,
.tag-sidebar ul li a.nav-active{
  color:var(--red);
  padding-left:0.9rem;
}

/* ── 正文 prose ── */
.section-content,
.story-content,
.tag-main,
.about-content,
.privacy-content{
  padding:2.5rem 3rem;
  min-width:0;
}
.prose{
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.8;
  color:var(--text);
  max-width:72ch;
}
.prose h2,.prose h3{margin-top:2rem;margin-bottom:0.6rem}
.prose p{margin-bottom:1.2rem}
.prose ul,.prose ol{margin:0 0 1.2rem 1.5rem;list-style:disc}
.prose li{margin-bottom:0.4rem}
.prose a{color:var(--red);border-bottom:1px solid rgba(255,0,0,0.3)}
.prose a:hover{color:var(--pink)}
.privacy-prose{max-width:80ch}

/* ── 首页 home content ── */
.home-content-section{
  display:grid;
  grid-template-columns:220px 1fr;
  border-bottom:1px solid rgba(255,0,0,0.2);
}
.home-prose{
  padding:2.5rem 3rem;
}

/* ── 首页板块卡片 ── */
.home-sections-grid{
  padding:3rem;
  border-bottom:1px solid rgba(255,0,0,0.2);
  background:var(--bg2);
}
.sections-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1.5rem;
  margin-top:1.5rem;
}
.sections-list li article.section-card{
  border:2px solid var(--red);
  padding:1.5rem;
  background:var(--bg3);
  transition:border-color 0.2s,box-shadow 0.2s;
  position:relative;
}
.sections-list li article.section-card:hover{
  border-color:var(--pink);
  box-shadow:0 0 16px rgba(255,0,110,0.3);
}
.sections-list li article.section-card h3 a{
  color:#fff;font-family:var(--font-head);font-size:1.1rem;
}
.sections-list li article.section-card h3 a:hover{color:var(--red)}
.sections-list li article.section-card p{
  color:var(--text-muted);font-size:0.88rem;margin:0.5rem 0 1rem;
}
.card-link{
  font-size:0.8rem;color:var(--red);letter-spacing:0.08em;
  border-bottom:1px solid var(--red);
  padding-bottom:1px;
  transition:color 0.2s;
}
.card-link:hover{color:var(--pink);border-color:var(--pink)}

/* ── 故事卡片列表 ── */
.home-latest-stories{
  padding:3rem;
  border-bottom:1px solid rgba(255,0,0,0.2);
}
.stories-list{
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:1.5rem;
}
.stories-list li{
  border-bottom:1px solid rgba(255,255,255,0.07);
}
.stories-list li article.story-card{
  display:flex;
  align-items:flex-start;
  gap:1.2rem;
  padding:1.2rem 0;
  transition:background 0.2s;
}
.stories-list li article.story-card:hover{
  background:rgba(255,0,0,0.04);
}
.story-card--featured{
  border-left:4px solid var(--pink);
  padding-left:1rem;
}
.card-num{
  font-family:var(--font-head);
  font-size:2rem;
  font-weight:700;
  color:rgba(255,0,0,0.2);
  line-height:1;
  min-width:3rem;
  text-align:right;
  flex-shrink:0;
}
.card-body{flex:1;min-width:0}
.card-body h3 a{color:#fff;font-family:var(--font-head);font-size:1.05rem}
.card-body h3 a:hover{color:var(--red)}
.card-body p{color:var(--text-muted);font-size:0.88rem;margin:0.3rem 0 0.4rem;line-height:1.5}
.card-body time{font-size:0.78rem;color:var(--pink);letter-spacing:0.05em}

/* ── 标签云 ── */
.home-tags-section{
  padding:3rem;
  background:var(--bg3);
}
.tags-cloud{
  display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:1.5rem;
}
.tag-chip{
  display:inline-block;
  padding:0.4em 1em;
  border:1px solid var(--red);
  color:var(--red);
  font-size:0.82rem;
  letter-spacing:0.08em;
  transition:background 0.2s,color 0.2s,box-shadow 0.2s;
}
.tag-chip:hover{
  background:var(--red);color:#fff;
  box-shadow:0 0 10px var(--red);
}

/* ── 栏目子页列表 ── */
.section-children{padding-top:2rem;border-top:1px solid rgba(255,0,0,0.2);margin-top:2rem}
.children-list{display:flex;flex-direction:column;gap:0;margin-top:1.2rem}
.children-list li{border-bottom:1px solid rgba(255,255,255,0.06)}
.children-list li article.child-card{
  display:flex;align-items:flex-start;gap:1rem;padding:1rem 0;
  transition:background 0.2s;
}
.children-list li article.child-card:hover{background:rgba(255,0,0,0.04)}
.child-num{
  font-family:var(--font-head);font-size:1.5rem;font-weight:700;
  color:rgba(255,0,0,0.2);line-height:1;min-width:2.5rem;text-align:right;flex-shrink:0;
}
.child-info{flex:1;min-width:0}
.child-info h3 a{color:#fff;font-family:var(--font-head);font-size:1rem}
.child-info h3 a:hover{color:var(--red)}
.child-info p{color:var(--text-muted);font-size:0.85rem;margin:0.25rem 0 0.3rem;line-height:1.5}
.child-info time{font-size:0.78rem;color:var(--pink)}

/* ── story hero ── */
.story-header{
  min-height:50vh;
}
.story-meta{
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
  position:relative;z-index:3;margin-top:0.5rem;
}
.story-hero-fig{
  margin:1.5rem 0 0;
  position:relative;
  z-index:3;
  max-width:720px;
}
.story-hero-img,.page-hero-img{
  width:100%;height:auto;
  border:2px solid var(--red);
  display:block;
}
.story-crt{position:relative;height:200px;background:var(--bg2);border:2px solid rgba(255,0,0,0.3)}

/* ── story gallery ── */
.story-gallery{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:1rem;margin-top:2rem;
}
.gallery-img{
  width:100%;border:1px solid rgba(255,0,0,0.3);
}

/* ── story related ── */
.story-related{padding:2rem 3rem 3rem}
.related-list{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1.2rem;margin-top:1.5rem;
}
.related-list li article.related-card{
  border:1px solid rgba(255,0,0,0.4);
  padding:1.2rem;
  background:var(--bg2);
  transition:border-color 0.2s;
}
.related-list li article.related-card:hover{border-color:var(--pink)}
.related-list li article.related-card h3 a{color:#fff;font-size:0.95rem;font-family:var(--font-head)}
.related-list li article.related-card h3 a:hover{color:var(--red)}
.related-list li article.related-card p{color:var(--text-muted);font-size:0.83rem;margin:0.3rem 0 0.4rem}
.related-list li article.related-card time{font-size:0.76rem;color:var(--pink)}

/* ── sidebar related ── */
.sidebar-related{
  background:var(--bg2);
  border-top:1px solid rgba(255,0,0,0.2);
  padding:2rem 3rem;
}
.sidebar-related ul{margin-top:0.8rem}
.sidebar-related ul li{border-bottom:1px solid rgba(255,255,255,0.06)}

/* ── tag hero ── */
.tag-hero{
  text-align:left;
}
.tag-hero-fig{position:absolute;inset:0;margin:0}
.tag-bg-text{
  position:absolute;bottom:-1rem;right:1rem;
  font-family:var(--font-head);font-size:10rem;font-weight:700;
  color:rgba(255,0,0,0.05);line-height:1;
  pointer-events:none;user-select:none;z-index:1;
  letter-spacing:0.1em;
}
.tag-current{color:var(--red)}
.tag-stories{margin-top:2rem;padding-top:2rem;border-top:1px solid rgba(255,0,0,0.2)}

/* ── about ── */
.about-hero{text-align:left}
.about-hero-fig{position:absolute;inset:0;margin:0}
.about-stats{margin-top:2.5rem}
.stats-figure{border:1px solid rgba(255,0,0,0.3);padding:1.5rem;background:var(--bg2);margin-top:1rem}
.stat-row{display:flex;gap:2rem;flex-wrap:wrap}
.stat-item{display:flex;flex-direction:column;gap:0.2rem}
.stat-num{font-family:var(--font-head);font-size:2.5rem;font-weight:700;color:var(--red);line-height:1;text-shadow:0 0 12px var(--red)}
.stat-label{font-size:0.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.1em}

/* ── privacy ── */
.privacy-hero{text-align:left}
.privacy-hero-fig{position:absolute;inset:0;margin:0}

/* ── page hero (default layout) ── */
.page-hero{
  position:relative;min-height:40vh;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:2rem 3rem;border-bottom:2px solid var(--red);
  overflow:hidden;background:var(--bg3);
}
.page-aside-top{
  position:relative;z-index:3;margin-bottom:1rem;
  display:flex;align-items:center;gap:0.5rem;
}
.page-body{
  display:grid;grid-template-columns:1fr;
  padding:2.5rem 3rem;
  gap:2rem;
}
.content-figure{margin-bottom:1.5rem}

/* ── 页脚 ── */
.site-footer{
  background:var(--bg3);
  border-top:2px solid var(--red);
  margin-left:var(--aside-w);
}
.footer-inner{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:2rem;padding:2.5rem 3rem 2rem;
  border-bottom:1px solid rgba(255,0,0,0.2);
}
.footer-col h2{
  font-size:0.85rem;letter-spacing:0.15em;text-transform:uppercase;
  margin-bottom:0.3rem;padding-left:0.5rem;border-left-width:2px;
}
.footer-col p.subtitle{font-size:0.8rem;margin-bottom:0.8rem}
.footer-col ul li{border-bottom:1px solid rgba(255,255,255,0.05)}
.footer-col ul li a,
.footer-col address ul li a{
  display:block;
  padding:0.45rem 0;
  font-size:0.83rem;
  color:var(--text-muted);
  transition:color 0.2s,padding-left 0.2s;
  min-height:40px;
  display:flex;align-items:center;
}
.footer-col ul li a:hover,
.footer-col address ul li a:hover{
  color:var(--red);padding-left:0.4rem;
}
.footer-bottom{
  padding:1rem 3rem;
  font-size:0.78rem;
  color:var(--text-muted);
  letter-spacing:0.04em;
}

/* ── 动效 glitch（hero h1）── */
@keyframes glitch-skew{
  0%,100%{transform:skewX(0)}
  20%{transform:skewX(-1deg)}
  40%{transform:skewX(0.5deg)}
  60%{transform:skewX(-0.5deg)}
  80%{transform:skewX(1deg)}
}
.home-hero h1{
  animation:glitch-skew 6s infinite linear;
}
@keyframes neon-pulse{
  0%,100%{text-shadow:0 0 20px rgba(255,0,0,0.4)}
  50%{text-shadow:0 0 30px rgba(255,0,0,0.7),0 0 60px rgba(255,0,110,0.3)}
}
.home-hero h1{
  animation:glitch-skew 6s infinite linear,neon-pulse 3s infinite;
}

/* ── Hover 微动效 ── */
.section-card,.child-card article,.related-card{
  transition:transform 0.15s,border-color 0.2s;
}
.section-card:hover{transform:translateY(-2px)}

/* ── prefers-reduced-motion ── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ── 响应式 ── */
@media(max-width:1024px){
  .story-related{padding:2rem 1.5rem}
  .section-content,.story-content,.tag-main,.about-content,.privacy-content{padding:2rem 1.5rem}
  .home-sections-grid,.home-latest-stories,.home-tags-section{padding:2rem 1.5rem}
  .sidebar-related{padding:1.5rem}
  .footer-inner{padding:2rem 1.5rem}
  .footer-bottom{padding:1rem 1.5rem}
  .home-hero,.section-hero,.about-hero,.privacy-hero,.tag-hero,.story-header{padding:2rem 1.5rem}
}

@media(max-width:768px){
  :root{--aside-w:0px}
  .site-aside{
    position:fixed;
    top:0;left:0;
    width:100%;
    min-height:auto;
    height:auto;
    flex-direction:row;
    align-items:center;
    overflow-x:auto;
    overflow-y:hidden;
    border-right:none;
    border-bottom:2px solid var(--red);
    padding:0 1rem 0 0;
    z-index:200;
    gap:0;
  }
  .brand-block{
    border-bottom:none;
    border-right:1px solid rgba(255,0,0,0.3);
    padding:0.75rem 1rem;
    margin-bottom:0;
    white-space:nowrap;
    flex-shrink:0;
  }
  .brand-logo{display:none}
  .brand-name{font-size:0.95rem}
  .site-aside nav{flex:1;overflow-x:auto}
  .site-aside nav ul{
    flex-direction:row;
    padding:0;
    gap:0;
    white-space:nowrap;
  }
  .site-aside nav ul li a{
    padding:0.75rem 0.8rem;
    border-left:none;
    border-bottom:3px solid transparent;
    font-size:0.78rem;
    min-height:44px;
    display:flex;align-items:center;
  }
  .site-aside nav ul li a:hover,
  .site-aside nav ul li a.nav-active{
    border-left-color:transparent;
    border-bottom-color:var(--red);
    background:rgba(255,0,0,0.06);
  }
  .cta-btn{margin:0.5rem 0.5rem;padding:0.5rem 0.8rem;font-size:0.75rem;white-space:nowrap;flex-shrink:0}
  .content-area{margin-left:0;margin-top:52px}
  .site-footer{margin-left:0}
  .section-body-layout,
  .story-body-layout,
  .tag-content-layout,
  .about-body,
  .privacy-body,
  .home-content-section{
    grid-template-columns:1fr;
  }
  .section-sidebar,.story-sidebar,.tag-sidebar,.about-sidebar,.privacy-sidebar,.home-aside-nav{
    border-right:none;
    border-bottom:1px solid rgba(255,0,0,0.2);
    padding:1.2rem 1.5rem;
  }
  .section-sidebar ul,.story-sidebar ul,.tag-sidebar ul,.about-sidebar ul,.privacy-sidebar ul,.home-aside-nav ul{
    display:flex;flex-wrap:wrap;gap:0.4rem;
  }
  .section-sidebar ul li,.story-sidebar ul li,.tag-sidebar ul li,.about-sidebar ul li,.privacy-sidebar ul li,.home-aside-nav ul li{
    border-bottom:none;
  }
  .section-sidebar ul li a,.story-sidebar ul li a,.tag-sidebar ul li a,.about-sidebar ul li a,.privacy-sidebar ul li a,.home-aside-nav ul li a{
    border:1px solid rgba(255,0,0,0.3);
    padding:0.3rem 0.6rem;
    font-size:0.78rem;
  }
  .home-hero{min-height:70vh;padding:1.5rem}
  .section-hero,.about-hero,.privacy-hero,.tag-hero,.story-header{min-height:50vh;padding:1.5rem}
  .hero-index-num{font-size:5rem}
  .section-bg-num{font-size:6rem}
  .tag-bg-text{font-size:5rem}
  .section-content,.story-content,.tag-main,.about-content,.privacy-content{padding:1.5rem}
  .home-prose{padding:1.5rem}
  .home-sections-grid,.home-latest-stories,.home-tags-section,.story-related{padding:1.5rem}
  .sections-list{grid-template-columns:1fr}
  .related-list{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem}
  .hero-cta-row{flex-direction:column;align-items:flex-end;gap:0.75rem}
  .stat-row{gap:1rem}
}

@media(max-width:480px){
  h1{font-size:1.8rem}
  h2{font-size:1.2rem}
  .hero-index-num,.section-bg-num,.tag-bg-text{display:none}
  .card-num{display:none}
  .stories-list li article.story-card{gap:0.8rem}
}
