/* ==========================================================================
   base
   ========================================================================== */

:root {
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #0f3460;
  --color-highlight: #e94560;
  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --font-heading: "Source Han Sans CN", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Source Han Sans CN", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition-base: 0.25s ease;
  --header-height: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-highlight);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.4;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

time {
  color: var(--color-text-light);
  font-size: 14px;
}

figure {
  margin: 0;
}

/* ==========================================================================
   layout
   ========================================================================== */

.header-shell,
.footer-shell,
.layout-shell,
.site-main,
.main-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- header ---------- */

.site-header {
  background-color: var(--color-primary);
  border-bottom: 3px solid var(--color-highlight);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--color-white);
}

.brand-link:hover {
  color: var(--color-white);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 8px;
}

.nav-list li {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.nav-link:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.is-current {
  color: var(--color-white);
  background-color: var(--color-highlight);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ---------- footer ---------- */

.site-footer {
  background-color: var(--color-secondary);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 80px;
}

.footer-shell {
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-site-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-group h4 {
  color: var(--color-white);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-group li {
  margin-bottom: 10px;
}

.footer-group a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-group a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 内页三栏布局 ---------- */

.layout-shell.sidebar-left {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 240px;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: start;
}

.layout-shell.sidebar-left .sidebar-left-panel,
.layout-shell.sidebar-left .sidebar-panel,
.layout-shell.sidebar-left .sidebar {
  min-width: 0;
}

.layout-shell.sidebar-left .site-main.inner-main {
  min-width: 0;
  grid-column: 2;
}

.layout-shell.sidebar-left .sidebar-right-panel,
.layout-shell.sidebar-left .related-panel,
.layout-shell.sidebar-left .sidebar-right {
  grid-column: 3;
}

.layout-shell.sidebar-left .sidebar-left-panel,
.layout-shell.sidebar-left .guide-toc-panel {
  grid-column: 1;
}

/* special 页特有：sidebar 在 main-content 内部 */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: start;
}

.page-layout.sidebar-left .sidebar-special-index {
  grid-column: 1;
}

.page-layout.sidebar-left .main-content {
  grid-column: 2;
  min-width: 0;
}

.page-layout.sidebar-left .sidebar-related {
  grid-column: 3;
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  padding: 16px 0 8px;
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb a:hover {
  color: var(--color-highlight);
}

.breadcrumb-sep {
  color: #ccc;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* ---------- 页面标题区 ---------- */

.page-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.7;
}

/* ---------- 侧栏 ---------- */

.sidebar-inner {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-highlight);
}

.sidebar-list li,
.toc-list li,
.related-list li {
  margin-bottom: 12px;
}

.sidebar-list a,
.toc-list a,
.related-list a {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
  display: inline-block;
}

.sidebar-list a:hover,
.toc-list a:hover,
.related-list a:hover {
  color: var(--color-highlight);
}

/* ---------- 首页 main ---------- */

.site-main.home-main {
  padding-top: 0;
  padding-bottom: 0;
}

/* ==========================================================================
   components
   ========================================================================== */

/* ---------- hero ---------- */

.hero {
  position: relative;
  background-color: var(--color-secondary);
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 64px;
}

.hero-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 48px 40px;
  color: var(--color-white);
}

.hero-content h1 {
  font-size: 36px;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-summary {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--color-highlight);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.hero-link:hover {
  background-color: #d6384f;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ---------- 首页通用 section ---------- */

.home-main section {
  margin-bottom: 64px;
}

.home-main section h2 {
  font-size: 26px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.home-main section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: var(--color-highlight);
  border-radius: 2px;
}

.section-intro {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 680px;
}

/* ---------- 焦点报道 ---------- */

.focus-report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.focus-report-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.focus-report-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.focus-report-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.focus-report-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.focus-report-card:hover .focus-report-media img {
  transform: scale(1.03);
}

.focus-report-body {
  padding: 24px;
}

.focus-report-body h3 {
  margin-bottom: 10px;
}

.focus-report-body h3 a {
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.5;
}

.focus-report-body h3 a:hover {
  color: var(--color-highlight);
}

.focus-report-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ---------- 频道导航 ---------- */

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tags a {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.channel-tags a:hover {
  border-color: var(--color-highlight);
  color: var(--color-highlight);
  background-color: rgba(233, 69, 96, 0.05);
}

/* ---------- 最新资讯 ---------- */

.news-list {
  border-top: 1px solid var(--color-border);
}

.news-item {
  border-bottom: 1px solid var(--color-border);
}

.news-card {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.news-card h3 {
  margin-bottom: 8px;
}

.news-card h3 a {
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1.5;
}

.news-card h3 a:hover {
  color: var(--color-highlight);
}

.news-summary {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  grid-column: 1 / -1;
}

.news-card time {
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- 专题推荐 ---------- */

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.special-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.special-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.special-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.special-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-body {
  padding: 24px;
}

.special-body h3 {
  margin-bottom: 10px;
}

.special-body h3 a {
  color: var(--color-primary);
  font-size: 18px;
}

.special-body h3 a:hover {
  color: var(--color-highlight);
}

.special-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- 编辑推荐 ---------- */

.pick-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pick-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-highlight);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: box-shadow var(--transition-base);
}

.pick-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pick-card h3 {
  margin-bottom: 12px;
}

.pick-card h3 a {
  color: var(--color-primary);
  font-size: 16px;
}

.pick-card h3 a:hover {
  color: var(--color-highlight);
}

.pick-reason {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- 信息来源与反馈 ---------- */

.source-feedback {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.source-feedback h2 {
  margin-bottom: 12px;
}

.source-feedback p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ---------- 频道分类页 ---------- */

.channel-index {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.channel-index h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-highlight);
}

.channel-index li {
  margin-bottom: 12px;
}

.channel-index a {
  font-size: 14px;
  color: var(--color-text);
}

.channel-index a:hover {
  color: var(--color-highlight);
}

.channel-list {
  display: grid;
  gap: 24px;
}

.channel-list > h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.channel-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: box-shadow var(--transition-base);
}

.channel-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.channel-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.channel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.channel-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.channel-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.channel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-highlight);
  width: fit-content;
}

.channel-link:hover {
  text-decoration: underline;
}

.channel-overview {
  margin-top: 40px;
}

.channel-overview h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.channel-overview p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ---------- 最新动态（channel 右侧） ---------- */

.latest-dynamics {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.latest-dynamics h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-highlight);
}

.latest-dynamics li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.latest-dynamics li:last-child {
  border-bottom: none;
}

.latest-dynamics a {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 4px;
}

.latest-dynamics a:hover {
  color: var(--color-highlight);
}

.latest-dynamics time {
  font-size: 12px;
}

/* ---------- 专题页 ---------- */

.special-intro {
  margin-bottom: 48px;
}

.special-intro .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.special-intro p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.intro-figure {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.intro-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.intro-figure figcaption {
  font-size: 13px;
  color: var(--color-text-light);
  padding: 12px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.special-list {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

.special-list > .section-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.special-list .special-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 24px;
}

.special-list .card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.special-list .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-list .card-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.special-list .card-title a {
  color: var(--color-primary);
}

.special-list .card-title a:hover {
  color: var(--color-highlight);
}

.special-list .card-excerpt {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.special-list .card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-highlight);
}

.special-list .card-link:hover {
  text-decoration: underline;
}

/* ---------- 时间线 ---------- */

.special-timeline {
  margin-bottom: 48px;
}

.special-timeline .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.timeline-intro {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.timeline-list {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-highlight);
}

.timeline-item time {
  display: block;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.timeline-note {
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 16px;
}

/* ---------- 关键资料 ---------- */

.special-resources {
  margin-bottom: 48px;
}

.special-resources .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.resource-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.resource-item h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.resource-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.resource-more {
  font-size: 14px;
}

.resource-more a {
  color: var(--color-highlight);
  font-weight: 600;
}

/* ---------- 延伸阅读 ---------- */

.special-extended {
  margin-bottom: 32px;
}

.special-extended .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.special-extended > p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.extended-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.extended-list li {
  position: relative;
  padding-left: 16px;
}

.extended-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-highlight);
  font-weight: 700;
}

.extended-list a {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.extended-list a:hover {
  color: var(--color-highlight);
}

.extended-note {
  font-size: 13px;
  color: var(--color-text-light);
}

/* ---------- 指南页 ---------- */

.guide-section {
  margin-bottom: 48px;
}

.guide-section .section-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.guide-step-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.guide-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.guide-step .step-title {
  grid-column: 2;
}

.step-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  grid-column: 2;
}

.guide-step::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 18px;
  border-radius: var(--radius-sm);
  grid-row: 1 / span 2;
}

.guide-figure {
  margin: 24px 0;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.guide-figure figcaption {
  font-size: 13px;
  color: var(--color-text-light);
  padding: 10px 4px;
}

.guide-tip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.guide-tip {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-highlight);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.tip-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.tip-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.section-note {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.section-note a {
  color: var(--color-highlight);
  font-weight: 600;
}

/* ---------- 深度解读页 ---------- */

.content-block {
  margin-bottom: 48px;
}

.content-block h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.content-block h3 {
  font-size: 17px;
  margin: 24px 0 12px;
  color: var(--color-accent);
}

.content-block p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.article-figure {
  margin: 24px 0;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.reading-list {
  margin: 16px 0;
}

.reading-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.reading-list li:last-child {
  border-bottom: none;
}

.reading-list a {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  display: inline-block;
}

.reading-list a:hover {
  color: var(--color-highlight);
}

/* ---------- 404 页 ---------- */

.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-section {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: var(--color-highlight);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.error-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base);
}

.error-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   pages（仅页面内部业务模块差异化）
   ========================================================================== */

/* ---------- index ---------- */

.site-home .hero {
  background-color: var(--color-secondary);
}

/* ---------- channel ---------- */

.page-channel .channel-card:nth-child(odd) {
  border-left: 4px solid var(--color-accent);
}

.page-channel .channel-card:nth-child(even) {
  border-left: 4px solid var(--color-highlight);
}

/* ---------- special ---------- */

.page-special .special-card:nth-child(2) .card-media {
  order: 2;
}

/* ---------- guide ---------- */

.page-guide .guide-step:nth-child(even)::before {
  background-color: var(--color-highlight);
}

/* ---------- insight ---------- */

.page-insight .content-block:first-of-type p:first-of-type::first-letter {
  font-size: 20px;
  font-weight: 700;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .layout-shell.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .layout-shell.sidebar-left .sidebar-right-panel,
  .layout-shell.sidebar-left .related-panel,
  .layout-shell.sidebar-left .sidebar-right {
    grid-column: 2;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .page-layout.sidebar-left .sidebar-related {
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding: 32px;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .header-shell {
    height: 60px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .hero-content {
    padding: 32px 24px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .layout-shell.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
  }

  .layout-shell.sidebar-left .site-main.inner-main {
    order: 1;
    width: 100%;
  }

  .layout-shell.sidebar-left .sidebar-left-panel,
  .layout-shell.sidebar-left .guide-toc-panel {
    order: 2;
    width: 100%;
  }

  .layout-shell.sidebar-left .sidebar-right-panel,
  .layout-shell.sidebar-left .related-panel,
  .layout-shell.sidebar-left .sidebar-right {
    order: 3;
    width: 100%;
  }

  .page-layout.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
  }

  .page-layout.sidebar-left .main-content {
    order: 1;
    width: 100%;
  }

  .page-layout.sidebar-left .sidebar-special-index {
    order: 2;
    width: 100%;
  }

  .page-layout.sidebar-left .sidebar-related {
    order: 3;
    width: 100%;
  }

  .page-title {
    font-size: 24px;
  }

  .focus-report-grid,
  .special-grid {
    grid-template-columns: 1fr;
  }

  .pick-list {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .channel-card {
    grid-template-columns: 1fr;
  }

  .channel-media {
    aspect-ratio: 16 / 9;
  }

  .special-list .special-card {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .guide-tip-grid {
    grid-template-columns: 1fr;
  }

  .guide-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .guide-step::before {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card time {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .header-shell,
  .footer-shell,
  .layout-shell,
  .site-main,
  .main-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-media {
    min-height: 200px;
  }

  .hero-content {
    padding: 24px 16px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .hero-summary {
    font-size: 14px;
  }

  .hero-link {
    padding: 10px 20px;
    font-size: 14px;
  }

  .home-main section h2 {
    font-size: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tags a {
    padding: 8px 16px;
    font-size: 13px;
  }

  .special-list .special-card,
  .channel-card {
    padding: 16px;
  }

  .focus-report-body,
  .special-body,
  .pick-card {
    padding: 16px;
  }

  .resource-item,
  .guide-tip {
    padding: 16px;
  }

  .intro-figure img,
  .guide-figure img,
  .article-figure img {
    aspect-ratio: 4 / 3;
  }

  .error-code {
    font-size: 64px;
  }
}
