body:lang(fa),
body:lang(ar),
body:lang(az),
body:lang(dv),
body:lang(he),
body:lang(ku),
body:lang(ur) {

    @import 'spacing';

    direction: rtl;
    text-align: right;

    .dropdown-menu {
        text-align: right;
    }

    .text-right {
        text-align: left !important;
    }

    pre {
        text-align: left;
        direction: ltr;
    }

    .td-rss-button {
        left: 1rem !important;
        right: auto !important;
    }
}

body:lang(fa) {
    // External font import removed for self-hosted fonts
    font-family: 'Vazir', "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body:lang(he) {
    // External font import removed for self-hosted fonts
    font-family: 'Rubik', "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body:lang(ar) {
    // External font import removed for self-hosted fonts
    font-family: 'Tajawal', "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
