/* ============================================================
   Self-hosted fonts (แทน Google Fonts เพื่อแก้ Subresource Integrity / CWE-345)
   ไฟล์ฟอนต์อยู่ที่ wwwroot/assets/fonts/
   ============================================================ */

/* ---------- Prompt (Thai + Latin) ---------- */
@font-face {
  font-family: "Prompt";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/prompt/Prompt-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Prompt";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/prompt/Prompt-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Prompt";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/prompt/Prompt-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Prompt";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/prompt/Prompt-Bold.ttf") format("truetype");
}

/* ---------- Inter (Latin) — variable, ครอบทุกน้ำหนัก ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/Inter-Variable.ttf") format("truetype-variations");
}

/* ---------- Sarabun (Thai + Latin) ---------- */
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sarabun/Sarabun-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sarabun/Sarabun-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sarabun/Sarabun-Bold.ttf") format("truetype");
}
