/* ==========================================================================
   base / 基础样式
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2d2d3a;
  background-color: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.35;
  margin: 0 0 12px;
}

p {
  margin: 0 0 14px;
}

a {
  color: #16213e;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e94560;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

time {
  color: #8a8a9a;
  font-size: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   layout / 全站布局骨架
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: #1a1a2e;
  border-bottom: 3px solid #e94560;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}

.brand-tagline {
  font-size: 12px;
  color: #9aa0b4;
  margin-top: 2px;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #c5c9d8;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-current {
  color: #ffffff;
  background: #e94560;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

.header-search {
  flex-shrink: 0;
}

.search-placeholder {
  display: block;
  width: 180px;
  height: 36px;
  border: 1px solid #3a3f55;
  border-radius: 18px;
  padding: 0 16px;
  line-height: 34px;
  font-size: 13px;
  color: #7a8098;
  background: #10142a;
}

.site-main {
  flex: 1;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #8a8a9a;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #16213e;
}

.breadcrumb a:hover {
  color: #e94560;
}

.breadcrumb-sep {
  color: #b0b0c0;
}

.breadcrumb-current {
  color: #8a8a9a;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e2ea;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  line-height: 1.7;
  color: #5a5a6e;
  margin: 0;
  max-width: 760px;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #e94560;
}

/* ==========================================================================
   components / 通用组件
   ========================================================================== */

/* 图片容器约束 */
.channel-media,
.focus-media,
.topic-media,
.hero-media,
.article-thumb,
.content-media,
.timeline-media {
  overflow: hidden;
  background: #e8e8f0;
}

.channel-media img,
.focus-media img,
.topic-media img,
.hero-media img,
.article-thumb img,
.content-media img,
.timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 卡片基础 */
.channel-card,
.topic-card,
.focus-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.channel-card:hover,
.topic-card:hover,
.focus-card:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   components / 页头导航（移动端）
   ========================================================================== */

@media (max-width: 900px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    flex-basis: 100%;
    order: 4;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 8px 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 4px;
  }

  .header-search {
    order: 2;
    margin-left: auto;
  }

  .search-placeholder {
    width: 140px;
  }
}

/* ==========================================================================
   components / 页脚
   ========================================================================== */

.site-footer {
  background: #1a1a2e;
  color: #a5a9bd;
  margin-top: auto;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #8a90a8;
  line-height: 1.6;
  margin: 0;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #a5a9bd;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #e94560;
}

.footer-bottom {
  border-top: 1px solid #2a2e44;
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: #6a7088;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   pages / 首页
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  width: 100%;
}

/* 首屏焦点区 */
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  background: #ffffff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #5a5a6e;
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-block;
  padding: 12px 28px;
  background: #e94560;
  color: #ffffff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.hero-cta:hover {
  background: #d63a55;
  color: #ffffff;
}

.hero-media {
  border-radius: 8px;
  height: 260px;
}

.hero-media figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #8a8a9a;
  background: #f5f5f7;
}

/* 频道入口 */
.channel-entry {
  grid-column: 1 / -1;
  border-top: 1px solid #e8e8f0;
  padding-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.channel-entry-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-right: 4px;
}

.channel-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #f0f0f5;
  border-radius: 20px;
  font-size: 14px;
  color: #16213e;
  transition: background 0.2s ease, color 0.2s ease;
}

.channel-tag:hover {
  background: #e94560;
  color: #ffffff;
}

/* 首页两栏布局 */
.home-latest {
  margin-bottom: 48px;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #e8e8f0;
}

.news-item:first-child {
  padding-top: 0;
}

.news-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.news-title a {
  color: #1a1a2e;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: #e94560;
}

.news-summary {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.6;
  margin-bottom: 8px;
}

.news-source {
  font-size: 13px;
  color: #9a9aac;
  margin-left: 12px;
}

.list-more {
  text-align: center;
  margin-top: 24px;
}

.list-more a {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid #16213e;
  border-radius: 6px;
  font-size: 14px;
  color: #16213e;
  transition: background 0.2s ease, color 0.2s ease;
}

.list-more a:hover {
  background: #16213e;
  color: #ffffff;
}

/* 焦点报道 */
.home-focus {
  margin-bottom: 48px;
}

.focus-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 24px;
}

.focus-media {
  border-radius: 6px;
  height: 220px;
}

