/* ==========================================================================
   青果短剧 · 全局基础样式
   视觉方向：技术工作台 / 内容索引控制台
   ========================================================================== */

/* ----------------------------------------------
   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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #1C2731;
  background-color: #EDF0F3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #204654;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #E68A2E;
}

ul,
ol {
  list-style: none;
}

strong {
  font-weight: 600;
}

/* 统一容器宽度 */
.site-header .header-inner,
.site-main,
.site-footer .footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #E68A2E;
  outline-offset: 2px;
}

/* ==========================================================================
   Layout：全站骨架布局
   ========================================================================== */

/* ----------------------------------------------
   Header 页头
   ---------------------------------------------- */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #D7DEE4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  line-height: 1.2;
}

.brand-name {
  font-size: 21px;
  font-weight: 700;
  color: #204654;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 13px;
  color: #5F6E7A;
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #5F6E7A;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: #204654;
  background-color: #EDF0F3;
}

.nav-item.is-current .nav-link,
.nav-link.is-current {
  color: #204654;
  background-color: #EDF0F3;
  font-weight: 600;
}

/* 移动端汉堡按钮（默认隐藏） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #D7DEE4;
  border-radius: 6px;
  background-color: #FFFFFF;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle-icon {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background-color: #204654;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: #204654;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----------------------------------------------
   Main 主区域
   ---------------------------------------------- */
.site-main {
  min-height: 60vh;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #5F6E7A;
  margin-bottom: 20px;
  padding: 0 24px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.breadcrumb a {
  color: #5F6E7A;
}

.breadcrumb a:hover {
  color: #204654;
}

.breadcrumb-sep {
  color: #9AA5AD;
  font-size: 12px;
}

.breadcrumb-current {
  color: #1C2731;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 24px;
  border-bottom: 1px solid #D7DEE4;
  padding-bottom: 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #1C2731;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: #5F6E7A;
  max-width: 780px;
}

/* ----------------------------------------------
   Footer 页脚
   ---------------------------------------------- */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #D7DEE4;
  margin-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: #204654;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-note {
  font-size: 13px;
  color: #9AA5AD;
  line-height: 1.6;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 16px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.6;
}

.footer-nav a:hover {
  color: #204654;
}

.footer-bottom {
  border-top: 1px solid #EDF0F3;
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #9AA5AD;
  max-width: 1180px;
  margin: 0 auto;
}

/* ==========================================================================
   Components：通用模块组件
   ========================================================================== */

/* ----------------------------------------------
   区块标题体系
   ---------------------------------------------- */
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-description,
.section-desc {
  font-size: 15px;
  color: #5F6E7A;
  line-height: 1.75;
}

.section-intro {
  margin-bottom: 28px;
  max-width: 780px;
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #204654;
  border-bottom: 1px solid rgba(32, 70, 84, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #E68A2E;
  border-color: #E68A2E;
}

/* 相关链接底栏 */
.related-links {
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 20px 24px;
  border-top: 1px solid #D7DEE4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
}

.related-links-label {
  color: #5F6E7A;
  font-weight: 500;
}

.related-links-item {
  color: #204654;
  border-bottom: 1px solid rgba(32, 70, 84, 0.25);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: #E68A2E;
  border-color: #E68A2E;
}

/* ----------------------------------------------
   按钮
   ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #204654;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #16333D;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #204654;
  border-color: #204654;
}

.btn-secondary:hover {
  background-color: #EDF0F3;
  color: #204654;
}

/* ----------------------------------------------
   折叠问答（原生 details）
   ---------------------------------------------- */
.faq-item {
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  background-color: #FFFFFF;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item summary {
  padding: 16px 44px 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1C2731;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: #5F6E7A;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item > p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
}

/* ----------------------------------------------
   图片容器统一约束
   ---------------------------------------------- */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

figcaption {
  font-size: 13px;
  color: #9AA5AD;
  line-height: 1.6;
  margin-top: 8px;
}

/* ==========================================================================
   Pages：首页
   ========================================================================== */

/* ----------------------------------------------
   首页首屏 Hero
   ---------------------------------------------- */
.hero-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid #D7DEE4;
  padding: 48px 0 56px;
}

.hero-section .hero-content,
.hero-section .hero-media {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  display: grid;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  color: #1C2731;
  margin-bottom: 16px;
}

