/* ============================================================
   qq吃瓜群 - 全站样式表
   新粗野风：明确边框、直接排版、少装饰但保持可读性
   配色：#1a1a1a / #f5f5f5 / #e0e0e0 / #2d2d2d / #ffffff / #ffcc00
   内容宽度：1200px  断点：768px
   ============================================================ */

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #f5f5f5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2d2d2d;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ------------------------------------------------------------
   Layout - 全站骨架
   ------------------------------------------------------------ */
.site-header {
  background: #1a1a1a;
  border-bottom: 4px solid #ffcc00;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  position: relative;
}

.brand {
  flex-shrink: 0;
}

.brand a {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 6px 0;
}

.brand a:hover {
  color: #ffcc00;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #e0e0e0;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-list li a:hover {
  color: #ffffff;
  background: #2d2d2d;
  border-color: #2d2d2d;
}

.nav-list li a.is-current {
  color: #1a1a1a;
  background: #ffcc00;
  border-color: #ffcc00;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.site-footer {
  background: #1a1a1a;
  border-top: 4px solid #ffcc00;
  margin-top: 40px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  font-size: 14px;
  color: #e0e0e0;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: #ffcc00;
}

.footer-copy {
  width: 100%;
  font-size: 13px;
  color: #a0a0a0;
  border-top: 1px solid #2d2d2d;
  padding-top: 16px;
  margin-top: 8px;
}

/* ------------------------------------------------------------
   Components - 通用组件
   ------------------------------------------------------------ */
/* 页面标题区（内页统一） */
.page-header {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.08);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  line-height: 1.6;
  color: #2d2d2d;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  color: #2d2d2d;
}

.breadcrumb a {
  color: #2d2d2d;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

.breadcrumb-sep {
  color: #a0a0a0;
}

.breadcrumb-current {
  color: #1a1a1a;
  font-weight: 600;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a1a1a;
  margin-bottom: 16px;
  display: inline-block;
}

.section-desc {
  font-size: 15px;
  color: #2d2d2d;
  margin-bottom: 20px;
  max-width: 720px;
}

/* 侧栏 */
.sidebar {
  min-width: 0;
}

.sidebar-block,
.sidebar-module,
.sidebar-card {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-title,
.sidebar-module h2,
.sidebar-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
  margin-bottom: 14px;
}

.sidebar-list li,
.sidebar-links li,
.related-links li {
  margin-bottom: 10px;
}

.sidebar-list li a,
.sidebar-links li a,
.related-links li a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #2d2d2d;
  padding: 6px 10px;
  border-left: 3px solid #e0e0e0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sidebar-list li a:hover,
.sidebar-links li a:hover,
.related-links li a:hover {
  border-left-color: #ffcc00;
  background: #f5f5f5;
}

/* ------------------------------------------------------------
   Layout - 内页双栏结构
   ------------------------------------------------------------ */
.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  padding: 40px 0 60px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.page-layout .inner-main {
  min-width: 0;
  padding: 40px 0 60px;
}

/* 内页主内容宽度保证不小于侧栏 */
.page-layout .inner-main {
  min-width: calc(1200px - 300px - 32px);
}

/* 侧栏在前（若 body 有 sidebar-left 类） */
.sidebar-left .page-layout {
  grid-template-columns: 300px minmax(0, 1fr);
}

.sidebar-left .page-layout .inner-main {
  min-width: calc(1200px - 300px - 32px);
}

/* zhinan 页特殊布局 */
.main-content {
  min-width: 0;
}

/* ------------------------------------------------------------
   Pages - 首页
   ------------------------------------------------------------ */
.home-main {
  padding: 0 24px 60px;
}

/* 首屏 hero */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 40px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: #2d2d2d;
  margin-bottom: 12px;
}

.hero-media {
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  background: #e0e0e0;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 频道导航带 */
.channel-bar {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 40px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.channel-tags li a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  background: #f5f5f5;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.channel-tags li a:hover {
  background: #ffcc00;
}

/* 最新资讯列表 */
.latest-list {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.news-list {
  border-top: 2px solid #e0e0e0;
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.news-item article h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.news-item article h3 a {
  color: #1a1a1a;
}

.news-item article h3 a:hover {
  color: #2d2d2d;
  text-decoration: underline;
}

.news-summary {
  font-size: 15px;
  color: #2d2d2d;
  line-height: 1.6;
  margin-bottom: 6px;
}

.news-item time {
  font-size: 13px;
  color: #a0a0a0;
}

/* 专题卡片 */
.topic-cards {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  box-shadow: 6px 6px 0 rgba(26, 26, 26, 0.15);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #1a1a1a;
}

.topic-card h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px 4px;
}

.topic-card h3 a {
  color: #1a1a1a;
}

.topic-card h3 a:hover {
  color: #2d2d2d;
  text-decoration: underline;
}

.topic-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
  padding: 0 20px 20px;
}

/* 编辑推荐 */
.editor-picks {
  max-width: 1200px;
  margin: 0 auto 40px;
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 28px;
}

.picks-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e0e0e0;
}

