/* فونت Peyda برای کل سایت آموزش (جایگزین Inter قالب و IRANYekanX المنتور) */

@font-face { font-family: "Peyda"; font-style: normal; font-weight: 100; font-display: swap; src: url("../fonts/peyda-thin.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/peyda-extralight.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/peyda-light.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/peyda-regular.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/peyda-medium.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/peyda-semibold.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/peyda-bold.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/peyda-extrabold.woff2") format("woff2"); }
@font-face { font-family: "Peyda"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/peyda-black.woff2") format("woff2"); }

/* متغیرهای تایپوگرافی سراسری المنتور (body[...] از .elementor-kit-N قوی‌تر است) */
:root,
body[class*="elementor-kit-"] {
    --e-global-typography-primary-font-family: "Peyda";
    --e-global-typography-secondary-font-family: "Peyda";
    --e-global-typography-text-font-family: "Peyda";
    --e-global-typography-accent-font-family: "Peyda";
}

body,
body[class*="elementor-kit-"],
body[class*="elementor-kit-"] a,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
body[class*="elementor-kit-"] h1,
body[class*="elementor-kit-"] h2,
body[class*="elementor-kit-"] h3,
body[class*="elementor-kit-"] h4,
body[class*="elementor-kit-"] h5,
body[class*="elementor-kit-"] h6,
input, textarea, select, button {
    font-family: "Peyda", Tahoma, sans-serif;
}

/* فاصله‌ی حروف قالب (0.5px و -0.02em) اتصال حروف فارسی را به هم می‌ریزد */
body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    letter-spacing: 0;
}
