/* ==========================================================================
   今日吃瓜 · 全站样式表
   几何编辑风：矩形分区、粗细线对比、多色点缀
   ========================================================================== */

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c0392b;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }

p {
  margin-bottom: 1em;
}

time {
  color: #7f8c8d;
  font-size: 14px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.header-inner,
.site-main,
.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 3px solid #c0392b;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.site-main {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 60px;
}

.site-footer {
  background-color: #1a1a1a;
  color: #cccccc;
  margin-top: auto;
}

.footer-inner {
  padding-top: 48px;
  padding-bottom: 24px;
}

/* 内页统一容器 */
.inner-main {
  max-width: 1200px;
}

.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e0e0e0;
}

.page-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.page-description {
  color: #555555;
  font-size: 16px;
  max-width: 720px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
  color: #2c3e50;
}

.breadcrumb a:hover {
  color: #c0392b;
}

.breadcrumb-sep {
  color: #bdc3c7;
  margin: 0 4px;
}

.breadcrumb-current {
  color: #c0392b;
  font-weight: 600;
}

/* 页面布局：主内容 + 右侧栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- 页头 ---------- */

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  color: #c0392b;
  letter-spacing: 1px;
}

.brand-slogan {
  font-size: 12px;
  color: #7f8c8d;
  letter-spacing: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1a1a1a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  position: relative;
}

.nav-link:hover {
  color: #c0392b;
}

.nav-link.is-current {
  color: #c0392b;
  font-weight: 700;
}

.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #c0392b;
}

/* ---------- 通用区块标题 ---------- */

.section-title {
  font-size: 24px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #e67e22;
}

.section-desc {
  color: #666666;
  margin-bottom: 24px;
  max-width: 640px;
}

/* ---------- 首页 Hero ---------- */

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e0e0e0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.hero-desc {
  font-size: 17px;
  color: #555555;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.primary-btn {
  background-color: #c0392b;
  color: #ffffff;
  border: 2px solid #c0392b;
}

.primary-btn:hover {
  background-color: #a93226;
  color: #ffffff;
}

.secondary-btn {
  background-color: transparent;
  color: #2c3e50;
  border: 2px solid #2c3e50;
}

