/* showcase — 数据专题 · 编辑部图录风
   红线：禁止卡片网格与圆角卡片盒；编号行式条目 + hairline 分隔 + 大号衬线展示标题；
   品牌绿仅用于细线 / 序号 / 链接；移动端正文 ≥16px、点击目标 ≥44px。 */

:root {
  --brand: #64854c;
  --brand-deep: #4c683a;
  --ink: #1d2129;
  --ink-2: #4e5969;
  --ink-3: #86909c;
  --line: #e5e6eb;
  --wash: #f7f8f4;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ===== 头部（极简：字标 + 两个出口链接） ===== */
.sh-header { border-bottom: 1px solid var(--line); background: #fff; }
.sh-header-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.sh-brand { display: flex; align-items: baseline; gap: 8px; }
.sh-brand b { font-size: 18px; letter-spacing: .04em; color: var(--ink); }
.sh-brand span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; }
.sh-hnav { display: flex; gap: 22px; }
.sh-hnav a {
  font-size: 14px; color: var(--ink-2); padding: 10px 0;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.sh-hnav a:hover { color: var(--brand-deep); border-color: var(--brand); }

/* ===== Hero（期刊扉页式刊头：无卡片无胶囊） ===== */
.sh-hero { padding: 52px 0 36px; border-bottom: 1px solid var(--line); }
.sh-hero-in { display: flex; align-items: stretch; gap: 26px; }
.sh-hero-main { flex: 1; min-width: 0; }
.sh-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: .32em;
  color: var(--brand); text-transform: uppercase;
}
.sh-hero h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 6.2vw, 42px);
  font-weight: 700; line-height: 1.3; letter-spacing: .01em;
  color: var(--ink); margin: 16px 0 0; text-wrap: balance;
}
.sh-modline {
  margin: 18px 0 0; font-size: 14px; letter-spacing: .2em;
  color: var(--brand-deep);
}
.sh-tagline { margin: 14px 0 0; max-width: 640px; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.sh-hero-side {
  writing-mode: vertical-rl; font-family: var(--serif);
  font-size: 15px; letter-spacing: .5em; color: var(--ink-3);
  border-left: 1px solid var(--line); padding-left: 20px; flex-shrink: 0;
}

/* ===== 分组节（编辑部图录：衬线标题 + 幽灵序号 + hairline 行式条目） ===== */
.ds-group { padding: 46px 0 8px; }
.ds-group-head { position: relative; }
.ds-group-head h2 {
  position: relative; z-index: 1;
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700; color: var(--ink); line-height: 1.4;
}
.ds-ghost {
  position: absolute; right: 0; top: -16px; z-index: 0;
  font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: clamp(56px, 13vw, 88px);
  color: #edf0e9; user-select: none; pointer-events: none;
}
.ds-group-sub {
  margin: 4px 0 0; font-size: 12px; letter-spacing: .22em;
  color: var(--ink-3); text-transform: uppercase;
}
.ds-list { list-style: none; margin: 18px 0 0; }
.ds-row { border-top: 1px solid var(--line); }
.ds-row:first-child { border-top: none; }

/* 行式条目：原生 details/summary，整行可点，拇指友好 */
.ds-row summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: rgba(100, 133, 76, .12); }
.ds-row summary::-webkit-details-marker { display: none; }
.ds-head { display: flex; align-items: flex-start; gap: 14px; padding: 16px 2px; }
.ds-idx {
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  color: var(--brand); min-width: 30px; padding-top: 3px; flex-shrink: 0;
}
.ds-main { flex: 1; min-width: 0; }
.ds-gse {
  font-family: var(--mono); font-size: 16px; font-weight: 600;
  color: var(--ink); letter-spacing: .02em; transition: color .15s;
}
.ds-row summary:hover .ds-gse { color: var(--brand-deep); }
.ds-sum { display: block; font-size: 16px; line-height: 1.7; color: var(--ink); margin: 5px 0 0; }
.ds-meta { display: block; font-size: 13px; line-height: 1.6; color: var(--ink-3); margin: 7px 0 0; }
.ds-arrow {
  flex-shrink: 0; width: 10px; height: 10px; margin-top: 8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .18s, border-color .18s;
}
.ds-row details[open] .ds-arrow { transform: rotate(-135deg); border-color: var(--brand); }

