/* ==========================================================================
   jmtt 全站样式表
   文化场馆风 · 米白底 · 墨色文字 · 展签金点缀
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base — 基础变量、重置、全局字体与颜色
   -------------------------------------------------------------------------- */
:root {
  --bg: #f7f4ef;
  --ink: #22201c;
  --gold: #b08a44;
  --green-gray: #5a6b5a;
  --gray-light: #8a857c;
  --card-bg: #ffffff;
  --border-light: #e5e0d8;
  --shadow-soft: 0 2px 12px rgba(34, 32, 28, 0.06);
  --shadow-hover: 0 8px 24px rgba(34, 32, 28, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --container-max: 1100px;
  --header-h: 68px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* 视觉隐藏，仅供屏幕阅读器 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout — 全站统一页头、页脚、主容器与面包屑骨架
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-link:hover .brand-name {
  color: var(--gold);
}

/* 导航 */
.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: rgba(176, 138, 68, 0.1);
  color: var(--gold);
}

.nav-list li a.is-current {
  color: var(--gold);
  font-weight: 600;
  background-color: rgba(176, 138, 68, 0.08);
}

/* 汉堡按钮，桌面隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 主内容容器 */
.site-main {
  flex: 1 0 auto;
}

.home-main {
  overflow: visible;
}

.inner-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px 64px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  padding: 18px 0 4px;
  font-size: 13px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: var(--gray-light);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: var(--border-light);
  user-select: none;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* 页面标题区（内页统一） */
.page-header {
  padding: 40px 0 36px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 720px;
  line-height: 1.8;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: #d8d4cc;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #f7f4ef;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #a6a29a;
  max-width: 260px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #f7f4ef;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #a6a29a;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #8a857c;
}

/* --------------------------------------------------------------------------
   Components — 通用组件：按钮、标签、卡片、步骤、相关链接
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background-color: #9a7538;
  border-color: #9a7538;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 20px;
  max-width: 640px;
}

/* 题材标签 */
.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ink);
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.tag-item:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(176, 138, 68, 0.05);
}

/* 筛选按钮 */
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--ink);
  background-color: transparent;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.is-active {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #f7f4ef;
}

/* 相关链接条 */
.related-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

.related-links a,
.related-links ul li a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--gray-light);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links a:hover,
.related-links ul li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 步骤编号 */
.step-number,
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  background-color: rgba(176, 138, 68, 0.1);
  border-radius: 50%;
}

