/* ==========================================================================
   base — 变量、重置、全局基础
   ========================================================================== */

:root {
  --color-ink: #1a1a1a;
  --color-bg: #f5f2eb;
  --color-accent: #c0392b;
  --color-deep: #2c3e50;
  --color-light: #ecf0f1;
  --color-muted: #6b6b6b;
  --color-border: #e0dcd2;
  --color-white: #ffffff;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --shell-width: 1200px;
  --header-h: 64px;
  --header-h-scrolled: 52px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-ink);
}

p {
  margin-bottom: 0.75em;
}

/* ==========================================================================
   layout — 页头、页脚、主容器、栅格
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height var(--transition);
}

.site-header.is-scrolled .header-shell {
  height: var(--header-h-scrolled);
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 13px;
  color: var(--color-muted);
  display: none;
}

@media (min-width: 768px) {
  .brand-tagline {
    display: inline;
  }
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  border-radius: var(--radius);
}

.nav-list a:hover {
  background-color: var(--color-bg);
  color: var(--color-accent);
}

.nav-list a.is-current {
  color: var(--color-accent);
  background-color: rgba(192, 57, 43, 0.08);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.site-main {
  min-height: 60vh;
}

.site-footer {
  background-color: var(--color-deep);
  color: #c8d1d9;
  margin-top: 64px;
}

.footer-shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #a8b4bd;
  max-width: 480px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.link-group h3 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 12px;
}

.link-group ul li {
  margin-bottom: 6px;
}

.link-group ul a {
  color: #a8b4bd;
  font-size: 14px;
}

.link-group ul a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: #8a98a3;
}

/* ==========================================================================
   components — 通用组件
   ========================================================================== */

.breadcrumb {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: #bbb;
}

.breadcrumb-current {
  color: var(--color-ink);
  font-weight: 500;
}

.page-header {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 24px 24px 8px;
}

.page-title {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 720px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.layout-shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 24px;
}

