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

/* ===== 基础变量 ===== */
:root {
  --c-primary: #69ff69;
  --c-accent: #00ffff;
  --c-dark: #172617;
  --c-dark2: #0e1a0e;
  --c-dark3: #1e3a1e;
  --c-glass: rgba(105,255,105,0.07);
  --c-glass-border: rgba(105,255,105,0.18);
  --c-text: #e8ffe8;
  --c-text-muted: #8abf8a;
  --c-white: #ffffff;
  --radius: 4px;
  --nav-h: 64px;
  --font: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --shadow-glow: 0 0 18px rgba(105,255,105,0.35);
  --shadow-cyan: 0 0 18px rgba(0,255,255,0.3);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--c-dark);
  color: var(--c-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== 点阵/Chrome底纹 ===== */
.hero-dot-bg,
.header-dot-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(105,255,105,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 页面骨架 ===== */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: var(--nav-h);
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== 侧边导航（底部固定条 mobile/desktop统一） ===== */
.site-aside {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: linear-gradient(90deg, var(--c-dark2) 0%, var(--c-dark3) 100%);
  border-top: 1.5px solid var(--c-glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 -4px 32px rgba(105,255,105,0.12);
}
.aside-brand {
  flex-shrink: 0;
  padding: 0 16px;
  border-right: 1px solid var(--c-glass-border);
  height: 100%;
  display: flex;
  align-items: center;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(105,255,105,0.6);
}
.brand-logo { width: 28px; height: 28px; object-fit: contain; }

.site-aside > nav {
  flex: 1;
  overflow-x: auto;
  height: 100%;
  display: flex;
  align-items: center;
  scrollbar-width: none;
}
.site-aside > nav::-webkit-scrollbar { display: none; }
.site-aside > nav > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  gap: 0;
}
.site-aside > nav > ul > li {
  height: 100%;
  display: flex;
  align-items: center;
}
.site-aside > nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
  letter-spacing: 0.02em;
  border-right: 1px solid var(--c-glass-border);
  transition: background .2s, color .2s;
}
.site-aside > nav > ul > li > a:hover,
.site-aside > nav > ul > li > a[aria-current="page"] {
  background: var(--c-glass);
  color: var(--c-primary);
  text-shadow: 0 0 8px rgba(105,255,105,0.5);
}

.nav-search {
  flex-shrink: 0;
  padding: 0 12px;
  border-left: 1px solid var(--c-glass-border);
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-search form {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-search input[type=search] {
  background: rgba(105,255,105,0.07);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius);
  color: var(--c-text);
  padding: 6px 10px;
  font-size: 0.8rem;
  width: 120px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.nav-search input[type=search]:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 8px rgba(105,255,105,0.3);
}
.nav-search input::placeholder { color: var(--c-text-muted); }
.nav-search button {
  background: var(--c-primary);
  color: var(--c-dark);
  border: none;
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  transition: background .2s, box-shadow .2s;
}
.nav-search button:hover {
  background: var(--c-accent);
  box-shadow: var(--shadow-cyan);
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-dark2) 0%, var(--c-dark3) 60%, #0a200a 100%);
  align-items: center;
}
.hero-collage {
  position: relative;
  height: 45vh;
  min-height: 280px;
}
.hero-fig {
  position: absolute;
  margin: 0;
  border: 2px solid var(--c-glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.hero-fig-a {
  top: 10%;
  left: 5%;
  width: 55%;
  aspect-ratio: 16/10;
  z-index: 2;
  transform: rotate(-2deg);
}
.hero-fig-b {
  bottom: 8%;
  left: 30%;
  width: 55%;
  aspect-ratio: 16/10;
  z-index: 3;
  transform: rotate(2.5deg);
  border-color: rgba(0,255,255,0.3);
  box-shadow: var(--shadow-cyan);
}
.hero-fig-placeholder {
  top: 15%;
  left: 10%;
  width: 60%;
  height: 60%;
  background: var(--c-glass);
  border-radius: var(--radius);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }

.hero-text {
  padding: 2rem 2rem 2rem 1rem;
  text-align: right;
  position: relative;
  z-index: 4;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,255,255,0.6);
  margin-bottom: 0.5rem;
}
.hero-h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-white);
  text-shadow: 0 0 24px rgba(105,255,105,0.4), 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: var(--c-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: var(--radius);
  min-height: 44px;
  box-shadow: var(--shadow-glow);
  transition: box-shadow .2s, transform .15s;
}
.btn-primary:hover {
  color: var(--c-dark);
  box-shadow: 0 0 32px rgba(105,255,105,0.6), var(--shadow-cyan);
  transform: translateY(-2px);
}

/* ===== 页面 header（非首页） ===== */
.page-header {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(135deg, var(--c-dark2) 0%, var(--c-dark3) 100%);
  border-bottom: 1.5px solid var(--c-glass-border);
  overflow: hidden;
}
.header-inner { position: relative; z-index: 1; max-width: 900px; }
.page-breadcrumb {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}
.page-breadcrumb a { color: var(--c-text-muted); }
.page-breadcrumb a:hover { color: var(--c-primary); }
.page-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(105,255,105,0.35);
  margin-bottom: 0.5rem;
}
.page-lead {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: 1.6;
}
.page-date {
  display: block;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

/* ===== 内容区主布局 ===== */
.content-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ===== section-aside（侧边栏，内容左侧） ===== */
.section-aside {
  position: relative;
}
.section-aside .eyebrow-label { display: block; }
.aside-h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin: 0.3rem 0 0.8rem;
  text-shadow: 0 0 8px rgba(105,255,105,0.3);
}
.quick-links { display: flex; flex-direction: column; gap: 4px; }
.quick-links li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: border-color .2s, color .2s, background .2s;
}
.quick-links li a:hover {
  border-left-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-glass);
}
.aside-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.tag-chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-accent);
  border: 1px solid rgba(0,255,255,0.3);
  border-radius: 50px;
  background: rgba(0,255,255,0.06);
  transition: background .2s, box-shadow .2s;
  min-height: 28px;
  line-height: 1.4;
}
.tag-chip:hover {
  background: rgba(0,255,255,0.14);
  box-shadow: var(--shadow-cyan);
  color: var(--c-accent);
}

