/* =========================================================
   红桃视频 · 整站样式表
   公益组织风纪实媒体站：米白底、暗红主色、深蓝辅助
   ========================================================= */

/* ---------- base / reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #2B2B2B;
  background-color: #F7F3EE;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #C0392B;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a93226;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.4;
  color: #2B2B2B;
  font-weight: 700;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout / 全站骨架 ---------- */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e8e0d8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand a {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #2B2B2B;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.8125rem;
  color: #8a7d6f;
  white-space: nowrap;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9375rem;
  color: #4a4a4a;
  border-radius: 4px;
  line-height: 1.5;
}

.site-nav .nav-list li a:hover {
  background-color: #f0ebe4;
  color: #C0392B;
}

.site-nav .nav-list li a.is-current {
  color: #C0392B;
  font-weight: 600;
  background-color: #f7f0ea;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2B2B2B;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
}

/* 右侧栏布局：主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #8a7d6f;
  padding: 0 0 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #8a7d6f;
}

.breadcrumb a:hover {
  color: #C0392B;
}

.breadcrumb-sep {
  color: #b8ac9e;
}

.breadcrumb-current {
  color: #4a4a4a;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e8e0d8;
}

.page-title {
  font-size: 1.75rem;
  line-height: 1.4;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.page-description {
  font-size: 0.9375rem;
  color: #5c534b;
  max-width: 720px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background-color: #2B2B2B;
  color: #c9c2ba;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-about p:last-child {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #a89e94;
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #a89e94;
  font-size: 0.875rem;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #3d3d3d;
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #8a7d6f;
}

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.5;
  min-height: 44px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #C0392B;
  color: #fff;
}

.btn-primary:hover {
  background-color: #a93226;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: #2B2B2B;
  border: 1px solid #c9c2ba;
}

.btn-secondary:hover {
  border-color: #C0392B;
  color: #C0392B;
  background-color: #f7f0ea;
}

.btn-outline {
  background-color: transparent;
  color: #C0392B;
  border: 1px solid #C0392B;
}

.btn-outline:hover {
  background-color: #C0392B;
  color: #fff;
}

.text-link {
  color: #C0392B;
  font-weight: 500;
  font-size: 0.875rem;
}

.text-link:hover {
  text-decoration: underline;
}

/* 图片容器约束 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 相关链接（底部导航条） */
.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid #e8e0d8;
}

.related-links-label {
  font-size: 0.875rem;
  color: #8a7d6f;
  font-weight: 600;
}

.related-links-item {
  font-size: 0.875rem;
  color: #C0392B;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* 侧栏 */
.sidebar {
  min-width: 0;
}

.sidebar-widget,
.sidebar-block,
.sidebar-card {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-title,
.sidebar-block h2,
.sidebar-card h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C0392B;
}

.sidebar-list li,
.sidebar-links li {
  margin-bottom: 10px;
}

.sidebar-list li a,
.sidebar-links li a {
  font-size: 0.875rem;
  color: #4a4a4a;
  line-height: 1.5;
}

.sidebar-list li a:hover,
.sidebar-links li a:hover {
  color: #C0392B;
}

/* 标签列表 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8125rem;
  border: 1px solid #d9d0c6;
  border-radius: 4px;
  color: #4a4a4a;
  background-color: #faf7f3;
}

.tag-list li a:hover {
  border-color: #C0392B;
  color: #C0392B;
  background-color: #f7f0ea;
}

/* =========================================================
   首页
   ========================================================= */
.home-main {
  width: 100%;
}

/* 首屏控制台 */
.hero-console {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-copy > p {
  font-size: 1rem;
  color: #5c534b;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags .tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8125rem;
  border: 1px solid #d9d0c6;
  border-radius: 4px;
  color: #4a4a4a;
  background-color: #fff;
}

.hero-tags .tag:hover {
  border-color: #C0392B;
  color: #C0392B;
}

/* 焦点区 */
.featured-spotlight {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.spotlight-media {
  border-radius: 8px;
  overflow: hidden;
}

.spotlight-media figure {
  position: relative;
  aspect-ratio: 16 / 10;
}

.spotlight-media figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(43, 43, 43, 0.75);
  color: #fff;
  font-size: 0.8125rem;
  padding: 10px 16px;
}

.spotlight-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.spotlight-content p {
  color: #5c534b;
  margin-bottom: 20px;
}

/* 频道分类总览 */
.channel-overview {
  background-color: #fff;
  border-top: 1px solid #e8e0d8;
  border-bottom: 1px solid #e8e0d8;
  padding: 64px 24px;
}

.channel-overview > h2,
.collection-featured > h2,
.guide-entry > h2,
.update-summary > h2,
.faq-entry > h2 {
  max-width: 1200px;
  margin: 0 auto 12px;
  font-size: 1.5rem;
}

.channel-overview .section-intro,
.collection-featured .section-intro,
.guide-entry .section-intro,
.update-summary .section-intro,
.faq-entry .section-intro {
  max-width: 1200px;
  margin: 0 auto 36px;
  color: #5c534b;
}

.channel-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  background-color: #faf7f3;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.channel-card:hover {
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.08);
}

