/* ==========================================================================
   base — 全局基础
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background-color: #F4F6F8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #4A90D9;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1F4E5F;
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.3;
  color: #1F4E5F;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #D0D7DE;
}

th {
  font-weight: 600;
  color: #1F4E5F;
  background-color: #EDF1F4;
  white-space: nowrap;
}

td {
  vertical-align: top;
}

figure {
  margin: 0;
}

/* ==========================================================================
   layout — 全站骨架
   ========================================================================== */

.site-body,
.site-home,
.site-inner,
.site-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #D0D7DE;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 22px;
  font-weight: 600;
  color: #1F4E5F;
  letter-spacing: 1px;
}

.brand-slogan {
  font-size: 13px;
  color: #6B7A8A;
}

.site-nav {
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #333333;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #1F4E5F;
  background-color: #EDF1F4;
  text-decoration: none;
}

.nav-list a.is-current {
  color: #1F4E5F;
  font-weight: 600;
  background-color: #E3EBF1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: 4px;
  border: 1px solid #D0D7DE;
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: #EDF1F4;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #1F4E5F;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  width: 100%;
}

.site-footer {
  background-color: #1F4E5F;
  color: #DCE4EA;
  font-size: 14px;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h2 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #B8C7D2;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 24px;
  text-align: center;
  color: #9FB2BE;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   components — 通用组件
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  font-size: 14px;
  color: #6B7A8A;
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: #4A90D9;
}

.breadcrumb a:hover {
  color: #1F4E5F;
}

.breadcrumb-sep {
  color: #B0BCC6;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #6B7A8A;
}

/* 页面标题区 */
.page-header {
  padding: 32px 0 28px;
  border-bottom: 2px solid #1F4E5F;
  margin-bottom: 36px;
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: #5A6B7A;
  max-width: 760px;
  margin: 0;
  line-height: 1.7;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #D0D7DE;
}

.section-intro {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 24px;
  max-width: 820px;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #D0D7DE;
}

.section-header p {
  font-size: 15px;
  color: #5A6B7A;
  margin: 0;
  max-width: 780px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: #1F4E5F;
  color: #ffffff;
  border-color: #1F4E5F;
}

.btn-primary:hover {
  background-color: #173E4C;
  border-color: #173E4C;
  color: #ffffff;
}

.btn-secondary {
  background-color: #4A90D9;
  color: #ffffff;
  border-color: #4A90D9;
}

.btn-secondary:hover {
  background-color: #3A7BC0;
  border-color: #3A7BC0;
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: #1F4E5F;
  border-color: #1F4E5F;
}

.btn-outline:hover {
  background-color: #1F4E5F;
  color: #ffffff;
}

/* 表格 */
.table-wrapper {
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 6px;
}

.channel-table {
  width: 100%;
  min-width: 720px;
}

.channel-table th {
  background-color: #EDF1F4;
  font-weight: 600;
  color: #1F4E5F;
}

.channel-table td {
  border-bottom-color: #E3E8ED;
}

.channel-table tbody tr:last-child td {
  border-bottom: none;
}

.channel-table tbody tr:hover {
  background-color: #F7F9FB;
}

/* 筛选器 */
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid #D0D7DE;
  border-radius: 4px;
  background-color: #ffffff;
  color: #5A6B7A;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tag:hover {
  border-color: #4A90D9;
  color: #1F4E5F;
  background-color: #EDF5FC;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  display: inline-block;
  padding: 7px 16px;
  font-size: 14px;
  border: 1px solid #D0D7DE;
  border-radius: 4px;
  background-color: #ffffff;
  color: #5A6B7A;
  min-height: 36px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: #4A90D9;
  color: #1F4E5F;
}

.filter-btn.is-active {
  background-color: #1F4E5F;
  border-color: #1F4E5F;
  color: #ffffff;
}

/* 字段解释 */
.field-note {
  background-color: #EDF1F4;
  border-left: 3px solid #1F4E5F;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
  border-radius: 0 4px 4px 0;
}

.field-note p {
  margin: 0;
}

.field-note strong {
  color: #1F4E5F;
}

.field-note a {
  font-weight: 600;
}

/* 字典 */
.dictionary-list {
  margin: 0;
  padding: 0;
}

.dictionary-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #D0D7DE;
}

.dictionary-item:last-child {
  border-bottom: none;
}