.hero-intro {
  font-size: 16px;
  color: #1C2731;
  line-height: 1.8;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: 15px;
  color: #5F6E7A;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  width: 100%;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28, 39, 49, 0.08);
  aspect-ratio: 16 / 10;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 首页主配图（频道概览区上方） */
.content-media-primary {
  margin: 40px auto 0;
  max-width: 1180px;
  padding: 0 24px;
}

.content-media-primary figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 320px;
}

.content-media-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------
   首页区块通用
   ---------------------------------------------- */
.section-block {
  padding: 48px 24px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.section-block + .section-block {
  border-top: 1px solid #D7DEE4;
}

/* 频道概览：六个紧凑入口 */
.channel-entry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: #D7DEE4;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.channel-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background-color: #FFFFFF;
  transition: background-color 0.2s ease;
  min-height: 110px;
}

.channel-entry:hover {
  background-color: #F4F6F8;
}

.channel-name {
  font-size: 16px;
  font-weight: 600;
  color: #204654;
  line-height: 1.4;
}

.channel-scope {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.6;
}

/* 观看路径指引：三个步骤 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.step-item {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: #204654;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

/* 专题导读摘要 */
.topic-preview-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: #D7DEE4;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.topic-preview-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background-color: #FFFFFF;
  transition: background-color 0.2s ease;
}

.topic-preview-item:hover {
  background-color: #F4F6F8;
}

.topic-preview-title {
  font-size: 16px;
  font-weight: 600;
  color: #204654;
  line-height: 1.4;
}

.topic-preview-text {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

/* FAQ 预览 */
.faq-list {
  margin-bottom: 24px;
}

/* 站点边界提示 */
.site-boundary-note {
  text-align: center;
  padding: 32px 24px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.boundary-text {
  display: inline-block;
  border-top: 1px solid #D7DEE4;
  border-bottom: 1px solid #D7DEE4;
  padding: 16px 32px;
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
  max-width: 700px;
}

/* ==========================================================================
   Pages：频道速查页（qgdj/channels.html）
   ========================================================================== */
body.page-channels {
  background-color: #EDF0F3;
}

/* 双栏布局：侧栏在左 */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 目录锚点侧栏 */
.sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-inner {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-heading {
  font-size: 14px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 14px;
}

.anchor-list li + li {
  margin-top: 4px;
}

.anchor-link {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: #5F6E7A;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.anchor-link:hover {
  background-color: #EDF0F3;
  color: #204654;
  border-left-color: #E68A2E;
}

/* 内容区 */
.content-area {
  min-width: 0;
}

.content-area > section {
  margin-bottom: 40px;
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
}

/* 字段字典表 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.field-table thead th {
  background-color: #EDF0F3;
  color: #1C2731;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid #D7DEE4;
  white-space: nowrap;
}

.field-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #EDF0F3;
  color: #5F6E7A;
  vertical-align: top;
}

.field-table tbody tr {
  transition: background-color 0.2s ease;
}

.field-table tbody tr:hover {
  background-color: #F7F9FA;
}

.field-table tbody tr.is-highlighted {
  background-color: #FDF4E8;
}

/* 分区锚点内容 */
.zone-section {
  scroll-margin-top: 80px;
}

.zone-section .section-title {
  margin-bottom: 8px;
}

.zone-figure {
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
  aspect-ratio: 16 / 6;
  max-height: 220px;
}

.zone-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zone-channels {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: #D7DEE4;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  overflow: hidden;
}

.zone-channel {
  padding: 20px;
  background-color: #FFFFFF;
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.zone-channel .channel-name {
  font-size: 15px;
  font-weight: 600;
  color: #204654;
}

.zone-channel p {
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.65;
}

.channel-focus {
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.65;
}

.channel-tags {
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.65;
}

.channel-audience {
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.65;
}

.channel-related {
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.65;
}

/* 标签筛选器 */
.filter-section {
  scroll-margin-top: 80px;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.filter-tag {
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid #D7DEE4;
  border-radius: 20px;
  background-color: #FFFFFF;
  font-size: 13px;
  color: #5F6E7A;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tag:hover {
  border-color: #204654;
  color: #204654;
}

.filter-tag.is-active {
  background-color: #204654;
  border-color: #204654;
  color: #FFFFFF;
  font-weight: 500;
}

.filter-status {
  font-size: 13px;
  color: #E68A2E;
  min-height: 20px;
  margin-top: 8px;
}

/* 分类口径说明 */
.scope-card {
  background-color: #F4F6F8;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 24px;
}

.scope-card .section-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.scope-text {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
  margin-bottom: 10px;
}

.scope-text:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Pages：专题导读页（qgdj/topics.html）
   ========================================================================== */
body.page-topics {
  background-color: #EDF0F3;
}

/* 专题索引横条 */
.topic-index-bar {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.topic-index-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 12px;
}

.topic-index-bar a {
  display: block;
  padding: 6px 16px;
  font-size: 14px;
  color: #5F6E7A;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topic-index-bar a:hover {
  background-color: #EDF0F3;
  color: #204654;
}

/* 专题内容列 */
.topic-content-column {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.topic-section {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 28px;
  scroll-margin-top: 80px;
}

.topic-text-block {
  margin-bottom: 20px;
}

.topic-text-block h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 16px;
  line-height: 1.4;
}

.topic-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.topic-meta-list p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

.topic-meta-list strong {
  color: #204654;
  font-weight: 600;
  margin-right: 6px;
}

.topic-related-link {
  font-size: 14px;
}

.topic-related-link a {
  color: #204654;
  border-bottom: 1px solid rgba(32, 70, 84, 0.3);
  padding-bottom: 2px;
}

.topic-related-link a:hover {
  color: #E68A2E;
  border-color: #E68A2E;
}

.topic-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  max-height: 320px;
  margin-top: 20px;
}

.topic-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 题材词条解释 */
.glossary-section {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
}

.glossary-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 8px;
}

.glossary-intro {
  font-size: 14px;
  color: #5F6E7A;
  margin-bottom: 20px;
}

.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: #D7DEE4;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  overflow: hidden;
}

.glossary-item {
  background-color: #FFFFFF;
  padding: 18px 20px;
}

.glossary-item dt {
  font-size: 15px;
  font-weight: 600;
  color: #204654;
  margin-bottom: 6px;
}

.glossary-item dd {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

/* 专题与频道跳转桥 */
.topic-channel-bridge {
  background-color: #F4F6F8;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.topic-channel-bridge h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 8px;
}

.topic-channel-bridge p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
  margin-bottom: 12px;
}

.bridge-link {
  display: inline-block;
  min-height: 44px;
  padding: 10px 20px;
  background-color: #204654;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.bridge-link:hover {
  background-color: #16333D;
  color: #FFFFFF;
}

/* ==========================================================================
   Pages：观看指南页（qgdj/guide.html）
   ========================================================================== */
body.page-guide {
  background-color: #EDF0F3;
}

/* 双栏：主内容 + 右侧提示 */
.page-layout.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-column {
  min-width: 0;
}

/* 步骤块 */
.guide-steps {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
}

.guide-steps > h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 20px;
}

.guide-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #EDF0F3;
}