.focus-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.focus-title a {
  color: #1a1a2e;
}

.focus-title a:hover {
  color: #e94560;
}

.focus-summary {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
  margin-bottom: 16px;
}

.focus-link {
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
}

/* 首页频道 */
.home-channels {
  margin-bottom: 48px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.channel-card {
  padding: 24px;
  display: block;
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f0f0f5;
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 12px;
}

.channel-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.channel-desc {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.5;
  margin: 0;
}

/* 首页侧栏 */
.home-sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.sidebar-block {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f5;
}

.topic-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.topic-card:last-child {
  margin-bottom: 0;
}

.topic-card img {
  width: 100px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
}

.topic-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.topic-title a {
  color: #1a1a2e;
}

.topic-title a:hover {
  color: #e94560;
}

.topic-desc {
  font-size: 13px;
  color: #7a7a8e;
  line-height: 1.5;
  margin: 0;
}

.pick-item {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f5;
}

.pick-item:first-child {
  padding-top: 0;
}

.pick-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pick-title {
  font-size: 15px;
  margin-bottom: 4px;
}

.pick-title a {
  color: #1a1a2e;
}

.pick-title a:hover {
  color: #e94560;
}

.pick-reason {
  font-size: 13px;
  color: #7a7a8e;
  line-height: 1.5;
  margin: 0;
}

/* 信息来源 */
.home-source {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.source-text {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
  margin-bottom: 16px;
}

.source-text a {
  color: #e94560;
  font-weight: 600;
}

.feedback-link {
  display: inline-block;
  padding: 10px 24px;
  background: #16213e;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.feedback-link:hover {
  background: #e94560;
  color: #ffffff;
}

/* ==========================================================================
   pages / 频道分类页
   ========================================================================== */

.channels-section {
  margin-bottom: 48px;
}

.channels-section .channel-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.channels-section .channel-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 0;
  overflow: hidden;
}

.channel-media {
  height: 140px;
}

.channel-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.channel-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #5a5a6e;
  margin-bottom: 12px;
}

.channel-link {
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
}

