﻿/* 非遗文化基地专题样式（申遗展示级）· 在 style.css 之后加载 */

.page-main { padding-top: 72px; }

.breadcrumb { font-size: 13px; color: var(--ink-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-sub); }
.breadcrumb a:hover { color: var(--ink-green); }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }
.breadcrumb .cur { color: var(--gold-deep); }

.page-banner {
  background: linear-gradient(135deg, #1a3d28 0%, #2d5a3d 55%, #3a6b4b 100%);
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.page-banner-inner { max-width: 900px; margin: 0 auto; }
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  margin: 14px 0 10px;
  letter-spacing: 1px;
}
.page-banner-sub { color: rgba(255,255,255,0.78); font-size: 15px; }
.page-banner .breadcrumb, .page-banner .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-banner .breadcrumb .cur { color: var(--gold-light); }

.lead-para {
  max-width: 920px; margin: 0 auto 36px; font-size: 16px; line-height: 2;
  color: var(--ink-sub); text-align: justify;
}

/* 专题页：左图右文 */
.craft-layout {
  display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: start;
  max-width: 1180px; margin: 0 auto;
}
.craft-figure img {
  width: 100%; border-radius: 14px; box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; object-fit: cover;
}
.fig-cap { font-size: 12px; color: var(--ink-muted); margin-top: 10px; text-align: center; }
.craft-body p { color: var(--ink-sub); line-height: 2; margin-bottom: 8px; }
.craft-h2 {
  font-family: var(--font-serif); font-size: 20px; color: var(--ink-green);
  margin: 22px 0 10px; padding-left: 12px; border-left: 4px solid var(--gold);
}
.craft-body .craft-h2:first-child { margin-top: 0; }

/* 配方卡 */
.formula-box {
  max-width: 900px; margin: 28px auto 0; padding: 28px 32px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-top: 3px solid var(--gold); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.formula-text {
  font-family: var(--font-serif); font-size: 17px; line-height: 2.1;
  color: var(--ink-text); text-align: center;
}
.formula-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border-line);
  font-size: 12.5px; color: var(--ink-muted); text-align: center;
}

/* 工序步骤 */
.craft-steps { max-width: 900px; margin: 30px auto 0; }
.craft-steps li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 18px; margin-bottom: 10px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 12px; transition: all 0.2s;
}
.craft-steps li:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.step-no {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink-green); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 14px; font-weight: 700;
}
.step-txt { color: var(--ink-sub); line-height: 1.9; padding-top: 3px; }

/* 文化价值 */
.value-box { max-width: 900px; margin: 0 auto; text-align: center; }
.value-box p { color: var(--ink-sub); line-height: 2; }
.value-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px;
}

