/* ============================================================
   吃瓜在线观看 - 全站样式表
   视觉方向：明亮家居选品风 / 温暖色调 / 清晰布局
   ============================================================ */

/* ============================================================
   1. Base - 基础重置与全局变量
   ============================================================ */
:root {
  --color-bg: #f5f0e8;
  --color-text: #3e3e3e;
  --color-accent: #c49a6c;
  --color-dark: #2c2c2c;
  --color-white: #ffffff;
  --color-border: #e5dccf;
  --color-text-light: #7a7268;
  --color-bg-card: #fffdf9;
  --color-bg-soft: #efe8dc;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(44, 44, 44, 0.08);
  --shadow-md: 0 4px 14px rgba(44, 44, 44, 0.1);
  --shadow-hover: 0 8px 24px rgba(44, 44, 44, 0.14);
  --container-width: 1200px;
  --header-height: 68px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 0.8rem;
}

/* ============================================================
   2. Layout - 全站布局骨架
   ============================================================ */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

.inner-main {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* ============================================================
   3. Components - 通用组件
   ============================================================ */

/* --- 页头 --- */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.brand-logo:hover {
  color: var(--color-accent);
}

.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.95rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-list li a:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-dark);
}

.site-nav .nav-list li a.is-current {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- 面包屑 --- */
.breadcrumb {
  padding: 20px 0 8px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb a:hover {
  color: var(--color-dark);
}

.breadcrumb-sep {
  color: var(--color-text-light);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--color-text);
}

/* --- 页面标题区 --- */
.page-header {
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 36px;
}

.page-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.page-description {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.7;
}

/* --- 区块标题 --- */
.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
  position: relative;
}

.section-intro {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 760px;
}

.section-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 760px;
}

/* --- 卡片通用 --- */
.topic-card,
.guide-entry-card,
.detail-card,
.preview-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.topic-card:hover,
.guide-entry-card:hover,
.detail-card:hover,
.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* --- 图片容器 --- */
.topic-figure,
.channel-media,
.guide-figure,
.rec-media {
  margin: 0;
  overflow: hidden;
  background-color: var(--color-bg-soft);
}

.topic-figure img,
.channel-media img,
.guide-figure img,
.rec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 侧栏 --- */
.sidebar-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.sidebar-links li {
  margin-bottom: 8px;
}

.sidebar-links li a {
  font-size: 0.92rem;
  color: var(--color-text);
  display: inline-block;
  padding: 2px 0;
}

.sidebar-links li a:hover {
  color: var(--color-accent);
}

.sidebar-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- 页脚 --- */
.site-footer {
  background-color: var(--color-dark);
  color: #b8b0a4;
  padding: 56px 0 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: #b8b0a4;
  max-width: 520px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #b8b0a4;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-copyright {
  font-size: 0.82rem;
  color: #8a8379;
  text-align: center;
  padding-top: 8px;
}

/* ============================================================
   4. Pages - 首页
   ============================================================ */
.home-main {
  width: 100%;
}

/* --- Hero 首屏 --- */
.hero-section {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0 56px;
}

.hero-section .hero-content,
.hero-section .hero-figure {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  max-width: 640px;
}