/* 通用双栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

/* 单栏 */
.layout-single {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 24px;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

.home-main {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-timeline {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 32px;
}

.hero-media {
  position: relative;
}

.hero-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-content h1 {
  font-size: 30px;
  line-height: 1.3;
}

.hero-summary {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
}

.timeline-item {
  background-color: var(--color-white);
  border-left: 3px solid var(--color-accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.hero-link {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 20px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
}

.hero-link:hover {
  background-color: #a93226;
  color: var(--color-white);
}

.channel-strip {
  padding: 24px 0;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-ink);
}

.tag-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: rgba(192, 57, 43, 0.04);
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  padding: 24px 0 40px;
}

.main-column {
  min-width: 0;
}

.latest-list {
  margin-bottom: 48px;
}

.list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.list-item h3 {
  font-size: 18px;
}

.list-item h3 a:hover {
  color: var(--color-accent);
}

.item-summary {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 0;
}

.item-date {
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}

.topic-cards {
  margin-bottom: 48px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.topic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 18px;
  padding: 16px 16px 8px;
}

.card-summary {
  font-size: 14px;
  color: var(--color-muted);
  padding: 0 16px 16px;
  margin-bottom: 0;
  line-height: 1.6;
}

.sidebar {
  min-width: 0;
}

.editor-picks {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.editor-picks .section-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.pick-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.pick-item:last-child {
  border-bottom: none;
}

.pick-title {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.pick-title a {
  font-family: var(--font-serif);
  font-weight: 600;
}

.pick-reason {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 0;
}

.source-note {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.source-note .section-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.source-note p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

.source-note a {
  color: var(--color-accent);
  font-weight: 500;
}

/* ==========================================================================
   pages — 频道分类
   ========================================================================== */

.channel-section {
  margin-bottom: 40px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.channel-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.channel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.channel-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-deep);
}

.channel-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.content-side {
  min-width: 0;
}

.side-panel {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.side-panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.side-panel p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.side-panel p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 内容专题
   ========================================================================== */

.topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.topic-list-section {
  margin-bottom: 40px;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topic-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.topic-item:hover {
  box-shadow: var(--shadow-md);
}

.topic-item-media {
  overflow: hidden;
}

.topic-item-media img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.topic-item-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-item-title {
  font-size: 19px;
  line-height: 1.35;
}

.topic-item-title a:hover {
  color: var(--color-accent);
}

.topic-item-summary {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.topic-item-meta {
  font-size: 13px;
  color: #999;
}

.layout-aside {
  min-width: 0;
}

.topic-summary-section {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.topic-summary-section .section-title {
  font-size: 18px;
}

.topic-summary-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.topic-summary-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-card-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.topic-summary-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.related-section {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
}

.related-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==========================================================================
   pages — 最新资讯
   ========================================================================== */

.latest-archive {
  margin-bottom: 40px;
}

.time-group {
  margin-bottom: 32px;
}

.time-group-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--color-deep);
}

.time-group-inner {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.time-group-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.post-thumb {
  overflow: hidden;
  border-radius: var(--radius);
}

.post-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.post-body {
  min-width: 0;
}

.post-title {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.post-title a:hover {
  color: var(--color-accent);
}

.post-excerpt {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.archive-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.archive-links p {
  font-size: 14px;
  color: var(--color-muted);
}

.archive-links a {
  color: var(--color-accent);
  margin-right: 16px;
  font-weight: 500;
}

.archive-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   pages — 排行
   ========================================================================== */

.ranking-main {
  min-width: 0;
}

.ranking-section {
  margin-bottom: 40px;
}

.ranking-list {
  counter-reset: ranking;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  counter-increment: ranking;
}

.ranking-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  position: relative;
}

.ranking-card:hover {
  box-shadow: var(--shadow-md);
}

.ranking-card::before {
  content: counter(ranking);
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  background-color: var(--color-bg);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.ranking-media img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.ranking-content {
  min-width: 0;
}

.ranking-title {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.ranking-title a:hover {
  color: var(--color-accent);
}

.ranking-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.ranking-reason {
  font-size: 13px;
  color: var(--color-accent);
  font-style: italic;
}

.ranking-aside {
  min-width: 0;
}

.aside-module {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.aside-module:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.aside-module p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.aside-module p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 反馈
   ========================================================================== */

.feedback-content {
  min-width: 0;
}

.feedback-types {
  margin-bottom: 40px;
}

.feedback-types h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.feedback-types > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.feedback-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feedback-type-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.feedback-type-card:hover {
  box-shadow: var(--shadow-md);
}

.feedback-type-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-bg);
  border-radius: 50%;
}

.feedback-type-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feedback-type-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.preparation {
  margin-bottom: 40px;
}

.preparation h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.preparation > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.preparation-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.preparation-list li {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.preparation-list h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--color-deep);
}

.preparation-list p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.process {
  margin-bottom: 40px;
}

.process h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.process > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: process;
}

.process-steps li {
  counter-increment: process;
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-steps li::before {
  content: counter(process);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.process-steps h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.process-steps p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.process-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-muted);
  background-color: var(--color-white);
  border-left: 3px solid var(--color-accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.related-links {
  margin-bottom: 40px;
}

.related-links h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.related-links > p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-list li a {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 15px;
}

.related-list li a:hover {
  text-decoration: underline;
}

.feedback-aside {
  min-width: 0;
}

.aside-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.aside-card:last-child {
  margin-bottom: 0;
}

.aside-card h2 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.aside-card ul li {
  font-size: 14px;
  color: var(--color-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
}

.aside-card ul li:last-child {
  border-bottom: none;
}

.aside-figure {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.aside-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.aside-figure figcaption {
  font-size: 13px;
  color: var(--color-muted);
  padding: 8px 0;
  text-align: center;
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 24px;
}

.error-section {
  text-align: center;
  max-width: 520px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.btn-back-home {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: background-color var(--transition);
}

.btn-back-home:hover {
  background-color: #a93226;
  color: var(--color-white);
}

/* ==========================================================================
   responsive — 响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .page-layout,
  .home-layout,
  .topic-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .hero-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-figure img {
    height: 260px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-shell {
    height: var(--header-h);
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .site-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    border-bottom: 2px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    padding: 14px 12px;
    font-size: 16px;
  }

  .page-layout,
  .home-layout,
  .topic-layout {
    grid-template-columns: 1fr;
  }

  .main-column,
  .layout-main,
  .content-primary,
  .ranking-main,
  .feedback-content {
    order: 1;
  }

  .sidebar,
  .layout-aside,
  .content-side,
  .ranking-aside,
  .feedback-aside {
    order: 2;
  }

  .hero-timeline {
    padding: 24px 0;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .topic-item {
    grid-template-columns: 1fr;
  }

  .topic-item-media img {
    height: 180px;
  }

  .topic-item-body {
    padding: 0 20px 20px;
  }

  .post-item {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }

  .post-thumb img {
    height: 64px;
  }

  .ranking-card {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .ranking-media img {
    height: 80px;
  }

  .feedback-type-grid {
    grid-template-columns: 1fr;
  }

  .preparation-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
  }

  .page-header {
    padding: 20px 16px 8px;
  }

  .page-title {
    font-size: 26px;
  }

  .layout-shell {
    padding: 16px;
  }

  .layout-single {
    padding: 16px;
  }

  .home-main {
    padding: 0 16px;
  }

  .related-section {
    padding: 24px 16px 0;
  }

  .error-code {
    font-size: 72px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    display: none;
  }

  .hero-figure img {
    height: 200px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .list-item {
    grid-template-columns: 1fr;
  }

  .item-date {
    white-space: normal;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .post-item {
    grid-template-columns: 1fr;
  }

  .post-thumb img {
    height: 140px;
  }

  .ranking-card {
    grid-template-columns: 1fr;
  }

  .ranking-media img {
    height: 140px;
  }

  .ranking-card::before {
    top: auto;
    bottom: 12px;
  }
}

/* ==========================================================================
   滚动出现动画（增强，不影响初始可见性）
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .topic-card,
  .channel-card,
  .feedback-type-card,
  .preparation-list li,
  .process-steps li {
    transition: box-shadow var(--transition), transform var(--transition);
  }
}

/* ==========================================================================
   无障碍
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
