/* ============================================================
   九一视频 · 整站样式表
   视觉方向：地方新闻风 · 报头结构 · 频道色标 · 紧凑列表
   ============================================================ */

/* ============================================================
   1. Base —— 变量、重置、全局基础
   ============================================================ */
:root {
  --paper: #f6f2e9;
  --paper-deep: #ece5d6;
  --ink: #1f1d19;
  --ink-soft: #33302b;
  --ink-faint: #6b655a;
  --line: #d8d0bf;
  --line-light: #e4ddcf;
  --white: #ffffff;

  --channel-blue: #2f6db3;
  --channel-red: #c0392b;
  --channel-green: #2e7d4f;
  --channel-orange: #d97b29;
  --channel-purple: #6b4fa1;
  --channel-teal: #17858a;

  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--channel-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--channel-red);
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.35;
  font-weight: 700;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 19px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: 0.8em;
}

p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   2. Layout —— 全局布局骨架
   ============================================================ */
.site-header,
.site-main,
.site-footer {
  width: 100%;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.masthead,
.site-nav .nav-list,
.breadcrumb,
.page-header,
.inner-main > section,
.inner-main > .page-layout,
.footer-columns,
.copyright,
.utility-inner {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   3. 实用工具栏
   ============================================================ */
.utility-bar {
  background-color: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.5;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.utility-bar .status-message,
.utility-bar .status-line,
.utility-bar .status-message,
.utility-bar p {
  color: var(--paper);
  margin: 0;
  font-size: 13px;
}

.utility-bar .help-link,
.utility-bar .utility-link {
  color: var(--paper);
  font-size: 13px;
  border-bottom: 1px solid rgba(246, 242, 233, 0.5);
  padding-bottom: 1px;
}

.utility-bar .help-link:hover,
.utility-bar .utility-link:hover {
  color: var(--white);
  text-decoration: none;
  border-bottom-color: var(--white);
}

/* ============================================================
   4. 报头与主导航
   ============================================================ */
.site-header {
  background-color: var(--paper);
  border-bottom: 3px solid var(--ink);
  position: relative;
  z-index: 50;
}

.masthead {
  padding-top: 22px;
  padding-bottom: 16px;
  text-align: center;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  line-height: 1.2;
}

.date-line {
  font-size: 13px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.site-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--paper-deep);
}

.site-nav .nav-list {
  display: flex;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

.site-nav .nav-item {
  position: relative;
}

.site-nav .nav-link {
  display: block;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-left: 4px solid transparent;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav .nav-item:first-child .nav-link {
  border-left-color: transparent;
  padding-left: 22px;
}

.site-nav .nav-link:hover {
  background-color: var(--paper);
  text-decoration: none;
  color: var(--ink);
}

.site-nav .nav-link.is-current {
  background-color: var(--paper);
  color: var(--ink);
  border-left-color: var(--channel-blue);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle-icon {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

/* ============================================================
   5. 面包屑
   ============================================================ */
.breadcrumb {
  padding-top: 16px;
  padding-bottom: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}

.breadcrumb a {
  color: var(--ink-faint);
}

.breadcrumb a:hover {
  color: var(--channel-blue);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--ink-faint);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   6. 页面标题区
   ============================================================ */
.page-header {
  padding-top: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.7;
}

/* ============================================================
   7. 通用组件
   ============================================================ */
.section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: var(--ink-faint);
  margin-bottom: 20px;
  max-width: 720px;
}

/* 频道色标 */
.channel-blue {
  --channel-color: var(--channel-blue);
}

.channel-red {
  --channel-color: var(--channel-red);
}

.channel-green {
  --channel-color: var(--channel-green);
}

.channel-orange {
  --channel-color: var(--channel-orange);
}

.channel-purple {
  --channel-color: var(--channel-purple);
}

.channel-teal {
  --channel-color: var(--channel-teal);
}

/* 按钮链接 */
.button-link {
  display: inline-block;
  padding: 10px 22px;
  background-color: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  transition: background-color 0.2s, color 0.2s;
}

.button-link:hover {
  background-color: var(--channel-blue);
  border-color: var(--channel-blue);
  color: var(--white);
  text-decoration: none;
}

/* 文本链接 */
.text-link {
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  text-decoration: none;
  border-bottom-color: currentColor;
}

/* 更多链接 */
.more-link {
  margin-top: 14px;
}

.more-link a {
  font-weight: 600;
  font-size: 14px;
}

.more-link a::after {
  content: " →";
}

/* 相关链接导航 */
.related-links {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
}

.related-links-label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 4px;
}

.related-links-item {
  color: var(--ink-soft);
}

.related-links-item:hover {
  color: var(--channel-blue);
}

/* ============================================================
   8. 首页
   ============================================================ */
.home-main {
  padding-bottom: 48px;
}

/* --- 信息边界与问题分类首屏 --- */
.intro-boundary {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.intro-boundary .intro-copy,
.intro-boundary .boundary-list,
.intro-boundary .problem-grid,
.intro-boundary .content-media-primary {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.intro-copy h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.intro-copy p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
}

.boundary-list {
  margin-top: 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.boundary-item {
  background-color: var(--paper-deep);
  border-left: 4px solid var(--ink);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.boundary-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--ink);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.problem-card {
  display: block;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 29, 25, 0.08);
  text-decoration: none;
}

.problem-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ink);
}

.problem-card p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 0;
}

.content-media-primary {
  margin-top: 24px;
}

.content-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.content-media figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 8px;
  text-align: right;
  font-style: italic;
}

/* --- 最新短片节选 --- */
.latest-excerpt {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  background-color: var(--white);
}

.latest-excerpt .latest-heading-wrap,
.latest-excerpt .date-group,
.latest-excerpt .more-link {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.latest-excerpt .section-intro a {
  font-weight: 600;
}

.date-group {
  margin-top: 18px;
}

.date-group h3 {
  font-size: 18px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.excerpt-list {
  border-top: 1px solid var(--line-light);
}

.excerpt-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}

.item-time {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--ink-faint);
  flex-shrink: 0;
  min-width: 60px;
}

.item-title {
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.item-title:hover {
  color: var(--channel-blue);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--paper-deep);
  color: var(--ink-soft);
  flex-shrink: 0;
}

.tag-documentary {
  background-color: rgba(47, 109, 179, 0.12);
  color: var(--channel-blue);
}

.tag-fiction {
  background-color: rgba(192, 57, 43, 0.1);
  color: var(--channel-red);
}

.tag-experimental {
  background-color: rgba(107, 79, 161, 0.1);
  color: var(--channel-purple);
}

/* --- 频道分类速览 --- */
.channel-overview {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.channel-overview .section-heading,
.channel-overview .channel-list {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.channel-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.channel-entry {
  display: flex;
  gap: 14px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--channel-color, var(--channel-blue));
  border-radius: var(--radius-md);
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 29, 25, 0.06);
}

.channel-figure {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.channel-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-info {
  flex: 1;
  min-width: 0;
}

.channel-info h3 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--ink);
}

