/* css/fonts.css — ฟอนต์ในเครื่อง (รอบ 14): Sarabun = เนื้อหา, Kanit = หัวข้อ/ชื่อหน้า
   ใช้เฉพาะน้ำหนักที่จำเป็น (Sarabun 400/500/700, Kanit 500/600) — ไฟล์ .ttf ใน assets/fonts (ลิขสิทธิ์ SIL OFL 1.1 ดู assets/fonts/OFL.txt)
   font-display: swap = แสดงข้อความด้วยฟอนต์สำรองก่อน ไม่ให้หน้าขาวระหว่างโหลดฟอนต์
   ทุกหน้า preload Sarabun-Regular (ฟอนต์หลัก) ใน <head> */

@font-face {
  font-family: "Sarabun";
  src: url("../assets/fonts/Sarabun-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sarabun";
  src: url("../assets/fonts/Sarabun-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sarabun";
  src: url("../assets/fonts/Sarabun-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("../assets/fonts/Kanit-Medium.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("../assets/fonts/Kanit-SemiBold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
