/*
 * v4 deck-wide typography normalization.
 * The cover and agenda live in the parent deck and are intentionally excluded.
 */

h1,
.page-title,
.slide-title {
  font-size: 42px !important;
  line-height: 1.24 !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

/* Remove the small running header from every content slide. */
.meta-row,
.page-meta,
.eyebrow,
.slide-meta {
  display: none !important;
}

/* Embedded source pages must not expose a second set of deck controls. */
.deck-navigation {
  display: none !important;
}

/*
 * v5 · Embedded pages share one 1920×1080 coordinate system. The outer deck
 * performs the only responsive scale, preventing nested pages from choosing
 * different aspect ratios or viewport-dependent layouts.
 */
html,
body {
  width: 1920px !important;
  min-width: 1920px !important;
  max-width: 1920px !important;
  height: 1080px !important;
  min-height: 1080px !important;
  max-height: 1080px !important;
  overflow: hidden !important;
}

/* User quotations use Kaiti; attribution and evidence metadata stay sans. */
blockquote,
.quote-text,
.voice-text {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "楷体", serif !important;
  font-style: normal;
}

blockquote :is(p, span, strong, b, em, i, mark),
.quote-text :is(span, strong, b, em, i, mark),
.voice-text :is(span, strong, b, em, i, mark) {
  font-family: inherit !important;
}

blockquote :is(cite, figcaption, footer),
.quote-source,
.voice-source,
.quote-meta,
.voice-meta,
.p13r2-quote-author {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif !important;
  font-style: normal;
}

/* Page 15 used a three-row grid; remove the deleted header row as well. */
.hardware-page {
  grid-template-rows: 74px minmax(0, 1fr) !important;
}

/* This title is intentionally kept on one line; condense spacing, not type size. */
.page-one .slide-title {
  white-space: nowrap !important;
  letter-spacing: -1.8px !important;
}

/* v6 · Keep the slide edge clean: evidence stays in the body, not in tiny running marks. */
.source-footer,
.source-note,
.source-mark,
.corner-mark,
.data-source,
.chart-source {
  display: none !important;
}
