/* ── 通用元件 ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-gold { background: var(--gold); color: #141d16; }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: var(--gold-dim); color: var(--gold-light); }
.btn-ghost:hover { border-color: var(--gold-light); color: #f4eddd; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}

.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.sec-head p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.sec-head .rule {
  display: inline-block;
  width: 54px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 14px;
}

.num {
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li {
  font-size: 11.5px;
  line-height: 1.6;
  padding: 1px 8px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: #6f6449;
}

/* ── 页头 ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 56px;
  background: var(--deep);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; color: var(--gold-light); flex: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.16em;
  color: #f1e8d4;
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  padding-left: 12px;
  border-left: 1px solid var(--gold-dim);
}
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  font-size: 12.5px;
  color: #ded5c1;
  padding: 4px 13px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a.is-current { color: var(--gold-light); }

/* 导航下拉 */
.main-nav .dropdown {
  position: relative;
  border-left: 1px solid var(--gold-dim);
}
.main-nav .dropdown:first-child { border-left: 0; }
.main-nav .dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.main-nav .caret,
.caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.main-nav .dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 168px;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px 0;
  margin-top: 6px;
  background: var(--deep-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.main-nav .dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 7px 16px;
  font-size: 12.5px;
  color: #ded5c1;
  border-left: 0;
  white-space: nowrap;
}
.dropdown-menu li a:hover { background: var(--deep-3); color: var(--gold-light); }
.nav-index { color: var(--gold-light) !important; }
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  color: #f1e8d4;
  padding: 6px 10px;
  cursor: pointer;
}

