@charset "UTF-8";

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src: url("../fonts/vazir/Vazir-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html[lang|="fa"] body,
body[lang|="fa"],
html[lang="fa-IR"] body,
body[lang="fa-IR"],
html[lang="fa_IR"] body,
body[lang="fa_IR"],
.kadel-assessment-wrapper[data-lang="fa"],
[dir="rtl"] {
  font-family: "Vazir", "Vazirmatn", "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html[lang|="fa"],
html[lang="fa-IR"],
html[lang="fa_IR"],
html[dir="rtl"] {
  --wp--preset--font-family--display: "Vazir", "Vazirmatn", "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wp--preset--font-family--body: "Vazir", "Vazirmatn", "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[dir="rtl"] {
  --wp--preset--font-family--display: "Vazir", "Vazirmatn", "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wp--preset--font-family--body: "Vazir", "Vazirmatn", "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Explicitly apply to all Persian content */
.kadel-assessment-wrapper[data-lang="fa"] * {
  font-family: "Vazir", "Vazirmatn", "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