.channel-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.channel-card h3 {
  font-size: 1.125rem;
  margin: 16px 16px 8px;
}

.channel-card p {
  font-size: 0.875rem;
  color: #5c534b;
  margin: 0 16px 16px;
}

.channel-card a {
  display: inline-block;
  margin: 0 16px 16px;
  font-size: 0.875rem;
  color: #C0392B;
  font-weight: 500;
}

/* 精选专题片单 */
.collection-featured {
  padding: 64px 24px;
}

.collection-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collection-card {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.collection-card:hover {
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.08);
}

.collection-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.collection-card h3 {
  font-size: 1rem;
  margin: 16px 16px 8px;
}

.collection-card p {
  font-size: 0.8125rem;
  color: #5c534b;
  margin: 0 16px 16px;
}

.collection-card a {
  display: inline-block;
  margin: 0 16px 16px;
  font-size: 0.8125rem;
  color: #C0392B;
  font-weight: 500;
}

/* 观看指南入口 */
.guide-entry {
  background-color: #fff;
  border-top: 1px solid #e8e0d8;
  border-bottom: 1px solid #e8e0d8;
  padding: 64px 24px;
}

.guide-steps {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background-color: #faf7f3;
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid #C0392B;
}

.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #C0392B;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
  line-height: 32px;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: #5c534b;
}

.guide-entry > .btn {
  display: block;
  max-width: 200px;
  margin: 0 auto;
}

/* 更新动态 */
.update-summary {
  padding: 64px 24px;
}

.update-list {
  max-width: 1200px;
  margin: 0 auto 24px;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  background-color: #fff;
}

.update-list li {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0ebe4;
  align-items: flex-start;
}

.update-list li:last-child {
  border-bottom: none;
}

.update-list .version {
  flex-shrink: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8125rem;
  color: #C0392B;
  font-weight: 600;
  background-color: #f7f0ea;
  padding: 2px 10px;
  border-radius: 4px;
}

.update-list p {
  font-size: 0.875rem;
  color: #4a4a4a;
}

.update-summary > a {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: #C0392B;
  font-weight: 500;
}

/* 问题排查入口 */
.faq-entry {
  background-color: #fff;
  border-top: 1px solid #e8e0d8;
  padding: 64px 24px;
}

.faq-entry-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entry-card {
  display: block;
  background-color: #faf7f3;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-card:hover {
  border-color: #C0392B;
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.08);
}