.hero-slogan {
  font-size: 1.15rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.hero-cta,
.hero-cta-secondary {
  display: inline-block;
  padding: 10px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta {
  background-color: var(--color-accent);
  color: var(--color-white);
  margin-right: 12px;
}

.hero-cta:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.hero-cta-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.hero-cta-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-bg-soft);
  max-height: 420px;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.hero-figure figcaption {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

/* --- 首页频道导航 --- */
.channel-nav-section {
  padding: 48px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-tag {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.channel-tag:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* --- 首页专题卡片 --- */
.topic-cards-section {
  padding: 48px 24px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.topic-cards-section .section-title,
.topic-cards-section .section-intro {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.topic-card {
  display: flex;
  flex-direction: column;
}

.topic-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
}

.topic-card-link:hover {
  color: var(--color-text);
}

.topic-card .topic-figure {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.topic-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.topic-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.topic-summary {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
}

.topic-count {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* --- 首页指南入口 --- */
.guide-entry-section {
  padding: 48px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.guide-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-entry-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-entry-card h3 {
  font-size: 1.15rem;
}

.guide-entry-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  flex: 1;
}

.guide-entry-card a {
  display: inline-block;
  font-weight: 500;
  font-size: 0.92rem;
  align-self: flex-start;
  padding: 6px 0;
  border-bottom: 2px solid var(--color-accent);
}

/* --- 首页编辑推荐 --- */
.editor-picks-section {
  padding: 48px 24px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.editor-picks-section .section-title,
.editor-picks-section .section-intro {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.editor-picks-list {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editor-pick-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editor-pick-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.pick-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  color: var(--color-text);
}

.pick-link:hover {
  color: var(--color-text);
}

.pick-link img {
  width: 160px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.pick-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pick-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.pick-reason {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.pick-duration {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* --- 首页站内链接 --- */
.home-internal-links {
  padding: 32px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.home-internal-links p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.home-internal-links a {
  margin: 0 8px;
  font-weight: 500;
}

/* ============================================================
   5. Pages - 频道分类页
   ============================================================ */
.channel-section {
  margin-bottom: 48px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel-item {
  display: flex;
  gap: 24px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow 0.25s ease;
}

.channel-item:hover {
  box-shadow: var(--shadow-md);
}

.channel-media {
  width: 260px;
  min-width: 260px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
}

.channel-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.channel-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.channel-content p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0;
}

.channel-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-accent);
}

/* --- 频道详情 --- */
.channel-detail-section {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.channel-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
}

.detail-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- 频道关联专题 --- */
.channel-topic-links {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

.topic-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.topic-link-list li a {
  display: block;
  padding: 12px 18px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.topic-link-list li a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   6. Pages - 内容专题页
   ============================================================ */
.topic-grid-section {
  margin-bottom: 48px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  display: flex;
  flex-direction: column;
}

.topic-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
}

.topic-card-link:hover {
  color: var(--color-text);
}

.topic-card .topic-figure {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.topic-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.topic-card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.topic-card-summary {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
}

.topic-card-meta {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
}

.topic-card-link-more {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
  border-bottom: 1px solid var(--color-accent);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* --- 专题预览 --- */
.topic-preview-section {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.topic-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.preview-card {
  display: flex;
  flex-direction: column;
}

.preview-card-header {
  padding: 20px 22px 0;
}

.preview-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.preview-card-subtitle {
  font-size: 0.88rem;
  color: var(--color-accent);
  font-weight: 500;
}

.preview-card-content {
  padding: 14px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.preview-card-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0;
}

.preview-card-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-accent);
}

/* --- 相关链接 --- */
.related-links-section {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-link-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.related-link-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

.related-link-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================================
   7. Pages - 观看指南页
   ============================================================ */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.guide-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.guide-section-intro p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.guide-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50%;
}

.step-body p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.guide-figure {
  border-radius: var(--radius-md);
  margin-top: 20px;
  aspect-ratio: 16 / 7;
}

.guide-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

/* --- 观看指南小贴士 --- */
.guide-tips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tip-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.tip-item h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.tip-item p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- 指南侧栏 --- */
.guide-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

/* ============================================================
   8. Pages - 常见问题页
   ============================================================ */
.faq-content {
  margin-bottom: 40px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.faq-main {
  min-width: 0;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 0;
}

/* --- FAQ 侧栏 --- */
.faq-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.faq-sidebar .sidebar-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* --- 内容媒体 --- */
.content-media {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-soft);
}

.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 6;
}

.content-media figcaption {
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   9. Pages - 编辑推荐页
   ============================================================ */
.recommendation-list {
  margin-bottom: 48px;
}

.recommendation-item {
  display: flex;
  gap: 24px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s ease;
}

.recommendation-item:hover {
  box-shadow: var(--shadow-md);
}

.rec-media {
  width: 240px;
  min-width: 240px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
}

.rec-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.rec-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.rec-meta {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0;
}

.rec-reason {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0;
}

.rec-reason strong {
  color: var(--color-dark);
  font-weight: 600;
}

.rec-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-accent);
}

/* --- 推荐说明 --- */
.recommendation-notes {
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
}

.recommendation-notes p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 760px;
}

/* ============================================================
   10. Pages - 404 错误页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

.error-panel h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.error-link {
  display: inline-block;
  padding: 10px 20px;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.error-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.error-help {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.error-help a {
  margin: 0 6px;
  font-weight: 500;
}

/* ============================================================
   11. Responsive - 响应式
   ============================================================ */

/* --- 平板 ≤1024px --- */
@media (max-width: 1024px) {
  .topic-cards-grid,
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr 260px;
    gap: 28px;
  }

  .rec-media {
    width: 200px;
    min-width: 200px;
  }

  .channel-media {
    width: 220px;
    min-width: 220px;
  }
}

/* --- 手机 ≤768px --- */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px;
    gap: 0;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li a {
    padding: 14px 12px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .inner-main {
    padding: 0 16px 40px;
  }

  .breadcrumb {
    padding: 14px 0 6px;
    font-size: 0.84rem;
  }

  .page-header {
    padding: 12px 0 20px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .hero-section {
    padding: 32px 0 40px;
  }

  .hero-section .hero-content,
  .hero-section .hero-figure {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .hero-cta,
  .hero-cta-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .channel-nav-section,
  .topic-cards-section,
  .guide-entry-section,
  .editor-picks-section,
  .home-internal-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .channel-tags {
    gap: 8px;
  }

  .channel-tag {
    padding: 8px 18px;
    font-size: 0.88rem;
  }

  .topic-cards-grid,
  .topic-grid,
  .channel-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-entry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-entry-card {
    padding: 20px;
  }

  .editor-picks-list {
    gap: 16px;
  }

  .pick-link {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px;
    gap: 14px;
  }

  .pick-link img {
    width: 120px;
    height: 68px;
  }

  .pick-info h3 {
    font-size: 0.98rem;
  }

  .pick-reason {
    font-size: 0.85rem;
  }

  .channel-item {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .channel-media {
    width: 100%;
    min-width: 0;
  }

  .channel-content {
    gap: 6px;
  }

  .channel-content h3 {
    font-size: 1.1rem;
  }

  .topic-link-list {
    grid-template-columns: 1fr;
  }

  .topic-preview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .related-link-card {
    padding: 14px;
  }

  .guide-layout,
  .faq-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .guide-sidebar,
  .faq-sidebar {
    position: static;
    width: 100%;
    order: 2;
  }

  .guide-content,
  .faq-main {
    order: 1;
    width: 100%;
  }

  .guide-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
  }

  .guide-tips {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-figure img {
    aspect-ratio: 16 / 9;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 16px 14px;
    font-size: 0.9rem;
  }

  .recommendation-item {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .rec-media {
    width: 100%;
    min-width: 0;
  }

  .rec-title {
    font-size: 1.05rem;
  }

  .content-media img {
    aspect-ratio: 16 / 9;
  }

  .error-main {
    padding: 48px 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 3rem;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .footer-brand {
    margin-bottom: 24px;
  }
}

/* --- 小屏手机 ≤390px --- */
@media (max-width: 390px) {
  .brand-logo {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-cta,
  .hero-cta-secondary {
    display: block;
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .pick-link {
    flex-direction: column;
  }

  .pick-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .related-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-btn,
  .error-link {
    width: 100%;
    text-align: center;
  }
}