.channel-info p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.55;
  margin-bottom: 6px;
}

.channel-link {
  font-size: 13px;
  font-weight: 600;
}

.channel-link::after {
  content: " →";
}

/* --- 创作者与幕后内容双栏 --- */
.creators-behind-duo {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  background-color: var(--white);
}

.creators-behind-duo .duo-column {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.duo-column {
  display: block;
}

.duo-column h3 {
  font-size: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.behind-teaser,
.creator-mini {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.behind-teaser h4,
.creator-mini h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.behind-teaser h4 a,
.creator-mini h4 a {
  color: var(--ink);
}

.behind-teaser h4 a:hover,
.creator-mini h4 a:hover {
  color: var(--channel-blue);
}

.behind-teaser p,
.creator-mini p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 6px;
}

.behind-teaser a,
.creator-mini a {
  font-size: 13px;
  font-weight: 600;
}

/* --- 观看指南步骤条 --- */
.guide-steps {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.guide-steps .section-heading,
.guide-steps .steps-list {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step-counter;
}

.step-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  position: relative;
  transition: transform 0.2s ease;
}

.step-item:hover {
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 10px;
}

.step-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 8px;
}

.step-item a {
  font-size: 13px;
  font-weight: 600;
}

/* --- 反馈入口 --- */
.feedback-entry {
  padding-top: 32px;
  padding-bottom: 40px;
  background-color: var(--paper-deep);
}

.feedback-entry .feedback-inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.feedback-entry h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.feedback-entry p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 0;
}

