/* ============================================================
   BASE — 全局基础样式
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1f1f1f;
  background-color: #f7f7f4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2a6f97;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #d8432e;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #1f1f1f;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

strong {
  font-weight: 700;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   LAYOUT — 全站统一骨架
   ============================================================ */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5dc;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 0.01em;
}

.brand-name::first-letter {
  color: #d8432e;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #1f1f1f;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
  color: #d8432e;
  background-color: #f7f7f4;
}

.nav-list a.is-current {
  color: #d8432e;
  font-weight: 700;
}

.nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: #d8432e;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1f1f1f;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.site-footer {
  background-color: #1f1f1f;
  color: #c9c9c2;
  margin-top: auto;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: #c9c9c2;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-nav h3,
.footer-aux h3 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-nav ul,
.footer-aux ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-aux a {
  font-size: 14px;
  color: #c9c9c2;
}

.footer-nav a:hover,
.footer-aux a:hover {
  color: #ffffff;
}

.footer-copyright {
  grid-column: 1 / -1;
  border-top: 1px solid #3a3a3a;
  padding-top: 20px;
  margin-top: 8px;
}

.footer-copyright p {
  font-size: 13px;
  color: #8c8c86;
  margin-bottom: 0;
}

/* ============================================================
   COMPONENTS — 通用组件
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #2a6f97;
}

.breadcrumb a:hover {
  color: #d8432e;
}

.breadcrumb-sep {
  color: #b0b0aa;
}

.breadcrumb-current {
  color: #6c757d;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5dc;
}

.page-title-wrap,
.page-header-text,
.header-copy {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-intro,
.page-lead {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.8;
  max-width: 640px;
}

.page-header-media,
.header-media {
  flex-shrink: 0;
  width: 280px;
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0f0ea;
  border: 1px solid #e5e5dc;
}

.page-header-media img,
.header-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-media figcaption {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #d8432e;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #c23a26;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #2a6f97;
  color: #2a6f97;
}

.btn-secondary:hover {
  background-color: #2a6f97;
  color: #ffffff;
}

.source-note {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e5dc;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.7;
  max-width: 640px;
}

/* 卡片通用 */
.topic-card,
.topic-feature-card,
.related-card,
.aside-card,
.sidebar-card,
.plan-card,
.update-type-card {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
}

/* ============================================================
   PAGES — 首页
   ============================================================ */
.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ---- 首屏编辑摘要 ---- */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 48px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #d8432e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-data-card {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.hero-figure {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f0f0ea;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 8px 0;
}

.data-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0ea;
}

.data-item:nth-child(odd) {
  border-right: 1px solid #f0f0ea;
}

.data-item:nth-child(n+3) {
  border-bottom: none;
}

.data-item dt {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 4px;
}

.data-item dd {
  font-size: 24px;
  font-weight: 700;
  color: #1f1f1f;
  font-variant-numeric: tabular-nums;
}

/* ---- 题材索引 ---- */
.section-topic-index {
  padding: 56px 0;
  border-top: 1px solid #e5e5dc;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background-color: #f0f0ea;
}

.topic-card h3 {
  font-size: 18px;
  margin: 16px 20px 8px;
}

.topic-card p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin: 0 20px 12px;
  flex: 1;
}

.topic-card a {
  display: inline-block;
  margin: 0 20px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #2a6f97;
}

.topic-card a:hover {
  color: #d8432e;
}

/* ---- 栏目动态速览 ---- */
.section-updates-preview {
  padding: 56px 0;
  border-top: 1px solid #e5e5dc;
}

.timeline-list {
  position: relative;
  padding-left: 0;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: #e5e5dc;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #2a6f97;
}

.version-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #2a6f97;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.update-type {
  display: inline-block;
  font-size: 12px;
  color: #6c757d;
  background-color: #f0f0ea;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 8px;
}

.timeline-item a {
  font-size: 14px;
  font-weight: 600;
}

