/* 石湾 CCAS Owner 转型分享 deck · 自定义样式补充
 * 在 tpl-presenter-mode-reveal 基础上扩展几个用得上的卡片/分区样式
 */

/* ============ 本 deck 专属：分隔/章节大字 ============ */
.tpl-presenter-mode-reveal .part-divider {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.tpl-presenter-mode-reveal .part-divider .part-num {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--accent-2, #1d4ed8);
  text-transform: uppercase;
}
.tpl-presenter-mode-reveal .part-divider .part-title {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin: 0;
  max-width: 18ch;
}
.tpl-presenter-mode-reveal .part-divider .part-sub {
  font-size: 20px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 55ch;
}

/* ============ KPI 数据展示 ============ */
.tpl-presenter-mode-reveal .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.tpl-presenter-mode-reveal .kpi {
  background: var(--surface-2, #f0f3f7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.tpl-presenter-mode-reveal .kpi .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-2, #1d4ed8);
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-mono, monospace);
}
.tpl-presenter-mode-reveal .kpi .label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
}

/* ============ 双列对照（before/after） ============ */
.tpl-presenter-mode-reveal .compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.tpl-presenter-mode-reveal .compare .col {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--surface);
}
.tpl-presenter-mode-reveal .compare .col.bad {
  border-top: 3px solid var(--bad, #dc2626);
}
.tpl-presenter-mode-reveal .compare .col.good {
  border-top: 3px solid var(--good, #0e9f6e);
}
.tpl-presenter-mode-reveal .compare h5 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono, monospace);
}
.tpl-presenter-mode-reveal .compare .bad h5 { color: var(--bad, #dc2626); }
.tpl-presenter-mode-reveal .compare .good h5 { color: var(--good, #0e9f6e); }
.tpl-presenter-mode-reveal .compare ul {
  margin: 0;
  padding-left: 20px;
}
.tpl-presenter-mode-reveal .compare li {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 6px;
}

/* ============ 流程时间线 ============ */
.tpl-presenter-mode-reveal .timeline {
  margin-top: 24px;
  position: relative;
}
.tpl-presenter-mode-reveal .timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-strong, rgba(10,37,64,.28));
}
.tpl-presenter-mode-reveal .timeline-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 8px 0 14px;
  position: relative;
}
.tpl-presenter-mode-reveal .timeline-item .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-2, #1d4ed8);
  border: 3px solid var(--bg);
  margin: 4px 0 0 11px;
  position: relative;
  z-index: 2;
}
.tpl-presenter-mode-reveal .timeline-item h6 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
}
.tpl-presenter-mode-reveal .timeline-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============ 列表卡片 ============ */
.tpl-presenter-mode-reveal .list-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  background: var(--surface);
}
.tpl-presenter-mode-reveal .list-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
}
.tpl-presenter-mode-reveal .list-card ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.tpl-presenter-mode-reveal .list-card li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}
.tpl-presenter-mode-reveal .list-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-2, #1d4ed8);
}

/* ============ 引言/金句 ============ */
.tpl-presenter-mode-reveal .quote-block {
  border-left: 4px solid var(--accent-2, #1d4ed8);
  padding: 14px 22px;
  margin-top: 24px;
  background: var(--surface-2, #f0f3f7);
  border-radius: 0 10px 10px 0;
}
.tpl-presenter-mode-reveal .quote-block p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-1);
  font-weight: 500;
}

/* ============ 标签 ============ */
.tpl-presenter-mode-reveal .tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--surface-2, #f0f3f7);
  color: var(--text-2);
  margin-right: 6px;
  font-family: var(--font-mono, monospace);
  border: 1px solid var(--border);
}
.tpl-presenter-mode-reveal .tag.accent {
  background: rgba(29,78,216,.08);
  color: var(--accent-2, #1d4ed8);
  border-color: rgba(29,78,216,.2);
}

/* ============ 通用 grid 扩展 ============ */
.tpl-presenter-mode-reveal .grid.g4 { grid-template-columns: repeat(4, 1fr); }

/* ============ 收紧 slide padding，给内容更多空间 ============ */
.tpl-presenter-mode-reveal .slide {
  padding: 56px 80px;
}

/* ============ 段落基础 ============ */
.tpl-presenter-mode-reveal p {
  margin: 0 0 8px;
}

/* ============ 演讲提示条（speaker cue） ============
 * 每页底部一行金句/关键词，作为讲者提词 + 观众金句双重作用
 * 设计为低调装饰元素，不抢主内容焦点
 */
.tpl-presenter-mode-reveal .speaker-cue {
  position: absolute;
  bottom: 22px;
  left: 80px;
  right: 80px;
  font-size: 11.5px;
  font-family: var(--font-mono, monospace);
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-align: center;
  opacity: 0.6;
  pointer-events: none;
  margin: 0;
  line-height: 1.5;
}
.tpl-presenter-mode-reveal .speaker-cue::before {
  content: "▸";
  color: var(--accent-2, #1d4ed8);
  font-weight: 700;
  opacity: 0.85;
  margin-right: 6px;
  font-size: 12px;
}
.tpl-presenter-mode-reveal .speaker-cue strong {
  color: var(--accent-2, #1d4ed8);
  font-weight: 700;
  opacity: 0.95;
}

/* deck-footer 存在时（封面/结语），cue 上移避免冲突 */
.tpl-presenter-mode-reveal .slide:has(.deck-footer) .speaker-cue {
  bottom: 56px;
}