/* ============================================================
   9. 内页通用布局
   ============================================================ */
.inner-main {
  padding-bottom: 40px;
  background-color: var(--paper);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  padding-top: 8px;
}

.main-content {
  min-width: 0;
}

.sidebar-area,
.sidebar,
.channel-aside {
  min-width: 0;
}

/* 侧栏通用块 */
.aside-block,
.sidebar-block,
.aside-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}

.aside-block h2,
.sidebar-block h2,
.sidebar-title,
.aside-card h2 {
  font-size: 17px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 12px;
  color: var(--ink);
}

.aside-block p,
.sidebar-block p,
.aside-card p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 10px;
}

.aside-list li,
.aside-links li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.aside-list li:last-child,
.aside-links li:last-child {
  border-bottom: none;
}

.aside-list a,
.aside-links a {
  color: var(--ink);
  font-weight: 500;
}

.aside-list a:hover,
.aside-links a:hover {
  color: var(--channel-blue);
}

.aside-more {
  margin-top: 10px;
  font-size: 13px;
}

/* ============================================================
   10. 频道分类页
   ============================================================ */
.channel-grid-section {
  margin-bottom: 32px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--channel-color, var(--channel-blue));
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(31, 29, 25, 0.08);
}

.channel-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.channel-card .channel-name {
  font-size: 18px;
  padding: 14px 16px 4px;
  color: var(--ink);
}

.channel-card .channel-tagline {
  font-size: 13px;
  color: var(--ink-faint);
  padding: 0 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.channel-card .channel-link {
  display: inline-block;
  margin: 0 16px 14px;
  font-size: 13px;
  font-weight: 600;
}

.channel-card .channel-link::after {
  content: " →";
}

.channel-detail-section {
  margin-bottom: 32px;
}

.channel-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.channel-detail-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--channel-color, var(--channel-blue));
  border-radius: var(--radius-md);
  padding: 16px;
}

.detail-channel-name {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ink);
}

.detail-desc {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 8px;
}

.detail-tags {
  font-size: 13px;
  color: var(--ink-faint);
}

.aside-link {
  display: inline-block;
  margin-top: 4px;
}

/* ============================================================
   11. 最新短片页
   ============================================================ */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.latest-list-section {
  margin-bottom: 24px;
}

.date-group-title {
  font-size: 18px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 12px;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.short-list {
  border-top: 1px solid var(--line-light);
  margin-bottom: 16px;
}

.short-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}

.short-item img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.short-info {
  flex: 1;
  min-width: 0;
}

.short-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 4px;
  display: block;
}

.short-title:hover {
  color: var(--channel-blue);
}

.short-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}

.type-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--paper-deep);
  color: var(--ink-soft);
}

.update-time {
  font-variant-numeric: tabular-nums;
}

.list-footnote {
  font-size: 14px;
  color: var(--ink-faint);
  padding-top: 8px;
}

.list-footnote a {
  font-weight: 600;
  margin-right: 12px;
}

.tag-index-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.tag-index-list li:last-child {
  border-bottom: none;
}

.tag-index-list a {
  color: var(--ink-soft);
}

.tag-index-list a:hover {
  color: var(--channel-blue);
}

.sidebar-text {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ============================================================
   12. 创作者页
   ============================================================ */
.creators-direction {
  margin-bottom: 32px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.direction-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--channel-color, var(--channel-blue));
  border-radius: var(--radius-md);
  padding: 18px;
}

.direction-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.direction-card p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 0;
}

