/**
 * Hakimi.Tech — assets/css/rtl.css
 * راست‌به‌چپ — فقط برای زبان‌های RTL لود می‌شود
 * @package HakimiTech
 */

/* Direction overrides */
body { direction: rtl; }

.hkm-content ul,
.hkm-content ol { padding-right: 1.75rem; padding-left: 0; }

.hkm-content blockquote {
	border-left:  none;
	border-right: 3px solid var(--hkm-emerald);
	border-radius: var(--hkm-r-sm) 0 0 var(--hkm-r-sm);
}

/* Breadcrumb */
.hkm-breadcrumb__item::before { content: '\\'; }

/* Mobile menu — slide from left on RTL */
.hkm-mobile-menu__drawer {
	right: auto;
	left:  0;
	border-left:  none;
	border-right: 1px solid var(--hkm-border);
	transform:    translateX(-100%);
}

.hkm-mobile-menu.is-open .hkm-mobile-menu__drawer { transform: translateX(0); }

.hkm-mobile-menu__links li a {
	border-left:  none;
	border-right: 3px solid transparent;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.hkm-mobile-menu__links li a:hover,
.hkm-mobile-menu__links .current-menu-item > a {
	border-right-color: var(--hkm-emerald);
	padding-right:      1.75rem;
	padding-left:       1.5rem;
}

/* Footer contact items */
.hkm-footer__contact-item { flex-direction: row-reverse; text-align: right; }
.hkm-footer__contact-item svg { margin-right: 0; margin-left: .6rem; }

/* Back to top — left side on RTL */
.hkm-back-top { right: auto; left: 2rem; }

/* Post nav */
.hkm-post-nav__item--next { text-align: left; }

/* Native form */
.hkm-native-form__field input,
.hkm-native-form__field textarea {
	text-align: right;
	direction:  rtl;
}

/* WooCommerce RTL */
.woocommerce .woocommerce-breadcrumb { direction: rtl; }