/* 技艺互链小卡 */
.craft-mini-grid {
  max-width: 1180px; margin: 28px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.craft-mini {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 12px; transition: all 0.2s;
}
.craft-mini:hover { border-color: var(--ink-green); background: var(--paper-warm); }
.craft-mini.cur { border-color: var(--gold); background: #fdf9ee; cursor: default; }
.cm-idx {
  flex-shrink: 0; font-family: var(--font-serif); font-size: 13px; font-weight: 700;
  color: var(--gold-deep);
}
.cm-name { font-size: 13.5px; color: var(--ink-text); line-height: 1.5; }

/* 总览页卡片 */
.hc-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.hc-card {
  position: relative;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; overflow: hidden; transition: all 0.25s;
  display: flex; flex-direction: column;
}
.hc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.hc-idx {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(26,61,40,0.85); color: var(--gold-light);
  font-family: var(--font-serif); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hc-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.hc-card h3 { font-family: var(--font-serif); font-size: 16px; padding: 14px 16px 6px; color: var(--ink-green); }
.hc-card p { font-size: 12.5px; color: var(--ink-sub); padding: 0 16px; line-height: 1.75; flex: 1; }
.hc-more { display: block; padding: 10px 16px 16px; font-size: 13px; color: var(--gold-deep); }

/* 卡片与「延伸阅读」成组：修复按钮被当成网格子项插在卡与卡之间的错位 */
.hc-item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hc-item .hc-card { flex: 1; }
.hc-item .btn-outline { margin-top: 0 !important; text-align: center; justify-content: center; font-size: 12.5px; padding: 10px 8px; white-space: normal; }
@media (max-width: 980px) { .hc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hc-grid { grid-template-columns: 1fr; } }

/* ============ 全国非遗配方产品图鉴（heritage-formulas） ============ */
.fx-grid { max-width: 1180px; margin: 26px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.fx-card { position: relative; overflow: hidden; background: var(--paper-card); border: 1px solid var(--border-line); border-radius: 16px; padding: 22px 24px; transition: all 0.25s; display: flex; flex-direction: column; }
.fx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.fx-wm { position: absolute; right: 18px; bottom: 6px; font-size: 96px; line-height: 1; opacity: 0.05; font-family: var(--font-serif); font-weight: 900; pointer-events: none; }
.fx-img { margin: -22px -24px 18px; }
.fx-img img { width: 100%; aspect-ratio: 10/7; object-fit: cover; display: block; border-radius: 16px 16px 0 0; }
.fx-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.fx-idx { flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(26,61,40,0.9); color: var(--gold-light); font-family: var(--font-serif); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fx-head h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink-green); margin: 2px 0 4px; }
.fx-badge { font-size: 12px; color: var(--gold-deep); letter-spacing: 0.5px; }
.fx-ico { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-warm); border: 1px solid var(--border-line); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--gold-deep); flex: none; }
.fx-gi { width: 1em; height: 1em; }
.fx-meta { margin: 0; font-size: 13.5px; color: var(--ink-sub); }
.fx-meta dt { font-size: 12px; color: var(--gold-deep); letter-spacing: 2px; margin: 10px 0 2px; font-weight: 700; }
.fx-meta dd { margin: 0; line-height: 1.8; }
.fx-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--gold-deep); text-decoration: none; border-bottom: 1px dashed var(--gold); padding-bottom: 2px; }
.fx-group-head { text-align: center; margin-top: 30px; }
.fx-gi { width: 34px; height: 34px; color: var(--gold-deep); vertical-align: -6px; margin-right: 6px; }
.fx-nav { max-width: 1180px; margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fx-nav a { font-size: 12.5px; color: var(--ink-sub); text-decoration: none; border: 1px solid var(--border-line); border-radius: 999px; padding: 5px 12px; background: var(--paper-card); transition: all 0.2s; }
.fx-nav a:hover { color: var(--gold-deep); border-color: var(--gold); }
@media (max-width: 760px) { .fx-grid { grid-template-columns: 1fr; } .fx-wm { font-size: 72px; } }

/* 肘后备急方 */
.zhouhou-grid {
  max-width: 1100px; margin: 28px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.zh-card {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; padding: 22px 24px;
}
.zh-card h4 { font-family: var(--font-serif); font-size: 17px; color: var(--ink-green); margin-bottom: 8px; }
.zh-card p { font-size: 14px; color: var(--ink-sub); line-height: 1.95; }
.zhouhou-note {
  max-width: 860px; margin: 22px auto 0; font-size: 12.5px;
  color: var(--ink-muted); text-align: center;
}

/* 保护传承 */
.protect-grid {
  max-width: 1100px; margin: 28px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.pt-item {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-top: 3px solid var(--ink-green); border-radius: 12px; padding: 20px;
}
.pt-item h4 { font-family: var(--font-serif); font-size: 16px; color: var(--ink-green); margin-bottom: 8px; }
.pt-item p { font-size: 13.5px; color: var(--ink-sub); line-height: 1.85; }

/* 合规声明条 */
.footer-disclaimer {
  font-size: 12.5px; color: var(--ink-muted); line-height: 1.8;
  padding: 12px 18px; background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold); border-radius: 6px;
}

/* 下载页 */
.dl-list { max-width: 900px; margin: 28px auto 0; }
.dl-item {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 12px; margin-bottom: 14px; transition: all 0.2s;
}
.dl-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.dl-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px;
  background: var(--ink-green); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 15px; font-weight: 700;
}
.dl-info { flex: 1; }
.dl-info h4 { font-size: 15.5px; color: var(--ink-text); margin-bottom: 4px; }
.dl-info p { font-size: 12.5px; color: var(--ink-muted); }
.dl-btn {
  flex-shrink: 0; padding: 9px 20px; border-radius: 20px; font-size: 13px;
  background: var(--ink-green); color: #fff; white-space: nowrap;
}
.dl-btn.soon { background: var(--paper-warm); color: var(--ink-muted); border: 1px solid var(--border-line); }
.dl-note {
  max-width: 900px; margin: 20px auto 0; padding: 18px 22px;
  background: #fdf9ee; border: 1px solid var(--gold-light);
  border-radius: 12px; font-size: 13px; color: var(--ink-sub); line-height: 1.9;
}


/* 下载页数据统计 */
.dl-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; max-width: 900px; margin: 0 auto;
}
.dl-stat {
  text-align: center; padding: 24px 16px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px;
}
.dl-stat-num {
  font-family: var(--font-serif); font-size: 32px; font-weight: 700;
  color: var(--gold-deep); line-height: 1; margin-bottom: 6px;
}
.dl-stat-label {
  font-size: 12.5px; color: var(--ink-muted);
}

/* 下载元信息 */
.dl-meta {
  display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap;
}
.dl-meta span {
  font-size: 11.5px; color: var(--ink-muted);
  padding: 2px 8px; background: var(--paper-warm);
  border-radius: 8px;
}

/* 下载步骤 */
.dl-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; max-width: 1000px; margin: 0 auto;
}
.dl-step {
  text-align: center; padding: 28px 20px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; position: relative;
}
.dl-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-green), var(--ink-dark));
  color: var(--gold-light); font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.dl-step h4 {
  font-size: 15px; color: var(--ink-text); margin-bottom: 6px;
}
.dl-step p {
  font-size: 12.5px; color: var(--ink-muted); line-height: 1.7;
}

@media (max-width: 768px) {
  .dl-stats { grid-template-columns: repeat(2, 1fr); }
  .dl-steps { grid-template-columns: 1fr 1fr; }
  .dl-item { flex-wrap: wrap; }
  .dl-btn { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .dl-stats { grid-template-columns: 1fr 1fr; }
  .dl-steps { grid-template-columns: 1fr; }
}

/* 新闻页 - 筛选 */
.news-filter {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; max-width: 900px; margin: 0 auto;
}
.news-filter-btn {
  padding: 8px 20px; border-radius: 20px;
  font-size: 13px; color: var(--ink-sub);
  background: var(--paper-card); border: 1px solid var(--border-line);
  cursor: pointer; transition: all 0.2s;
}
.news-filter-btn:hover {
  border-color: var(--ink-green); color: var(--ink-green);
}
.news-filter-btn.active {
  background: var(--ink-green); color: #fff; border-color: var(--ink-green);
}

/* 新闻页 - 网格卡片 */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
.news-item {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; overflow: hidden;
  transition: all 0.3s;
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.news-item-img {
  position: relative; width: 100%; aspect-ratio: 5/3;
  overflow: hidden;
}
.news-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.news-item:hover .news-item-img img {
  transform: scale(1.05);
}
.news-item-cat {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 12px;
  background: rgba(26, 58, 42, 0.85);
  color: var(--gold-light); font-size: 11.5px;
  backdrop-filter: blur(4px);
}
.news-item-body {
  padding: 18px 20px 20px;
}
.news-item-body .news-meta {
  margin-bottom: 8px;
}
.news-item-body h3 {
  font-size: 15px; line-height: 1.5; margin-bottom: 8px;
  color: var(--ink-text); font-weight: 600;
}
.news-item-body h3 a { color: var(--ink-text); text-decoration: none; }
.news-item-body h3 a:hover { color: var(--ink-green); }
.news-item-body > p {
  font-size: 12.5px; color: var(--ink-muted);
  line-height: 1.7; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.news-more {
  font-size: 12.5px; color: var(--ink-green);
  text-decoration: none; font-weight: 500;
}
.news-more:hover { text-decoration: underline; }

/* 加载更多 */
.news-load-more {
  text-align: center; margin-top: 32px;
}

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-filter-btn { padding: 6px 14px; font-size: 12px; }
}
/* 新闻页 */
.news-list { max-width: 900px; margin: 0 auto; }
.news-card {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; padding: 28px 32px; margin-bottom: 20px;
  transition: all 0.2s;
}
.news-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gold); }
.news-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-muted); margin-bottom: 10px; flex-wrap: wrap; }
.news-tag {
  padding: 2px 10px; border-radius: 10px; background: var(--paper-warm);
  color: var(--ink-green); border: 1px solid var(--border-line);
}
.news-card h3 { font-family: var(--font-serif); font-size: 20px; color: var(--ink-green); margin-bottom: 12px; line-height: 1.5; }
.news-card p { font-size: 14.5px; color: var(--ink-sub); line-height: 2; margin-bottom: 10px; }

