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

/* ===========================
   CSS 变量 & 基础重置
   =========================== */
:root {
  --mint: #b4fde1;
  --sky: #add8e6;
  --dark: #172620;
  --dark-mid: #1e3329;
  --dark-light: #2a4a3a;
  --mint-dark: #7de8b8;
  --sky-dark: #7ab8cc;
  --white: #ffffff;
  --text-main: #172620;
  --text-muted: #4a7060;
  --text-on-dark: #e8faf3;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --border-width: 3px;
  --shadow-clay: 4px 4px 12px rgba(23,38,32,0.25), inset -2px -2px 8px rgba(23,38,32,0.12);
  --shadow-clay-hover: 6px 6px 18px rgba(23,38,32,0.35), inset -2px -2px 10px rgba(23,38,32,0.15);
  --shadow-inset: inset 2px 2px 8px rgba(255,255,255,0.4), inset -2px -2px 8px rgba(23,38,32,0.15);
  --nav-width: 240px;
  --transition-bounce: 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 200ms ease-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--dark);
  color: var(--text-on-dark);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

a:hover {
  color: var(--sky);
}

ul, ol {
  list-style: none;
}

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

.content-wrap {
  flex: 1;
  margin-left: var(--nav-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===========================
   侧边导航 sidenav
   =========================== */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--dark-mid);
  border-right: var(--border-width) solid var(--mint);
  box-shadow: 4px 0 24px rgba(180,253,225,0.08);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidenav-brand {
  padding: 24px 20px 20px;
  border-bottom: 2px solid var(--dark-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--mint);
  box-shadow: var(--shadow-clay);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  color: var(--mint);
  font-weight: 400;
  line-height: 1.3;
  word-break: break-all;
}

.brand-name:hover {
  color: var(--sky);
}

.sidenav > ol {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidenav > ol > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all var(--transition-bounce);
  line-height: 1.4;
}

.sidenav > ol > li > a:hover,
.sidenav > ol > li > a.nav-active {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  border-color: var(--mint-dark);
  box-shadow: var(--shadow-clay);
  transform: translateX(4px);
}

.sidenav-contact {
  padding: 16px 12px 24px;
  border-top: 2px solid var(--dark-light);
}

.contact-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  border: var(--border-width) solid var(--mint-dark);
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-bounce);
  min-height: 44px;
  line-height: 1.4;
}

.contact-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-clay-hover);
  color: var(--dark);
}

/* ===========================
   Hero 区域（首页）
   =========================== */
.hero {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-mid) 0%, var(--dark-light) 50%, #1a4030 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,38,32,0.75) 0%, rgba(23,38,32,0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px 24px;
  max-width: 700px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  border: 2px solid var(--mint-dark);
  box-shadow: var(--shadow-clay);
  margin-bottom: 14px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-h1 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--mint);
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-on-dark);
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--mint-dark);
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-bounce);
  min-height: 44px;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-clay-hover);
  color: var(--dark);
}

/* ===========================
   频道页 / Tag页 Hero
   =========================== */
.channel-hero,
.tag-hero,
.inner-hero {
  background: linear-gradient(135deg, var(--dark-mid) 0%, var(--dark-light) 100%);
  border-bottom: var(--border-width) solid var(--mint);
  padding: 48px 40px 36px;
}

.channel-hero-inner,
.tag-hero-inner,
.inner-hero-inner {
  max-width: 760px;
}

.channel-eyebrow,
.tag-eyebrow,
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.channel-eyebrow a,
.tag-eyebrow a,
.article-breadcrumb a {
  color: var(--mint);
  font-weight: 500;
}

.channel-hero h1,
.tag-hero h1,
.inner-hero h1 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--mint);
  margin-bottom: 12px;
  line-height: 1.3;
}

.channel-desc,
.tag-hero p,
.inner-hero p {
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.85;
  line-height: 1.7;
}

.tag-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  border: 2px solid var(--sky-dark);
  box-shadow: var(--shadow-clay);
  margin-bottom: 12px;
}

.hero-date {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--sky);
}

/* ===========================
   主内容 + 侧边栏布局
   =========================== */
.main-content {
  flex: 1;
  display: flex;
  gap: 28px;
  padding: 36px 32px;
  align-items: flex-start;
}

.home-body,
.channel-body,
.article-main,
.tag-body,
.about-body,
.privacy-body,
.default-body {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.sidebar-block {
  background: var(--dark-mid);
  border: var(--border-width) solid var(--mint);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-clay);
}

.sidebar-block h2 {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  color: var(--mint);
  margin-bottom: 6px;
}

.sidebar-block h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  color: var(--sky);
  margin-bottom: 12px;
}