.channel-notes {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.notes-intro {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
  margin-bottom: 12px;
}

.notes-more {
  font-size: 14px;
  color: #7a7a8e;
  line-height: 1.6;
  margin-bottom: 20px;
}

.notes-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notes-links a {
  display: inline-block;
  padding: 8px 20px;
  background: #f0f0f5;
  border-radius: 6px;
  font-size: 14px;
  color: #16213e;
  transition: background 0.2s ease, color 0.2s ease;
}

.notes-links a:hover {
  background: #e94560;
  color: #ffffff;
}

/* ==========================================================================
   pages / 内容专题页
   ========================================================================== */

.topic-section {
  margin-bottom: 48px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  overflow: hidden;
}

.topic-media {
  height: 160px;
}

.topic-content {
  padding: 20px;
}

.topic-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.topic-title a {
  color: #1a1a2e;
}

.topic-title a:hover {
  color: #e94560;
}

.topic-summary {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.6;
  margin-bottom: 12px;
}

.topic-link {
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
}

.topic-summary-section {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 48px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.summary-intro {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
  margin-bottom: 20px;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.summary-item {
  padding: 20px;
  background: #f8f8fa;
  border-radius: 6px;
  border-left: 3px solid #e94560;
}

.summary-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.summary-text {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.6;
  margin: 0;
}

.related-links {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-link {
  display: inline-block;
  padding: 8px 20px;
  background: #f0f0f5;
  border-radius: 6px;
  font-size: 14px;
  color: #16213e;
  transition: background 0.2s ease, color 0.2s ease;
}

.related-link:hover {
  background: #e94560;
  color: #ffffff;
}

/* ==========================================================================
   pages / 事件时间线页
   ========================================================================== */

.timeline-module {
  margin-bottom: 48px;
}

.timeline-list {
  position: relative;
  padding-left: 32px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #e2e2ea;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e94560;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #e94560;
}

.timeline-node {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.timeline-date {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #e94560;
  background: #fdf0f2;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.timeline-node-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.timeline-node-title a {
  color: #1a1a2e;
}

.timeline-node-title a:hover {
  color: #e94560;
}

.timeline-node-desc {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.6;
  margin-bottom: 10px;
}

.timeline-link {
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
}

.timeline-notes {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.notes-content p {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
}

.timeline-media {
  border-radius: 8px;
  height: 240px;
  margin-bottom: 32px;
}

.timeline-media figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #8a8a9a;
  background: #f5f5f7;
}

.timeline-related {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.related-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.related-links li {
  margin-bottom: 10px;
}

.related-links a {
  font-size: 14px;
  color: #16213e;
  transition: color 0.2s ease;
}

.related-links a:hover {
  color: #e94560;
}

/* ==========================================================================
   pages / 深度解读页
   ========================================================================== */

.interpretation-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.main-content .page-header {
  margin-bottom: 24px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
  transition: box-shadow 0.2s ease;
}

.article-item:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.12);
}

.article-thumb {
  height: 110px;
  border-radius: 4px;
}

.article-body {
  min-width: 0;
}

.article-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.article-title a {
  color: #1a1a2e;
}

.article-title a:hover {
  color: #e94560;
}

.article-excerpt {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.6;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 13px;
  color: #9a9aac;
  margin-bottom: 8px;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
  color: #e94560;
}

.sidebar-content {
  min-width: 0;
}

.analysis-method {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.analysis-method h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.analysis-method p {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.7;
}

.analysis-method strong {
  color: #1a1a2e;
  font-weight: 600;
}

.related-topics {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.related-topics h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.topic-links li {
  margin-bottom: 10px;
}

.topic-links a {
  font-size: 14px;
  color: #16213e;
  transition: color 0.2s ease;
}

.topic-links a:hover {
  color: #e94560;
}

.related-links {
  margin-top: 32px;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-right: 16px;
}

.related-links-item {
  font-size: 14px;
  color: #16213e;
  margin-right: 16px;
  transition: color 0.2s ease;
}

.related-links-item:hover {
  color: #e94560;
}

/* ==========================================================================
   pages / 常见问题页
   ========================================================================== */

.faq-section {
  margin-bottom: 48px;
}

.content-media-inline {
  border-radius: 8px;
  height: 200px;
  margin-bottom: 24px;
}

.content-media-inline figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #8a8a9a;
  background: #f5f5f7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #e94560;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question {
  background: #f8f8fa;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid #f0f0f5;
}

.faq-answer p {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
  margin: 16px 0 0;
}

.feedback-section {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.feedback-content p {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
}

.feedback-list {
  margin: 16px 0;
  padding-left: 20px;
  list-style: disc;
}

.feedback-list li {
  font-size: 14px;
  color: #5a5a6e;
  line-height: 1.7;
  margin-bottom: 6px;
}

.feedback-content a {
  color: #e94560;
  font-weight: 600;
  margin-right: 16px;
}

/* ==========================================================================
   pages / 404 错误页
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  background: #ffffff;
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.08);
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #e94560;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5a5a6e;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.error-link {
  display: inline-block;
  padding: 10px 24px;
  background: #f0f0f5;
  border-radius: 6px;
  font-size: 14px;
  color: #16213e;
  transition: background 0.2s ease, color 0.2s ease;
}

.error-link:hover {
  background: #e94560;
  color: #ffffff;
}

/* ==========================================================================
   responsive / 响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-shell {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interpretation-layout {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hero-media {
    height: 200px;
  }

  .channel-entry {
    grid-column: 1;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-sidebar {
    grid-template-columns: 1fr;
  }

  .focus-card {
    grid-template-columns: 1fr;
  }

  .channels-section .channel-grid {
    grid-template-columns: 1fr;
  }

  .channels-section .channel-card {
    grid-template-columns: 140px 1fr;
  }

  .interpretation-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .analysis-method {
    margin-bottom: 0;
  }

  .summary-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .inner-main {
    padding: 24px 16px 40px;
  }

  .home-main {
    padding: 24px 16px 40px;
  }

  .header-shell {
    padding: 12px 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .search-placeholder {
    width: 110px;
  }

  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channels-section .channel-card {
    grid-template-columns: 1fr;
  }

  .channel-media {
    height: 160px;
  }

  .channel-body {
    padding: 16px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .article-item {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    height: 160px;
  }

  .sidebar-content {
    grid-template-columns: 1fr;
  }

  .timeline-list {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -22px;
  }

  .timeline-node {
    padding: 18px;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 16px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .search-placeholder {
    width: 90px;
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }

  .focus-card {
    padding: 16px;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-card img {
    width: 100%;
    height: 120px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-link {
    width: 100%;
    text-align: center;
  }
}
