/* =====================================================================
   IBM Plex Sans Thai — ฟอนต์หลักของระบบ (แทน Sarabun · 02/08/2569)
   SIL Open Font License 1.1 — ดู OFL.txt ในโฟลเดอร์เดียวกัน

   ⚠️ ทำไมไฟล์นี้ถึงอยู่ใน public/ ไม่ใช่ styles/globals.css
      Next.js **ไม่** เติม basePath ให้ url() ที่อยู่ใน CSS
      ถ้าประกาศ @font-face ใน globals.css แล้ว deploy ใต้ /jfoweb
      path /fonts/... จะกลายเป็น 404 ทันที
      ไฟล์นี้ถูก <link> จาก _document.tsx พร้อม BASE_PATH
      และ url() ข้างล่างเป็น **relative** (โฟลเดอร์เดียวกัน)
      ⇒ ถูกต้องทั้งตอนรันที่ root และตอน deploy ใต้ sub-path

   น้ำหนักที่ลง = 300/400/500/600/700 เท่ากับที่ Sarabun เคยโหลด
   (Thin 100 · ExtraLight 200 มีในชุดที่ดาวน์โหลด แต่ UI ไม่ได้ใช้ จึงไม่ลง)
   ===================================================================== */

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("IBMPlexSansThai-Light.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("IBMPlexSansThai-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("IBMPlexSansThai-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("IBMPlexSansThai-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("IBMPlexSansThai-Bold.woff2") format("woff2");
}