.sidebar-block p.subtitle,
.sidebar-block p.subhead {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-nav li a {
  display: block;
  padding: 8px 12px;
  background: var(--dark-light);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  font-size: 0.85rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all var(--transition-bounce);
  min-height: 40px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.sidebar-nav li a:hover {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  border-color: var(--mint-dark);
  box-shadow: var(--shadow-clay);
  transform: translateX(3px);
}

.sidebar-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--dark-light);
  color: var(--sky);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--sky-dark);
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-bounce);
  min-height: 32px;
  line-height: 1.4;
}

.tag-pill:hover {
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: var(--dark);
  border-color: var(--mint-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-clay-hover);
}

/* ===========================
   首页 - 栏目卡片区
   =========================== */
.channels-section,
.latest-section,
.children-section,
.tagged-articles,
.about-links,
.privacy-footer-nav,
.article-tags-section {
  margin-top: 40px;
}

.channels-section h2,
.latest-section h2,
.children-section h2,
.tagged-articles h2,
.about-links h2,
.privacy-footer-nav h2,
.article-tags-section h2 {
  font-family: 'Righteous', sans-serif;
  font-size: 1.4rem;
  color: var(--mint);
  margin-bottom: 6px;
}

h2 + p.subtitle,
h2 + p.subhead,
h2 + p.desc,
h2 + p.lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.channel-grid,
.children-grid,
.article-list,
.tag-article-list,
.about-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-grid,
.children-grid,
.about-nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* 子页列表契约结构 ul > li > section > h3/p */
.channel-grid > li > section,
.children-grid > li > section,
.tag-article-list > li > section {
  background: var(--dark-mid);
  border: var(--border-width) solid var(--mint);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-bounce);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-grid > li > section:hover,
.children-grid > li > section:hover,
.tag-article-list > li > section:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-clay-hover);
  border-color: var(--sky);
}

.channel-card h3,
.child-card h3,
.tag-article-card h3,
.about-nav-card h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.channel-card h3 a,
.child-card h3 a,
.tag-article-card h3 a,
.about-nav-card h3 a {
  color: var(--mint);
  font-weight: 400;
}

.channel-card h3 a:hover,
.child-card h3 a:hover,
.tag-article-card h3 a:hover,
.about-nav-card h3 a:hover {
  color: var(--sky);
}

.channel-card p,
.child-card p,
.tag-article-card p,
.about-nav-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.6;
}

.card-date {
  display: block;
  font-size: 0.78rem;
  color: var(--sky-dark);
  margin-top: 4px;
}

.sub-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--dark-light);
}

.sub-links li a {
  font-size: 0.8rem;
  color: var(--sky);
  padding: 3px 0;
  display: block;
}

.sub-links li a:hover {
  color: var(--mint);
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--sky);
  font-weight: 600;
  transition: all var(--transition-bounce);
}

.read-more:hover {
  color: var(--mint);
  transform: translateX(4px);
}

/* ===========================
   文章列表（article-list）
   =========================== */
.article-list > li {
  background: var(--dark-mid);
  border: var(--border-width) solid var(--dark-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-bounce);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-list > li:hover {
  border-color: var(--mint);
  transform: translateX(4px);
  box-shadow: var(--shadow-clay-hover);
}

.article-card h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
}

.article-card h3 a {
  color: var(--text-on-dark);
}

.article-card h3 a:hover {
  color: var(--mint);
}

.article-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   文章页
   =========================== */
.article-header-section {
  margin-bottom: 32px;
}

.article-hero-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  border: var(--border-width) solid var(--mint);
  box-shadow: var(--shadow-clay);
}

.article-hero-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.article-h1 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--mint);
  margin-bottom: 14px;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--dark-mid);
  border-radius: var(--radius-sm);
  border: 2px solid var(--dark-light);
}

.meta-date {
  font-size: 0.82rem;
  color: var(--sky);
}

.meta-channel {
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
  border: 1px solid var(--mint-dark);
}

/* ===========================
   正文 page-content 排版
   =========================== */
.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-on-dark);
}

.page-content h1 {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--mint);
  margin-bottom: 16px;
  line-height: 1.35;
}

.page-content h2 {
  font-family: 'Righteous', sans-serif;
  font-size: 1.3rem;
  color: var(--mint);
  margin-top: 36px;
  margin-bottom: 10px;
}

.page-content h3 {
  font-family: 'Righteous', sans-serif;
  font-size: 1.1rem;
  color: var(--sky);
  margin-top: 24px;
  margin-bottom: 8px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 8px;
}

.page-content a {
  color: var(--sky);
  text-decoration: underline;
  text-decoration-color: var(--sky-dark);
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--mint);
  text-decoration-color: var(--mint);
}