.entry-card h3 {
  font-size: 1rem;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.entry-card p {
  font-size: 0.875rem;
  color: #5c534b;
}

/* =========================================================
   频道分类页
   ========================================================= */
.channel-catalog {
  margin-bottom: 48px;
}

.channel-catalog h2,
.channel-detail-list h2,
.channel-advice h2 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.section-desc {
  color: #5c534b;
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.channel-index-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.channel-index-list li a {
  display: block;
  padding: 10px 16px;
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #4a4a4a;
  text-align: center;
}

.channel-index-list li a:hover {
  border-color: #C0392B;
  color: #C0392B;
}

/* 频道详情卡片 */
.channel-detail-list {
  margin-bottom: 48px;
}

.channel-detail-list .channel-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  margin-bottom: 24px;
}

.channel-detail-list .channel-media {
  overflow: hidden;
}

.channel-detail-list .channel-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.channel-body {
  padding: 24px;
}

.channel-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.channel-topic {
  font-size: 0.8125rem;
  color: #C0392B;
  font-weight: 600;
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 0.875rem;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.channel-audience {
  font-size: 0.8125rem;
  color: #5c534b;
  margin-bottom: 12px;
}

.channel-body .text-link {
  display: inline-block;
}

/* 频道选择建议 */
.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advice-item {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
}

.advice-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #C0392B;
  display: inline-block;
}

.advice-item p {
  font-size: 0.875rem;
  color: #5c534b;
  margin-bottom: 12px;
}

/* =========================================================
   专题片单页
   ========================================================= */
.series-list {
  margin-bottom: 48px;
}

.series-list h2,
.series-detail h2,
.series-audience h2 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.series-item {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.series-item:hover {
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.08);
}

.series-item a {
  display: block;
}

.series-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.series-item h3 {
  font-size: 1rem;
  color: #2B2B2B;
  padding: 16px 16px 4px;
}

.series-item p {
  font-size: 0.8125rem;
  color: #5c534b;
  padding: 0 16px 16px;
}

/* 专题详情 */
.series-detail {
  margin-bottom: 48px;
}

.series-detail-block {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.series-detail-block h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0ebe4;
}

.series-detail-block p {
  font-size: 0.875rem;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.series-detail-block p:last-child {
  margin-bottom: 0;
}

/* 适看人群 */
.audience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-item {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
}

.audience-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #C0392B;
}

.audience-item p {
  font-size: 0.875rem;
  color: #5c534b;
  margin-bottom: 12px;
}

/* =========================================================
   观看指南页
   ========================================================= */
.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.section-lead {
  color: #5c534b;
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

/* 流程图 */
.flow-list {
  counter-reset: flow;
  border-left: 3px solid #C0392B;
  margin-left: 12px;
  padding-left: 24px;
}

.flow-item {
  position: relative;
  padding: 16px 0 24px;
}

.flow-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #C0392B;
  border: 3px solid #F7F3EE;
}

.flow-step {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #C0392B;
  background-color: #f7f0ea;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.flow-label {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 6px;
}

.flow-desc {
  font-size: 0.875rem;
  color: #5c534b;
}

/* 步骤卡片 */
.step-card {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C0392B;
}

.step-list {
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: 0.875rem;
  color: #4a4a4a;
  border-bottom: 1px solid #f5f0ea;
}

.step-list li:last-child {
  border-bottom: none;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #3D5A80;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  line-height: 26px;
}

.guide-figure {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: #5c534b;
  background-color: #faf7f3;
}

/* 入口核验 */
.check-list {
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  background-color: #fff;
}

.check-list li {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0ebe4;
  align-items: flex-start;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-item {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.875rem;
  color: #3D5A80;
  min-width: 96px;
}

.check-list p {
  font-size: 0.875rem;
  color: #4a4a4a;
}

/* 相关链接 */
.related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-list li a {
  display: block;
  padding: 16px 20px;
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #4a4a4a;
  font-weight: 500;
}

.related-list li a:hover {
  border-color: #C0392B;
  color: #C0392B;
}

/* =========================================================
   问题排查页
   ========================================================= */
.faq-index-section {
  margin-bottom: 48px;
}

.faq-index-section h2,
.decision-cards-section h2,
.no-match-section h2,
.related-links-section h2 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.faq-index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-index-list li a {
  display: inline-block;
  padding: 8px 18px;
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.faq-index-list li a:hover {
  border-color: #C0392B;
  color: #C0392B;
}

/* 决策卡片 */
.decision-card {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.card-media {
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #C0392B;
}

.issue-detail {
  font-size: 0.875rem;
}

.issue-detail dt {
  font-weight: 700;
  color: #3D5A80;
  margin-bottom: 4px;
  margin-top: 12px;
}

.issue-detail dt:first-child {
  margin-top: 0;
}

.issue-detail dd {
  color: #4a4a4a;
  margin-left: 0;
  line-height: 1.7;
}

.issue-detail dd a {
  color: #C0392B;
}

.process-steps {
  counter-reset: process;
  margin-top: 8px;
}

.process-steps li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.process-steps li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #C0392B;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
}

/* 无匹配状态 */
.no-match-section {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
  text-align: center;
}

.no-match-section p {
  color: #5c534b;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.reset-filter-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background-color: #C0392B;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  transition: background-color 0.2s ease;
}

.reset-filter-btn:hover {
  background-color: #a93226;
}

/* 相关链接区 */
.related-links-section {
  margin-bottom: 48px;
}

.related-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-list li a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.related-links-list li a:hover {
  border-color: #C0392B;
  color: #C0392B;
}

/* =========================================================
   更新记录页
   ========================================================= */
.version-timeline {
  margin-bottom: 48px;
}

.version-timeline h2,
.change-details h2,
.scope-note h2 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.content-media-inline {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
  margin: 24px 0;
}

.content-media-inline img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.content-media-inline figcaption {
  padding: 10px 16px;
  font-size: 0.8125rem;
  color: #5c534b;
  background-color: #faf7f3;
}

.version-item {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
}

.version-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.version-number {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: #C0392B;
  background-color: #f7f0ea;
  padding: 2px 10px;
  border-radius: 4px;
}

.version-scope {
  font-size: 0.8125rem;
  color: #8a7d6f;
  background-color: #f5f0ea;
  padding: 2px 10px;
  border-radius: 4px;
}

.version-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.version-item > p {
  font-size: 0.875rem;
  color: #4a4a4a;
}

/* 变更说明 */
.change-group {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.change-group h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #3D5A80;
}

.change-group ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.change-group ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #C0392B;
}

/* 适用范围 */
.scope-note {
  margin-bottom: 48px;
}

.scope-item {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.scope-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #3D5A80;
}

.scope-item p {
  font-size: 0.875rem;
  color: #4a4a4a;
}

.scope-item p a {
  color: #C0392B;
}

/* =========================================================
   内容规则页
   ========================================================= */
.notice-section {
  margin-bottom: 48px;
}

.notice-section h2 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C0392B;
}

.notice-content p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  margin-bottom: 16px;
  max-width: 760px;
}