/* 首页：八大非遗入口 */
.craft-entry-grid {
  max-width: 1180px; margin: 30px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.craft-entry {
  position: relative; background: var(--paper-card);
  border: 1px solid var(--border-line); border-radius: 14px;
  padding: 22px 20px; transition: all 0.25s; overflow: hidden;
}
.craft-entry::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transition: transform 0.25s;
}
.craft-entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.craft-entry:hover::before { transform: scaleY(1); }
.ce-no {
  font-family: var(--font-serif); font-size: 13px; color: var(--gold-deep);
  letter-spacing: 1px;
}
.craft-entry h4 { font-family: var(--font-serif); font-size: 16.5px; color: var(--ink-green); margin: 6px 0 8px; line-height: 1.5; }
.craft-entry p { font-size: 12.5px; color: var(--ink-sub); line-height: 1.75; margin-bottom: 10px; }
.ce-more { font-size: 12.5px; color: var(--gold-deep); }

/* 首页：业态板块 */
.biz-grid {
  max-width: 1180px; margin: 30px auto 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.biz-item {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; padding: 26px 18px; text-align: center; transition: all 0.25s;
}
.biz-item:hover { border-color: var(--ink-green); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.biz-ico {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-green), #3a6b4b);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; color: var(--gold-light);
}
.biz-item h4 { font-family: var(--font-serif); font-size: 16px; color: var(--ink-green); margin-bottom: 8px; }
.biz-item p { font-size: 12.5px; color: var(--ink-sub); line-height: 1.75; }

/* 首页底部联系条 */
.contact-strip {
  background: linear-gradient(135deg, #1a3d28, #2d5a3d);
  color: #fff; padding: 46px 24px;
}
.contact-strip-inner { max-width: 1180px; margin: 0 auto; }
.cs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 26px; }
.cs-item h5 { font-size: 13px; color: var(--gold-light); margin-bottom: 6px; font-weight: 400; }
.cs-item p { font-size: 15px; color: #fff; }
.cs-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cs-map { margin-top: 26px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.cs-map iframe { width: 100%; height: 300px; border: 0; display: block; }

@media (max-width: 1100px) {
  .hc-grid, .craft-entry-grid, .craft-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .protect-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-layout { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hc-grid, .craft-entry-grid, .craft-mini-grid, .biz-grid,
  .protect-grid, .zhouhou-grid { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 40px 18px 32px; }
  .craft-steps li, .dl-item { padding: 14px; }
  .dl-item { flex-wrap: wrap; }
  .news-card { padding: 20px; }
  .coop-item { flex-wrap: wrap; }
}

/* 招商合作 */
.coop-grid { max-width: 980px; margin: 28px auto 0; }
.coop-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 22px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 12px; margin-bottom: 12px; transition: all 0.2s;
}
.coop-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.coop-no {
  flex-shrink: 0; font-family: var(--font-serif); font-size: 15px; font-weight: 700;
  color: var(--gold-deep); padding-top: 2px;
}
.coop-item h4 { font-size: 16px; color: var(--ink-text); margin-bottom: 4px; }
.coop-item p { font-size: 13.5px; color: var(--ink-sub); line-height: 1.8; }

.adv-grid {
  max-width: 1100px; margin: 28px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.adv-item {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-top: 3px solid var(--gold); border-radius: 12px; padding: 22px 20px;
}
.adv-item h4 { font-family: var(--font-serif); font-size: 16.5px; color: var(--ink-green); margin-bottom: 8px; }
.adv-item p { font-size: 13.5px; color: var(--ink-sub); line-height: 1.8; }

.flow-bar {
  max-width: 1000px; margin: 30px auto 0; padding: 22px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 40px; text-align: center;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
}
.flow-step {
  display: inline-block; padding: 8px 18px; border-radius: 20px;
  background: var(--ink-green); color: var(--gold-light);
  font-family: var(--font-serif); font-size: 14.5px;
}
.flow-arrow { color: var(--gold-deep); font-size: 16px; }

/* 传承人团队 */
.team-grid {
  max-width: 1100px; margin: 28px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.team-card {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; padding: 24px 20px; transition: all 0.25s;
}
.team-card:hover { border-color: var(--ink-green); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.team-field {
  display: inline-block; padding: 3px 12px; border-radius: 12px;
  background: var(--paper-warm); color: var(--ink-green);
  font-size: 12.5px; margin-bottom: 10px;
}
.team-card h4 { font-family: var(--font-serif); font-size: 16.5px; color: var(--ink-green); margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--ink-sub); line-height: 1.8; }

@media (max-width: 1100px) {
  .adv-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .adv-grid, .team-grid { grid-template-columns: 1fr; }
  .flow-bar { border-radius: 16px; }
}


/* ============================================================
   统一 SVG 图标（替代 emoji）+ 地图组件
   ============================================================ */
.ui-icon { width: 1em; height: 1em; flex: none; vertical-align: -0.135em; }
.feature-icon svg.ui-icon,
.heritage-icon svg.ui-icon,
.digital-icon svg.ui-icon,
.cert-icon svg.ui-icon,
.partner-logo svg.ui-icon,
.biz-ico svg.ui-icon,
.trace-icon svg.ui-icon,
.zone-icon svg.ui-icon { width: 1em; height: 1em; display: block; }

.map-embed { border-radius: 14px; overflow: hidden; background: #eef3ec; }
.map-embed iframe.cs-map-frame {
  width: 100%; height: 330px; border: 0; display: block; background: #eef3ec;
}
.cs-map-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px;
}
.cs-map-actions .btn { font-size: 13px; padding: 9px 18px; }
@media (max-width: 640px) {
  .map-embed iframe.cs-map-frame { height: 260px; }
}

.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border-line); padding: 14px 0; }
.faq-item summary {
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink-dark);
  list-style: none; display: flex; align-items: center; gap: 8px; font-family: var(--font-serif);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; color: var(--ink-green); font-size: 18px; font-weight: 400; }
.faq-item[open] summary::before { content: "\2013"; }
.faq-item p { font-size: 14px; color: var(--ink-body); line-height: 2; margin: 10px 0 2px 22px; }

/* ===== 悬浮咨询 CTA（古铜金 #c49a3a，右下角固定，移动端缩小）===== */
.cta-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--gold, #c49a3a); color: #16301f;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 61, 40, .28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.cta-float:hover, .cta-float:focus-visible {
  transform: translateY(-2px); background: var(--gold-deep, #a07c2a); color: #fff;
  box-shadow: 0 12px 28px rgba(26, 61, 40, .34);
}
.cta-float svg { flex: 0 0 auto; }
@media (max-width: 640px) {
  .cta-float {
    right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 9px 14px; font-size: 13px; gap: 6px;
    box-shadow: 0 6px 18px rgba(26, 61, 40, .24);
  }
  .cta-float svg { width: 16px; height: 16px; }
}
@media print { .cta-float { display: none; } }

/* ===== 产品卡场景文案（标题下方）===== */
.product-scene {
  margin: 8px 0 10px; padding: 8px 10px;
  background: rgba(196, 154, 58, .09);
  border-left: 2px solid var(--gold, #c49a3a);
  border-radius: 0 6px 6px 0;
}
.product-scene p {
  margin: 0 0 4px; font-size: 12.5px; line-height: 1.75; color: var(--ink-body);
}
.product-scene p:last-child { margin-bottom: 0; }
.scene-label {
  display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px;
  background: var(--gold, #c49a3a); color: #16301f; font-size: 11.5px; font-weight: 600;
  letter-spacing: .02em; white-space: nowrap;
}

/* ===== 长内容折叠（渐进增强：JS 未生效时完整展示）===== */
/* 说明：部分 section 内还有一层容器（.section / max-width），
   fold-body 不一定是 section 的直接子元素，因此这里统一用后代选择器。 */
.fold-body { overflow: hidden; }
section[data-fold].is-folded .fold-body { max-height: 0; }
section[data-fold].is-open .fold-body { max-height: none; overflow: visible; }
.fold-toggle {
  margin: 22px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-line, #d9e0d6); background: transparent;
  color: var(--ink-green, #2d5a3d); font-size: 14px; font-family: var(--font-serif);
  transition: background .2s ease, border-color .2s ease;
}
.fold-toggle:hover { background: rgba(196, 154, 58, .10); border-color: var(--gold, #c49a3a); }
.fold-toggle .fold-arrow { transition: transform .2s ease; font-size: 12px; }
section[data-fold].is-open .fold-toggle .fold-arrow { transform: rotate(180deg); }




/* 404 错误页 */
.error-page {
  padding: 60px 20px 80px;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-bg) 40%);
}
.error-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.error-illustration {
  margin-bottom: 30px;
}
.error-svg {
  max-width: 400px; width: 100%; height: auto;
}
.error-title {
  font-family: var(--font-serif); font-size: 28px;
  color: var(--ink-text); margin-bottom: 8px;
  font-weight: 600;
}
.error-subtitle {
  font-size: 14px; color: var(--ink-muted);
  margin-bottom: 28px;
}

/* 搜索框 */
.error-search {
  max-width: 480px; margin: 0 auto 40px;
  display: flex; gap: 8px;
}
.error-search input {
  flex: 1; padding: 12px 18px;
  border: 1px solid var(--border-line);
  border-radius: 24px; font-size: 14px;
  background: var(--paper-card);
  outline: none; transition: border-color 0.2s;
}
.error-search input:focus {
  border-color: var(--ink-green);
}
.error-search button {
  padding: 12px 28px;
  background: var(--ink-green); color: #fff;
  border: none; border-radius: 24px;
  font-size: 14px; cursor: pointer;
  transition: background 0.2s;
}
.error-search button:hover {
  background: var(--ink-dark);
}

/* 快捷导航 */
.error-quick-nav {
  margin-bottom: 40px;
}
.error-quick-nav h3 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--ink-text); margin-bottom: 18px;
  font-weight: 600;
}
.error-nav-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.error-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 12px; text-decoration: none;
  color: var(--ink-sub); font-size: 12.5px;
  transition: all 0.2s;
}
.error-nav-item:hover {
  border-color: var(--gold); color: var(--ink-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.error-nav-ico {
  font-size: 24px;
}

/* 推荐内容 */
.error-recommend {
  margin-bottom: 36px;
}
.error-recommend h3 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--ink-text); margin-bottom: 18px;
  font-weight: 600;
}
.error-recommend-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.error-rec-card {
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; transition: all 0.3s;
  text-align: left;
}
.error-rec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.error-rec-img {
  height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.error-rec-card h4 {
  padding: 14px 16px 4px;
  font-size: 14.5px; color: var(--ink-text);
  font-weight: 600;
}
.error-rec-card p {
  padding: 0 16px 16px;
  font-size: 12.5px; color: var(--ink-muted);
  line-height: 1.6;
}

/* 返回按钮 */
.error-back {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .error-nav-grid { grid-template-columns: repeat(4, 1fr); }
  .error-recommend-grid { grid-template-columns: 1fr; }
  .error-title { font-size: 22px; }
  .error-search { flex-direction: column; }
  .error-search button { width: 100%; }
}
@media (max-width: 480px) {
  .error-nav-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   2026-10-15 全站优化：游玩套餐 / B端招商亮点 / 媒体占位 / 品牌视觉统一
   ============================================================ */

/* ---- 游客游玩套餐 ---- */
.pkg-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:18px; max-width:1080px; margin:0 auto; }
.pkg-card { background:#fff; border:1px solid var(--border-line); border-radius:16px; padding:26px 24px; display:flex; flex-direction:column; }
.pkg-card h3 { font-family:var(--font-serif); font-size:21px; color:var(--ink-main); margin:10px 0 10px; }
.pkg-card p { font-size:14px; line-height:1.8; color:var(--ink-body); flex:1; }
.pkg-tag { display:inline-block; align-self:flex-start; font-size:12px; color:var(--ink-green); background:rgba(45,90,61,.08); border-radius:999px; padding:4px 12px; }
.pkg-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

/* ---- B端招商亮点 ---- */
.biz-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:18px; max-width:1080px; margin:0 auto; }
.biz-card { background:var(--paper-light); border:1px solid var(--border-line); border-radius:16px; padding:24px 22px; }
.biz-num { font-family:var(--font-serif); font-size:26px; font-weight:700; color:var(--ink-green); opacity:.55; margin-bottom:8px; }
.biz-card h3 { font-size:17px; color:var(--ink-main); margin-bottom:8px; }
.biz-card p { font-size:13.5px; line-height:1.75; color:var(--ink-sub); }

/* ---- 非遗专题页现场影像占位 ---- */
.media-section .media-ph-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:18px; max-width:1080px; margin:0 auto 18px; }
.media-ph { margin:0; }
.media-ph-box { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:230px; border:2px dashed rgba(45,90,61,.4); border-radius:14px; background:repeating-linear-gradient(45deg, rgba(45,90,61,.03) 0 12px, transparent 12px 24px); color:var(--ink-sub); font-size:14px; text-align:center; padding:20px; }
.media-ph-box span { font-size:12px; letter-spacing:2px; color:var(--ink-green); border:1px solid rgba(45,90,61,.35); border-radius:999px; padding:3px 14px; }
.media-ph-box.media-ph-video { min-height:300px; }
.media-ph-wide { max-width:1080px; margin:0 auto; }
.media-ph figcaption { font-size:12.5px; color:var(--ink-muted); text-align:center; margin-top:10px; line-height:1.7; }

/* ---- 品牌视觉统一：标题层级与正文可读性 ---- */
.section-title { letter-spacing:.5px; }
.section-desc { max-width:760px; margin-left:auto; margin-right:auto; line-height:1.8; }
body { -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }

/* ---- 响应式补强 ---- */
@media (max-width:980px) {
  .pkg-grid, .biz-grid { grid-template-columns:repeat(2, 1fr); }
  .media-section .media-ph-grid { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .pkg-grid, .biz-grid { grid-template-columns:1fr; }
  .pkg-card, .biz-card { padding:20px 18px; }
  .pkg-actions .btn { flex:1 1 auto; text-align:center; }
}

/* ---- 主题簇「相关阅读」卡片（2026-10-15 内链网状化） ---- */
.cl-grid { max-width:1000px; margin:0 auto; display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.cl-card {
  display:block; background:var(--paper-card); border:1px solid var(--border-line);
  border-radius:12px; padding:16px 18px; transition:all .25s; text-decoration:none;
}
.cl-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:var(--gold); }
.cl-card h3 { font-family:var(--font-serif); font-size:15px; color:var(--ink-green); margin:0 0 6px; line-height:1.55; }
.cl-card p { font-size:12.5px; color:var(--ink-sub); line-height:1.75; margin:0; }
.cl-card .cl-go { display:inline-block; margin-top:10px; font-size:12.5px; color:var(--gold-deep, #9a7526); }
@media (max-width:900px) { .cl-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:560px) { .cl-grid { grid-template-columns:1fr; } }

/* ---- 多语言切换器 ---- */
.nav-lang { display:flex; align-items:center; margin-left:8px; }
.lang-select { font-size:13px; color:var(--ink-main); background:rgba(255,255,255,.9); border:1px solid var(--border-line); border-radius:999px; padding:6px 10px; cursor:pointer; max-width:120px; }
.navbar .lang-select { background:#fff; }
@media (max-width:980px){
  .nav-lang { margin-left:0; }
  .nav-menu .lang-select { width:100%; max-width:none; }
}

/* ==========================================================================
 * 静态产品详情页（product-<key>.html，2026-10-17 第十二轮）
 * 独立命名空间 pp-，与 product-detail.html 的内联样式互不影响
 * ========================================================================== */
.pp-wrap { max-width: 1000px; margin: 0 auto; }
.pp-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 16px; padding: 26px; margin-bottom: 40px;
}
.pp-media img { width: 100%; height: auto; border-radius: 12px; display: block; }
.pp-badge {
  display: inline-block; font-size: 12px; letter-spacing: .08em; color: var(--gold-deep);
  border: 1px solid var(--gold-light); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.pp-name { font-family: var(--font-serif); font-size: 26px; color: var(--ink-dark); margin: 0 0 10px; }
.pp-desc { font-size: 15px; line-height: 1.9; color: var(--ink-sub); margin: 0 0 18px; }
.pp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pp-now { font-family: var(--font-serif); font-size: 30px; color: var(--accent-red); }
.pp-spec { font-size: 13px; color: var(--ink-muted); }
.pp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pp-note { font-size: 12.5px; color: var(--ink-muted); line-height: 1.8; margin-top: 16px; }
.pp-block { margin-bottom: 42px; }
.pp-block > h2 {
  font-family: var(--font-serif); font-size: 21px; color: var(--ink-dark);
  margin: 0 0 18px; padding-left: 12px; border-left: 3px solid var(--gold);
}
.pp-lead { display: grid; gap: 1px; background: var(--border-line); border: 1px solid var(--border-line); border-radius: 12px; overflow: hidden; }
.pp-lead-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 18px; background: var(--paper-card); font-size: 14.5px; line-height: 1.8; }
.pp-lead-k { color: var(--ink-muted); }
.pp-lead-v { color: var(--ink-text); font-weight: 500; }
.pp-facts { width: 100%; border-collapse: collapse; background: var(--paper-card); border: 1px solid var(--border-line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
.pp-facts th, .pp-facts td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--border-line); line-height: 1.8; vertical-align: top; }
.pp-facts th { width: 130px; font-weight: 400; color: var(--ink-muted); white-space: nowrap; }
.pp-facts td { color: var(--ink-text); }
.pp-facts tr:last-child th, .pp-facts tr:last-child td { border-bottom: none; }
.pp-claim {
  font-family: var(--font-serif); font-size: 18px; line-height: 1.9; color: var(--ink-dark);
  margin: 0 0 22px; padding: 20px 22px; background: var(--paper-warm);
  border-radius: 12px; border-left: 3px solid var(--gold);
}
.pp-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pp-point { background: var(--paper-card); border: 1px solid var(--border-line); border-radius: 12px; padding: 20px 18px; }
.pp-point h3 { font-family: var(--font-serif); font-size: 16px; color: var(--ink-dark); margin: 0 0 8px; }
.pp-point p { font-size: 14px; line-height: 1.85; color: var(--ink-sub); margin: 0; }
.pp-tex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pp-tex-card { background: var(--paper-card); border: 1px solid var(--border-line); border-radius: 12px; padding: 18px; }
.pp-tex-card h3 { font-size: 13px; letter-spacing: .06em; color: var(--gold-deep); margin: 0 0 8px; }
.pp-tex-card p { font-size: 14px; line-height: 1.85; color: var(--ink-sub); margin: 0; }
.pp-faq-item { background: var(--paper-card); border: 1px solid var(--border-line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.pp-faq-q { display: flex; gap: 10px; align-items: baseline; font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink-dark); line-height: 1.7; }
.pp-q { font-size: 13px; color: var(--gold-deep); flex: none; }
.pp-faq-a { margin-top: 10px; font-size: 14.5px; line-height: 1.95; color: var(--ink-sub); }
.pp-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pp-rel {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 16px;
  background: var(--paper-card); border: 1px solid var(--border-line); border-radius: 12px;
  text-decoration: none; transition: border-color .2s;
}
.pp-rel:hover { border-color: var(--gold); }
.pp-rel-name { font-size: 14.5px; color: var(--ink-dark); font-weight: 500; }
.pp-rel-cat { font-size: 12px; color: var(--ink-muted); }
.pp-links { font-size: 14px; color: var(--ink-sub); line-height: 2; }
.pp-links a { color: var(--ink-green); }
@media (max-width: 820px) {
  .pp-hero { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .pp-points, .pp-tex { grid-template-columns: 1fr; }
  .pp-rel-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-lead-row { grid-template-columns: 92px 1fr; }
  .pp-facts th { width: 96px; white-space: normal; }
}

/* ── 技艺速览事实卡（GEO 可引用块，2026-10-18）──────────────────── */
.geo-wrap { max-width: 900px; margin: 0 auto; }
.geo-tldr {
  font-family: var(--font-serif); font-size: 17px; line-height: 1.95; color: var(--ink-dark);
  margin: 0 0 24px; padding: 20px 22px; background: var(--paper-card);
  border-radius: 12px; border-left: 3px solid var(--gold);
}
.geo-facts-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.geo-facts {
  width: 100%; min-width: 520px; border-collapse: collapse; background: var(--paper-card);
  border: 1px solid var(--border-line); border-radius: 12px; overflow: hidden; font-size: 14.5px;
}
.geo-facts caption {
  caption-side: top; text-align: left; padding: 0 2px 10px;
  font-size: 12.5px; letter-spacing: .06em; color: var(--ink-muted);
}
.geo-facts th, .geo-facts td {
  text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--border-line);
  line-height: 1.8; vertical-align: top;
}
.geo-facts th { width: 118px; font-weight: 400; color: var(--ink-muted); white-space: nowrap; }
.geo-facts td { color: var(--ink-text); }
.geo-facts tr:last-child th, .geo-facts tr:last-child td { border-bottom: none; }
.geo-facts-note {
  margin: 14px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--ink-muted);
}
@media (max-width: 820px) {
  .geo-tldr { font-size: 15.5px; padding: 16px 18px; }
  .geo-facts th { width: 92px; white-space: normal; }
  .geo-facts th, .geo-facts td { padding: 10px 14px; font-size: 14px; }
}

/* ── 可见更新时间行（GEO / E-E-A-T，2026-10-19） ──
   JSON-LD 里一直有 dateModified，但页面上看不到：AI 摘要与搜索引擎
   都偏好「可见的时效 + 维护方」信号。样式刻意压低存在感，只做可信度锚点。 */
.page-meta {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  letter-spacing: .02em;
}
.page-meta time { font-variant-numeric: tabular-nums; color: rgba(232,213,168,0.85); }
@media (max-width: 640px) {
  .page-meta { font-size: 11.5px; margin-top: 10px; }
}

/* ── 「本页速答」块（GEO 可引用性，2026-10-19 第十七轮） ──
   源自 add-geo-tldr.py：从正文前几段逐字截取每段首句，放在 banner 下方。
   AI 引擎抓页时最先要「能直接引用的陈述句」；放在第一屏之前可显著提高
   摘要命中率，且不新增任何事实（全部为原文句子）。
   注意：不要用 .geo-tldr（那是技艺页的整段定义，字号更大，语义不同）。 */
.geo-summary {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 22px 16px;
  background: #f7f4ec;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.geo-summary-h {
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.geo-keypoints {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-text);
  font-size: 15.5px;
  line-height: 1.95;
}
.geo-keypoints li { margin: 0 0 6px; }
.geo-keypoints li:last-child { margin-bottom: 0; }
.geo-summary-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .geo-summary { padding: 14px 16px 12px; }
  .geo-keypoints { font-size: 14.5px; line-height: 1.9; }
}

/* ---- 内容页主题配图（geo-fig） ---- */
.geo-fig { max-width: 900px; margin: 22px auto 6px; }
.geo-fig img { width: 100%; height: auto; border-radius: 14px; display: block; }
.geo-fig figcaption { font-size: 12.5px; color: var(--ink-muted, #8a8f85); text-align: center; margin-top: 8px; line-height: 1.7; }

/* ---- 浅色底页面的可见署名变体（2026-10-24 第二十二轮） ----
   .page-meta 默认是深色横幅上的浅色字；ai-test 这类浅底页需要深色版，
   否则白字压在米白背景上等于不可见。 */
.page-meta--dark { color: rgba(38, 46, 40, 0.55); }
.page-meta--dark time { color: var(--ink-green, #2f5d46); font-weight: 600; }

/* ---- 多列对照表（2026-10-24 第二十二轮）----
   .geo-facts 是「标签—值」两列用的，列宽被写死 118px；
   trip-planner 的点位/住宿/餐饮是真正的多列表格，需要独立类，
   否则第一列会被压成 118px 放不下地名。 */
.geo-grid {
  width: 100%; min-width: 680px; border-collapse: collapse;
  background: var(--paper-card); border: 1px solid var(--border-line);
  border-radius: 12px; overflow: hidden; font-size: 14px;
}
.geo-grid caption {
  caption-side: top; text-align: left; padding: 0 2px 10px;
  font-size: 12.5px; letter-spacing: .04em; color: var(--ink-muted);
}
.geo-grid thead th {
  text-align: left; padding: 11px 14px; font-weight: 600; font-size: 13px;
  color: var(--ink-text); background: rgba(47, 93, 70, .06);
  border-bottom: 1px solid var(--border-line); white-space: nowrap;
}
.geo-grid td {
  padding: 11px 14px; border-bottom: 1px solid var(--border-line);
  line-height: 1.75; color: var(--ink-text); vertical-align: top;
}
.geo-grid tbody tr:last-child td { border-bottom: none; }
.geo-grid tbody tr:nth-child(even) { background: rgba(47, 93, 70, .025); }
@media (max-width: 820px) {
  .geo-grid { min-width: 600px; font-size: 13px; }
  .geo-grid thead th, .geo-grid td { padding: 9px 11px; }
}

/* ---- 食养问答总览（faq-index.html）· 2026-10-24 第二十三轮 ---- */
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.idx-group { margin: 28px 0 6px; }
.idx-group h3 {
  font-size: 18px; font-weight: 600; color: var(--ink-dark);
  border-left: 3px solid var(--gold-deep); padding-left: 12px; margin: 0 0 6px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.idx-hub { font-size: 13px; font-weight: 400; color: var(--ink-green); margin-left: auto; }
.idx-hub:hover { color: var(--gold-deep); }
.idx-list { list-style: none; padding: 0; margin: 10px 0 0; }
.idx-list li { padding: 11px 0; border-bottom: 1px dashed rgba(45, 90, 61, .14); }
.idx-list li:last-child { border-bottom: none; }
.idx-list a { font-weight: 500; color: var(--ink-dark); font-size: 15px; }
.idx-list a:hover { color: var(--ink-green); }
.idx-q { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 5px; line-height: 1.6; }
.idx-tips { padding-left: 20px; }
.idx-tips li { margin: 9px 0; line-height: 1.75; color: var(--ink-text); }
.idx-note {
  font-size: 13px; color: var(--ink-muted); line-height: 1.75;
  border-top: 1px solid rgba(45, 90, 61, .14); padding-top: 16px; margin-top: 30px;
}
@media (max-width: 640px) {
  .container-narrow { padding: 0 16px; }
  .idx-group h3 { font-size: 16px; }
  .idx-hub { margin-left: 0; }
}

/* ===== 导航排版修复（2026-10-25 第二十五轮）=====
   症状：1440 / 1920 宽下 9 个一级菜单全部逐字换行（"非遗传 / 承"、"基地体 / 验"），
   看起来像坏站。原因两条：
     1) .nav-container 只有 1200px，而 9 个中文菜单 + 用户中心 + 加盟按钮 + 语言开关
        的自然宽度约 1370px，flex 只能把每个 <a> 压窄；
     2) .nav-menu a 没有 white-space:nowrap，被压窄后中文就按字断行。
   修法：容器放宽到 1360、间距用 clamp 自适应、菜单文字禁止断行；
   1280 以下再略收字号，保证 1024 笔记本仍单行。 */
.nav-container { max-width: 1360px; }
.nav-menu { gap: clamp(12px, 1.35vw, 22px); }
.nav-menu a { white-space: nowrap; }
.nav-menu > a,
.nav-menu .nav-item > a { flex: 0 0 auto; }

@media (max-width: 1280px) {
  .nav-menu { gap: 13px; }
  .nav-menu a { font-size: 13px; }
  .nav-logo .logo-text small { display: none; }
}

@media (max-width: 1024px) {
  .nav-menu { gap: 10px; }
  .nav-menu a { font-size: 12.5px; }
}

/* ===== 移动端横向溢出修复（2026-10-25 第二十五轮）=====
   about.html 原先用行内 style="grid-template-columns: repeat(4,1fr)" 硬写四列，
   行内样式优先级高于媒体查询，手机上四张卡片各按 min-content 106px 撑开，
   文档宽度被顶到 520px —— 汉堡菜单、右半屏内容全被挤出视口。
   改为修饰类 + 响应式降列；选择器写双类提高权重，避免被页面内联 <style> 覆盖。 */
.values-grid.values-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .values-grid.values-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .values-grid.values-grid--4 { grid-template-columns: 1fr; }
}

/* products.html 的道地产区四列卡（原为行内 style，同样绕过了媒体查询） */
.series-banner-grid.series-banner-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .series-banner-grid.series-banner-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .series-banner-grid.series-banner-grid--4 { grid-template-columns: 1fr; }
}

/* ===== product-topic-v1 / product-crosslink-v1（2026-10-26 第二十六轮） =====
   产品页 ↔ 专题深度内容的双向内链。20 个产品页此前只与同类产品互链，
   与支撑其主题的技艺/问答页零链接（详见 scripts/product-topic-crosslinks.py 注释）。 */
.pt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.pt-card{display:block;background:#fff;border:1px solid var(--line,#e6e2d8);border-radius:14px;
  padding:18px 18px 16px;text-decoration:none;transition:box-shadow .2s,transform .2s}
.pt-card:hover{box-shadow:0 10px 26px rgba(0,0,0,.08);transform:translateY(-2px)}
.pt-kicker{display:inline-block;font-size:12px;letter-spacing:.08em;color:#8a7a52;margin-bottom:8px}
.pt-t{font-family:var(--font-serif,serif);font-size:16px;line-height:1.5;color:var(--ink-green,#1f3d2b);margin:0 0 8px}
.pt-d{font-size:13.5px;line-height:1.7;color:var(--ink-sub,#6b6b63);margin:0 0 10px}
.pt-go{font-size:13px;color:#8a7a52}
.pcl-line{margin:26px auto 0;max-width:1060px;font-size:14px;line-height:1.9;
  color:var(--ink-sub,#6b6b63);text-align:center}
.pcl-line a{color:var(--ink-green,#1f3d2b);text-decoration:underline;text-underline-offset:3px}
@media (max-width:860px){.pt-grid{grid-template-columns:1fr}}

/* ===== 二十味怎么选 · 产品对照表（2026-10-26 第二十七轮）=====
   products-guide.html：形态分类表 + 20 行对照表 + 场景分块 + 选购要点。
   表格沿用 .geo-grid（多列、可横向滚动），此处只补附属小字与场景块。 */
.pg-sub { display: block; font-size: 12px; color: var(--ink-muted, #8a8f85); font-weight: 400; margin-top: 3px; }
.geo-grid th .pg-sub { white-space: normal; }
.pg-price { white-space: nowrap; font-weight: 600; color: var(--gold-deep, #8a7a52); }
.pg-scene {
  padding: 16px 18px; margin: 14px 0; border-radius: 12px;
  background: var(--paper-card); border: 1px solid var(--border-line);
}
.pg-scene h3 { font-size: 16px; font-weight: 600; color: var(--ink-dark); margin: 0 0 8px; }
.pg-scene p { font-size: 14px; line-height: 1.85; color: var(--ink-text); margin: 0 0 6px; }
.pg-scene p:last-child { margin-bottom: 0; color: var(--ink-sub, #6b6b63); font-size: 13.5px; }
.pg-scene-list a { color: var(--ink-green, #1f3d2b); font-weight: 500; }
.pg-check h3 {
  font-size: 15.5px; font-weight: 600; color: var(--ink-dark);
  margin: 20px 0 6px; padding-left: 11px; border-left: 3px solid var(--gold-deep, #8a7a52);
}
.pg-check p { font-size: 14.5px; line-height: 1.9; color: var(--ink-text); margin: 0; }
.pg-more {
  margin-top: 26px; font-size: 14px; line-height: 1.9; color: var(--ink-sub, #6b6b63);
  border-top: 1px solid rgba(45, 90, 61, .14); padding-top: 16px;
}
.pg-more a { color: var(--ink-green, #1f3d2b); text-decoration: underline; text-underline-offset: 3px; }

/* products-guide 引导卡（products.html 标题区下方，2026-10-26 第二十七轮） */
.pg-cta { padding: 0 20px; margin: 26px auto 0; max-width: 1200px; }
.pg-cta-inner {
  border-radius: 16px; padding: 24px 28px;
  background: linear-gradient(135deg, rgba(47, 93, 70, .07), rgba(138, 122, 82, .07));
  border: 1px solid rgba(47, 93, 70, .18);
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.pg-cta-inner h2 { font-family: var(--font-serif); font-size: 19px; color: var(--ink-dark); margin: 0; }
.pg-cta-inner p { font-size: 13.5px; line-height: 1.85; color: var(--ink-sub, #6b6b63); margin: 0; }
.pg-cta-btn {
  margin-top: 4px; display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: var(--ink-green, #1f3d2b); color: #fff !important; font-size: 13.5px;
  text-decoration: none; white-space: nowrap;
}
.pg-cta-btn:hover { background: var(--gold-deep, #8a7a52); }
@media (max-width: 640px) {
  .pg-cta-inner { padding: 18px 16px; }
  .pg-cta-inner h2 { font-size: 16.5px; }
}
