/* ==========================================================================
   BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e74c3c;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

time {
  color: #888;
  font-size: 13px;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  min-height: 68px;
}

.brand {
  flex-shrink: 0;
  margin-right: 32px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #e74c3c;
  letter-spacing: 1px;
}

.brand-tagline {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  border-radius: 4px;
}

.nav-list li a:hover {
  color: #e74c3c;
  background: #f8f8f8;
}

.nav-list li a.is-current {
  color: #e74c3c;
  background: #fdf0ef;
  font-weight: 600;
}

.header-search {
  flex-shrink: 0;
  margin-left: 16px;
}

.search-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}

.search-entry:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

.search-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 6px;
  background: currentColor;
  bottom: -5px;
  right: -2px;
  transform: rotate(-45deg);
}

.nav-toggle {
  display: none;
}

/* 主内容容器 */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 首页主区 */
.home-main {
  padding-top: 24px;
  padding-bottom: 48px;
}

/* 内页布局 */
.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.inner-main {
  max-width: none;
  padding: 0;
  min-width: 0;
}

.sidebar-right {
  min-width: 0;
}

/* 页面标题区 */
.page-header {
  padding: 24px 0 20px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 28px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 16px 0 0;
  color: #999;
}

.breadcrumb a {
  color: #2c3e50;
}

.breadcrumb a:hover {
  color: #e74c3c;
}

.breadcrumb-sep {
  color: #ccc;
}

.breadcrumb-current {
  color: #999;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: #e74c3c;
  border-radius: 2px;
}

.section-intro {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* 更多链接 */
.more-link {
  font-size: 14px;
  color: #e74c3c;
  white-space: nowrap;
}

.more-link:hover {
  text-decoration: underline;
}

/* 侧边栏通用 */
.sidebar-block,
.sidebar-card,
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-title,
.sidebar-card h3,
.sidebar-widget h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list li a {
  color: #2c3e50;
  display: block;
  line-height: 1.5;
}

.sidebar-list li a:hover {
  color: #e74c3c;
}

/* 标签列表 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  display: inline-block;
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 13px;
  color: #2c3e50;
}

.tag-list li a:hover {
  background: #fdf0ef;
  border-color: #e74c3c;
  color: #e74c3c;
}

/* 相关链接区 */
.related-links {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  margin-top: 28px;
}

.related-links h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.related-links p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.related-links p a {
  color: #e74c3c;
  margin-right: 16px;
}

.related-links p a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PAGES — 首页
   ========================================================================== */

/* 首屏焦点区 */
.hero-focus {
  margin-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.channel-link {
  display: inline-block;
  padding: 6px 14px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 14px;
  color: #2c3e50;
}

.channel-link:hover {
  background: #fdf0ef;
  border-color: #e74c3c;
  color: #e74c3c;
}

.hero-figure {
  border-radius: 6px;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* 频道分类导航带 */
.channel-strip {
  margin-bottom: 40px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
}

.tag-item {
  display: inline-block;
  padding: 8px 18px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
}

.tag-item:hover {
  background: #fdf0ef;
  border-color: #e74c3c;
  color: #e74c3c;
}

/* 最新资讯列表 */
.latest-news {
  margin-bottom: 40px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-heading .section-title {
  margin-bottom: 0;
}

.news-list {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 0 20px;
}

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-content h3 a {
  color: #1a1a1a;
}

.news-content h3 a:hover {
  color: #e74c3c;
}

.news-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* 专题推荐区 */
.topics-preview {
  margin-bottom: 40px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.topic-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 16px 20px 8px;
}

.topic-card h3 a {
  color: #1a1a1a;
}

.topic-card h3 a:hover {
  color: #e74c3c;
}

.topic-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  padding: 0 20px 20px;
}

/* 编辑推荐 */
.editor-picks {
  margin-bottom: 40px;
}

.pick-list {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 0 20px;
}

.pick-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pick-item:last-child {
  border-bottom: none;
}

.pick-index {
  font-size: 24px;
  font-weight: 700;
  color: #e74c3c;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}

.pick-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pick-body h3 a {
  color: #1a1a1a;
}

.pick-body h3 a:hover {
  color: #e74c3c;
}

.pick-reason {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 信息来源说明 */
.source-note {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 40px;
}

.source-text {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
}

.feedback-link {
  font-size: 14px;
  color: #e74c3c;
  font-weight: 500;
}

.feedback-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PAGES — 频道分类页
   ========================================================================== */

.channel-list-section {
  margin-bottom: 40px;
}

.channel-item {
  margin-bottom: 16px;
}

.channel-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
}

.channel-info {
  margin-bottom: 14px;
}

.channel-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.channel-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.channel-info .channel-link {
  font-size: 14px;
  color: #e74c3c;
  font-weight: 500;
}

.channel-info .channel-link:hover {
  text-decoration: underline;
}

.channel-preview {
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.preview-list li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #f8f8f8;
}

.preview-list li:last-child {
  border-bottom: none;
}

.preview-list li a {
  color: #2c3e50;
}

.preview-list li a:hover {
  color: #e74c3c;
}

/* 频道简介 */
.channel-intro-section {
  margin-bottom: 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
}

.intro-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.intro-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* 频道最新资讯 */
.channel-latest-section {
  margin-bottom: 40px;
}

.latest-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.latest-preview-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
}

.preview-channel-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

/* 频道主图 */
.channel-media-figure {
  margin: 32px 0;
  border-radius: 6px;
  overflow: hidden;
}

.channel-main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.channel-media-figure figcaption {
  font-size: 13px;
  color: #888;
  padding: 10px 0;
  text-align: center;
}

/* ==========================================================================
   PAGES — 内容专题页
   ========================================================================== */

.topics-section {
  margin-bottom: 40px;
}

.topic-card-list {
  display: grid;
  gap: 20px;
}

.topic-card-list .topic-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  overflow: hidden;
}

.topic-card-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.topic-card-content {
  padding: 20px;
}

.topic-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.topic-card-content h3 a {
  color: #1a1a1a;
}

.topic-card-content h3 a:hover {
  color: #e74c3c;
}

.topic-card-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
}

.topic-article-index {
  margin-bottom: 14px;
}

.topic-article-index li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #f8f8f8;
}