/* ---- 近期专题选荐 ---- */
.section-featured-topics {
  padding: 56px 0;
  border-top: 1px solid #e5e5dc;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-feature-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.topic-feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.topic-feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.topic-feature-card p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  flex: 1;
}

.topic-feature-card .source-note {
  font-size: 12px;
  color: #8c8c86;
  border-top: 1px solid #f0f0ea;
  margin-top: 16px;
  padding-top: 10px;
}

.topic-feature-card a {
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}

/* ---- 内容构成数据面板 ---- */
.section-content-panel {
  padding: 56px 0;
  border-top: 1px solid #e5e5dc;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 28px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  align-items: center;
  gap: 16px;
}

.bar-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
  text-align: right;
}

.bar-track {
  display: block;
  height: 12px;
  background-color: #f0f0ea;
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  background-color: #2a6f97;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.bar-row:hover .bar-fill {
  background-color: #d8432e;
}

.bar-fill-wide {
  width: 92%;
}

.bar-fill-half {
  width: 50%;
}

.bar-fill-medium {
  width: 68%;
}

.bar-fill-mid {
  width: 58%;
}

.bar-fill-short {
  width: 38%;
}

.bar-value {
  font-size: 14px;
  font-weight: 700;
  color: #1f1f1f;
  font-variant-numeric: tabular-nums;
}

/* ---- 下一步行动 ---- */
.section-next-steps {
  padding: 56px 0;
  border-top: 1px solid #e5e5dc;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step-counter;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  counter-increment: step-counter;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #d8432e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.step-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-item a {
  font-size: 14px;
  font-weight: 600;
}

/* ---- 站点边界摘要 ---- */
.section-site-boundary {
  padding: 56px 0;
  border-top: 1px solid #e5e5dc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.boundary-copy h2 {
  margin-bottom: 16px;
}

.boundary-copy blockquote {
  border-left: 3px solid #d8432e;
  padding-left: 20px;
  margin: 20px 0;
}

.boundary-copy blockquote p {
  font-size: 17px;
  color: #1f1f1f;
  font-style: italic;
  line-height: 1.8;
}

.boundary-copy a {
  font-size: 14px;
  font-weight: 600;
}

.boundary-links h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.boundary-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boundary-links a {
  font-size: 15px;
}

/* ============================================================
   PAGES — 最新动态
   ============================================================ */
.page-updates .page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
}

.updates-timeline h2 {
  margin-bottom: 8px;
}

.section-lead {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 28px;
}

.timeline-entry {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.entry-version {
  font-size: 13px;
  font-weight: 700;
  color: #2a6f97;
  font-variant-numeric: tabular-nums;
  background-color: #f0f7fb;
  padding: 3px 10px;
  border-radius: 3px;
}

.entry-head h3 {
  font-size: 17px;
  flex: 1;
  min-width: 0;
}

.entry-tag {
  font-size: 12px;
  color: #6c757d;
  background-color: #f0f0ea;
  padding: 2px 8px;
  border-radius: 3px;
}

.tag-index {
  color: #2a6f97;
  background-color: #f0f7fb;
}

.tag-topic {
  color: #d8432e;
  background-color: #fdf0ee;
}

.tag-guide {
  color: #6c757d;
  background-color: #f0f0ea;
}

.tag-launch {
  color: #2a6f97;
  background-color: #f0f7fb;
}

.tag-archive {
  color: #6c757d;
  background-color: #f0f0ea;
}

.timeline-entry p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 10px;
}

.timeline-entry > a {
  font-size: 14px;
  font-weight: 600;
}

/* 侧栏 */
.update-type-card,
.update-summary,
.aside-links {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}

.update-type-card h2,
.update-summary h2,
.aside-links h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0ea;
}

.type-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.type-item {
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0ea;
}

.type-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.type-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.type-item p {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 4px;
}

.type-count {
  font-size: 13px;
  font-weight: 700;
  color: #d8432e;
  font-variant-numeric: tabular-nums;
}

.update-summary p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
}

.aside-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-links a {
  font-size: 14px;
}

/* ============================================================
   PAGES — 近期专题
   ============================================================ */
