/* ==========================================================================
   捷华影视 wjqxmy.com — 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */

:root {
  --wall: #F6F3EC;
  --ink: #1E1F1C;
  --line: #D8D2C4;
  --teal: #1F4A4A;
  --teal-soft: #2C5F5F;
  --cinnabar: #B2462F;
  --gold: #9A7B46;
  --paper: #FBF9F4;
  --muted: #5C5A52;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shell: 1200px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

p {
  margin: 0 0 0.9em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--cinnabar);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 18px;
  background-color: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   layout — 全站骨架
   -------------------------------------------------------------------------- */

.site-header {
  background-color: var(--wall);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  padding: 14px 0;
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-sub {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-item > a {
  display: block;
  padding: 8px 11px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  line-height: 1.5;
}

.nav-item > a:hover {
  color: var(--teal);
  border-bottom-color: var(--line);
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
  font-weight: 600;
}

.page-layout {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.site-main {
  min-width: 0;
  padding: 40px 0 72px;
}

.inner-main {
  padding-top: 28px;
}

.side-column,
.page-aside {
  min-width: 0;
  padding: 40px 0 72px;
}

.site-footer {
  background-color: #EFEBE1;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 30ch;
}

.footer-title {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list a {
  font-size: 14px;
  color: var(--muted);
}

.footer-list a:hover {
  color: var(--teal);
}

.footer-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-link {
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.footer-bottom {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px 32px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-copy,
.footer-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   components — 通用组件
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--teal);
  color: #F6F3EC;
  border-color: var(--teal);
}

.btn-primary:hover {
  background-color: var(--teal-soft);
  color: #fff;
  border-color: var(--teal-soft);
}

.btn-ghost {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-ghost:hover {
  background-color: rgba(31, 74, 74, 0.07);
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.section-head h2,
.section-title {
  font-size: 28px;
  line-height: 1.3;
}

.section-more {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.section-more:hover {
  border-bottom-color: var(--cinnabar);
}

.section-note,
.section-desc,
.section-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 62ch;
}

.section-title + .section-desc,
.section-title + .section-intro {
  margin-top: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line);
  margin-right: 8px;
}

.breadcrumb-item a {
  color: var(--muted);
}

.breadcrumb-item.is-current {
  color: var(--ink);
}

.page-header {
  margin-bottom: 6px;
}

.page-title {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

.page-head {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.page-lead,
.page-lede {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 64ch;
}

.page-sign {
  font-size: 13px;
  color: var(--gold);
  margin-top: 10px;
}

.page-meta {
  font-size: 13px;
  color: var(--gold);
  margin-top: 10px;
}

.meta-num {
  font-family: var(--serif);
}

.meta-label {
  display: block;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.text-link {
  display: inline-block;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.text-link:hover {
  border-bottom-color: var(--cinnabar);
}

/* 图片与图注 */

.hero-figure,
.channel-figure,
.curation-figure,
.archive-figure,
.page-figure,
.section-figure,
.records-figure,
.list-feature-media {
  background-color: #E7E2D6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img,
.channel-figure img,
.curation-figure img,
.archive-figure img,
.page-figure img,
.section-figure img,
.records-figure img,
.list-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption,
.figure-caption,
.archive-caption,
.list-feature-caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

/* 表格 */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
}

.data-table,
.relation-table {
  min-width: 100%;
  font-size: 14px;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td,
.relation-table th,
.relation-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.data-table thead th,
.relation-table thead th {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background-color: #F1EDE3;
  white-space: nowrap;
}

.data-table tbody tr:last-child td,
.relation-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.relation-table tbody tr:hover {
  background-color: #F4F0E7;
}

/* 侧栏卡 */

.side-card,
.aside-card {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  margin-bottom: 20px;
}

.side-title,
.aside-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.side-card p,
.aside-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 10px;
}

.aside-meta {
  font-size: 13px;
  color: var(--gold);
  margin: 0;
}

.side-link,
.aside-link {
  display: inline-block;
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.side-link:hover,
.aside-link:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.side-list,
.aside-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 12px;
}

.side-list li,
.aside-list-item {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.side-list li::before,
.aside-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background-color: var(--gold);
  border-radius: 50%;
}

/* 相关内容条 */

.related-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.related-links-item {
  font-size: 14px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--paper);
}

.related-links-item:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* 折叠问答 */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 26px 14px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 20px;
  color: var(--teal);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  color: var(--teal);
}

.faq-answer {
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   pages — 首页
   -------------------------------------------------------------------------- */

.home-main {
  padding-top: 36px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.hero-text {
  padding-top: 6px;
}

.hero-kicker {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.hero-figure {
  display: flex;
  flex-direction: column;
}

.hero-figure img {
  aspect-ratio: 4 / 3;
}

.alpha-strip,
.channel-teasers,
.curation-block,
.archive-timeline,
.dual-panel,
.faq-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.alpha-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alpha-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--teal);
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.alpha-list li a:hover {
  border-color: var(--teal);
  background-color: #EDF1EE;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.teaser-item {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teaser-item:hover {
  border-color: var(--teal);
}

.teaser-index {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--cinnabar);
  letter-spacing: 0.08em;
  margin: 0;
}

.teaser-item h3 {
  font-size: 19px;
  line-height: 1.4;
}

.teaser-item p:not(.teaser-index) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

.teaser-link {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  align-self: flex-start;
}

.teaser-link:hover {
  border-bottom-color: var(--cinnabar);
}

.channel-figure {
  display: flex;
  flex-direction: column;
}

.channel-figure img {
  aspect-ratio: 16 / 7;
}

.curation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
}

.curation-main {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.curation-main:hover {
  border-color: var(--teal);
}

.curation-figure img {
  aspect-ratio: 16 / 9;
}

.curation-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.curation-tag {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin: 0;
}

.curation-body h3 {
  font-size: 22px;
  line-height: 1.4;
}

.curation-body p:not(.curation-tag) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.curation-link {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  align-self: flex-start;
  margin-top: 4px;
}

.curation-link:hover {
  border-bottom-color: var(--cinnabar);
}

.curation-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.curation-sub {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.curation-sub:hover {
  border-color: var(--teal);
}

.curation-sub h3 {
  font-size: 18px;
  line-height: 1.4;
}

.curation-sub p:not(.curation-tag) {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.timeline-node {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-node:hover {
  border-left-color: var(--cinnabar);
}

.timeline-batch {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--cinnabar);
  letter-spacing: 0.06em;
  margin: 0;
}

.timeline-node h3 {
  font-size: 18px;
  line-height: 1.4;
}

.timeline-node p:not(.timeline-batch) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

.timeline-link {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  align-self: flex-start;
}

.timeline-link:hover {
  border-bottom-color: var(--cinnabar);
}

.dual-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dual-card {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dual-tag {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin: 0;
}

.dual-card h3 {
  font-size: 20px;
  line-height: 1.4;
}

.dual-card > p:not(.dual-tag) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.dual-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0 6px;
}

.dual-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.dual-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background-color: var(--gold);
}

.dual-link {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  align-self: flex-start;
  margin-top: auto;
}

.dual-link:hover {
  border-bottom-color: var(--cinnabar);
}

.faq-block {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   pages — 内页通用模块
   -------------------------------------------------------------------------- */

.inner-main .section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.inner-main .section:last-of-type {
  border-bottom: 0;
}

.inner-main .section > h2,
.inner-main .section > .section-head > h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.inner-main .section-head {
  display: block;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 16px;
}

/* 频道索引页 */

.alpha-section {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.alpha-bar {
  margin-top: 14px;
}

.alpha-bar .alpha-list {
  gap: 8px;
}

.alpha-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--teal);
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.alpha-item a:hover {
  border-color: var(--teal);
  background-color: #EDF1EE;
}

.channel-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.channel-section .channel-figure {
  margin: 18px 0 26px;
}

.channel-section .channel-figure img {
  aspect-ratio: 16 / 6;
}

.channel-group {
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
}

.channel-group .group-title {
  position: sticky;
  top: 78px;
  z-index: 5;
  font-size: 18px;
  line-height: 1.4;
  padding: 10px 0 8px;
  background-color: var(--wall);
  border-bottom: 1px solid var(--line);
  color: var(--teal);
}

.channel-list {
  display: flex;
  flex-direction: column;
}

.channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.3fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.channel-row:hover {
  background-color: #F4F0E7;
}

.channel-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.channel-direction {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.channel-scene {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold);
}

.channel-link {
  font-size: 14px;
  color: var(--teal);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.channel-link:hover {
  border-bottom-color: var(--cinnabar);
}

.relation-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.usage-section {
  padding: 30px 0;
}

.usage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usage-item {
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.usage-heading {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.usage-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* 策展片单页 */

.list-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.list-feature-media {
  display: flex;
  flex-direction: column;
}

.list-feature-media img {
  aspect-ratio: 4 / 3;
}

.list-feature-title {
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.list-feature-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

.list-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.meta-item {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  min-width: 110px;
}

.list-feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.list-angle {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.list-angle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.angle-column {
  min-width: 0;
}

.angle-subtitle {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--teal);
}

.angle-column p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.angle-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.angle-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.angle-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--cinnabar);
  flex: 0 0 auto;
}

.angle-text {
  min-width: 0;
}

.list-entries {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.entry-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.entry-item:hover {
  background-color: #F4F0E7;
}

.entry-num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  line-height: 1.4;
}

.entry-body {
  min-width: 0;
}

.entry-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.entry-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 6px;
}

.entry-meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold);
  margin: 0;
}

.entry-label {
  color: var(--teal);
  margin-right: 4px;
}

.list-related {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.related-column {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}

.related-subtitle {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--teal);
}

.related-column p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}

.related-link {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.related-link:hover {
  border-bottom-color: var(--cinnabar);
}

.list-boundary {
  padding: 30px 0 0;
}

.list-boundary > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 14px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.boundary-item {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.boundary-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background-color: var(--cinnabar);
}

.boundary-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* 专题档案页 */

.archive-timeline {
  border-bottom: 1px solid var(--line);
}

.inner-main .archive-timeline .timeline-list {
  margin-top: 16px;
}

.timeline-item {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-item:hover {
  border-left-color: var(--cinnabar);
}

.timeline-heading {
  font-size: 18px;
  line-height: 1.4;
}

.timeline-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

.timeline-path {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold);
  margin: 0;
}

.timeline-path a {
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.timeline-path a:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.archive-figure {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
}

.archive-figure img {
  aspect-ratio: 16 / 6;
}

.archive-table-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.scope-notes {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.scope-item {
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.scope-heading {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.scope-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.archive-links {
  padding: 30px 0 0;
}

.links-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.links-col {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}

.links-heading {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--teal);
}

.links-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.links-list li a {
  font-size: 14px;
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.links-list li a:hover {
  border-bottom-color: var(--cinnabar);
}

/* 观看准备页 */

.checklist-section {
  padding-top: 26px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.checklist-item:hover {
  background-color: #F4F0E7;
}

.checklist-no {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cinnabar);
  line-height: 1.4;
}

.checklist-body {
  min-width: 0;
}

.checklist-name {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.checklist-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 6px;
}

.checklist-pass {
  font-size: 14px;
  line-height: 1.75;
  color: var(--teal);
  margin-bottom: 4px;
}

.checklist-next {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold);
  margin: 0;
}

.prep-section .section-figure {
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
}

.prep-section .section-figure img {
  aspect-ratio: 16 / 6;
}

.prep-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.prep-col {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}

.prep-heading {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--teal);
}

.prep-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 12px;
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.prep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.pagetype-section .table-wrap {
  margin-top: 16px;
}

.exception-section {
  padding-bottom: 30px;
}

.exception-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.exception-item {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exception-name {
  font-size: 17px;
  line-height: 1.4;
}

.exception-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

.exception-path {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.exception-path a {
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.exception-path a:hover {
  border-bottom-color: var(--cinnabar);
}

.related-section {
  padding-bottom: 0;
  border-bottom: 0;
}

.related-section .related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  min-width: 0;
}

.related-card:hover {
  border-color: var(--teal);
}

.related-no {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.related-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.related-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* 入口核验页 */

.page-head .page-figure {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.page-head .page-figure img {
  aspect-ratio: 16 / 6;
}

.check-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.check-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.check-item:hover {
  background-color: #F4F0E7;
}

.check-index {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cinnabar);
  line-height: 1.4;
}

.check-body {
  min-width: 0;
}

.check-title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.check-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

#source-ownership .dual-column {
  margin-top: 8px;
}

.column-block {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}

.column-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--teal);
}

.column-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.column-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background-color: var(--gold);
}

#check-record .table-wrap {
  margin-top: 8px;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.path-card {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-title {
  font-size: 17px;
  line-height: 1.4;
}

.path-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

.path-card .text-link {
  align-self: flex-start;
}

/* 编辑说明页 */

.page-title-block {
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.title-meta {
  font-size: 13px;
  color: var(--gold);
  margin-top: 10px;
}

.scope-section {
  padding-top: 4px;
}

.scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.scope-col {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}

.scope-subtitle {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--teal);
}

.scope-col-range p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 10px;
}

.scope-col .scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.scope-col .scope-list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.scope-col .scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background-color: var(--teal);
}

.scope-col-boundary .boundary-list {
  margin-bottom: 0;
}

.principles-section {
  padding: 30px 0;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.principle-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.principle-item:hover {
  background-color: #F4F0E7;
}

.principle-num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cinnabar);
  line-height: 1.4;
}

.principle-item h3 {
  grid-column: 2;
}

.principle-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.principle-item p {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 6px;
}

.principle-where {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold);
}

.principle-where a {
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.principle-where a:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

.correction-section {
  padding: 30px 0;
}

.correction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 16px;
  align-items: start;
}

.correction-text {
  min-width: 0;
}

.correction-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.correction-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.step-num {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold);
  line-height: 1.5;
}

.step-body {
  min-width: 0;
}

.step-title {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.records-section {
  padding: 30px 0 0;
  border-bottom: 0;
}

.records-figure {
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
}

.records-figure img {
  aspect-ratio: 16 / 6;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.record-card {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}

.record-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--teal);
}

.record-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 10px;
}

.record-link {
  font-size: 14px;
  margin: 0;
}

.record-link a {
  color: var(--teal);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.record-link a:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

/* 404 */

.error-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 32px 88px;
}

.error-panel {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
  margin-bottom: 34px;
}

.error-code {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--line);
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.error-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 54ch;
}

.error-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  background-color: var(--teal);
  color: #F6F3EC;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}

.error-home-link:hover {
  background-color: var(--teal-soft);
  color: #fff;
}

.error-routes h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.error-route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.error-route-item {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.error-route-item a {
  display: inline-block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.error-route-item a:hover {
  border-bottom-color: var(--cinnabar);
}

.error-route-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .header-inner {
    padding: 0 24px;
  }

  .page-layout {
    padding: 0 24px;
    grid-template-columns: minmax(0, 1fr) 268px;
    gap: 28px;
  }

  .footer-inner {
    padding: 48px 24px 32px;
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-bottom {
    padding: 16px 24px 24px;
  }

  .nav-item > a {
    padding: 8px 8px;
    font-size: 14px;
  }
}

@media (max-width: 960px) {
  .site-header {
    position: static;
  }

  .header-inner {
    padding: 0 20px;
    min-height: 68px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  .brand {
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    flex: 1 0 100%;
    margin-left: 0;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 14px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item > a {
    padding: 12px 6px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-item.is-current > a,
  .nav-item > a.is-current {
    border-bottom-color: var(--cinnabar);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 20px;
  }

  .site-main,
  .inner-main {
    padding: 26px 0 48px;
  }

  .side-column,
  .page-aside {
    padding: 0 0 48px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-bottom: 34px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .page-title {
    font-size: 32px;
  }

  .inner-main .section > h2,
  .inner-main .section > .section-head > h2,
  .section-head h2,
  .section-title {
    font-size: 23px;
  }

  .alpha-strip,
  .channel-teasers,
  .curation-block,
  .archive-timeline,
  .dual-panel,
  .faq-block {
    padding: 32px 0;
  }

  .teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 14px 4px;
  }

  .channel-group .group-title {
    top: 0;
  }

  .list-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .exception-list,
  .path-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .correction-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .error-main {
    padding: 44px 20px 64px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 20px;
  }

  .page-layout {
    padding: 0 16px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .page-title {
    font-size: 28px;
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .teaser-grid,
  .dual-column,
  .list-angle-grid,
  .related-grid,
  .prep-columns,
  .scope-grid,
  .records-grid,
  .links-columns,
  .related-section .related-links,
  .error-route-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-main .section > h2,
  .inner-main .section > .section-head > h2,
  .section-head h2,
  .section-title {
    font-size: 22px;
  }

  .entry-item,
  .checklist-item,
  .check-item,
  .principle-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .entry-num,
  .checklist-no,
  .check-index,
  .principle-num {
    font-size: 16px;
  }

  .data-table,
  .relation-table {
    font-size: 13px;
  }

  .data-table th,
  .data-table td,
  .relation-table th,
  .relation-table td {
    padding: 10px 12px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px 16px 26px;
    gap: 22px;
  }

  .footer-bottom {
    padding: 14px 16px 22px;
    flex-direction: column;
  }

  .error-code {
    font-size: 48px;
  }

  .error-panel h1 {
    font-size: 26px;
  }
}