.topic-article-index li:last-child {
  border-bottom: none;
}

.topic-article-index li a {
  color: #2c3e50;
}

.topic-article-index li a:hover {
  color: #e74c3c;
}

.topic-link {
  font-size: 14px;
  color: #e74c3c;
  font-weight: 500;
}

.topic-link:hover {
  text-decoration: underline;
}

/* 专题概览 */
.topics-overview {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 40px;
}

.topics-overview h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.topics-overview p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
}

.topics-overview p:last-child {
  margin-bottom: 0;
}

/* 专题索引 */
.topic-index {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 28px;
}

.topic-index > h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.topic-index > p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.index-group {
  margin-bottom: 20px;
}

.index-group:last-child {
  margin-bottom: 0;
}

.index-group h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}

.index-group ul li {
  padding: 6px 0;
  font-size: 14px;
}

.index-group ul li a {
  color: #2c3e50;
}

.index-group ul li a:hover {
  color: #e74c3c;
}

/* ==========================================================================
   PAGES — 阅读指南页
   ========================================================================== */

.guide-section {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}

.guide-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.guide-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.guide-figure {
  margin: 20px 0;
  border-radius: 6px;
  overflow: hidden;
}

.guide-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #888;
  padding: 10px 0;
  text-align: center;
}

.guide-list {
  margin-top: 12px;
}

.guide-list li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.6;
}

.guide-list li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   PAGES — 深度解读页
   ========================================================================== */

.content-section {
  margin-bottom: 32px;
}

.content-section > h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.content-section > p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 深度文章列表 */
.article-list {
  display: grid;
  gap: 16px;
}

.deep-article-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.article-media img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.article-body {
  padding: 20px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.article-body h3 a {
  color: #1a1a1a;
}

.article-body h3 a:hover {
  color: #e74c3c;
}

.article-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 13px;
  color: #999;
}

/* 时间线 */
.timeline-block {
  margin-top: 20px;
}

.timeline-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-list {
  border-left: 3px solid #f0f0f0;
  padding-left: 20px;
}

.timeline-list li {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e74c3c;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e74c3c;
}

.timeline-list time {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

/* 观点对比 */
.viewpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.viewpoint-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
}

.viewpoint-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.viewpoint-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ==========================================================================
   PAGES — 404
   ========================================================================== */

.error-main {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 60vh;
}

.error-panel {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #e74c3c;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}

.error-desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.error-home-btn,
.error-channel-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
}

.error-home-btn {
  background: #e74c3c;
  color: #ffffff;
}

.error-home-btn:hover {
  background: #c0392b;
  color: #ffffff;
}

.error-channel-btn {
  background: #f5f5f5;
  color: #2c3e50;
  border: 1px solid #e8e8e8;
}

.error-channel-btn:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  margin-top: 48px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-slogan {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  max-width: 600px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.footer-col ul li {
  padding: 4px 0;
}

.footer-col ul li a {
  font-size: 14px;
  color: #666;
}

.footer-col ul li a:hover {
  color: #e74c3c;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #999;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .intro-grid,
  .latest-preview-grid,
  .viewpoint-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card-list .topic-card {
    grid-template-columns: 220px 1fr;
  }

  .deep-article-item {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  .header-shell {
    flex-wrap: wrap;
    min-height: 60px;
    padding: 10px 16px;
    gap: 8px;
  }

  .brand {
    margin-right: auto;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #2c3e50;
    border-radius: 1px;
    transition: background 0.2s ease;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 8px;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .header-search {
    margin-left: 0;
  }

  .search-entry {
    padding: 8px 12px;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 0;
  }

  .site-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sidebar-right,
  .inner-sidebar {
    margin-top: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .hero-figure img {
    height: 200px;
  }

  .topic-cards {
    grid-template-columns: 1fr;
  }

  .topic-card-list .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-card-media img {
    height: 180px;
    min-height: 0;
  }

  .deep-article-item {
    grid-template-columns: 1fr;
  }

  .article-media img {
    height: 160px;
    min-height: 0;
  }

  .intro-grid,
  .latest-preview-grid,
  .viewpoint-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .error-panel {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 18px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .hero-title,
  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero-figure img {
    height: 180px;
  }

  .pick-item {
    flex-direction: column;
    gap: 8px;
  }

  .pick-index {
    padding-top: 0;
  }

  .error-code {
    font-size: 56px;
  }
}