.page-topics .topics-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.topics-main {
  min-width: 0;
}

.topics-aside {
  min-width: 0;
}

.topic-article {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.topic-article h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0ea;
}

.topic-conclusion {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 14px 18px;
  background-color: #f7f7f4;
  border-left: 3px solid #d8432e;
  border-radius: 0 4px 4px 0;
}

.topic-conclusion strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.topic-body p {
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.85;
  margin-bottom: 14px;
}

.topic-source {
  font-size: 13px;
  color: #8c8c86;
  line-height: 1.6;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #f0f0ea;
}

.topic-next {
  margin-top: 12px;
}

.topic-next a {
  font-size: 14px;
  font-weight: 600;
}

/* 专题侧栏 */
.related-card {
  padding: 24px;
  margin-bottom: 20px;
}

.related-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0ea;
}

.related-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card a {
  font-size: 14px;
}

/* 底部相关链接 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding: 20px 24px;
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
}

.related-links-item {
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   PAGES — 历史归档
   ============================================================ */
.archive-intro {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.archive-intro h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.archive-intro p {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 0;
}

.archive-jump {
  margin-bottom: 28px;
}

.archive-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-jump a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 6px;
  color: #2a6f97;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.archive-jump a:hover {
  border-color: #2a6f97;
  background-color: #f0f7fb;
  color: #2a6f97;
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.archive-main {
  min-width: 0;
}

.archive-aside {
  min-width: 0;
}

.archive-group {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  scroll-margin-top: 80px;
}

.archive-group h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.archive-group > p {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
}

.archive-group table {
  width: 100%;
  font-size: 14px;
}

.archive-group th {
  text-align: left;
  font-weight: 600;
  color: #1f1f1f;
  background-color: #f7f7f4;
  padding: 12px 14px;
  border-bottom: 2px solid #e5e5dc;
  white-space: nowrap;
}

.archive-group td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0ea;
  color: #3f3f3f;
  vertical-align: top;
}

.archive-group tr:last-child td {
  border-bottom: none;
}

.table-note {
  font-size: 13px;
  color: #8c8c86;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid #f0f0ea;
}

/* 归档侧栏 */
.aside-card {
  padding: 24px;
  margin-bottom: 20px;
}

.aside-card h2 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0ea;
}

.aside-card p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
}

.aside-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-card li {
  font-size: 14px;
  color: #3f3f3f;
  line-height: 1.6;
}

.aside-card strong {
  color: #1f1f1f;
}

/* ============================================================
   PAGES — 未来计划
   ============================================================ */
.plan-overview {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
}

.plan-overview h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.plan-overview p {
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.8;
  margin-bottom: 0;
}

.plan-section {
  margin-bottom: 36px;
}

.plan-section > h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.plan-section > p {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
}

.plan-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.plan-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.plan-card p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  flex: 1;
}

.plan-status {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #2a6f97;
  background-color: #f0f7fb;
  padding: 4px 10px;
  border-radius: 3px;
  margin-top: 14px;
  align-self: flex-start;
}

.plan-table-wrap {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 24px;
  overflow-x: auto;
}

.plan-table {
  width: 100%;
  font-size: 14px;
}

.plan-table th {
  text-align: left;
  font-weight: 600;
  color: #1f1f1f;
  background-color: #f7f7f4;
  padding: 12px 14px;
  border-bottom: 2px solid #e5e5dc;
  white-space: nowrap;
}

.plan-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0ea;
  color: #3f3f3f;
}

.plan-table tr:last-child td {
  border-bottom: none;
}

.plan-upgrade-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-upgrade-list li {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.7;
}

.plan-next {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 28px;
  margin-top: 36px;
}

.plan-next h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.plan-next > p {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 20px;
}

.plan-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.plan-next-links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  background-color: #f7f7f4;
  border: 1px solid #e5e5dc;
  border-radius: 6px;
  color: #2a6f97;
}

.plan-next-links a:hover {
  border-color: #2a6f97;
  background-color: #f0f7fb;
}