.picks-list li:last-child {
  border-bottom: none;
}

.pick-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pick-item h3 a {
  color: #1a1a1a;
}

.pick-item h3 a:hover {
  color: #2d2d2d;
  text-decoration: underline;
}

.pick-item p {
  font-size: 14px;
  color: #2d2d2d;
  line-height: 1.5;
}

/* 信息来源与反馈 */
.info-feedback {
  max-width: 1200px;
  margin: 0 auto;
  background: #e0e0e0;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 28px;
}

.info-feedback p {
  font-size: 14px;
  line-height: 1.7;
  color: #2d2d2d;
  margin-bottom: 8px;
}

/* ------------------------------------------------------------
   Pages - 频道分类 (pindao)
   ------------------------------------------------------------ */
.channel-index {
  margin-bottom: 40px;
}

.section-intro {
  font-size: 15px;
  color: #2d2d2d;
  margin-bottom: 24px;
}

.channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease;
}

.channel-item:hover {
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.12);
}

.channel-text {
  min-width: 0;
  flex: 1;
}

.channel-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.channel-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
}

.channel-link {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: #ffcc00;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.channel-link:hover {
  background: #e6b800;
}

.channel-notes {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.notes-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #2d2d2d;
  margin-bottom: 10px;
}

.channel-figure {
  margin-bottom: 32px;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  background: #e0e0e0;
}

.channel-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.channel-figure figcaption {
  font-size: 13px;
  color: #2d2d2d;
  padding: 10px 16px;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

/* ------------------------------------------------------------
   Pages - 内容专题 (zhuanti)
   ------------------------------------------------------------ */
.topic-list {
  margin-bottom: 40px;
}

.topic-list .topic-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin-bottom: 20px;
}

.topic-media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-bottom: none;
  border-right: 2px solid #1a1a1a;
}

.topic-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topic-body h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 8px;
}

.topic-body h3 a {
  color: #1a1a1a;
}

.topic-body h3 a:hover {
  color: #2d2d2d;
  text-decoration: underline;
}

.topic-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
  padding: 0;
  margin-bottom: 12px;
}

.topic-body a {
  align-self: flex-start;
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: #f5f5f5;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.topic-body a:hover {
  background: #ffcc00;
}

.topic-intro {
  margin-bottom: 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.intro-item {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 20px;
}

.intro-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.intro-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
}

.topic-related {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 24px;
}

.topic-related p {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
  margin-bottom: 8px;
}

.topic-related a {
  display: inline-block;
  margin-right: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 2px;
}

.topic-related a:hover {
  color: #2d2d2d;
  border-bottom-color: #1a1a1a;
}

/* ------------------------------------------------------------
   Pages - 深度解读 (jiedu)
   ------------------------------------------------------------ */
.article-list-section {
  margin-bottom: 40px;
}

.article-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s ease;
}

.article-item:hover {
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.1);
}

.article-figure {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
}

.article-figure img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.article-content {
  min-width: 0;
}

.article-content h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.article-content h3 a {
  color: #1a1a1a;
}

.article-content h3 a:hover {
  color: #2d2d2d;
  text-decoration: underline;
}

.article-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 13px;
  color: #a0a0a0;
}

.article-summary-section {
  margin-bottom: 40px;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.summary-item {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 20px;
}

.summary-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ffcc00;
}

.summary-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #2d2d2d;
}

.related-reading {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 24px;
}

.related-reading h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.related-reading p {
  font-size: 14px;
  color: #2d2d2d;
  margin-bottom: 12px;
}

.related-reading ul li {
  margin-bottom: 8px;
}

.related-reading ul li a {
  font-size: 14px;
  color: #2d2d2d;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 2px;
}

