/*
 * Legacy Raei Elementor typography bridge.
 * Restores the real font families and base scale from the original Parsa
 * content, without loading Parsa's global CSS or changing Nexo pages.
 * Font files are served locally with font-display: swap; no remote requests.
 */
@font-face {
 font-family:"DanaFont";
 font-weight:400;
 font-style:normal;
 font-display:swap;
 src:url("./legacy-fonts/dana-medium.ttf") format("truetype");
}
@font-face {
 font-family:"DanaFont";
 font-weight:500;
 font-style:normal;
 font-display:swap;
 src:url("./legacy-fonts/dana-medium.ttf") format("truetype");
}
@font-face {
 font-family:"DanaFont";
 font-weight:700;
 font-style:normal;
 font-display:swap;
 src:url("./legacy-fonts/dana-bold.ttf") format("truetype");
}
@font-face {
 font-family:"DanaFont";
 font-weight:900;
 font-style:normal;
 font-display:swap;
 src:url("./legacy-fonts/dana-black.ttf") format("truetype");
}
@font-face {
 font-family:"iransans";
 font-weight:400;
 font-style:normal;
 font-display:swap;
 src:url("./legacy-fonts/iransans-regular.woff2") format("woff2");
}
@font-face {
 font-family:"iransans";
 font-weight:700;
 font-style:normal;
 font-display:swap;
 src:url("./legacy-fonts/iransans-bold.woff2") format("woff2");
}
/*
 * Original Parsa body baseline: DanaFont, 14px, 30px line height.
 * Elementor widget styles and responsive custom rules retain precedence
 * for their own elements; Nexo header/footer/academy are outside scope.
 */
body.page:not(.home) #nx-main .elementor {
 font-family:"DanaFont","Vazirmatn FD",Tahoma,sans-serif;
 font-size:14px;
 line-height:30px;
 color:#303030;
}
:where(body.page:not(.home) #nx-main .elementor) h1 {
 font-family:"iransans","DanaFont",Tahoma,sans-serif;
 font-size:25px;
 line-height:32px;
}
:where(body.page:not(.home) #nx-main .elementor) h2 {
 font-family:"iransans","DanaFont",Tahoma,sans-serif;
 font-size:22px;
 line-height:32px;
}
:where(body.page:not(.home) #nx-main .elementor) h3 {
 font-family:"iransans","DanaFont",Tahoma,sans-serif;
 font-size:20px;
 line-height:32px;
}
:where(body.page:not(.home) #nx-main .elementor) h4 {
 font-family:"iransans","DanaFont",Tahoma,sans-serif;
 font-size:18px;
 line-height:32px;
}
/* Do not change explicit Elementor typography or source authored cards. */