/* ===== section-body ===== */
.section-body { min-width: 0; }
.section-body h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* ===== 眉题 small ===== */
.eyebrow-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  text-shadow: 0 0 8px rgba(0,255,255,0.4);
  margin-bottom: 0.2rem;
}

/* ===== 正文排版 ===== */
.prose-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
}
.prose-content h2,
.prose-content h3 {
  color: var(--c-primary);
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
  line-height: 1.25;
}
.prose-content h2 { font-size: 1.3rem; }
.prose-content h3 { font-size: 1.1rem; }
.prose-content p { margin-bottom: 1rem; }
.prose-content ul,
.prose-content ol {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1rem;
}
.prose-content ol { list-style: decimal; }
.prose-content li { margin-bottom: 0.4rem; }
.prose-content a { color: var(--c-accent); text-decoration: underline; }
.prose-content a:hover { color: var(--c-primary); }
.prose-content strong { color: var(--c-accent); font-weight: 700; }
.prose-content blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  background: var(--c-glass);
  border-radius: var(--radius);
  color: var(--c-text-muted);
}
.prose-content code {
  background: rgba(105,255,105,0.12);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--c-primary);
}
.prose-content pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

/* ===== 装饰元素 ===== */
.section-deco,
.article-deco,
.about-deco,
.privacy-deco {
  display: block;
  margin: 1rem 0;
  border: none;
}
.chrome-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  box-shadow: 0 0 12px rgba(105,255,105,0.5);
}
.chrome-line {
  display: block;
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent), transparent);
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

/* ===== 分类卡片 ===== */
.categories-section,
.sublist-section,
.recent-section,
.about-links-section {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  width: 100%;
}
.categories-section h2,
.sublist-section h2,
.recent-section h2,
.about-links-section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--c-primary);
  margin: 0.3rem 0 1.2rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.glass-card {
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.glass-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.card-link {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  height: 100%;
  color: var(--c-text);
}
.card-link:hover { color: var(--c-text); }
.card-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.4rem;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  flex: 1;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.card-count {
  font-size: 0.78rem;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}
.card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.05em;
}
.glass-card:hover .card-cta { color: var(--c-accent); }

/* ===== 最近文章列表 ===== */
.recent-section { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; margin-top: 0; }
.recent-list { display: flex; flex-direction: column; gap: 0; }
.recent-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-glass-border);
  gap: 1rem;
  min-height: 44px;
}
.recent-item a:hover .recent-title { color: var(--c-accent); }
.recent-title {
  font-size: 0.92rem;
  color: var(--c-text);
  flex: 1;
  transition: color .2s;
}
.recent-date {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== dl 子页列表 ===== */
.sub-dl { display: flex; flex-direction: column; gap: 0; }
.sub-dl dt {
  padding: 0;
  border-bottom: 1px solid var(--c-glass-border);
}
.sub-dl dt > a {
  display: block;
  padding: 12px 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
  min-height: 40px;
  line-height: 1.4;
  transition: color .2s;
}
.sub-dl dt > a:hover { color: var(--c-accent); }
.sub-dl dd {
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--c-glass-border);
}
.sub-desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-bottom: 4px;
  line-height: 1.5;
}
.sub-dl time {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

/* ===== 文章页 ===== */
.article-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
}
.article-sidebar { position: sticky; top: 1rem; align-self: start; }
.article-hero-fig { margin-bottom: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-glass-border); }
.article-hero-img { width: 100%; max-height: 340px; object-fit: cover; }
.article-header { margin-bottom: 1.2rem; }
.article-h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 16px rgba(105,255,105,0.25);
}
.article-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.meta-date { font-size: 0.82rem; color: var(--c-text-muted); }
.article-prose { margin-top: 0.5rem; }
.article-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.tags-label { font-size: 0.82rem; color: var(--c-text-muted); }

