/* ==========================================================================
   糖心vlog · 整站样式表
   版本：1.0
   说明：本文件为全站唯一样式来源，覆盖首页、全部内页与404页。
         所有路径均为站点根绝对路径，无外部依赖。
   ========================================================================== */

/* ==========================================================================
   Base —— 基础变量、重置与全局排版
   ========================================================================== */

:root {
  --color-primary: #d97742;
  --color-secondary: #2f8f7a;
  --color-bg: #f7f5f1;
  --color-text: #2b2b2b;
  --color-border: #e5e1da;
  --color-tag-bg: #f0ece5;
  --color-white: #ffffff;
  --color-footer-bg: #2b2b2b;
  --color-footer-text: #c9c4bc;
  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --inner-content-width: 960px;
  --header-height: 60px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition-base: 0.2s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text);
  line-height: 1.4;
  font-weight: 600;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 0.5rem;
}

/* 焦点可见性辅助 */
:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Layout —— 全局布局骨架：页头、页脚、主体容器
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 13px;
  color: #8a857e;
  border-left: 1px solid var(--color-border);
  padding-left: 10px;
  line-height: 1.4;
}

/* 主导航 */
.site-nav {
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  list-style: none;
}

.nav-list li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  font-size: 15px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.nav-list a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-list a.is-current {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* 主体区域 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 首页主体 */
.home-main {
  width: 100%;
}

/* 内页主体 */
.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 20px 60px;
  width: 100%;
}

