/* One heading scale across public pages and standalone dashboards.
   Important is intentional: legacy page styles and inline content set sizes. */
html[lang=fa] body h1 {
    font-size:clamp(24px,2.2vw,30px) !important;
    line-height:1.65;
    letter-spacing:normal;
}
html[lang=fa] body h2 {
    font-size:clamp(20px,1.8vw,24px) !important;
    line-height:1.75;
    letter-spacing:normal;
}
/* Compact headings retain their role inside cards, sidebars and the footer. */
html[lang=fa] body :is(.lv-reading-aside,.lv-profile-aside,.lv-create-guide,.lv-forum-side-card,.lv-directory-guide,.lv-directory-help,.lv-community-welcome) h2 {
    font-size:18px !important;
}
html[lang=fa] body :is(.lv-category-card,.lv-learning-empty,.lv-contact-form-panel,.lv-auth-form-area) h2 {
    font-size:20px !important;
}
html[lang=fa] body :is(.lv-site-footer,.lv-community-guidelines) h2 {
    font-size:14px !important;
}
@media(max-width:767px) {
    html[lang=fa] body h1 { font-size:24px !important; }
    html[lang=fa] body h2 { font-size:20px !important; }
    html[lang=fa] body :is(.lv-category-card,.lv-learning-empty,.lv-contact-form-panel,.lv-auth-form-area) h2 { font-size:18px !important; }
}
