/* =========================================================
 * article.css — 官网长文排版样式（由发布工具 .article 类驱动）
 * 配合 wp-content/mu-plugins/fasene-editor.php 在前台与编辑器同时加载。
 * 内容粘贴方式：发布工具「复制正文 + 样式」→ 后台编辑器「文本」模式粘贴
 * （<style> 块会被忽略，样式由本文件提供；<article class="article"> 保留）。
 * ========================================================= */

.article {
  --ink: #1c1c1a; --ink2: #3d3d38; --muted: #78786f;
  --line: #e6e4de; --accent: #8c5a37; --soft: #f7f5f1;
  max-width: 760px; margin: 0 auto; padding: 0 8px;
  background: #fff; color: var(--ink2);
  font-size: 16px; line-height: 1.9; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
.article * { box-sizing: border-box; }
.article .article-head { padding: 8px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article .eyebrow { margin: 0 0 20px; font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 600; }
.article h1 {
  margin: 0 0 14px; font-size: 36px; line-height: 1.34; font-weight: 600;
  letter-spacing: -.015em; color: var(--ink);
}
.article .deck { margin: 0 0 12px; font-size: 19px; line-height: 1.6; color: var(--ink2); font-weight: 500; }
.article .subtitle { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.article h2 {
  margin: 68px 0 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-size: 23px; line-height: 1.5; font-weight: 600; color: var(--ink); letter-spacing: -.005em;
}
.article h3 { margin: 40px 0 14px; font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--ink); }
.article p { margin: 0 0 20px; }
.article strong { font-weight: 600; color: var(--ink); }
.article ul, .article ol { margin: 0 0 24px; padding-left: 22px; }
.article li { margin-bottom: 9px; padding-left: 2px; }
.article li::marker { color: #b9b5ab; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 52px 0; }
.article .keyline {
  border-left: 2px solid var(--accent); padding: 2px 0 2px 18px;
  margin: 28px 0; color: var(--ink); font-size: 16.5px;
}
.article .source-note { font-size: 14px; color: var(--muted); line-height: 1.8; }
.article .abstract {
  margin: 0 0 30px; padding: 16px 20px; background: var(--soft); border-radius: 3px;
  font-size: 15px; line-height: 1.85; color: var(--ink2);
}
.article .byline { margin: 34px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.article .table-wrap { overflow-x: auto; margin: 24px 0 30px; -webkit-overflow-scrolling: touch; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.article th, .article td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article thead th { background: var(--soft); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.article tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.article td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.article tr.total td { font-weight: 600; color: var(--ink); background: #fcfbf9; }
.article .plain-note { font-size: 14px; color: var(--muted); }
.article .diff { font-size: 21px; font-weight: 600; color: var(--ink); margin: 30px 0 18px; letter-spacing: .01em; }
.article .faq { margin-top: 8px; }
.article .faq h3 {
  margin: 30px 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.7;
}
.article .faq p { margin: 0 0 4px; }
.article .cta {
  margin: 38px 0 8px; padding: 22px 24px; border: 1px solid var(--line);
  background: #fcfbf9; border-radius: 3px;
}
.article .cta p { margin: 0 0 14px; font-size: 15px; color: var(--ink2); }
.article .cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.article .btn {
  display: inline-block; padding: 9px 20px; font-size: 14px; line-height: 1.5;
  text-decoration: none; border-radius: 3px; border: 1px solid var(--accent);
  color: #fff; background: var(--accent); font-weight: 500;
}
.article .btn.ghost { background: transparent; color: var(--accent); }
.article .cta .hint { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.article .disclaimer {
  margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.8; color: var(--muted); font-style: normal;
}
.article figure { margin: 32px 0; }
.article figcaption { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.article .ph-box {
  border: 1px dashed #cdc8bd; background: #faf9f6; border-radius: 3px;
  min-height: 150px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; padding: 24px; text-align: center;
}
.article .ph-tag {
  display: inline-block; font-size: 11px; letter-spacing: .1em; color: var(--accent);
  border: 1px solid #e2d8cc; padding: 3px 9px; border-radius: 2px;
}
.article .ph-box p { margin: 0; font-size: 15px; color: var(--ink2); }
.article .ph-box small { font-size: 12.5px; color: #99978e; }
.article .figure-svg { border: 1px solid var(--line); border-radius: 3px; padding: 18px 18px 12px; background: #fff; }
.article .figure-svg svg { display: block; width: 100%; height: auto; }
.article.hide-ph .ph { display: none; }

@media (max-width: 640px) {
  .article { font-size: 15.5px; padding: 0 4px; }
  .article h1 { font-size: 27px; }
  .article .deck { font-size: 17px; }
  .article h2 { font-size: 20px; margin-top: 52px; }
  .article h3 { font-size: 17px; }
  .article .cta { padding: 18px; }
  .article table { font-size: 14px; }
}
@media print {
  .article { max-width: none; padding: 0; font-size: 12pt; }
  .article .ph, .article .cta { display: none; }
  .article h2 { margin-top: 28px; }
}
