/* ฟอนต์ของเว็บข้อมูล /th/ ทั้งหมด : IBM Plex Sans Thai Looped (ไทยแบบมีหัวกลม อ่านง่ายแต่ทันสมัย + อังกฤษ Plex ชุดเดียวกัน)
   เดิม Comfortaa มีแต่ตัวอังกฤษ ตัวไทยไปใช้ฟอนต์ของเครื่อง -> น้ำหนัก / ขนาดไม่เข้ากัน และเมนูมี letter-spacing ทำให้ไทยห่าง
   โหลดหลัง main.css ทุกหน้า (meta.php / หน้าที่มี head ของตัวเอง) ; ยกเว้นฟอนต์ไอคอน (.fa / ionicons) */

:root {
	--lb-font: "IBM Plex Sans Thai Looped", "Noto Sans Thai Looped", "Sarabun", "Thonburi", Tahoma, Arial, sans-serif;
}

html body, html body *:not(.fa):not([class*="ion-"]):not([class^="icon-"]):not([class*=" icon-"]) {
	font-family: var(--lb-font) !important;
}
html body { font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* ลำดับน้ำหนัก : เนื้อหา 400 / เมนู 500 / ปุ่ม-ป้าย 600 / หัวข้อ 700 */
html body h1, html body h2, html body h3 { font-weight: 700; letter-spacing: -.005em; }
html body h4, html body h5, html body h6 { font-weight: 600; }
html body b, html body strong { font-weight: 700; }
html body button, html body .button, html body .lbd-btn, html body .lbd-sf-btn, html body input[type="submit"] { font-weight: 600; letter-spacing: 0; }

/* เมนูหลัก : ไม่เว้นระยะตัวอักษร (ไทยห่างแล้วดูบาง) */
html body #main-nav-wrap { letter-spacing: 0 !important; text-transform: none; font-size: 15.5px; font-weight: 500; }
html body #main-nav-wrap .lb-mega-btn { font-weight: 500; }
html body .main-navigation li.lb-nav-cta > a { letter-spacing: 0; font-weight: 700; }

/* หัวข้อใหญ่ของหน้าใหม่ */
html body .lbh-title { font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
html body .lbd-hero h1 { font-weight: 700; letter-spacing: -.01em; }
html body .lbd-eyebrow { letter-spacing: .14em; font-weight: 600; }

/* ไทยต้องการระยะบรรทัดมากกว่าอังกฤษเล็กน้อย */
html body p, html body li, html body dd, html body small { line-height: 1.65; }

/* main.css ใส่ letter-spacing หลายจุด (.15rem - .4rem) : ภาษาไทยถูกฉีกเป็นตัว ๆ ("บ ริ ห า ร") -> ล้างทั้งหมด
   คงระยะเฉพาะป้ายภาษาอังกฤษตัวพิมพ์ใหญ่ (eyebrow) และ h5 แบบพอดีที่ไทยยังอ่านติดกัน */
html body *:not(.fa) { letter-spacing: 0 !important; }
html body .lbd-eyebrow, html body .lbc-eyebrow { letter-spacing: .14em !important; }
html body h5 { letter-spacing: .06em !important; }
html body .lbh-title { letter-spacing: -.015em !important; }