.secondary-btn:hover {
  background-color: #2c3e50;
  color: #ffffff;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.hero-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ---------- 首页频道标签 ---------- */

.channels-nav-section {
  margin-bottom: 64px;
}

.channels-tag-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.channel-tag {
  display: inline-block;
  padding: 10px 24px;
  background-color: #ffffff;
  border: 2px solid #2c3e50;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  transition: all 0.2s ease;
}

.channel-tag:hover {
  background-color: #e67e22;
  border-color: #e67e22;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- 首页最新资讯 ---------- */

.latest-section {
  margin-bottom: 64px;
}

.latest-list {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.latest-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid #e8e8e8;
  transition: background-color 0.2s ease;
}

.latest-item:last-child {
  border-bottom: none;
}

.latest-item:hover {
  background-color: #fafafa;
}

.latest-info {
  flex: 1;
}

.latest-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.latest-title a {
  color: #1a1a1a;
}

.latest-title a:hover {
  color: #c0392b;
}

.latest-summary {
  color: #666666;
  font-size: 15px;
  margin-bottom: 0;
  max-width: 720px;
}

.latest-date {
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 4px;
}

/* ---------- 首页专题卡片 ---------- */

.topics-section {
  margin-bottom: 64px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.topic-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-content {
  padding: 20px 24px;
}

.topic-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.topic-title a {
  color: #1a1a1a;
}

.topic-title a:hover {
  color: #c0392b;
}

.topic-summary {
  color: #666666;
  font-size: 15px;
  margin-bottom: 16px;
}

.topic-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #c0392b;
  border-bottom: 2px solid #c0392b;
  padding-bottom: 2px;
}

.topic-link:hover {
  color: #a93226;
  border-color: #a93226;
}

/* ---------- 首页编辑推荐 ---------- */

.editor-section {
  margin-bottom: 64px;
}

.editor-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #e67e22;
  border-radius: 4px;
  padding: 20px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.editor-content {
  flex: 1;
}

.editor-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.editor-title a {
  color: #1a1a1a;
}

.editor-title a:hover {
  color: #c0392b;
}

.editor-reason {
  color: #777777;
  font-size: 14px;
  margin-bottom: 0;
}

.editor-link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  border: 1px solid #2c3e50;
  padding: 6px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.editor-link:hover {
  background-color: #2c3e50;
  color: #ffffff;
}

/* ---------- 首页信息来源与反馈 ---------- */

.source-section {
  margin-bottom: 32px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.source-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
}

.source-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.source-item p {
  color: #666666;
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- 页脚 ---------- */

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo:hover {
  color: #e67e22;
}

.footer-desc {
  font-size: 14px;
  color: #999999;
  max-width: 480px;
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-group h3 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444444;
}

.footer-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-group a {
  font-size: 14px;
  color: #aaaaaa;
}

.footer-group a:hover {
  color: #e67e22;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #888888;
  margin-bottom: 0;
}

/* ---------- 频道分类页 ---------- */

.channel-list {
  margin-bottom: 48px;
}

.channel-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.channel-media {
  overflow: hidden;
  border-radius: 4px;
}

.channel-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.channel-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.channel-name {
  font-size: 22px;
  margin-bottom: 8px;
}

.channel-name a {
  color: #1a1a1a;
}

.channel-name a:hover {
  color: #c0392b;
}

.channel-desc {
  color: #666666;
  font-size: 15px;
  margin-bottom: 16px;
  max-width: 600px;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #c0392b;
  border-bottom: 2px solid #c0392b;
  padding-bottom: 2px;
}

.channel-link:hover {
  color: #a93226;
  border-color: #a93226;
}

/* 频道介绍 */
.channel-intro {
  margin-bottom: 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.intro-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #e67e22;
  border-radius: 4px;
  padding: 24px;
}

.intro-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.intro-card p {
  color: #666666;
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- 内容专题页 ---------- */

.topic-grid {
  margin-bottom: 48px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-media {
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* 专题介绍 */
.topic-intro {
  margin-bottom: 48px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 32px;
}

.intro-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intro-text {
  color: #555555;
  font-size: 16px;
  margin-bottom: 0;
  max-width: 800px;
}

/* ---------- 相关推荐（频道页与专题页） ---------- */

.related-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e0e0e0;
}

.related-links .section-title {
  margin-bottom: 20px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-list li {
  padding-left: 16px;
  position: relative;
}

.related-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #e67e22;
  border-radius: 50%;
}

.related-list a {
  font-size: 16px;
  color: #2c3e50;
  border-bottom: 1px solid transparent;
}

.related-list a:hover {
  color: #c0392b;
  border-bottom-color: #c0392b;
}

/* ---------- 深度解读页（insight-1） ---------- */

.article-main {
  min-width: 0;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 32px;
}

.article-section {
  margin-bottom: 40px;
}

.article-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.article-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background-color: #c0392b;
}

.article-section h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.article-section p {
  color: #444444;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-figure {
  margin: 24px 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.article-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 12px 16px;
  background-color: #fafafa;
  font-size: 13px;
  color: #777777;
  text-align: center;
}

.further-list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.further-list li {
  padding-left: 20px;
  position: relative;
}

.further-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #e67e22;
  font-weight: 700;
}

.further-list a {
  font-size: 15px;
  color: #2c3e50;
  border-bottom: 1px solid #e0e0e0;
}

.further-list a:hover {
  color: #c0392b;
  border-bottom-color: #c0392b;
}

/* 侧栏 */
.article-aside {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.article-aside h2,
.aside-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.article-aside h2::after,
.aside-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background-color: #e67e22;
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-list li {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.aside-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aside-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.aside-list a:hover .aside-title {
  color: #c0392b;
}

.aside-desc {
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
}

/* ---------- 专题解读页（insight-2） ---------- */

.layout-shell {
  width: 100%;
}

.main-content {
  min-width: 0;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 32px;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.content-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background-color: #c0392b;
}

.section-lead {
  color: #666666;
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 640px;
}

/* 系列文章列表 */
.series-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.series-item {
  border: 1px solid #e0e0e0;
  border-left: 4px solid #2c3e50;
  border-radius: 4px;
  padding: 20px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.series-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.series-item-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.series-no {
  font-size: 13px;
  font-weight: 700;
  color: #e67e22;
  text-transform: uppercase;
}

.series-link {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
}

.series-link:hover {
  color: #c0392b;
}

.series-meta {
  font-size: 14px;
  color: #888888;
}

/* 背景配图 */
.content-figure {
  margin: 24px 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.content-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.content-figure figcaption {
  padding: 12px 16px;
  background-color: #fafafa;
  font-size: 13px;
  color: #777777;
  text-align: center;
}

/* 内页相关推荐 */
.related-section .related-links {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.related-section .related-links li {
  padding-left: 0;
}

.related-section .related-links li::before {
  display: none;
}

/* 侧栏（insight-2） */
.aside-content {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.aside-inner {
  display: flex;
  flex-direction: column;
}

/* ---------- 404 页面 ---------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-content {
  text-align: center;
  max-width: 560px;
  padding: 48px 32px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: #c0392b;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.error-desc {
  color: #666666;
  font-size: 16px;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #c0392b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #a93226;
  color: #ffffff;
}

.error-tip {
  font-size: 14px;
  color: #999999;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ---------- 滚动出现动画（增强） ---------- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section,
.channels-nav-section,
.latest-section,
.topics-section,
.editor-section,
.source-section,
.channel-item,
.topic-card,
.editor-item,
.article-section,
.content-section {
  animation: fadeInUp 0.5s ease both;
}

.channels-nav-section { animation-delay: 0.05s; }
.latest-section { animation-delay: 0.1s; }
.topics-section { animation-delay: 0.15s; }
.editor-section { animation-delay: 0.2s; }
.source-section { animation-delay: 0.25s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- 平板及以下 ---------- */

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image {
    height: 280px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-aside,
  .aside-content {
    position: static;
    margin-top: 0;
  }

  .channel-item {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }
}

/* ---------- 手机端 ---------- */

@media (max-width: 768px) {
  .header-inner,
  .site-main,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    height: 64px;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 3px solid #c0392b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .nav-link.is-current::after {
    display: none;
  }

  .nav-link.is-current {
    background-color: #fafafa;
  }

  /* 首页 */
  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .hero-image {
    height: 200px;
  }

  .channels-tag-list {
    flex-direction: column;
    gap: 12px;
  }

  .channel-tag {
    text-align: center;
  }

  .latest-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
  }

  .latest-date {
    align-self: flex-start;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-image {
    height: 180px;
  }

  .editor-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
  }

  .editor-link {
    align-self: flex-start;
  }

  .source-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 页脚 */
  .footer-inner {
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-group {
    padding-bottom: 16px;
    border-bottom: 1px solid #333333;
  }

  .footer-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 内页通用 */
  .page-header {
    margin-bottom: 32px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    font-size: 13px;
    gap: 6px;
  }

  /* 频道页 */
  .channel-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .channel-media img {
    height: 160px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 专题页 */
  .topic-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-media img {
    height: 180px;
  }

  .topic-intro {
    padding: 24px 20px;
  }

  /* 文章页 */
  .article-main,
  .main-content {
    padding: 24px 20px;
  }

  .article-section h2,
  .content-section h2 {
    font-size: 20px;
  }

  .article-section p,
  .content-section p {
    font-size: 15px;
  }

  .article-figure img,
  .content-figure img {
    height: 200px;
  }

  .article-aside,
  .aside-content {
    padding: 20px;
  }

  .series-item {
    padding: 16px;
  }

  /* 404 */
  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-content {
    padding: 32px 24px;
  }
}

/* ---------- 小屏手机 ---------- */

@media (max-width: 390px) {
  .brand-name {
    font-size: 20px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .latest-title {
    font-size: 16px;
  }

  .latest-summary {
    font-size: 14px;
  }

  .topic-content {
    padding: 16px;
  }

  .topic-title {
    font-size: 17px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }
}

/* ---------- 打印样式 ---------- */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .article-aside,
  .aside-content,
  .related-links {
    display: none;
  }

  .site-main {
    padding: 0;
  }

  .page-layout {
    display: block;
  }

  .article-main,
  .main-content {
    border: none;
    padding: 0;
  }
}
