@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

/* ===== 变量 ===== */
:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --black: #000000;
  --white: #ffffff;
  --bg: #f7f7f0;
  --border: 3px solid #000;
  --shadow: 5px 5px 0 #000;
  --shadow-sm: 3px 3px 0 #000;
  --radius: 4px;
  --font: 'Be Vietnam Pro', 'Noto Sans', system-ui, sans-serif;
  --nav-h: 56px;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--red); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ===== 侧栏导航（aside > nav > ul > li > a）===== */
.site-aside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--blue);
  border-bottom: var(--border);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--nav-h);
  border-bottom: 2px solid var(--black);
}

.brand-logo {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-logo:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: var(--border);
  padding: 8px 10px;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--black);
}

#nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  height: 44px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.15);
}

#nav-menu > ul {
  display: flex;
  gap: 0;
  flex: 1;
  overflow-x: auto;
}

#nav-menu > ul > li > a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  border-right: 2px solid var(--black);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
#nav-menu > ul > li:first-child > a { border-left: 2px solid var(--black); }
#nav-menu > ul > li > a:hover,
#nav-menu > ul > li > a:focus {
  background: var(--blue);
  color: var(--black);
}

.nav-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 12px;
}
.nav-search form {
  display: flex;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.nav-search input {
  border: none;
  outline: none;
  padding: 0 10px;
  font-family: var(--font);
  font-size: 0.85rem;
  width: 140px;
  height: 34px;
  background: transparent;
}
.nav-search button {
  border: none;
  border-left: 2px solid var(--black);
  background: var(--red);
  color: var(--white);
  padding: 0 12px;
  font-weight: 700;
  font-size: 1rem;
  min-width: 40px;
  height: 34px;
  transition: background 0.15s;
}
.nav-search button:hover { background: var(--black); }

/* ===== 页面外框 ===== */
.page-wrap {
  margin-top: calc(var(--nav-h) + 44px);
  min-height: calc(100vh - var(--nav-h) - 44px);
}

/* ===== 通用组件 ===== */
.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title span {
  background: var(--black);
  color: var(--white);
  padding: 4px 14px;
  display: inline-block;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 3px;
  background: var(--black);
}

.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--black); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span[aria-hidden] { color: #666; }

/* ===== 首页 ===== */
.page-home .page-wrap { margin-top: 0; }

.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--blue);
  border-bottom: var(--border);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 44px);
}

.hero-bg-text {
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  font-size: clamp(120px, 25vw, 300px);
  font-weight: 700;
  color: rgba(0,0,0,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px 80px;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  margin-bottom: 20px;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

.hero-h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
  color: #111;
}

.hero-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border: var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.hero-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--red);
  color: var(--white);
}

/* 首页内容区 */
.home-article {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-content-section { margin-bottom: 60px; }
.home-content-body {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
}
.home-content-body h2 { margin: 2em 0 0.8em; font-size: 1.3rem; }
.home-content-body p { margin-bottom: 1em; }

.home-channels { margin-bottom: 60px; }
.child-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.child-card {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.12s, box-shadow 0.12s;
}
.child-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
}
.card-link { text-decoration: none; color: var(--black); display: block; }
.card-inner { padding: 20px; }
.card-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--blue);
  border: 2px solid var(--black);
  padding: 2px 8px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.card-desc {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
}
.card-date { font-size: 0.78rem; color: #666; }

.home-recent { margin-bottom: 40px; }
.recent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.recent-card {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: background 0.12s;
}
.recent-card:hover { background: var(--blue); }
.recent-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--black);
}
.recent-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 2px 6px;
  flex-shrink: 0;
}
.recent-card strong { font-size: 0.9rem; flex: 1; line-height: 1.4; }
.recent-date { font-size: 0.75rem; color: #555; flex-shrink: 0; }

/* ===== 栏目页 ===== */
.channel-header {
  border-bottom: var(--border);
  background: var(--white);
  padding: 32px 40px 0;
}
.channel-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 24px;
}
.channel-title-block { flex: 1; }
.channel-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border: 2px solid var(--black);
  margin-bottom: 12px;
}
.channel-h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.channel-desc { font-size: 0.95rem; color: #333; max-width: 600px; }
.channel-header-accent {
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 700;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  user-select: none;
  padding-left: 20px;
}

.channel-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px;
  align-items: start;
}