/* ── 首屏 ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--deep);
  color: #f4eddd;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  background: linear-gradient(90deg, var(--deep) 0%, rgba(22, 36, 28, 0.86) 30%, rgba(22, 36, 28, 0.2) 66%, rgba(22, 36, 28, 0.35) 100%);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.hero-inner {
  position: relative;
  min-height: 361px;
  display: flex;
  align-items: center;
  padding: 28px 0 24px;
}
.hero-copy { flex: 0 0 780px; max-width: 780px; }
.hero h1 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 14px 0 16px;
  color: #f6efdd;
  text-shadow: 0 1px 18px rgba(8, 14, 10, 0.45);
}
.hero .lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: #d9d0bc;
  max-width: 530px;
}
.hero .lead + .lead { margin-top: 10px; color: #c3bba8; }
.hero-stats { position: relative; z-index: 2; background: var(--deep); border-top: 1px solid var(--line-dark); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}
.stats-inner > * {
  padding: 12px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #d3cab7;
  border-left: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stats-inner > *:first-child { border-left: 0; padding-left: 0; }
.stats-inner a { color: var(--gold-light); }
.stats-inner b {
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #f2e6cc;
}
.stats-inner span { color: #aeb0a0; }

/* ── 分类索引 ───────────────────────────────────────────── */
.categories { padding: 16px 0 16px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
.cat-card {
  display: flex;
  align-items: stretch;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 10px 12px 10px 10px;
  min-height: 112px;
  transition: border-color 0.2s ease;
}
.cat-card:hover { border-color: var(--gold-dim); }
.cat-thumb {
  flex: none;
  width: 132px;
  align-self: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-deep);
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { flex: 1; min-width: 0; }
.cat-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.cat-desc {
  margin: 3px 0 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cat-enter {
  flex: none;
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 1px;
}
.cat-enter:hover { color: var(--ink); border-color: var(--ink); }
.cat-card .tag-list li { font-size: 10.5px; padding: 0 6px; }

/* ── 最新收录 ───────────────────────────────────────────── */
.latest { padding: 18px 0 20px; }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.latest-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.latest-card:hover { border-color: var(--gold-dim); }
.latest-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}
.latest-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.latest-card:hover .latest-thumb img { transform: scale(1.03); }
.latest-body { padding: 10px 12px 13px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.latest-tag {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.latest-body h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-body h3 a { color: inherit; }
.latest-body h3 a:hover { color: var(--gold); }
.latest-desc {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 年代时间线 ─────────────────────────────────────────── */
.timeline-section {
  padding: 12px 0 10px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--paper-deep) 100%);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 3%; right: 3%; top: 7px;
  height: 1px;
  background: var(--gold-dim);
}
.tl-item { position: relative; padding-top: 18px; }
.tl-item::before {
  content: "";
  position: absolute;
  top: 3px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--paper);
}
.tl-head {
  background: var(--deep);
  color: #f2e8d4;
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 4px 4px;
}
.tl-year {
  text-align: center;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding: 2px 0 3px;
}
.tl-item p {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding: 6px 8px 0;
}

/* ── 三栏：精选 / 四步 / 清单 ───────────────────────────── */
.three-col { padding: 10px 0 14px; }
.three-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr 0.94fr;
  gap: 16px;
  align-items: start;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 13px 14px 14px;
  height: 100%;
}
.panel h2 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.panel-sub {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 4px;
  line-height: 1.6;
}
.feature-list { margin-top: 12px; }
.feature-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
}
.feature-list li:first-child { border-top: 0; padding-top: 2px; }
.feature-list .num { padding-top: 2px; }
.feature-list h3 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
}
.feature-list h3 span {
  color: var(--gold);
  font-weight: 500;
  margin-right: 6px;
}
.feature-list h3 a { color: var(--ink); }
.feature-list h3 a:hover { color: var(--gold); }
.feature-list p {
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.steps { display: grid; gap: 5px; margin-top: 8px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; }
.steps .step-no {
  flex: none;
  width: 23px; height: 23px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 11.5px;
  color: var(--gold);
}
.steps h3 { font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.steps p { font-size: 10.5px; line-height: 1.5; color: var(--ink-soft); }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
  margin-top: 13px;
}
.check-grid li { display: flex; gap: 7px; }
.check-grid svg { flex: none; width: 17px; height: 17px; color: var(--gold); margin-top: 2px; }
.check-grid h3 { font-size: 13px; font-weight: 600; line-height: 1.5; }
.check-grid p { font-size: 11px; line-height: 1.6; color: var(--ink-soft); }

/* ── 六维表 ─────────────────────────────────────────────── */
.dims { padding: 8px 0 14px; }
.dim-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 12px;
}
.dim-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dim-table th {
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 5px 9px;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  background: rgba(169, 138, 82, 0.06);
}
.dim-table td {
  padding: 5px 9px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  line-height: 1.6;
}
.dim-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ── CTA ───────────────────────────────────────────────── */
.cta-band {
  background: var(--deep);
  color: #f2e9d6;
  padding: 20px 0;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 26px;
}
.cta-orn {
  flex: none;
  width: 158px;
  height: 118px;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
}
.cta-copy { flex: 1; }
.cta-band h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.cta-band p { font-size: 12.5px; color: #b8b6a4; margin-top: 4px; }

/* ── 页脚 ───────────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  color: #cdc6b4;
  padding-top: 22px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 18px;
}
.footer-grid > * { flex: 1 1 180px; min-width: 170px; }
.footer-brand { flex: 1 1 300px; }
.footer-brand .brand-name { color: #f1e8d4; }
.footer-brand .brand-mark { color: var(--gold-light); }
.footer-note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #9fa392;
  max-width: 310px;
}
.footer-col h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-col ul { display: grid; gap: 3px; }
.footer-cats ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.footer-col a { font-size: 12px; color: #c6c0ae; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 11px;
  color: #8f9584;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a:hover { color: var(--gold-light); }

/* ── 响应式 ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .brand-tag { display: none; }
  .main-nav a { padding: 4px 9px; font-size: 12px; }
  .hero h1 { font-size: 40px; }
  .cat-thumb { width: 112px; }
  .stats-inner > * { padding: 10px 10px; font-size: 11.5px; }
  .latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--deep-2);
    border-bottom: 1px solid var(--gold-dim);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-top: 1px solid var(--line-dark); padding: 10px 24px; }
  .main-nav .dropdown { border-left: 0; border-top: 1px solid var(--line-dark); }
  .main-nav .dropdown:first-child { border-top: 0; }
  .main-nav .dropdown > a { padding: 10px 24px; }
  .main-nav .caret { display: none; }
  .dropdown-menu {
    display: block;
    position: static;
    min-width: 0;
    max-height: none;
    overflow: visible;
    margin-top: 0;
    padding: 0 0 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .dropdown-menu li a { padding: 6px 24px 6px 38px; font-size: 12px; color: #b9b6a4; }
  .dropdown-menu li a:hover { background: transparent; }
  .hero-bg { width: 100%; opacity: 0.45; }
  .hero-inner { min-height: 340px; padding: 30px 0; }
  .hero-copy { flex: 1 1 auto; max-width: 100%; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .stats-inner > * { border-top: 1px solid var(--gold-dim); }
  .stats-inner > *:nth-child(-n+3) { border-top: 0; }
  .stats-inner > *:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .tl-item::before { display: none; }
  .three-grid { grid-template-columns: 1fr; }
  .dim-tables { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { flex-direction: column; gap: 18px; }
  .footer-grid > * { flex: none; width: 100%; }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { flex-wrap: wrap; }
  .cta-orn { width: 120px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand-name { font-size: 19px; }
  .hero h1 { font-size: 30px; line-height: 1.35; }
  .hero .lead { font-size: 13.5px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner > *:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-inner > *:nth-child(3) { border-top: 1px solid var(--gold-dim); }
  .cat-card { flex-direction: column; }
  .cat-thumb { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 20px; }
  .latest-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