/* ============================================================
   PAGES — 阅读指南
   ============================================================ */
.page-guide .layout-shell {
  max-width: 1200px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
}

.guide-content {
  min-width: 0;
}

.guide-toc {
  min-width: 0;
}

.toc-sticky {
  position: sticky;
  top: 88px;
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 24px;
}

.toc-sticky h2 {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0ea;
}

.toc-sticky ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-sticky a {
  display: block;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  color: #3f3f3f;
}

.toc-sticky a:hover {
  background-color: #f7f7f4;
  color: #d8432e;
}

.guide-section {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  scroll-margin-top: 80px;
}

.guide-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0ea;
}

.guide-section p {
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.8;
  margin-bottom: 16px;
}

.guide-section p strong {
  display: block;
  font-size: 15px;
  color: #1f1f1f;
  margin-bottom: 4px;
}

.step-list {
  counter-reset: guide-step;
  margin: 16px 0 20px;
}

.step-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.8;
  counter-increment: guide-step;
}

.step-list li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #2a6f97;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.plain-list {
  margin: 12px 0 16px;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.7;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d8432e;
}

.guide-section > a {
  font-size: 14px;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  border: 1px solid #e5e5dc;
  border-radius: 6px;
  background-color: #fafaf8;
  overflow: hidden;
}

.faq-list summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #2a6f97;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 18px 14px;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 引导出口 */
.guide-exit {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 28px;
}

.guide-exit h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.guide-exit p {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 20px;
}

.exit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.exit-links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  background-color: #f7f7f4;
  border: 1px solid #e5e5dc;
  border-radius: 6px;
  color: #2a6f97;
}

.exit-links a:hover {
  border-color: #2a6f97;
  background-color: #f0f7fb;
}

/* ============================================================
   PAGES — 站点说明
   ============================================================ */
.page-about .content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.sidebar {
  min-width: 0;
}

.about-section {
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 20px;
}

.about-section h2 {
  font-size: 20px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0ea;
}

.about-section p {
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.scope-list,
.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-list li,
.boundary-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #3f3f3f;
  line-height: 1.7;
}

.scope-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2a6f97;
  font-weight: 700;
}

.boundary-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #d8432e;
  font-weight: 700;
}

.terms-table-wrap {
  overflow-x: auto;
}

.terms-table {
  width: 100%;
  font-size: 14px;
}

.terms-table th {
  text-align: left;
  font-weight: 600;
  color: #1f1f1f;
  background-color: #f7f7f4;
  padding: 12px 14px;
  border-bottom: 2px solid #e5e5dc;
}

.terms-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0ea;
  color: #3f3f3f;
  line-height: 1.6;
}

.terms-table tr:last-child td {
  border-bottom: none;
}

/* 站点说明侧栏 */
.sidebar-card {
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0ea;
}

.sidebar-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-card a {
  font-size: 14px;
}

/* 相关链接网格 */
.related-links {
  margin-top: 8px;
}

.related-links h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-grid .related-card {
  padding: 20px;
  margin-bottom: 0;
}

.related-grid .related-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}

.related-grid .related-card p {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   PAGES — 404
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  max-width: 520px;
  background-color: #ffffff;
  border: 1px solid #e5e5dc;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #d8432e;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.error-section h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 15px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-action {
  display: inline-block;
  background-color: #d8432e;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.error-action:hover {
  background-color: #c23a26;
  color: #ffffff;
}

.error-help {
  font-size: 14px;
  color: #6c757d;
}