.related-reading ul li a:hover {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

/* 侧栏目录 */
.toc-module .toc-list li {
  margin-bottom: 8px;
}

.toc-module .toc-list li a {
  display: block;
  font-size: 14px;
  color: #2d2d2d;
  padding: 6px 10px;
  border-left: 3px solid #e0e0e0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.toc-module .toc-list li a:hover {
  border-left-color: #ffcc00;
  background: #f5f5f5;
}

/* ------------------------------------------------------------
   Pages - 实用指南 (zhinan)
   ------------------------------------------------------------ */
.guide-section {
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.guide-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffcc00;
}

.guide-section > p {
  font-size: 15px;
  line-height: 1.7;
  color: #2d2d2d;
  margin-bottom: 16px;
}

.tips-list,
.steps-list,
.feature-list {
  margin-top: 8px;
}

.tips-list li,
.steps-list li,
.feature-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: #2d2d2d;
  border-bottom: 1px solid #f0f0f0;
}

.tips-list li:last-child,
.steps-list li:last-child,
.feature-list li:last-child {
  border-bottom: none;
}

.tips-list li::before,
.steps-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  background: #ffcc00;
}

.tips-list li strong,
.steps-list li strong,
.feature-list li strong {
  font-weight: 600;
  color: #1a1a1a;
}

.tips-list li a,
.steps-list li a,
.feature-list li a {
  color: #2d2d2d;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1px;
}

.tips-list li a:hover,
.steps-list li a:hover,
.feature-list li a:hover {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

/* 侧栏图片 */
.sidebar-figure {
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  background: #e0e0e0;
  margin-bottom: 20px;
}

.sidebar-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.sidebar-figure figcaption {
  font-size: 13px;
  color: #2d2d2d;
  padding: 8px 12px;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

/* ------------------------------------------------------------
   Pages - 404
   ------------------------------------------------------------ */
.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-section {
  text-align: center;
  max-width: 560px;
  padding: 48px 24px;
  background: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(26, 26, 26, 0.1);
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #2d2d2d;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-home,
.btn-channel {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  background: #ffcc00;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-home:hover,
.btn-channel:hover {
  background: #e6b800;
  transform: translateY(-1px);
}

.btn-channel {
  background: #f5f5f5;
}

.btn-channel:hover {
  background: #e0e0e0;
}

/* ------------------------------------------------------------
   Responsive - 移动端 (≤768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  /* 页头 */
  .header-shell {
    padding: 0 16px;
    min-height: 60px;
  }

  .brand a {
    font-size: 19px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 2px solid #ffcc00;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 100;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
  }

  .nav-list li a.is-current {
    border: none;
  }

  /* 首页 */
  .home-main {
    padding: 0 16px 40px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0 28px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-media img {
    height: 200px;
  }

  .channel-bar {
    padding: 20px;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tags li a {
    padding: 8px 14px;
    font-size: 14px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .editor-picks {
    padding: 20px;
  }

  .info-feedback {
    padding: 20px;
  }

  /* 内页双栏 */
  .layout-shell {
    padding: 0 16px;
  }

  .page-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .page-layout .inner-main {
    min-width: 0;
    padding: 24px 0 40px;
    order: 1;
  }

  .page-layout .sidebar {
    order: 2;
    width: 100%;
  }

  .sidebar-left .page-layout .inner-main {
    min-width: 0;
    order: 1;
  }

  .sidebar-left .page-layout .sidebar {
    order: 2;
  }

  /* 页面标题区 */
  .page-header {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 14px;
  }

  /* 面包屑 */
  .breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* 频道页 */
  .channel-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .channel-link {
    align-self: flex-start;
    margin-top: 4px;
  }

  .channel-figure img {
    height: 180px;
  }

  /* 专题页 */
  .topic-list .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-media img {
    height: 160px;
    border-right: none;
    border-bottom: 2px solid #1a1a1a;
  }

  .topic-body {
    padding: 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 解读页 */
  .article-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .article-figure img {
    height: 140px;
  }

  .summary-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 指南页 */
  .guide-section {
    padding: 20px;
  }

  .tips-list li,
  .steps-list li,
  .feature-list li {
    font-size: 14px;
  }

  /* 404 */
  .error-code {
    font-size: 56px;
  }

  .error-section {
    padding: 32px 20px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-home,
  .btn-channel {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  /* 页脚 */
  .footer-shell {
    padding: 32px 16px 24px;
    gap: 20px;
  }

  .footer-nav {
    gap: 8px 16px;
  }

  .footer-nav a {
    font-size: 13px;
  }
}

/* ------------------------------------------------------------
   Responsive - 中屏 (769px-1024px)
   ------------------------------------------------------------ */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-shell,
  .site-main,
  .layout-shell,
  .footer-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .page-layout .inner-main {
    min-width: 0;
  }

  .sidebar-left .page-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .sidebar-left .page-layout .inner-main {
    min-width: 0;
  }

  .hero-section {
    gap: 24px;
  }

  .hero-media img {
    height: 260px;
  }

  .topic-list .topic-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .article-item {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}