.guide-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 2px;
}

.step-content {
  min-width: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 8px;
  line-height: 1.5;
}

.step-content p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
  margin-bottom: 12px;
}

.step-note {
  background-color: #FDF4E8;
  border-left: 3px solid #E68A2E;
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.7;
}

/* 核验备忘卡 */
.checklist-card {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
}

.checklist-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 8px;
}

.checklist-intro {
  font-size: 14px;
  color: #5F6E7A;
  margin-bottom: 16px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 14px;
  height: 14px;
  border: 1.5px solid #3E7C59;
  border-radius: 3px;
}

/* 右侧提示栏 */
.guide-aside {
  position: sticky;
  top: 88px;
}

.aside-card {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 24px;
}

.aside-card h2 {
  font-size: 15px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EDF0F3;
}

.aside-card p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
  margin-bottom: 12px;
}

.aside-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.65;
}

.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E68A2E;
}

/* 频道使用说明区 */
.channel-usage {
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
}

.channel-usage h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.usage-media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.usage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usage-text p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
  margin-bottom: 12px;
}

.usage-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Pages：常见问题页（qgdj/faq.html）
   ========================================================================== */
body.page-faq {
  background-color: #EDF0F3;
}

/* 右侧栏布局：主内容在前，aside 在后 */
.layout-shell.sidebar-right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-primary {
  min-width: 0;
}

/* FAQ 分组 */
.faq-section {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
}

.faq-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 8px;
}

.faq-section > p {
  font-size: 14px;
  color: #5F6E7A;
  margin-bottom: 20px;
}

