/*
 * Porjaijaa Font Faces & Size-Adjust Variables (replaces next/font/local in src/lib/porjaijaa/text-fonts.ts)
 * Copy font files from:
 *   src/fonts/porjaijaa/*           -> wp-content/themes/porjaijaa-theme/assets/fonts/porjaijaa/
 *   src/fonts/ibm-plex-sans-thai/*  -> wp-content/themes/porjaijaa-theme/assets/fonts/ibm-plex-sans-thai/
 */

@font-face {
  font-family: "PJHand";
  src: url("../fonts/porjaijaa/gmc-bellpika.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PJHand";
  src: url("../fonts/porjaijaa/gmc-bellpika-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* RainKanomtuay at each admin Text Scale step (100, 110, 120, 135, 150, 165, 180) */
@font-face { font-family: "PJRain100"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJRain110"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJRain120"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJRain135"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJRain150"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJRain165"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJRain180"; src: url("../fonts/porjaijaa/rain-kanomtuay.ttf") format("truetype"); font-display: swap; size-adjust: 180%; }

/* IBM Plex Sans Thai (Thai subset) at each scale step */
@font-face { font-family: "PJTh100"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJTh100"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJTh100"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJTh100"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 100%; }

@font-face { font-family: "PJTh110"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJTh110"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJTh110"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJTh110"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 110%; }

@font-face { font-family: "PJTh120"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJTh120"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJTh120"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJTh120"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 120%; }

@font-face { font-family: "PJTh135"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJTh135"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJTh135"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJTh135"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 135%; }

@font-face { font-family: "PJTh150"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJTh150"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJTh150"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJTh150"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 150%; }

@font-face { font-family: "PJTh165"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJTh165"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJTh165"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJTh165"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 165%; }

@font-face { font-family: "PJTh180"; src: url("../fonts/ibm-plex-sans-thai/thai-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 180%; }
@font-face { font-family: "PJTh180"; src: url("../fonts/ibm-plex-sans-thai/thai-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 180%; }
@font-face { font-family: "PJTh180"; src: url("../fonts/ibm-plex-sans-thai/thai-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 180%; }
@font-face { font-family: "PJTh180"; src: url("../fonts/ibm-plex-sans-thai/thai-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 180%; }

/* IBM Plex Sans Thai (Latin subset) at each scale step */
@font-face { font-family: "PJLat100"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJLat100"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJLat100"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 100%; }
@font-face { font-family: "PJLat100"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 100%; }

@font-face { font-family: "PJLat110"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJLat110"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJLat110"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 110%; }
@font-face { font-family: "PJLat110"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 110%; }

@font-face { font-family: "PJLat120"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJLat120"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJLat120"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 120%; }
@font-face { font-family: "PJLat120"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 120%; }

@font-face { font-family: "PJLat135"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJLat135"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJLat135"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 135%; }
@font-face { font-family: "PJLat135"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 135%; }

@font-face { font-family: "PJLat150"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJLat150"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJLat150"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 150%; }
@font-face { font-family: "PJLat150"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 150%; }

@font-face { font-family: "PJLat165"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJLat165"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJLat165"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 165%; }
@font-face { font-family: "PJLat165"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 165%; }

@font-face { font-family: "PJLat180"; src: url("../fonts/ibm-plex-sans-thai/latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 180%; }
@font-face { font-family: "PJLat180"; src: url("../fonts/ibm-plex-sans-thai/latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; size-adjust: 180%; }
@font-face { font-family: "PJLat180"; src: url("../fonts/ibm-plex-sans-thai/latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; size-adjust: 180%; }
@font-face { font-family: "PJLat180"; src: url("../fonts/ibm-plex-sans-thai/latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 180%; }

html[data-site="porjaijaa"] body {
  --font-porjaijaa: "PJTh100", "PJLat100", "IBM Plex Sans Thai", sans-serif;
  --font-pj-hand: "PJHand";
  --font-pj-rain-100: "PJRain100";
  --font-pj-rain-110: "PJRain110";
  --font-pj-rain-120: "PJRain120";
  --font-pj-rain-135: "PJRain135";
  --font-pj-rain-150: "PJRain150";
  --font-pj-rain-165: "PJRain165";
  --font-pj-rain-180: "PJRain180";
  --font-pj-th-100: "PJTh100";
  --font-pj-th-110: "PJTh110";
  --font-pj-th-120: "PJTh120";
  --font-pj-th-135: "PJTh135";
  --font-pj-th-150: "PJTh150";
  --font-pj-th-165: "PJTh165";
  --font-pj-th-180: "PJTh180";
  --font-pj-lat-100: "PJLat100";
  --font-pj-lat-110: "PJLat110";
  --font-pj-lat-120: "PJLat120";
  --font-pj-lat-135: "PJLat135";
  --font-pj-lat-150: "PJLat150";
  --font-pj-lat-165: "PJLat165";
  --font-pj-lat-180: "PJLat180";
}
