/* ====== WPML Persian Font Auto-Apply (IRANSansX) ====== */

/* زمانی که زبان سایت فارسی است */
html[lang="fa-IR"],
html[lang="fa"] {
  font-family: 'IRANSansX', sans-serif !important;
  direction: rtl;
  text-align: right;
}

/* تمام المان‌های متنی در صفحات فارسی */
html[lang="fa-IR"] body,
html[lang="fa-IR"] p,
html[lang="fa-IR"] a,
html[lang="fa-IR"] span,
html[lang="fa-IR"] h1,
html[lang="fa-IR"] h2,
html[lang="fa-IR"] h3,
html[lang="fa-IR"] h4,
html[lang="fa-IR"] h5,
html[lang="fa-IR"] h6,
html[lang="fa-IR"] div,
html[lang="fa-IR"] strong,
html[lang="fa-IR"] li {
  font-family: 'IRANSansX', sans-serif !important;
  letter-spacing: 0 !important;
  direction: rtl !important;
  text-align: right !important;
}

/* زمانی که زبان سایت انگلیسی است */
html[lang="en-US"],
html[lang="en"] {
  font-family: 'Roboto', 'Arial', sans-serif !important;
  direction: ltr;
  text-align: left;
}