.notice-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
  margin-top: 24px;
}

.notice-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.notice-figure figcaption {
  padding: 10px 16px;
  font-size: 0.8125rem;
  color: #5c534b;
  background-color: #faf7f3;
}

/* 规则列表 */
.rule-list {
  margin: 16px 0;
}

.rule-item {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid #f0ebe4;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #C0392B;
}

.notice-callout {
  background-color: #f7f0ea;
  border-left: 4px solid #C0392B;
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
  font-size: 0.875rem;
  color: #4a4a4a;
}

/* =========================================================
   关于本站页
   ========================================================= */
.about-intro {
  margin-bottom: 48px;
}

.about-intro h2,
.site-organization h2,
.boundary h2 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C0392B;
}

.about-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
  margin: 24px 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.about-figure figcaption {
  padding: 10px 16px;
  font-size: 0.8125rem;
  color: #5c534b;
  background-color: #faf7f3;
}

.about-intro > p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  margin-bottom: 16px;
  max-width: 760px;
}

/* 栏目组织 */
.site-organization {
  margin-bottom: 48px;
}

.site-organization > p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  margin-bottom: 24px;
  max-width: 760px;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.org-card {
  background-color: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  padding: 24px;
}

.org-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #3D5A80;
}

.org-card p {
  font-size: 0.875rem;
  color: #5c534b;
  margin-bottom: 12px;
}