.creators-list {
  margin-bottom: 28px;
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.creator-card {
  display: flex;
  gap: 14px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 29, 25, 0.06);
}

.creator-figure {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.creator-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-info {
  flex: 1;
  min-width: 0;
}

.creator-info h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.creator-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: var(--radius-sm);
  background-color: rgba(47, 109, 179, 0.1);
  color: var(--channel-blue);
  margin-bottom: 6px;
}

.creator-info p:not(.creator-tag) {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 6px;
}

.creator-info a {
  font-size: 13px;
  font-weight: 600;
}

.creator-info a::after {
  content: " →";
}

/* ============================================================
   13. 幕后内容页
   ============================================================ */
.content-area {
  min-width: 0;
}

.feature-article {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.article-media {
  margin-bottom: 20px;
}

.article-media img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.article-media figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 8px;
  font-style: italic;
}

.feature-article h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-article p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.process-aside {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.process-aside h2 {
  font-size: 17px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.process-steps {
  counter-reset: process-counter;
}

.process-step {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  padding-left: 40px;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step::before {
  counter-increment: process-counter;
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 0;
}

.aside-link-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}

.aside-link-block p {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

/* ============================================================
   14. 观看指南页
   ============================================================ */
.guide-goal-section,
.guide-steps-section,
.guide-check-section {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.guide-goal-section h2,
.guide-steps-section h2,
.guide-check-section h2 {
  font-size: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.goal-statement {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.6;
}

.condition-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.condition-list li:last-child {
  border-bottom: none;
}

.condition-list li::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 15px;
  color: var(--channel-blue);
}

.guide-step-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.guide-step-item:last-of-type {
  border-bottom: none;
}

.guide-step-item .step-number {
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

.guide-figure {
  margin-top: 16px;
}

.guide-figure img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.guide-figure figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
  font-style: italic;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--channel-green);
}

.check-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-faint);
}

.check-note a {
  font-weight: 600;
}

.sidebar-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   15. 帮助反馈页
   ============================================================ */
.troubleshoot-section,
.feedback-process-section,
.faq-section {
  margin-bottom: 28px;
}

.trouble-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.trouble-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--channel-color, var(--channel-blue));
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.2s ease;
}

.trouble-card:hover {
  transform: translateY(-2px);
}

.trouble-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.trouble-card p {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 10px;
}

.trouble-card a {
  font-size: 13px;
  font-weight: 600;
}

.trouble-card a::after {
  content: " →";
}

.feedback-process-section .process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.feedback-process-section .process-step {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 18px 18px 56px;
  border-bottom: none;
}

.feedback-process-section .process-step::before {
  top: 18px;
  left: 16px;
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.feedback-process-section .process-step h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feedback-process-section .process-step p {
  font-size: 13px;
}

.process-figure {
  margin-top: 4px;
}

.process-figure img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.process-figure figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
  font-style: italic;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: background-color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-faint);
}

.faq-item[open] summary {
  background-color: var(--paper-deep);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 4px 18px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============================================================
   16. 页脚
   ============================================================ */
.site-footer {
  background-color: var(--ink);
  color: var(--paper);
  margin-top: auto;
  padding-top: 36px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 28px;
}

.footer-col h4 {
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  border-bottom: 1px solid rgba(246, 242, 233, 0.2);
  padding-bottom: 6px;
}

.footer-col li {
  padding: 4px 0;
}

.footer-col a {
  color: rgba(246, 242, 233, 0.8);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 242, 233, 0.5);
}

.copyright {
  border-top: 1px solid rgba(246, 242, 233, 0.15);
  padding-top: 16px;
  padding-bottom: 20px;
  font-size: 13px;
  color: rgba(246, 242, 233, 0.6);
  text-align: center;
}

/* ============================================================
   17. 404 页
   ============================================================ */