/* 展开区：左缘品牌绿细线，无底色盒 */
.ds-body {
  margin: 0 0 18px 44px;
  padding: 4px 0 2px 18px;
  border-left: 2px solid rgba(100, 133, 76, .4);
}
.ds-body p { font-size: 15.5px; line-height: 1.78; color: var(--ink-2); margin: 0 0 10px; }
.ds-body .ds-label { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-right: 8px; }
.ds-body .ds-design { color: var(--ink); }
.ds-links { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 2px 0 0; }
.ds-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; color: var(--brand-deep);
  padding: 10px 0; border-bottom: 1px solid rgba(100, 133, 76, .35);
}
.ds-links a:hover { color: var(--brand); border-color: var(--brand); }
.ds-links a i { font-size: 12px; }

/* ===== CTA 带（整幅，非卡片） ===== */
.sh-cta { margin-top: 52px; border-top: 3px solid var(--brand); background: var(--wash); padding: 36px 0 32px; }
.mc-wechat { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.mc-wechat-qr { flex-shrink: 0; }
.mc-wechat-qr img { width: 160px; height: auto; display: block; }
.mc-wechat-info { max-width: 380px; }
.mc-wechat-title { font-size: 17.5px; font-weight: 600; color: var(--ink); }
.mc-wechat-title .fa { margin-right: 7px; }
/* wechat_card 片段用的是 FA4 语法（fa fa-wechat），FA6 下品牌字形需指向 Brands 字体 */
.mc-wechat .fa-wechat::before {
  content: "\f1d7";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  color: var(--brand);
}
.mc-wechat-id { display: flex; align-items: center; gap: 12px; margin: 10px 0; flex-wrap: wrap; }
.mc-wechat-idtext {
  font-family: var(--mono); font-size: 15px; color: var(--brand-deep);
  background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 4px;
}
.mc-btn {
  border: 1px solid var(--brand); color: var(--brand-deep); background: #fff;
  border-radius: 999px; padding: 10px 18px; min-height: 44px;
  font-size: 14px; cursor: pointer; transition: background .15s, color .15s;
}
.mc-btn:hover { background: var(--brand); color: #fff; }
.mc-wechat-note { font-size: 14px; line-height: 1.8; color: var(--ink-3); }

/* ===== 漂浮微信件（课题合作）：二维码常驻右下角，雪花式淡淡飘动 ===== */
@keyframes sh-wx-float {
  0%, 100% { transform: translateY(0); opacity: .92; }
  50% { transform: translateY(-7px); opacity: 1; }
}
.sh-wxfab {
  position: fixed; right: 16px; z-index: 70;
  bottom: calc(80px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end;
}
.sh-wxbtn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 8px 6px; border-radius: 10px;
  border: 1.5px solid var(--brand); background: rgba(255, 255, 255, .97);
  color: var(--brand-deep); cursor: pointer;
  box-shadow: 0 4px 18px rgba(76, 104, 58, .22);
  animation: sh-wx-float 3.4s ease-in-out infinite;
  transition: box-shadow .15s;
}
.sh-wxbtn img {
  width: 60px; height: auto; display: block; border-radius: 3px; background: #fff;
}
.sh-wxbtn span {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1;
  background: var(--brand); color: #fff; border-radius: 3px; padding: 3px 9px;
}
.sh-wxbtn:hover, .sh-wxbtn.is-open {
  animation-play-state: paused;
  box-shadow: 0 6px 24px rgba(76, 104, 58, .3);
}
.sh-wxpop {
  position: absolute; bottom: 66px; right: 0;
  width: 218px; padding: 16px 14px 14px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 10px 32px rgba(29, 33, 41, .14);
}
.sh-wxpop[hidden] { display: none; }
.sh-wxpop-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.sh-wxpop img { width: 150px; height: auto; margin: 10px auto 0; display: block; }
.sh-wxpop-id {
  margin: 10px 0 0; font-family: var(--mono); font-size: 13.5px; color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sh-wxpop-copy {
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  font-size: 12px; padding: 2px 8px; cursor: pointer; color: var(--ink-2); font-family: inherit;
}
.sh-wxpop-copy:hover { border-color: var(--brand); color: var(--brand-deep); }
.sh-wxpop-n { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); }

/* ===== 广告槽位（promo_slot 留空则零高度，不占位） ===== */
.sh-promo-in { padding: 12px 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.sh-promo-in a { color: var(--brand-deep); border-bottom: 1px solid rgba(100, 133, 76, .35); }
.sh-promo-in a:hover { color: var(--brand); border-color: var(--brand); }

/* ===== 目录页行式条目 ===== */
.page-row { display: flex; gap: 14px; padding: 24px 2px; border-top: 1px solid var(--line); }
.page-row:first-of-type { border-top: none; }
.page-idx {
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  color: var(--brand); min-width: 30px; padding-top: 3px; flex-shrink: 0;
}
.page-main h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--ink); line-height: 1.5; transition: color .15s;
}
.page-row:hover h3 { color: var(--brand-deep); }
.page-main p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); margin: 6px 0 0; max-width: 640px; }
.page-meta { font-size: 13px; color: var(--ink-3); margin: 8px 0 0; }
.page-empty { padding: 40px 0; font-size: 15.5px; color: var(--ink-3); }