.channel-main { min-width: 0; }
.channel-content-section { margin-bottom: 40px; }
.channel-content-section > div {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
}
.channel-content-section h2 { margin: 2em 0 0.8em; font-size: 1.2rem; }
.channel-content-section p { margin-bottom: 1em; }

.channel-children { margin-top: 20px; }
.channel-child-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-child {
  display: flex;
  align-items: center;
  gap: 16px;
  border: var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.12s;
}
.channel-child:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--black);
  background: var(--blue);
}
.child-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0,0,0,0.15);
  width: 40px;
  flex-shrink: 0;
  line-height: 1;
}
.child-info { flex: 1; min-width: 0; }
.child-title-link {
  text-decoration: none;
  color: var(--black);
}
.child-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.4;
}
.child-desc { font-size: 0.85rem; color: #333; line-height: 1.5; }
.child-info time { font-size: 0.78rem; color: #666; display: block; margin-top: 4px; }
.child-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  transition: background 0.12s;
}
.child-arrow:hover { background: var(--red); color: var(--white); }

/* 侧边栏 */
.channel-sidebar,
.article-sidebar {
  padding-left: 32px;
  border-left: var(--border);
  margin-left: 20px;
}

.sidebar-block {
  margin-bottom: 32px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  overflow: hidden;
}
.sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  letter-spacing: 0.04em;
}
.sidebar-parent {
  padding: 12px 16px 0;
  font-size: 0.9rem;
}
.sidebar-nav-list { padding: 8px 0; }
.sidebar-nav-list li { border-top: 1px solid rgba(0,0,0,0.08); }
.sidebar-nav-list li:first-child { border-top: none; }
.sidebar-nav-list a {
  display: block;
  padding: 9px 16px;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: background 0.12s;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidebar-nav-list a:hover {
  background: var(--blue);
  color: var(--black);
}
.sidebar-block--cta .sidebar-title { background: var(--red); }

/* ===== 文章页 ===== */
.article-page-header {
  padding: 24px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.article-hero-wrap {
  margin-top: 16px;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 440px;
}
.article-hero-img { width: 100%; height: 100%; object-fit: cover; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 60px;
  align-items: start;
}

.article-main { min-width: 0; }
.article-header { margin-bottom: 28px; }
.article-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.article-date, .article-modified {
  font-size: 0.85rem;
  color: #444;
  padding: 3px 10px;
  border: 2px solid var(--black);
  background: var(--blue);
  font-weight: 600;
}
.article-modified { background: #eee; }

.article-body { margin-bottom: 48px; }
.article-body-inner {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 700px;
}
.article-body-inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.2em 0 0.8em;
  padding-left: 12px;
  border-left: 5px solid var(--blue);
}
.article-body-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
}
.article-body-inner p { margin-bottom: 1.1em; }
.article-body-inner ul,
.article-body-inner ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
  list-style: disc;
}
.article-body-inner ol { list-style: decimal; }
.article-body-inner li { margin-bottom: 0.4em; }
.article-body-inner a { color: var(--black); font-weight: 600; }
.article-body-inner a:hover { color: var(--red); }
.article-body-inner table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2em;
  font-size: 0.9rem;
}
.article-body-inner th {
  background: var(--black);
  color: var(--white);
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
}
.article-body-inner td {
  border: 2px solid var(--black);
  padding: 7px 12px;
}
.article-body-inner tr:nth-child(even) td { background: rgba(59,177,255,0.12); }

.article-related { margin-top: 32px; }
.sibling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.sibling-card {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.12s, box-shadow 0.12s;
}
.sibling-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  background: var(--blue);
}
.sibling-card a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--black);
}
.sibling-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.sibling-card strong { font-size: 0.9rem; line-height: 1.4; }

/* ===== 关于页 ===== */
.about-header {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 60px 40px 40px;
  overflow: hidden;
  border-bottom: var(--border);
}
.about-header-num {
  position: absolute;
  right: -0.02em;
  bottom: -0.1em;
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 700;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.about-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.about-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.about-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px;
}
.about-content-section { margin-bottom: 48px; }
.about-content-inner {
  font-size: 1rem;
  line-height: 1.85;
}
.about-content-inner h2 { font-size: 1.2rem; font-weight: 700; margin: 2em 0 0.8em; }
.about-content-inner p { margin-bottom: 1em; }

