/*
Theme Name: สถิติเลขทอง
Description: ธีมเว็บสถิติหวย ใช้คู่กับปลั๊กอิน "สถิติเลขทอง (Lekthong Core)" — หน้าบทความ/หน้าเพจของ WordPress อยู่ในกรอบเดียวกับหน้าหวย (แถบผลวิ่ง เมนู รายการตลาด คำค้นยอดนิยม)
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: สถิติเลขทอง
Text Domain: lekthong
*/
/* post / page content inside the frame (colours come from the plugin's site.css tokens) */
.wpc { line-height: 1.85; font-size: 16px; }
.wpc h1 { font-size: 28px; line-height: 1.3; margin: 0 0 6px; }
.wpc h2 { font-size: 22px; color: var(--gold); margin: 26px 0 8px; }
.wpc h3 { font-size: 18px; margin: 20px 0 6px; }
.wpc a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.wpc img { max-width: 100%; height: auto; border-radius: 12px; }
.wpc blockquote { margin: 16px 0; padding: 10px 16px; border-left: 3px solid var(--gold); background: var(--surface2); border-radius: 0 10px 10px 0; }
.wpc table { width: 100%; border-collapse: collapse; }
.wpc td, .wpc th { border: 1px solid var(--line); padding: 8px; }
.wpc figcaption { font-size: 13px; color: var(--faint); text-align: center; }
.postmeta { color: var(--faint); font-size: 13px; margin-bottom: 14px; }
.postmeta a { color: var(--muted); }
.postlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.postlist a.pcard { display: block; background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.postlist a.pcard:hover { border-color: var(--gold2); }
.postlist .thumb { aspect-ratio: 16/9; background: var(--surface3); }
.postlist .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.postlist .pbody { padding: 12px 14px; }
.postlist h3 { margin: 0 0 6px; font-size: 16px; }
.postlist p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.pager .page-numbers { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); }
.pager .current { background: var(--gold); color: var(--gold-ink); }
.search-form { display: flex; gap: 8px; margin: 10px 0; }
.search-form .search-field { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); }
.search-form .search-submit { padding: 10px 16px; border-radius: 10px; border: 0; background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.lt-fallback { max-width: 900px; margin: 0 auto; padding: 20px; font-family: sans-serif; }