/* 图片容器约束 */
figure {
  overflow: hidden;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Pages — 首页
   -------------------------------------------------------------------------- */

/* Hero 首屏 */
.hero-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-figure {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* 热门题材标签条 */
.tag-strip-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px;
}

.tag-strip-section .section-intro {
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 展签式内容列表 */
.exhibit-list-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px 56px;
}

.list-header {
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exhibit-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.exhibit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.exhibit-figure {
  aspect-ratio: 3 / 4;
  width: 100%;
}

.exhibit-info {
  padding: 16px 18px 20px;
}

.exhibit-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.exhibit-card:hover .exhibit-title {
  color: var(--gold);
}

.exhibit-tagline {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 6px;
}

.exhibit-desc {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* 栏目入口卡 */
.portal-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portal-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.portal-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.portal-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.portal-card p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.portal-card a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portal-card a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.portal-card a:hover::after {
  transform: translateX(4px);
}

/* 阅读场景三列 */
.scenario-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.scenario-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.scenario-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.scenario-card a {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Pages — 展藏目录 collection
   -------------------------------------------------------------------------- */

.collection-grid {
  padding: 8px 0 40px;
}

.collection-grid .section-title {
  margin-bottom: 24px;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.collection-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.collection-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-figure {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.exhibit-line {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

.card-scene {
  font-size: 13px;
  color: var(--ink);
  background-color: rgba(176, 138, 68, 0.06);
  border-left: 2px solid var(--gold);
  padding: 8px 12px;
  line-height: 1.6;
  margin-top: auto;
}

/* 分类口径说明 */
.scope-notes {
  padding: 32px 0 8px;
}

.scope-summary {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 780px;
}

.scope-detail-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scope-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 22px;
}

.scope-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--gold);
}

.scope-item p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages — 策展精选 featured
   -------------------------------------------------------------------------- */

.exhibition-section {
  padding: 8px 0 48px;
}

.exhibition-section .section-title {
  margin-bottom: 28px;
}

.exhibit-card-left,
.exhibit-card-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.exhibit-card-right .exhibit-media {
  order: 2;
}

.exhibit-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.exhibit-media .exhibit-figure {
  aspect-ratio: 16 / 10;
}

.exhibit-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.exhibit-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.exhibit-intro {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.exhibit-meta {
  margin-bottom: 18px;
  width: 100%;
}

.meta-row {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.meta-row dt {
  color: var(--gray-light);
  width: 72px;
  flex-shrink: 0;
}

.meta-row dd {
  color: var(--ink);
}

.text-link {
  display: inline-block;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-right: 16px;
}

.text-link:hover {
  color: var(--ink);
}

/* 阅读顺序 */
.reading-order-section {
  padding: 16px 0 8px;
}

.reading-order-section .section-title {
  margin-bottom: 28px;
}

.order-block {
  margin-bottom: 40px;
}

.order-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.order-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.order-steps .step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.order-steps .step-item:last-child {
  border-bottom: none;
}

.step-content h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages — 入藏指南 guide
   -------------------------------------------------------------------------- */

.guide-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  padding: 8px 0 16px;
}

.guide-steps .section-title,
.guide-rules .section-title {
  margin-bottom: 8px;
}

.guide-steps .section-intro,
.guide-rules .section-intro {
  margin-bottom: 24px;
}

.step-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.step-timeline .step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.step-timeline .step-item:last-child {
  border-bottom: none;
}

.step-timeline .step-number {
  position: relative;
  z-index: 1;
}

.step-timeline .step-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-timeline .step-content p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 6px;
}

.step-timeline .step-content a {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

.guide-media {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.guide-media img {
  aspect-ratio: 16 / 9;
}

.guide-media figcaption {
  font-size: 12px;
  color: var(--gray-light);
  text-align: center;
  padding: 8px 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-top: none;
}

/* 规则摘要与展开 */
.guide-rules {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.rule-block {
  margin-bottom: 24px;
}

.rule-block:last-child {
  margin-bottom: 0;
}

.rule-summary {
  padding: 14px 16px;
  background-color: rgba(176, 138, 68, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 10px;
}

.rule-summary h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.rule-summary p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.6;
}

.rule-detail {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px;
}

.rule-detail summary {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 0;
  color: var(--ink);
  transition: color 0.2s ease;
  list-style: none;
}

.rule-detail summary::-webkit-details-marker {
  display: none;
}

.rule-detail summary::before {
  content: "＋";
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.rule-detail[open] summary::before {
  content: "−";
}

.rule-detail summary:hover {
  color: var(--gold);
}

.rule-detail p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
  padding: 4px 0 12px;
}

/* --------------------------------------------------------------------------
   Pages — 公开档案 archive
   -------------------------------------------------------------------------- */

.archive-summary-card {
  padding: 8px 0 32px;
}

.summary-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}

.summary-card-text .section-title {
  margin-bottom: 12px;
}

.summary-card-text p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

.summary-card-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.summary-card-figure img {
  aspect-ratio: 4 / 3;
}

.archive-records {
  padding: 16px 0 32px;
}

.records-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.record-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: box-shadow 0.25s ease;
}

.record-item:hover {
  box-shadow: var(--shadow-hover);
}

.record-time {
  margin-bottom: 10px;
}

.time-field {
  display: inline-block;
  font-size: 12px;
  color: var(--gray-light);
  background-color: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 2px 10px;
}

.record-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.record-body p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* 内容边界 */
.content-boundaries {
  padding: 16px 0 8px;
}

.boundaries-summary {
  background-color: rgba(176, 138, 68, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.boundaries-summary .section-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.summary-text {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

.boundaries-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.boundary-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}

.boundary-item h3 {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 8px;
}

.boundary-item p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pages — 意见通道 contact
   -------------------------------------------------------------------------- */

.feedback-scope {
  padding: 8px 0 40px;
}

.feedback-scope .section-title {
  margin-bottom: 24px;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scope-column {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.scope-column h3 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.scope-accept h3 {
  color: var(--green-gray);
}

.scope-decline h3 {
  color: var(--gray-light);
}

.scope-column ul li {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  gap: 10px;
}

.scope-column ul li:last-child {
  border-bottom: none;
}

.scope-column ul li::before {
  content: "·";
  color: var(--gold);
  font-weight: 700;
}

/* 处理流程 */
.process-section {
  padding: 16px 0 8px;
}

.process-section .section-title {
  margin-bottom: 24px;
}

.process-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.process-item:last-child {
  border-bottom: none;
}

.process-text h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.process-text p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

.process-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.process-figure img {
  aspect-ratio: 4 / 3;
}

.process-figure figcaption {
  font-size: 12px;
  color: var(--gray-light);
  text-align: center;
  padding: 8px 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-top: none;
}

/* --------------------------------------------------------------------------
   Pages — 404
   -------------------------------------------------------------------------- */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-content {
  text-align: center;
  max-width: 480px;
  padding: 48px 40px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.error-content h1 {
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content p {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background-color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease;
}

.btn-back-home:hover {
  background-color: #9a7538;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive — 响应式断点
   -------------------------------------------------------------------------- */

/* ≤ 1024px 平板 */
@media (max-width: 1024px) {
  .exhibit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .records-list,
  .boundaries-details,
  .scope-detail-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ≤ 768px 手机端 */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li a.is-current {
    background-color: rgba(176, 138, 68, 0.08);
  }

  /* 汉堡动画状态 */
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .inner-main {
    padding: 0 16px 48px;
  }

  .page-header {
    padding: 28px 0 24px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-description {
    font-size: 15px;
  }

  /* 首页 */
  .hero-section {
    grid-template-columns: 1fr;
    padding: 40px 16px 32px;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .tag-strip-section,
  .exhibit-list-section,
  .portal-section,
  .scenario-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .exhibit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .portal-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 展藏目录 */
  .grid-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scope-detail-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 策展精选 */
  .exhibit-card-left,
  .exhibit-card-right {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .exhibit-card-right .exhibit-media {
    order: 0;
  }

  /* 公开档案 */
  .summary-card-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }

  .records-list,
  .boundaries-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 意见通道 */
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 36px 16px 24px;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 14px 16px;
  }
}

/* ≤ 480px 小屏手机 */
@media (max-width: 480px) {
  .exhibit-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-links ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .related-links ul li a {
    display: block;
  }

  .error-content {
    padding: 32px 24px;
  }

  .error-content h1 {
    font-size: 56px;
  }
}

/* --------------------------------------------------------------------------
   Motion — 滚动渐显增强（不影响初始可见性）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .exhibit-card,
  .portal-card,
  .scenario-card,
  .collection-card,
  .scope-item,
  .record-item,
  .boundary-item {
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }
}