.page-content blockquote {
  border-left: 4px solid var(--mint);
  margin: 20px 0;
  padding: 12px 20px;
  background: var(--dark-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.page-content code {
  background: var(--dark-light);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.88em;
  color: var(--mint);
}

.page-content pre {
  background: var(--dark-light);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 16px;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.page-content th {
  background: var(--dark-light);
  color: var(--mint);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--dark-light);
}

.page-content td {
  padding: 10px 14px;
  border: 1px solid var(--dark-light);
  color: var(--text-on-dark);
}

.page-content tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

.page-content img {
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--mint);
  box-shadow: var(--shadow-clay);
  margin: 16px 0;
}

/* privacy 页面正文 */
.privacy-content {
  max-width: 760px;
}

/* 横排导航链接 */
.horizontal-nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.horizontal-nav li a {
  padding: 10px 18px;
}

/* ===========================
   页脚
   =========================== */
.site-footer {
  background: var(--dark-mid);
  border-top: var(--border-width) solid var(--mint);
  margin-top: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 40px 32px 28px;
}

.footer-brand .footer-logo {
  font-family: 'Righteous', sans-serif;
  font-size: 1.2rem;
  color: var(--mint);
  display: block;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  color: var(--sky);
  margin-bottom: 14px;
}

.footer-links nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links nav ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: block;
  min-height: 32px;
  line-height: 2;
  transition: color var(--transition-smooth);
}

.footer-links nav ul li a:hover {
  color: var(--mint);
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: var(--dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--mint-dark);
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-bounce);
  margin-right: 10px;
  margin-bottom: 8px;
  min-height: 40px;
  line-height: 1.4;
}

.footer-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-clay-hover);
  color: var(--dark);
}

.footer-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 10px 0;
  min-height: 40px;
  line-height: 1.4;
}

.footer-link:hover {
  color: var(--sky);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-top: 2px solid var(--dark-light);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bar nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bar nav a {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 0;
  min-height: 40px;
  line-height: 2.5;
  transition: color var(--transition-smooth);
}

.footer-bar nav a:hover {
  color: var(--mint);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   Scroll Reveal 动效
   =========================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .channel-card,
  .child-card,
  .article-card,
  .tag-article-card,
  .about-nav-card {
    transition: transform var(--transition-bounce), box-shadow var(--transition-bounce), border-color var(--transition-smooth);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================
   响应式 - 平板
   =========================== */
@media (max-width: 1024px) {
  :root {
    --nav-width: 200px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .channel-grid,
  .children-grid,
  .about-nav-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================
   响应式 - 移动端 (≤768px)
   =========================== */
@media (max-width: 768px) {
  :root {
    --nav-width: 0px;
  }

  .page-wrapper {
    flex-direction: column;
  }

  .content-wrap {
    margin-left: 0;
  }

  /* 移动端顶部导航条 */
  .sidenav {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: var(--border-width) solid var(--mint);
    box-shadow: 0 4px 20px rgba(180,253,225,0.1);
    overflow: visible;
  }

  .sidenav-brand {
    padding: 16px 16px 14px;
  }

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

  .sidenav > ol {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 6px;
  }

  .sidenav > ol > li > a {
    font-size: 0.8rem;
    padding: 10px 12px;
    white-space: nowrap;
    transform: none !important;
  }

  .sidenav > ol > li > a:hover,
  .sidenav > ol > li > a.nav-active {
    transform: none;
  }

  .sidenav-contact {
    padding: 10px 12px 14px;
  }

  .contact-btn {
    display: inline-block;
    width: auto;
    padding: 10px 20px;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 45vh;
    padding: 40px 0;
  }

  .hero-h1 {
    font-size: 1.4rem;
  }

  /* 内容区 */
  .main-content {
    flex-direction: column;
    padding: 24px 16px;
    gap: 20px;
  }

  .sidebar {
    width: 100%;
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 28px 16px 20px;
    gap: 20px;
  }

  .footer-bar {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .channel-grid,
  .children-grid,
  .about-nav-list {
    grid-template-columns: 1fr;
  }

  .channel-hero,
  .tag-hero,
  .inner-hero {
    padding: 28px 16px 20px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ===========================
   响应式 - 小屏 (≤480px)
   =========================== */
@media (max-width: 480px) {
  .hero-inner {
    padding: 16px;
  }

  .hero-h1 {
    font-size: 1.25rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .sidenav > ol > li > a {
    font-size: 0.75rem;
    padding: 10px 10px;
  }

  .footer-bar nav {
    gap: 12px;
  }

  .article-h1 {
    font-size: 1.25rem;
  }
}
