/* ===========================================================================
   pg-theme.css — palette + typography layer for the สถิติสล็อต PG content area.
   LIGHT money-site palette (matches the PGTHAI88 money site / cancerdoctorpune):
   white background, royal navy #1b2a85, yellow #ffb800 CTA, light blue panels.
   The shell frame stays as-is; this only tints the article + SEO sections.
   =========================================================================== */

:root {
    --px-navy: #1b2a85;          /* royal blue — buttons, headings */
    --px-navy-deep: #16235f;     /* heading text */
    --px-navy-ink: #1d2444;      /* body text on light */
    --px-yellow: #ffb800;        /* CTA yellow */
    --px-yellow-2: #ffcf4d;
    --px-panel: #f3f6ff;         /* light panel */
    --px-panel-2: #e8eefc;
    --px-line: #d6e0fb;          /* light blue border */
    --px-muted: #5a6690;         /* muted text */
    --px-white: #ffffff;
    --px-radius: 14px;
    --px-shadow: 0 16px 34px -24px rgba(27, 42, 133, .5);
}

/* Thai fallback so headings/body never drop to a Latin-only face
   (shell webfonts can fail off-domain; these are local system Thai faces). */
@font-face {
    font-family: "PGThaiSans";
    src: local("Leelawadee UI"), local("Leelawadee"), local("Tahoma"), local("Sarabun");
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0E00-0E7F;
}

.ep-article,
.px-sec {
    font-family: "PGThaiSans", "Leelawadee UI", Tahoma, system-ui, sans-serif;
}

/* ---- article accent (scoped, does not touch the shell chrome) ---- */
.ep-article .site-description h1 {
    color: var(--px-navy-deep);
}
.ep-article .site-description h2 {
    color: var(--px-navy-deep);
    border-left: 4px solid var(--px-yellow);
    padding-left: 12px;
}
.ep-article .site-description a {
    color: var(--px-navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ep-article .site-description a:hover {
    color: #0f1a5c;
}

/* yellow CTA keeps navy text for contrast (money-site rule) */
.px-sec .px-btn,
.px-wallet .px-btn {
    color: var(--px-navy-deep);
}