.about-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.about-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  text-decoration: none;
  color: var(--black);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.about-nav-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  background: var(--blue);
  color: var(--black);
}
.about-nav-card strong { font-size: 0.95rem; font-weight: 700; }
.about-nav-card span { font-size: 0.82rem; color: #444; line-height: 1.5; }

/* ===== 隐私页 ===== */
.privacy-header {
  background: var(--red);
  border-bottom: var(--border);
  padding: 40px 40px 32px;
}
.privacy-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.privacy-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.privacy-updated {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.privacy-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px;
}
.privacy-content-section { margin-bottom: 48px; }
.privacy-content-inner {
  font-size: 1rem;
  line-height: 1.85;
}
.privacy-content-inner h2 { font-size: 1.15rem; font-weight: 700; margin: 2em 0 0.8em; padding-left: 10px; border-left: 4px solid var(--red); }
.privacy-content-inner p { margin-bottom: 1em; }
.privacy-content-inner ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.privacy-content-inner li { margin-bottom: 0.4em; }

.privacy-link-list { display: flex; gap: 12px; flex-wrap: wrap; }
.privacy-link-list li a {
  display: inline-block;
  padding: 10px 20px;
  border: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  min-height: 40px;
  line-height: 1.2;
}
.privacy-link-list li a:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  background: var(--blue);
}

/* ===== 默认页 ===== */
.default-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px;
}
.default-main h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.default-content {
  font-size: 1rem;
  line-height: 1.85;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: var(--border);
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 40px 32px;
  border-bottom: 2px solid rgba(255,255,255,0.12);
}
.footer-brand-col {}
.footer-brand-big {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.12);
  margin-bottom: 16px;
  user-select: none;
}
.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 360px;
}
.footer-links-col {}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.footer-nav li a {
  display: block;
  padding: 8px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.12s;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.footer-nav li a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 500;
}
.footer-bottom-links a:hover { color: var(--blue); }

/* ===== 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .child-card,
  .channel-child,
  .sibling-card,
  .about-nav-card,
  .hero-cta,
  .privacy-link-list li a {
    transition: transform 0.13s cubic-bezier(0.2,0,0,1), box-shadow 0.13s cubic-bezier(0.2,0,0,1), background 0.13s;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .channel-body,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .channel-sidebar,
  .article-sidebar {
    padding-left: 0;
    border-left: none;
    border-top: var(--border);
    margin-left: 0;
    padding-top: 24px;
    margin-top: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-nav { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --nav-h: 52px; }

  .nav-toggle { display: flex; }

  #nav-menu {
    display: none;
    flex-direction: column;
    height: auto;
    padding: 0;
    align-items: stretch;
  }
  #nav-menu.nav-open { display: flex; }

  #nav-menu > ul {
    flex-direction: column;
    overflow: visible;
  }
  #nav-menu > ul > li > a {
    height: auto;
    min-height: 44px;
    padding: 12px 20px;
    border-right: none;
    border-top: 2px solid var(--black);
  }
  #nav-menu > ul > li:first-child > a { border-left: none; }

  .nav-search {
    padding: 12px 16px;
    border-top: 2px solid var(--black);
    margin-left: 0;
  }
  .nav-search input { width: 100%; }

  .hero-content { padding: 40px 20px 60px; }
  .hero-h1 { font-size: 2rem; }

  .home-article { padding: 32px 20px; }
  .channel-header { padding: 20px 20px 0; }
  .channel-body { padding: 24px 20px; }
  .article-page-header { padding: 16px 20px 0; }
  .article-layout { padding: 24px 20px 40px; }
  .about-header { padding: 40px 20px 32px; }
  .about-body { padding: 32px 20px; }
  .privacy-header { padding: 32px 20px 24px; }
  .privacy-body { padding: 32px 20px; }
  .default-main { padding: 32px 20px; }
  .footer-inner { padding: 32px 20px 24px; }
  .footer-bottom { padding: 14px 20px; }

  .channel-header-accent { display: none; }
  .hero-bg-text { font-size: 30vw; }

  .child-grid,
  .recent-list,
  .sibling-grid,
  .about-nav-grid {
    grid-template-columns: 1fr;
  }

  .channel-child { padding: 12px 14px; }
  .child-num { font-size: 1.1rem; width: 28px; }
}

@media (max-width: 400px) {
  .hero-h1 { font-size: 1.7rem; }
  .brand-logo { font-size: 1.1rem; }
}