/* 相关文章侧边 */
.related-aside { margin-top: 1.5rem; }
.related-list { display: flex; flex-direction: column; gap: 4px; margin-top: 0.5rem; }
.related-list li a {
  display: block;
  padding: 7px 10px;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  min-height: 36px;
  display: flex;
  align-items: center;
  transition: border-color .2s, color .2s, background .2s;
}
.related-list li a:hover {
  border-left-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-glass);
}
.aside-nav-links { margin-top: 1.5rem; }

/* ===== About ===== */
.aside-brand-block { margin-top: 1.5rem; }
.about-logo { max-width: 80px; margin-bottom: 0.5rem; }
.brand-slogan { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.5; }
.about-related { margin-top: 0.5rem; }
.about-related ul { display: flex; flex-direction: column; gap: 8px; }
.about-related li { font-size: 0.92rem; color: var(--c-text-muted); line-height: 1.5; }
.about-related a { color: var(--c-accent); }
.about-related a:hover { color: var(--c-primary); }

/* ===== 页脚 ===== */
.site-footer {
  background: linear-gradient(180deg, var(--c-dark2) 0%, #070f07 100%);
  border-top: 1.5px solid var(--c-glass-border);
  padding: 0 0 1rem;
  margin-top: 2rem;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--c-glass-border);
}
.footer-subscribe h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.4rem;
}
.footer-subscribe p { font-size: 0.88rem; color: var(--c-text-muted); margin-bottom: 0.8rem; }
.subscribe-form { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe-form input[type=email] {
  background: rgba(105,255,105,0.07);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius);
  color: var(--c-text);
  padding: 9px 14px;
  font-size: 0.9rem;
  min-width: 220px;
  flex: 1;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.subscribe-form input[type=email]:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 8px rgba(105,255,105,0.25);
}
.subscribe-form input::placeholder { color: var(--c-text-muted); }
.subscribe-form button {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: var(--c-dark);
  border: none;
  border-radius: var(--radius);
  padding: 9px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 40px;
  white-space: nowrap;
  transition: box-shadow .2s, transform .15s;
}
.subscribe-form button:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.footer-cols {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.footer-dl dt {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.7rem;
}
.footer-dl dd {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}
.footer-dl dd a {
  color: var(--c-text-muted);
  transition: color .2s;
  display: inline-block;
  min-height: 26px;
  line-height: 1.8;
}
.footer-dl dd a:hover { color: var(--c-accent); }
.footer-dl .footer-note { color: var(--c-text-muted); font-size: 0.78rem; }

.footer-bar {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 1rem 1.5rem 0;
  border-top: 1px solid var(--c-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.footer-bar a { color: var(--c-text-muted); }
.footer-bar a:hover { color: var(--c-primary); }

/* ===== Stagger 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .stagger-item {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.4s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.06s);
  }
  @keyframes fadeUp {
    to { opacity: 1; transform: none; }
  }
  .glass-card {
    transition: border-color .2s, box-shadow .25s, transform .22s;
  }
  .btn-primary {
    transition: box-shadow .22s, transform .18s, background .2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-item { opacity: 1; transform: none; animation: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-collage { height: 34vw; min-height: 180px; }
  .hero-text { padding: 1.5rem; text-align: left; }
  .content-section,
  .article-section,
  .recent-section {
    grid-template-columns: 1fr;
  }
  .section-aside,
  .article-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--c-glass-border);
  }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-aside { height: auto; min-height: var(--nav-h); flex-wrap: wrap; }
  .aside-brand { width: 100%; border-right: none; border-bottom: 1px solid var(--c-glass-border); justify-content: center; padding: 8px 16px; }
  .site-aside > nav { width: 100%; }
  .nav-search { width: 100%; border-left: none; border-top: 1px solid var(--c-glass-border); justify-content: center; padding: 6px 12px; }
  .nav-search input[type=search] { width: 150px; }
  .page-wrap { padding-bottom: calc(var(--nav-h) * 2.5); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-h1 { font-size: 1.5rem; }
  .categories-section, .sublist-section, .recent-section, .about-links-section { padding: 0 1rem; }
  .content-section, .article-section { padding: 0 1rem; }
  .footer-top { padding: 1.5rem 1rem; }
  .footer-cols { padding: 1rem 1rem 0; }
  .footer-bar { padding: 0.8rem 1rem 0; }
}
@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr; }
  .hero-collage { height: 50vw; }
}