/* 风险提示配图区 */
.risk-notice {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
}

.risk-notice h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 16px;
}

.risk-media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  max-height: 240px;
  margin-bottom: 16px;
}

.risk-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.risk-text {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
}

/* 右侧相关推荐 */
.sidebar-related {
  position: sticky;
  top: 88px;
}

.related-panel {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.related-panel h2 {
  font-size: 15px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EDF0F3;
}

.related-panel .related-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.related-panel .related-links li {
  border-bottom: 1px solid #EDF0F3;
}

.related-panel .related-links li:last-child {
  border-bottom: none;
}

.related-panel .related-links a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #204654;
  transition: color 0.2s ease;
}

.related-panel .related-links a:hover {
  color: #E68A2E;
}

.related-note {
  background-color: #FDF4E8;
  border: 1px solid #EAD9C2;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  color: #5F6E7A;
  line-height: 1.7;
}

.related-note a {
  color: #204654;
  border-bottom: 1px solid rgba(32, 70, 84, 0.3);
}

.related-note a:hover {
  color: #E68A2E;
}

/* ==========================================================================
   Pages：站点边界页（qgdj/about.html）
   ========================================================================== */
body.page-about {
  background-color: #EDF0F3;
}

/* 双栏：左正文 + 右说明 */
.layout-shell.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-content {
  min-width: 0;
}

.about-section {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.about-section .section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 12px;
}

.about-section p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.scope-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #204654;
}

.scope-list strong {
  color: #1C2731;
  font-weight: 600;
}

/* 右侧说明面板 */
.about-aside {
  position: sticky;
  top: 88px;
}

.aside-panel {
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}

.aside-panel:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 16px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EDF0F3;
}

.aside-panel p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
  margin-bottom: 12px;
}

.principle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-list li {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
}

.principle-list strong {
  display: block;
  color: #204654;
  font-weight: 600;
  margin-bottom: 2px;
}

/* 页尾收束配图 */
.about-closing {
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 28px;
}

.closing-figure {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.closing-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-title {
  font-size: 22px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 10px;
}

.closing-text p {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.75;
  margin-bottom: 10px;
}

.closing-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Pages：404 错误页
   ========================================================================== */
body.site-error {
  background-color: #EDF0F3;
}

.error-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
  text-align: center;
}

.error-panel {
  max-width: 600px;
  background-color: #FFFFFF;
  border: 1px solid #D7DEE4;
  border-radius: 8px;
  padding: 48px;
  margin-bottom: 32px;
}

.error-panel h1 {
  font-size: 72px;
  font-weight: 700;
  color: #204654;
  line-height: 1;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 18px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 10px;
}

.error-text {
  font-size: 14px;
  color: #5F6E7A;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-action {
  display: inline-block;
  min-height: 44px;
  padding: 10px 28px;
  background-color: #204654;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.error-action:hover {
  background-color: #16333D;
  color: #FFFFFF;
}

.error-suggest {
  max-width: 600px;
  text-align: left;
}

.suggest-heading {
  font-size: 14px;
  font-weight: 600;
  color: #1C2731;
  margin-bottom: 12px;
}

.suggest-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.suggest-list a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: #204654;
  border-bottom: 1px solid rgba(32, 70, 84, 0.2);
}

.suggest-list a:hover {
  color: #E68A2E;
}

/* ==========================================================================
   Responsive：响应式断点
   ========================================================================== */

/* ----------------------------------------------
   平板 / 中等宽度
   ---------------------------------------------- */
@media (max-width: 1024px) {
  /* 频道速查：侧栏收窄 */
  .page-layout.sidebar-left {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }

  .zone-channel {
    grid-template-columns: 130px 1fr;
    gap: 12px;
  }

  .channel-audience,
  .channel-related {
    grid-column: 1 / -1;
  }

  /* 观看指南右侧栏收窄 */
  .page-layout.guide-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .layout-shell.sidebar-right {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .layout-shell.about-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }
}

/* ----------------------------------------------
   手机 / 窄宽度
   ---------------------------------------------- */
