/* Public typography system
   Scope: customer-facing pages that extend base_public.html.
   Homepage/login.html and every /site-admin route are intentionally excluded. */

.public-typography-v2 {
  --public-font-display: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --public-font-body: "Noto Sans Thai", "IBM Plex Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--public-font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.public-typography-v2 button,
.public-typography-v2 input,
.public-typography-v2 select,
.public-typography-v2 textarea {
  font-family: inherit;
}

/* Display hierarchy: same family used by the upgraded article page. */
.public-typography-v2 h1,
.public-typography-v2 h2,
.public-typography-v2 h3,
.public-typography-v2 h4,
.public-typography-v2 h5,
.public-typography-v2 h6,
.public-typography-v2 .brand-copy-link strong,
.public-typography-v2 .section-head strong,
.public-typography-v2 .section-head h1,
.public-typography-v2 .section-head h2,
.public-typography-v2 .section-head h3 {
  font-family: var(--public-font-display);
}

/* Navigation and high-frequency UI stay in the body family for maximum Thai legibility. */
.public-typography-v2 .top-nav,
.public-typography-v2 .public-header,
.public-typography-v2 .public-footer,
.public-typography-v2 .float-facebook {
  font-family: var(--public-font-body);
}

/* Numeric review highlights are text, not brand marks; keep them in the shared display family.
   .review-platform-logo intentionally remains untouched because its single-letter f/G is acting as a platform mark. */
.public-typography-v2 .review-proof-score,
.public-typography-v2 .review-proof-count-row strong {
  font-family: var(--public-font-display);
}