/* 页脚 */
.site-footer {
  flex-shrink: 0;
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-column h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul a {
  color: var(--color-footer-text);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.footer-column ul a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  color: #8a857e;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ==========================================================================
   Components —— 通用组件样式
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #8a857e;
  margin-bottom: 16px;
  padding: 0;
}

.breadcrumb a {
  color: var(--color-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  color: #b5b0a8;
}

.breadcrumb-current {
  color: #6b665f;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #6b665f;
  line-height: 1.7;
  max-width: 760px;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 15px;
  color: #6b665f;
  margin-bottom: 20px;
  max-width: 760px;
}

/* 通用标签 */
.channel-tag,
.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: var(--color-tag-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.channel-tag:hover,
.tag-item:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

.channel-tag.is-active,
.tag-item.is-active {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

/* 主按钮与次按钮 */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  min-height: 44px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: #c46532;
  border-color: #c46532;
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-secondary);
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition-base);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.text-link:hover {
  color: var(--color-primary);
}

/* 焦点大卡 */
.hero-focus-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 320px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.hero-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
}

.hero-content p {
  font-size: 16px;
  color: #6b665f;
  line-height: 1.7;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* 紧凑卡片 */
.compact-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.compact-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.compact-card h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.compact-card h2 a {
  color: var(--color-text);
  text-decoration: none;
}

.compact-card h2 a:hover {
  color: var(--color-primary);
}

.compact-card p {
  font-size: 14px;
  color: #6b665f;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 频道卡片 */
.channel-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.channel-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.channel-card-body {
  padding: 20px;
}

.channel-card-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.channel-card-body h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.channel-card-body h3 a:hover {
  color: var(--color-primary);
}

.channel-card-body p {
  font-size: 14px;
  color: #6b665f;
  line-height: 1.6;
  margin-bottom: 10px;
}

.channel-card-body .text-link {
  font-size: 14px;
}

/* 片单卡片 */
.collection-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.collection-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.collection-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.collection-card-body {
  padding: 20px;
}

.collection-card-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.collection-card-body h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.collection-card-body h3 a:hover {
  color: var(--color-primary);
}

.collection-card-body p {
  font-size: 14px;
  color: #6b665f;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* 步骤条 */
.guide-step {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.guide-step p {
  font-size: 14px;
  color: #6b665f;
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ 条目 */
.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-secondary);
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.faq-item h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.faq-item h3 a:hover {
  color: var(--color-primary);
}

.faq-item p {
  font-size: 14px;
  color: #6b665f;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 反馈条 */
.feedback-bar {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

.feedback-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.feedback-content h2 {
  font-size: 18px;
  margin-bottom: 0;
  flex: 1 1 100%;
}

.feedback-content p {
  font-size: 14px;
  color: #6b665f;
  flex: 1 1 100%;
  margin-bottom: 0;
}

.feedback-content .btn-primary,
.feedback-content .btn-secondary {
  min-width: 120px;
}

/* 内容媒体 */
.content-media {
  margin: 20px 0;
}

.content-media img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.content-media figcaption {
  font-size: 13px;
  color: #8a857e;
  margin-top: 8px;
  text-align: center;
}

.content-media-inline {
  max-width: 100%;
}

/* 相关链接 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.related-links-item {
  font-size: 14px;
  color: var(--color-secondary);
  text-decoration: none;
  padding: 4px 12px;
  background-color: var(--color-tag-bg);
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.related-links-item:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ==========================================================================
   Pages —— 首页
   ========================================================================== */

/* 首页首屏：焦点列表 */
.hero-focus-list {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 8px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.hero-compact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* 频道标签条 */
.channel-tag-bar {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.section-heading p {
  font-size: 15px;
  color: #6b665f;
  margin-bottom: 0;
}

.section-heading p a {
  color: var(--color-secondary);
  font-weight: 500;
}

.section-heading p a:hover {
  color: var(--color-primary);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 频道展览区 */
.channel-exhibition-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 专题片单区 */
.collection-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.collection-section .collection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 观看指南摘要区 */
.guide-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.guide-section .guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* FAQ 摘要区 */
.faq-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 20px 8px;
}

.faq-section .faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 反馈入口条 */
.home-main .feedback-bar {
  max-width: var(--container-width);
  margin: 32px auto;
  padding: 24px 20px;
}

/* ==========================================================================
   Pages —— 频道展览页
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* 标签筛选区 */
.tag-filter {
  margin-bottom: 8px;
}

.tag-filter .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 频道列表 */
.channel-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.channel-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  scroll-margin-top: 80px;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0;
}

.channel-tags {
  font-size: 13px;
  color: var(--color-secondary);
  margin-bottom: 0;
}

.channel-desc {
  font-size: 15px;
  color: #6b665f;
  line-height: 1.7;
  margin-bottom: 0;
}

.channel-example {
  font-size: 14px;
  color: #8a857e;
  margin-bottom: 0;
}

.channel-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--color-tag-bg);
}

.media-figure img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.media-figure figcaption {
  font-size: 12px;
  color: #8a857e;
  padding: 6px 8px;
  line-height: 1.4;
  text-align: center;
}

/* 频道展览页相关列表 */
.channel-exhibition-page .related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.related-list .related-item {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.related-list .related-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.related-list .related-item h3 {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 0;
}

.related-list .related-item p {
  font-size: 13px;
  color: #8a857e;
  margin-bottom: 0;
}

/* ==========================================================================
   Pages —— 观看指南页
   ========================================================================== */

.guide-steps {
  margin-bottom: 40px;
}

.guide-steps .steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.step-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-item .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #6b665f;
  line-height: 1.7;
  margin-bottom: 0;
  min-width: 0;
  word-break: break-word;
}

/* 指南详述章节 */
.guide-detail {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.detail-chapter {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  scroll-margin-top: 80px;
}

.chapter-text {
  max-width: 100%;
}

.chapter-text h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.chapter-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.chapter-text .text-link {
  margin-top: 8px;
}

/* 相关指南 */
.related-guide {
  margin-top: 32px;
}

.related-guide .related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.related-guide .related-item {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  min-width: 220px;
}

.related-guide .related-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.related-guide .related-item h3 {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 0;
}

.related-guide .related-item p {
  font-size: 13px;
  color: #8a857e;
  margin-bottom: 0;
}

/* ==========================================================================
   Pages —— 专题片单页
   ========================================================================== */

.collection-cards {
  margin-bottom: 40px;
}

.collection-cards .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.card-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background-color: var(--color-tag-bg);
}

.card-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.collection-cards .collection-card {
  display: flex;
  flex-direction: column;
}

.collection-cards .collection-card h3 {
  font-size: 17px;
  padding: 16px 20px 4px;
  margin-bottom: 0;
}

.collection-cards .collection-card p {
  font-size: 14px;
  color: #6b665f;
  padding: 0 20px 16px;
  margin-bottom: 0;
}

/* 片单明细 */
.collection-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.detail-block {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  scroll-margin-top: 80px;
}

.detail-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.detail-block p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 12px;
}

.detail-block p strong {
  color: var(--color-text);
}

.content-list {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
}

.content-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 6px;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-secondary);
}

.more-note {
  font-size: 14px;
  color: #8a857e;
  margin-top: 16px;
}

.more-note a {
  color: var(--color-secondary);
}

.more-note a:hover {
  color: var(--color-primary);
}

/* 片单页反馈条 */
.featured-collections-page .feedback-bar {
  margin-top: 32px;
}

.featured-collections-page .feedback-bar p {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 12px;
}

/* ==========================================================================
   Pages —— 内容科普页
   ========================================================================== */

.notes-hero-figure {
  margin: 0 0 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-tag-bg);
}

.notes-hero-figure img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.notes-hero-figure figcaption {
  font-size: 13px;
  color: #8a857e;
  padding: 10px 16px;
  text-align: center;
}

/* 目录 */
.notes-directory {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.directory-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 12px;
}

.directory-list li {
  padding: 4px 0;
}

.directory-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--color-secondary);
  text-decoration: none;
  line-height: 1.6;
}