.error-help a {
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE — 响应式
   ============================================================ */

/* ---- 1024px 双栏断点 ---- */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr 0.9fr;
    gap: 32px;
    padding: 40px 0;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .step-item {
    padding: 20px;
  }

  .page-updates .page-layout,
  .page-topics .topics-layout,
  .archive-layout,
  .page-about .content-with-sidebar {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }

  .guide-layout {
    grid-template-columns: 1fr 220px;
    gap: 32px;
  }

  .page-header-media,
  .header-media {
    width: 220px;
    height: 140px;
  }

  .plan-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 768px 移动断点 ---- */
@media (max-width: 768px) {
  .header-shell {
    height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5dc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: block;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid #f0f0ea;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 14px 8px;
    font-size: 16px;
    border-radius: 0;
  }

  .nav-list a.is-current::after {
    display: none;
  }

  .nav-list a.is-current {
    background-color: #fdf0ee;
    color: #d8432e;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .inner-main {
    padding: 24px 16px 48px;
  }

  .home-main {
    padding: 0 16px 48px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-copyright {
    grid-column: 1;
  }

  /* 首页 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 40px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-data-card {
    order: 2;
  }

  .hero-figure {
    height: 180px;
  }

  .section-topic-index,
  .section-updates-preview,
  .section-featured-topics,
  .section-content-panel,
  .section-next-steps,
  .section-site-boundary {
    padding: 40px 0;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-card img {
    height: 180px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-site-boundary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bar-row {
    grid-template-columns: 80px 1fr 36px;
    gap: 10px;
  }

  .bar-label {
    font-size: 13px;
    text-align: left;
  }

  .bar-chart {
    padding: 20px;
  }

  /* 内页标题区 */
  .page-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
  }

  .page-header-media,
  .header-media {
    width: 100%;
    height: 180px;
  }

  .page-title {
    font-size: 28px;
  }

  .breadcrumb {
    margin-bottom: 16px;
  }

  /* 最新动态 */
  .page-updates .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .layout-aside {
    order: 1;
  }

  .layout-main {
    order: 2;
  }

  .timeline-entry {
    padding: 20px;
  }

  .entry-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .entry-head h3 {
    font-size: 16px;
  }

  /* 近期专题 */
  .page-topics .topics-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .topics-aside {
    order: 1;
  }

  .topics-main {
    order: 2;
  }

  .topic-article {
    padding: 24px 20px;
  }

  .topic-article h2 {
    font-size: 20px;
  }

  .topic-conclusion {
    padding: 12px 14px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }

  /* 历史归档 */
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-aside {
    order: 1;
  }

  .archive-main {
    order: 2;
  }

  .archive-group {
    padding: 20px;
  }

  .archive-jump ul {
    flex-direction: column;
    gap: 8px;
  }

  .archive-jump a {
    text-align: center;
  }

  .archive-group table {
    font-size: 13px;
  }

  .archive-group th,
  .archive-group td {
    padding: 10px 8px;
  }

  /* 未来计划 */
  .plan-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-overview,
  .plan-next {
    padding: 20px;
  }

  .plan-table-wrap {
    padding: 16px;
  }

  .plan-next-links {
    flex-direction: column;
  }

  .plan-next-links a {
    text-align: center;
  }

  /* 阅读指南 */
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-toc {
    order: 2;
  }

  .guide-content {
    order: 1;
  }

  .toc-sticky {
    position: static;
    padding: 20px;
  }

  .toc-sticky ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .toc-sticky a {
    padding: 6px 12px;
    background-color: #f7f7f4;
    border-radius: 4px;
  }

  .guide-section {
    padding: 24px 20px;
  }

  .guide-section h2 {
    font-size: 20px;
  }

  .exit-links {
    flex-direction: column;
  }

  .exit-links a {
    text-align: center;
  }

  /* 站点说明 */
  .page-about .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar {
    order: 2;
  }

  .main-content {
    order: 1;
  }

  .about-section {
    padding: 20px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-section {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 56px;
  }
}

/* ---- 390px 小屏微调 ---- */
@media (max-width: 390px) {
  .header-shell {
    padding: 0 12px;
  }

  .home-main,
  .inner-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bar-label {
    text-align: left;
  }

  .data-item {
    padding: 14px 16px;
  }

  .topic-card img {
    height: 160px;
  }

  .page-header-media,
  .header-media {
    height: 160px;
  }

  .timeline-entry,
  .topic-article,
  .guide-section {
    padding: 18px 14px;
  }
}