.dictionary-item dt {
  font-weight: 600;
  color: #1F4E5F;
  font-size: 15px;
}

.dictionary-item dd {
  margin: 0;
  font-size: 14px;
  color: #5A6B7A;
  line-height: 1.7;
}

/* FAQ 折叠 */
.faq-item {
  border: 1px solid #D0D7DE;
  border-radius: 6px;
  background-color: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #9FB2BE;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1F4E5F;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: #4A90D9;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item[open] summary {
  background-color: #F7F9FB;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #5A6B7A;
  margin: 0;
  line-height: 1.7;
}

/* 标签 */
.tag-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  margin: 0;
  font-size: 13px;
  color: #4A90D9;
  background-color: #EDF5FC;
  padding: 4px 12px;
  border-radius: 4px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  color: #4A90D9;
  background-color: #EDF5FC;
  padding: 4px 12px;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #4A90D9;
  margin-top: 14px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #1F4E5F;
  text-decoration: underline;
}

/* 图片容器约束 */
.index-figure,
.directory-intro-figure,
.example-media,
.faq-media,
.scope-figure,
.boundary-figure,
.feature-media {
  background-color: #EDF1F4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #D0D7DE;
}

.index-figure img,
.directory-intro-figure img,
.example-media img,
.faq-media img,
.scope-figure img,
.boundary-figure img,
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-figure figcaption,
.directory-intro-figure figcaption,
.example-media figcaption,
.faq-media figcaption,
.scope-figure figcaption,
.boundary-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #5A6B7A;
  background-color: #F7F9FB;
  border-top: 1px solid #D0D7DE;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */

/* Hero 首屏 */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 48px;
  border-bottom: 1px solid #D0D7DE;
  margin-bottom: 48px;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-text p {
  font-size: 16px;
  color: #5A6B7A;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #D0D7DE;
  background-color: #EDF1F4;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 频道分类索引 */
.channel-index-section {
  margin-bottom: 56px;
}

.channel-index-section .table-wrapper {
  margin-bottom: 16px;
}

/* 专题片单精选 */
.featured-collections {
  margin-bottom: 56px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.collection-card {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.collection-card:hover {
  border-color: #9FB2BE;
  box-shadow: 0 2px 12px rgba(31, 78, 95, 0.08);
}

.collection-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 10px;
}

.collection-card p {
  font-size: 14px;
  color: #5A6B7A;
  margin-bottom: 12px;
}

/* 观看路径步骤 */
.guide-steps {
  margin-bottom: 56px;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-item:hover {
  border-color: #9FB2BE;
  box-shadow: 0 2px 12px rgba(31, 78, 95, 0.08);
}

.step-item .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1F4E5F;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: #5A6B7A;
  margin: 0;
}

.more-guide {
  margin-top: 24px;
  text-align: right;
}

.more-guide a {
  font-size: 14px;
  font-weight: 600;
  color: #4A90D9;
}

.more-guide a:hover {
  color: #1F4E5F;
}

/* FAQ 摘要 */
.faq-summary {
  margin-bottom: 56px;
}

.more-faq {
  margin-top: 20px;
  text-align: right;
}

.more-faq a {
  font-size: 14px;
  font-weight: 600;
  color: #4A90D9;
}

.more-faq a:hover {
  color: #1F4E5F;
}

/* 相关链接 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 6px;
  margin-top: 24px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1F4E5F;
}

.related-links-item {
  font-size: 14px;
  color: #4A90D9;
  padding: 6px 14px;
  border: 1px solid #D0D7DE;
  border-radius: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-links-item:hover {
  border-color: #4A90D9;
  background-color: #EDF5FC;
  text-decoration: none;
  color: #1F4E5F;
}

/* ==========================================================================
   pages — 频道目录
   ========================================================================== */

.directory-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 20px;
}

.directory-intro-figure {
  height: 180px;
}

.directory-intro-text {
  font-size: 15px;
  color: #5A6B7A;
  margin: 0;
}

.directory-intro-text a {
  font-weight: 600;
}

.filter-section {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 36px;
}

.filter-section .section-title {
  margin-bottom: 20px;
}

.channel-table-section {
  margin-bottom: 36px;
}

.table-note {
  font-size: 13px;
  color: #8A9AA8;
  margin-top: 10px;
  margin-bottom: 0;
}

.field-dictionary {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 36px;
}

.field-dictionary .section-title {
  margin-bottom: 16px;
}

.related-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-link-list li {
  margin: 0;
}

.related-link-list a {
  display: block;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1F4E5F;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-link-list a:hover {
  border-color: #4A90D9;
  background-color: #EDF5FC;
  text-decoration: none;
}

/* ==========================================================================
   pages — 专题片单
   ========================================================================== */

.feature-list-section {
  margin-bottom: 48px;
}

.feature-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: #9FB2BE;
  box-shadow: 0 2px 12px rgba(31, 78, 95, 0.06);
}

.feature-media {
  height: 180px;
}

.feature-name {
  font-size: 19px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: #5A6B7A;
  margin-bottom: 12px;
}

.feature-scene {
  font-size: 14px;
  color: #5A6B7A;
  margin-bottom: 12px;
}

.feature-scene strong {
  color: #1F4E5F;
  font-weight: 600;
}

.feature-directions {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 48px;
}

.direction-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.direction-list li {
  margin: 0;
  padding: 12px 16px;
  background-color: #F7F9FB;
  border: 1px solid #E3E8ED;
  border-radius: 4px;
  font-size: 14px;
  color: #5A6B7A;
}

.direction-list strong {
  color: #1F4E5F;
  font-weight: 600;
}

.direction-note {
  margin-top: 20px;
  font-size: 14px;
  color: #5A6B7A;
}

.direction-note a {
  font-weight: 600;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-list li {
  margin: 0;
}

.related-list a {
  display: block;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1F4E5F;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-list a:hover {
  border-color: #4A90D9;
  background-color: #EDF5FC;
  text-decoration: none;
}

/* ==========================================================================
   pages — 观影指南
   ========================================================================== */

.guide-summary {
  background-color: #EDF1F4;
  border-left: 4px solid #1F4E5F;
  border-radius: 0 6px 6px 0;
  padding: 24px;
  margin-bottom: 40px;
}

.summary-content p {
  font-size: 16px;
  color: #333333;
  margin: 0;
  line-height: 1.8;
}

.guide-paths {
  margin-bottom: 48px;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-step {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.path-step:hover {
  border-color: #9FB2BE;
  box-shadow: 0 2px 12px rgba(31, 78, 95, 0.06);
}

.path-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1F4E5F;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: #5A6B7A;
  margin: 0;
}

.guide-example {
  margin-bottom: 48px;
}

.example-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: start;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
}

.example-text p {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 12px;
}

.example-text p:last-child {
  margin-bottom: 0;
}

.example-media {
  height: 220px;
}

.guide-misconceptions {
  margin-bottom: 48px;
}

.misconceptions-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.misconception-item {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 20px;
}

.misconception-title {
  font-size: 16px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.misconception-title::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #C0392B;
  font-size: 14px;
}

.misconception-text {
  font-size: 14px;
  color: #5A6B7A;
  margin: 0;
}

.guide-related {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 20px 24px;
}

.related-text {
  font-size: 14px;
  color: #5A6B7A;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.related-text a {
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid #D0D7DE;
  border-radius: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.related-text a:hover {
  border-color: #4A90D9;
  background-color: #EDF5FC;
  text-decoration: none;
  color: #1F4E5F;
}

/* ==========================================================================
   pages — 常见问题
   ========================================================================== */

.faq-status {
  margin-bottom: 40px;
}

.status-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.status-item {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 20px;
  border-top: 3px solid #1F4E5F;
}

.status-label {
  display: block;
  font-size: 13px;
  color: #8A9AA8;
  margin-bottom: 6px;
}

.status-value {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #1F4E5F;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.status-desc {
  font-size: 13px;
  color: #5A6B7A;
  margin: 0;
}

.faq-list {
  margin-bottom: 40px;
}

.section-desc {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 20px;
}

.faq-items {
  margin-bottom: 24px;
}

.faq-media {
  height: 200px;
  margin-bottom: 40px;
}

.faq-history {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
}

.faq-history p {
  font-size: 14px;
  color: #5A6B7A;
  margin-bottom: 10px;
}

.faq-history p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 站点说明
   ========================================================================== */

.about-section {
  margin-bottom: 48px;
}

.about-section .section-title {
  margin-bottom: 20px;
}

.nature-content p {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 12px;
  max-width: 820px;
}

.nature-content p:last-child {
  margin-bottom: 0;
}

.scope-wrap {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.scope-text p {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 12px;
}

.scope-list {
  margin-bottom: 12px;
  font-size: 14px;
  color: #5A6B7A;
}

.scope-list li {
  margin-bottom: 6px;
}

.scope-figure {
  height: 220px;
}

.boundary-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 32px;
  align-items: start;
}

.boundary-figure {
  height: 220px;
}

.boundary-text p {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 12px;
}

.boundary-list {
  margin-bottom: 12px;
  font-size: 14px;
  color: #5A6B7A;
}

.boundary-list li {
  margin-bottom: 6px;
}

.boundary-text p:last-child {
  margin-bottom: 0;
}

.boundary-text a {
  font-weight: 600;
}

.feedback-content {
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 24px;
}

.feedback-content p {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 12px;
  max-width: 820px;
}

.feedback-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  min-height: 70vh;
}

.error-panel {
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #1F4E5F;
  margin: 0 0 8px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.error-panel h1 {
  font-size: 24px;
  color: #1F4E5F;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5A6B7A;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-back,
.btn-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-back:hover,
.btn-guide:hover {
  text-decoration: none;
}

.btn-back {
  background-color: #1F4E5F;
  color: #ffffff;
  border: 1px solid #1F4E5F;
}

.btn-back:hover {
  background-color: #173E4C;
  border-color: #173E4C;
  color: #ffffff;
}

.btn-guide {
  background-color: transparent;
  color: #1F4E5F;
  border: 1px solid #1F4E5F;
}

.btn-guide:hover {
  background-color: #1F4E5F;
  color: #ffffff;
}

/* ==========================================================================
   responsive — 响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .paths-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .misconceptions-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .status-overview {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .feature-card {
    grid-template-columns: 220px 1fr;
  }

  .dictionary-item {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    min-height: 64px;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid #D0D7DE;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 8px;
    border-radius: 0;
    border-bottom: 1px solid #F0F3F5;
    font-size: 16px;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .inner-main,
  .home-main {
    padding: 0 16px 48px;
  }

  .page-header {
    padding: 24px 0 20px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 20px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 36px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-media img {
    height: 220px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .misconceptions-list {
    grid-template-columns: 1fr;
  }

  .status-overview {
    grid-template-columns: 1fr;
  }

  .related-link-list {
    grid-template-columns: 1fr;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-media {
    height: 200px;
  }

  .example-layout {
    grid-template-columns: 1fr;
  }

  .example-media {
    height: 200px;
  }

  .scope-wrap,
  .boundary-wrap {
    grid-template-columns: 1fr;
  }

  .scope-figure,
  .boundary-figure {
    height: 200px;
  }

  .dictionary-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .direction-list {
    grid-template-columns: 1fr;
  }

  .directory-intro {
    grid-template-columns: 1fr;
  }

  .directory-intro-figure {
    height: 180px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    padding: 36px 16px 24px;
    gap: 24px;
  }

  .footer-bottom {
    padding: 14px 16px;
  }

  .related-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-options {
    gap: 6px;
  }

  .filter-btn {
    min-height: 36px;
    font-size: 13px;
    padding: 6px 12px;
  }

  .filter-tags {
    gap: 6px;
  }

  .filter-tag {
    padding: 5px 10px;
    font-size: 12px;
  }

  .error-panel {
    padding: 36px 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-back,
  .btn-guide {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .status-overview {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 22px;
  }

  .hero-media img {
    height: 180px;
  }

  .page-title {
    font-size: 22px;
  }

  .collection-card {
    padding: 18px;
  }

  .step-item {
    padding: 18px;
  }

  .path-step {
    padding: 18px;
  }

  .misconception-item {
    padding: 16px;
  }

  .feature-card {
    padding: 16px;
  }

  .example-layout {
    padding: 16px;
  }

  .faq-item summary {
    padding: 14px 16px;
    padding-right: 40px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 16px 14px;
    font-size: 13px;
  }

  .filter-section {
    padding: 16px;
  }

  .field-dictionary {
    padding: 16px;
  }

  .feedback-content {
    padding: 16px;
  }

  .faq-history {
    padding: 16px;
  }

  .related-links {
    padding: 16px;
  }

  .related-links-item {
    padding: 4px 10px;
    font-size: 13px;
  }
}