.error-main {
  background-color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  min-height: 60vh;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--channel-red);
  border-radius: var(--radius-md);
  padding: 40px 32px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 900;
  color: var(--channel-red);
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.error-suggest {
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.error-back {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.error-back:hover {
  background-color: var(--channel-blue);
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   18. 响应式 —— 移动端
   ============================================================ */
@media (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* 报头 */
  .masthead {
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .brand-name {
    font-size: 30px;
  }

  /* 导航：汉堡菜单 */
  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-link {
    padding: 12px 18px;
    border-left: 4px solid transparent;
  }

  .site-nav .nav-item:first-child .nav-link {
    border-left-color: transparent;
    padding-left: 18px;
  }

  .site-nav .nav-link.is-current {
    border-left-color: var(--channel-blue);
  }

  .nav-toggle {
    display: inline-flex;
    margin: 8px 16px;
  }

  /* 页面标题 */
  .page-header {
    padding-top: 12px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 26px;
  }

  /* 首页 */
  .intro-copy h1 {
    font-size: 26px;
  }

  .boundary-list {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .content-media-primary img {
    max-height: 240px;
  }

  .channel-list {
    grid-template-columns: 1fr;
  }

  .channel-figure {
    width: 100px;
    height: 70px;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .feedback-entry .feedback-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 内页布局：主内容优先，侧栏下移 */
  .page-layout,
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 频道页 */
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel-detail-list {
    grid-template-columns: 1fr;
  }

  /* 创作者页 */
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .creators-grid {
    grid-template-columns: 1fr;
  }

  /* 幕后页 */
  .feature-article {
    padding: 16px;
  }

  /* 指南页 */
  .guide-goal-section,
  .guide-steps-section,
  .guide-check-section {
    padding: 16px;
  }

  /* 反馈页 */
  .trouble-grid {
    grid-template-columns: 1fr;
  }

  .feedback-process-section .process-steps {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .masthead,
  .site-nav .nav-list,
  .breadcrumb,
  .page-header,
  .inner-main > section,
  .inner-main > .page-layout,
  .footer-columns,
  .copyright,
  .utility-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .intro-boundary .intro-copy,
  .intro-boundary .boundary-list,
  .intro-boundary .problem-grid,
  .intro-boundary .content-media-primary,
  .latest-excerpt .latest-heading-wrap,
  .latest-excerpt .date-group,
  .latest-excerpt .more-link,
  .channel-overview .section-heading,
  .channel-overview .channel-list,
  .creators-behind-duo .duo-column,
  .guide-steps .section-heading,
  .guide-steps .steps-list,
  .feedback-entry .feedback-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .excerpt-item {
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .item-time {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }

  .short-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .short-item img {
    width: 100%;
    height: 140px;
  }

  .creator-card {
    flex-direction: column;
  }

  .creator-figure {
    width: 100%;
    height: 160px;
  }

  .channel-entry {
    flex-direction: column;
  }

  .channel-figure {
    width: 100%;
    height: 140px;
  }

  .guide-step-item {
    flex-direction: column;
    gap: 6px;
  }
}

/* ============================================================
   19. 滚动出现动画（增强，不影响初始可见性）
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .channel-entry,
  .step-item,
  .channel-card,
  .direction-card,
  .creator-card,
  .trouble-card {
    animation: fade-up 0.5s ease both;
  }

  .channel-entry:nth-child(2),
  .step-item:nth-child(2),
  .channel-card:nth-child(2),
  .direction-card:nth-child(2),
  .creator-card:nth-child(2),
  .trouble-card:nth-child(2) {
    animation-delay: 0.06s;
  }

  .channel-entry:nth-child(3),
  .step-item:nth-child(3),
  .channel-card:nth-child(3),
  .direction-card:nth-child(3),
  .creator-card:nth-child(3),
  .trouble-card:nth-child(3) {
    animation-delay: 0.12s;
  }

  .channel-entry:nth-child(4),
  .channel-card:nth-child(4),
  .creator-card:nth-child(4),
  .trouble-card:nth-child(4) {
    animation-delay: 0.18s;
  }

  .channel-entry:nth-child(5),
  .channel-card:nth-child(5) {
    animation-delay: 0.24s;
  }

  .channel-entry:nth-child(6),
  .channel-card:nth-child(6) {
    animation-delay: 0.3s;
  }

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