/* ===== 服务图录行式条目（纯名录，无展开） ===== */
.sv-row { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding: 13px 2px; }
.sv-row:first-child { border-top: none; }
.sv-row .ds-idx { padding-top: 0; min-width: 30px; }
.sv-name { font-size: 16px; line-height: 1.7; color: var(--ink); }

/* ===== 页脚 ===== */
.sh-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; margin-top: 0; }
.sh-footer-in { text-align: center; font-size: 13px; line-height: 2.2; color: var(--ink-3); }
.sh-footer-in a { color: var(--ink-3); border-bottom: 1px solid transparent; }
.sh-footer-in a:hover { color: var(--ink-2); border-color: var(--line); }
.sh-footer-in .fa { margin-right: 4px; }
.sh-footer-in .fa-weixin { color: var(--brand); }
.sh-footer-in b { font-family: var(--mono); font-weight: 600; color: var(--ink-2); }

/* ===== 返回顶部 ===== */
.sh-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .95);
  color: var(--brand-deep); font-size: 16px; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(29, 33, 41, .08);
}
.sh-top.is-show { display: flex; }
.sh-top:hover { border-color: var(--brand); }

/* ===== 移动端 ===== */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .sh-brand b { font-size: 16px; }
  .sh-hero { padding: 36px 0 28px; }
  .sh-hero-in { gap: 18px; }
  .sh-hero-side { font-size: 12.5px; letter-spacing: .38em; padding-left: 14px; }
  .sh-modline { font-size: 13px; letter-spacing: .16em; }
  .sh-kicker { font-size: 11.5px; letter-spacing: .18em; }
  .ds-group { padding: 34px 0 6px; }
  .ds-head { gap: 12px; padding: 14px 0; }
  .ds-body { margin-left: 42px; padding-left: 14px; }
  .ds-links { gap: 2px 20px; }
  .sh-wxfab { right: 14px; }
}
@media (max-width: 560px) {
  .sh-brand b { font-size: 14.5px; letter-spacing: .02em; }
  .sh-brand span { font-size: 11px; }
  .sh-hnav { gap: 12px; }
  .sh-hnav a { font-size: 13px; white-space: nowrap; }
}
@media (max-width: 560px) {
  .mc-wechat { flex-direction: column; text-align: center; }
  .mc-wechat-info { max-width: none; }
  .mc-wechat-id { justify-content: center; }
}