@media (max-width: 768px) {
  /* 页头 */
  .site-header .header-inner {
    flex-wrap: wrap;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid #EDF0F3;
    margin-top: 8px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
    border-radius: 4px;
    font-size: 15px;
  }

  .nav-item + .nav-item {
    margin-top: 2px;
  }

  /* 面包屑与标题 */
  .breadcrumb {
    padding: 0 16px;
    margin-bottom: 16px;
  }

  .page-header {
    padding: 0 16px 20px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 26px;
  }

  /* 首页 hero */
  .hero-section {
    padding: 32px 0 40px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    padding: 0 16px;
  }

  .hero-figure {
    aspect-ratio: 16 / 10;
  }

  .content-media-primary {
    padding: 0 16px;
  }

  /* 首页通用区块 */
  .section-block {
    padding: 32px 16px;
  }

  .channel-entry-list {
    grid-template-columns: 1fr;
  }

  .channel-entry {
    min-height: auto;
    padding: 16px 20px;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-item {
    padding: 20px;
  }

  .topic-preview-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 20px;
  }

  .topic-preview-item .text-link {
    justify-self: start;
  }

  .site-boundary-note {
    padding: 24px 16px;
  }

  .boundary-text {
    padding: 14px 16px;
    font-size: 13px;
  }

  /* 频道速查页 */
  .page-layout.sidebar-left {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }

  .sidebar {
    position: static;
    margin-bottom: 20px;
  }

  .sidebar-inner {
    padding: 14px;
  }

  .anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .anchor-list li {
    margin: 0;
  }

  .anchor-link {
    padding: 6px 14px;
    border: 1px solid #D7DEE4;
    border-radius: 20px;
    font-size: 13px;
    border-left: 1px solid #D7DEE4;
  }

  .anchor-link:hover {
    border-left-color: #E68A2E;
  }

  .content-area > section {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .zone-figure {
    aspect-ratio: 16 / 9;
  }

  .zone-channel {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 20px;
  }

  .channel-audience,
  .channel-related {
    grid-column: auto;
  }

  .field-table {
    font-size: 13px;
  }

  .field-table thead th,
  .field-table tbody td {
    padding: 10px 8px;
  }

  .filter-tag {
    min-height: 40px;
    padding: 6px 14px;
    font-size: 13px;
  }

  /* 专题导读 */
  .topic-index-bar {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .topic-index-bar ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
  }

  .topic-index-bar li {
    flex-shrink: 0;
  }

  .topic-content-column {
    padding: 0 16px;
  }

  .topic-section {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .topic-text-block h2 {
    font-size: 20px;
  }

  .topic-figure {
    aspect-ratio: 16 / 9;
  }

  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .glossary-section {
    padding: 20px 16px;
  }

  .topic-channel-bridge {
    padding: 20px 16px;
  }

  /* 观看指南 */
  .page-layout.guide-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }

  .guide-steps {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .guide-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .checklist-card {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .guide-aside {
    position: static;
    margin-bottom: 20px;
    order: 3;
  }

  .channel-usage {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
    margin: 20px 16px 0;
  }

  .channel-usage h2 {
    grid-column: auto;
  }

  /* FAQ 页 */
  .layout-shell.sidebar-right {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }

  .faq-section {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .risk-notice {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .risk-media {
    aspect-ratio: 16 / 9;
  }

  .sidebar-related {
    position: static;
    order: 3;
  }

  .related-panel {
    padding: 20px 16px;
  }

  .related-note {
    padding: 14px 16px;
  }

  /* 站点边界 */
  .layout-shell.about-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px;
  }

  .about-section {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .about-aside {
    position: static;
    order: 3;
    margin-top: 20px;
  }

  .aside-panel {
    padding: 20px 16px;
    margin-bottom: 16px;
  }

  .about-closing {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
    margin: 20px 16px 0;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    padding: 14px 16px;
  }

  /* 相关链接 */
  .related-links {
    padding: 16px;
    margin-top: 32px;
    gap: 10px 16px;
  }

  /* 404 */
  .error-panel {
    padding: 32px 20px;
  }

  .error-panel h1 {
    font-size: 56px;
  }

  .error-suggest {
    padding: 0 16px;
  }
}

/* ----------------------------------------------
   小屏手机
   ---------------------------------------------- */
@media (max-width: 420px) {
  .brand-name {
    font-size: 19px;
  }

  .site-header .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .guide-step .step-number {
    width: 36px;
    height: 36px;
  }

  .guide-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .topic-meta-list p {
    font-size: 13px;
  }

  .glossary-item {
    padding: 14px 16px;
  }
}
