/* ============================================
   RTL Stylesheet — Soranî (کوردی) pages
   ============================================ */

body.rtl {
    direction: rtl;
    font-family: 'Noto Sans Arabic', 'Sen', sans-serif;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
    font-family: 'Noto Sans Arabic', 'Roboto', sans-serif;
}

/* Top bar */
body.rtl .top-bar .container {
    justify-content: flex-start;
}

/* Header */
body.rtl .header-inner {
    flex-direction: row-reverse;
}

/* Navigation */
body.rtl .nav-list {
    flex-direction: row-reverse;
}

/* Dropdown */
body.rtl .sub-menu {
    left: auto;
    right: 0;
}

/* Hamburger */
body.rtl .hamburger {
    order: -1;
}

/* Mobile menu */
body.rtl .mobile-menu {
    left: auto;
    right: -300px;
}
body.rtl .mobile-menu.active {
    right: 0;
}
body.rtl .mobile-submenu-toggle {
    right: auto;
    left: 10px;
}
body.rtl .mobile-sub-menu {
    padding-left: 0;
    padding-right: 20px;
}

/* Content */
body.rtl .content-body {
    text-align: right;
}
body.rtl .content-body ul,
body.rtl .content-body ol {
    padding-left: 0;
    padding-right: 30px;
}
body.rtl .content-body blockquote {
    border-left: none;
    border-right: 4px solid #f3ab11;
}

/* Section title */
body.rtl .section-title::after {
    left: auto;
    right: 0;
}

/* Post */
body.rtl .post-category {
    margin-left: 0;
    margin-right: 10px;
}

/* Sidebar */
body.rtl .page-layout.has-sidebar {
    grid-template-columns: 280px 1fr;
}
body.rtl .page-layout.has-sidebar .page-content {
    order: 2;
}
body.rtl .page-layout.has-sidebar .page-sidebar {
    order: 1;
}
body.rtl .sidebar-nav li a:hover,
body.rtl .sidebar-nav li.active a {
    padding-left: 0;
    padding-right: 8px;
}

/* Footer */
body.rtl .footer-col h4::after {
    left: auto;
    right: 0;
}

/* Share buttons */
body.rtl .share-buttons {
    flex-direction: row-reverse;
}

/* Contact */
body.rtl .contact-form input,
body.rtl .contact-form textarea {
    text-align: right;
}

/* Table */
body.rtl .content-body th,
body.rtl .content-body td {
    text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
    body.rtl .page-layout.has-sidebar {
        grid-template-columns: 1fr;
    }
    body.rtl .page-layout.has-sidebar .page-content,
    body.rtl .page-layout.has-sidebar .page-sidebar {
        order: unset;
    }
}
