/* 图片专项组件样式（evidence/figure/preview） 2026-08-05 */
.evidence-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.evidence-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.evidence-card {
  margin: 0; background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.evidence-card img { display: block; width: 100%; height: auto; }
.evidence-card figcaption {
  padding: 12px 16px; font-size: 13px; line-height: 1.6; color: #6B7280;
  border-top: 1px solid rgba(0,0,0,.06);
}
.diagram-figure { margin: 28px 0; }
.diagram-figure img { display: block; width: 100%; height: auto; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; }
.diagram-figure figcaption { margin-top: 10px; font-size: 13px; color: #6B7280; }
.tool-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-preview-grid .evidence-card figcaption a { font-weight: 600; }
.dl-meta { font-size: 12.5px; color: #9AA3AF; display: block; margin-top: 4px; }
@media (max-width: 900px) {
  .evidence-strip, .tool-preview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .evidence-strip, .evidence-grid-2, .tool-preview-grid { grid-template-columns: 1fr; }
}

/* ── 原生流程组件（替代图片流程图） ── */
.flow-wrap { background: #F6F5F2; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 32px 34px; margin: 28px 0; }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.flow-title { font-size: 19px; font-weight: 700; }
.flow-note { font-size: 12.5px; color: #9AA3AF; }
.flow-steps { display: grid; grid-template-columns: repeat(var(--fs-cols, 5), 1fr); gap: 28px 34px; }
.flow-step { position: relative; background: #fff; border: 1px solid #E5E1D8; border-radius: 12px; padding: 18px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%);
  color: #C8C2B6; font-size: 18px;
}
.flow-step.fs-dashed { background: #FBF9F4; border-style: dashed; border-color: #C8C2B6; }
.fs-n { font-size: 11px; letter-spacing: 2px; color: #B8860B; font-weight: 700; margin-bottom: 8px; }
.fs-h { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.fs-b { font-size: 13px; line-height: 1.7; color: #5B6472; }
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .flow-steps { grid-template-columns: 1fr; }
}

/* ── Lightbox 大图查看 ── */
.evidence-card picture { cursor: zoom-in; }
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(12,16,22,.86); padding: 32px; cursor: zoom-out;
}
.lb-overlay img { max-width: min(1440px, 94vw); max-height: 90vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lb-close {
  position: fixed; top: 18px; right: 22px; z-index: 10000; width: 44px; height: 44px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-caption { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 13.5px; max-width: 80vw; text-align: center; }

/* ── 对比表高亮列：黑色换深海军蓝渐变（更高级） ── */
.ctable th.hi {
  background: linear-gradient(135deg, #16324F 0%, #1D4E89 100%) !important;
  color: #fff !important;
  border-bottom-color: #16324F !important;
}
.ctable td.us { background: rgba(0,102,204,.05); }

/* ── 竖图裁剪呈现（品牌墙等纵向照片） ── */
.ec-crop picture img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 62%; width: 100%; }


/* ── 字体统一：不再依赖Google Fonts（国内加载失败退化为宋体） ── */
:root {
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
            "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-num: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
           "Helvetica Neue", Arial, sans-serif;
}

/* ── 指南/实体页正文排版（.prose 内 h2/列表补全） ── */
.prose h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
  margin: 52px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.prose h2:first-of-type { margin-top: 32px; }
.prose h3 { margin: 34px 0 12px; }
.prose ul, .prose ol { margin: 14px 0 24px; padding-left: 24px; }
.prose li { margin: 9px 0; line-height: 1.9; color: var(--ink2); }
.prose li strong { color: var(--ink); }
.prose li::marker { color: #B8860B; }
.prose ol > li::marker { font-weight: 600; }
.prose p { line-height: 1.95; margin: 14px 0; }
.prose .flow-wrap { margin: 24px 0 28px; }
.prose .geo-summary + p { margin-top: 18px; }
