/* กัน fake bold/italic */
html{ font-synthesis-weight:none; font-synthesis-style:none; }

/* โหลด Kanit จาก <head> แล้วใช้ตัวแปรช่วย */
:root{
  --scr-font: "Kanit", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ล็อกทั้งเพจ (ยกเว้น Font Awesome) */
html, body,
body *:not(i):not([class*="fa-"]) {
  font-family: var(--scr-font) !important;
}

/* เฉพาะหัวข้อ/เมนู กำหนดน้ำหนักที่ต้องการ */
h1, h2, h3, .section-title,
.custom-navbar .navbar-brand,
.custom-navbar .custom-navbar-nav li a { font-weight:700 !important; }
h1, .section-title, .hero h1 { font-weight:800 !important; }

/* ฟอร์ม */
.form-control,
.footer-section .subscription-form .form-control { font-family: var(--scr-font) !important; }

/* กันไอคอนโดนทับ */
.fa, .fas, .far, .fal, .fab, [class^="fa-"], [class*=" fa-"]{
  font-family: "Font Awesome 6 Free","Font Awesome 6 Pro","Font Awesome 5 Free","Font Awesome 5 Pro",FontAwesome !important;
  font-weight: inherit;
}