.directory-list a::before {
  content: "›";
  color: var(--color-primary);
  font-weight: 700;
}

.directory-list a:hover {
  color: var(--color-primary);
}

/* 问题分组 */
.notes-group {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.group-intro {
  font-size: 15px;
  color: #6b665f;
  margin-bottom: 20px;
  max-width: 760px;
}

.notes-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.notes-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.notes-item p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* 术语列表 */
.term-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.term-item dt {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.term-item dd {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

/* FAQ 手风琴 */
.content-notes-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item details {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: background-color var(--transition-base);
}

.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;
  color: var(--color-secondary);
  transition: transform var(--transition-base);
}

.faq-item details[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: var(--color-tag-bg);
}

.faq-item details p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   Pages —— 站点信息页
   ========================================================================== */

.content-principles,
.content-boundaries,
.feedback-path {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.content-principles .content-media-inline {
  margin: 20px 0;
}

.principle-list,
.boundary-list,
.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principle-item,
.boundary-item,
.feedback-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.principle-item h3,
.boundary-item h3,
.feedback-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.principle-item p,
.boundary-item p,
.feedback-item p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 0;
}

.feedback-item p a {
  color: var(--color-secondary);
  font-weight: 500;
}

.feedback-item p a:hover {
  color: var(--color-primary);
}

/* 相关页面导航 */
.related-nav {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

.related-nav h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.related-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-nav ul li a {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: var(--color-tag-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.related-nav ul li a:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ==========================================================================
   Pages —— 404 页面
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  flex: 1;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 48px 32px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #6b665f;
  margin-bottom: 24px;
}

.error-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
  transition: background-color var(--transition-base);
}

.error-back:hover {
  background-color: #c46532;
  color: var(--color-white);
}

.error-help {
  font-size: 13px;
  color: #8a857e;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive —— 响应式断点
   ========================================================================== */

/* 平板及以下 */
@media (max-width: 1024px) {
  .hero-focus-list {
    grid-template-columns: 1fr;
  }

  .hero-focus-card {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 300px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-section .collection-cards,
  .collection-cards .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-section .guide-steps,
  .guide-steps .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-tagline {
    display: none;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
    height: auto;
  }

  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: max-height 0.3s ease;
    z-index: 99;
  }

  .nav-list.is-open {
    max-height: 480px;
    overflow-y: auto;
  }

  .nav-list li {
    height: auto;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 14px 20px;
    height: auto;
    border-bottom: none;
    font-size: 16px;
  }

  .nav-list a.is-current {
    border-bottom: none;
    background-color: var(--color-tag-bg);
  }

  /* 首页模块 */
  .hero-focus-list {
    padding: 20px 16px 0;
    gap: 16px;
  }

  .hero-focus-card {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 220px;
    min-height: 180px;
  }

  .hero-content {
    padding: 20px;
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-compact-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .channel-tag-bar,
  .channel-exhibition-section,
  .collection-section,
  .guide-section,
  .faq-section {
    padding: 24px 16px 0;
  }

  .channel-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-section .collection-cards,
  .collection-cards .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-section .guide-steps,
  .guide-steps .steps-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-section .faq-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feedback-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-main .feedback-bar {
    margin: 24px 16px;
    padding: 20px;
  }

  /* 内页 */
  .inner-main {
    padding: 16px 16px 40px;
  }

  .page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 20px;
  }

  /* 频道展览页 */
  .channel-block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .channel-media {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .media-figure img {
    height: 100px;
  }

  /* 观看指南页 */
  .step-item {
    padding: 20px;
  }

  .detail-chapter {
    padding: 20px;
  }

  /* 专题片单页 */
  .detail-block {
    padding: 20px;
  }

  .card-figure img {
    height: 160px;
  }

  /* 内容科普页 */
  .notes-directory {
    padding: 20px;
  }

  .directory-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .notes-item,
  .term-item,
  .principle-item,
  .boundary-item,
  .feedback-item {
    padding: 16px 20px;
  }

  /* 站点信息页 */
  .related-nav {
    padding: 20px;
  }

  .related-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .related-nav ul li a {
    display: block;
    text-align: center;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 32px 16px 20px;
  }

  .footer-column h2 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .footer-column ul li {
    margin-bottom: 6px;
  }

  .footer-column ul a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 12px 16px;
    font-size: 12px;
  }

  /* 404 */
  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-panel h1 {
    font-size: 20px;
  }
}

/* 超小屏 */
@media (max-width: 420px) {
  .brand-name {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-media {
    grid-template-columns: 1fr;
  }
}

/* 打印样式 */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .feedback-bar,
  .related-links,
  .related-nav {
    display: none !important;
  }

  .site-main {
    padding: 0;
  }

  body {
    background-color: var(--color-white);
  }
}