/* 内容边界 */
.boundary {
  margin-bottom: 48px;
}

.boundary > p {
  font-size: 0.9375rem;
  color: #4a4a4a;
  margin-bottom: 16px;
  max-width: 760px;
}

.boundary-list {
  margin: 16px 0;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  background-color: #fff;
  padding: 8px 24px;
}

.boundary-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid #f0ebe4;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.boundary-list li:last-child {
  border-bottom: none;
}

.boundary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #C0392B;
}

.boundary > p a {
  color: #C0392B;
}

/* =========================================================
   404 页
   ========================================================= */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 5rem;
  font-weight: 700;
  color: #C0392B;
  line-height: 1.1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 1rem;
  color: #5c534b;
  margin-bottom: 12px;
}

.error-advice {
  font-size: 0.875rem;
  color: #8a7d6f;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-index-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
  }

  .hero-console {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-spotlight {
    grid-template-columns: 1fr;
  }

  .decision-card {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #e8e0d8;
    box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 6px;
  }

  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .main-content {
    order: 1;
    width: 100%;
  }

  .sidebar {
    order: 2;
    width: 100%;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .hero-console {
    padding: 40px 16px 32px;
  }

  .hero-copy h1 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .featured-spotlight {
    padding: 0 16px 48px;
    grid-template-columns: 1fr;
  }

  .channel-overview,
  .collection-featured,
  .guide-entry,
  .update-summary,
  .faq-entry {
    padding: 48px 16px;
  }

  .channel-grid,
  .collection-list,
  .guide-steps,
  .faq-entry-cards,
  .advice-grid,
  .audience-list,
  .series-grid {
    grid-template-columns: 1fr;
  }

  .guide-steps {
    gap: 16px;
  }

  .channel-detail-list .channel-card {
    grid-template-columns: 1fr;
  }

  .channel-detail-list .channel-media img {
    aspect-ratio: 16 / 9;
  }

  .channel-index-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-card {
    grid-template-columns: 1fr;
  }

  .card-media img {
    aspect-ratio: 16 / 9;
    max-height: 200px;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .org-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 16px;
  }

  .update-list li {
    flex-direction: column;
    gap: 4px;
  }

  .flow-step {
    margin-bottom: 4px;
  }

  .check-list li {
    flex-direction: column;
    gap: 4px;
  }

  .check-item {
    min-width: 0;
  }

  .error-code {
    font-size: 3.5rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .hero-copy h1 {
    font-size: 1.5rem;
  }

  .channel-index-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }

  .version-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .series-detail-block,
  .change-group,
  .scope-item,
  .step-card,
  .advice-item,
  .audience-item {
    padding: 16px;
  }
}

/* ---------- 动效增强（不影响初始可见性） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .channel-card,
  .collection-card,
  .series-item,
  .entry-card,
  .advice-item,
  .audience-item,
  .org-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }

  .channel-card:hover,
  .collection-card:hover,
  .series-item:hover,
  .entry-card:hover,
  .advice-item:hover,
  .audience-item:hover,
  .org-card:hover {
    transform: translateY(-2px);
  }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .related-links,
  .breadcrumb {
    display: none;
  }

  body {
    background-color: #fff;
  }

  .inner-main {
    max-width: 100%;
    padding: 0;
  }

  .page-layout {
    display: block;
  }
}
