/*
 * مدار نيوز — أنماط RTL
 * القالب مصمّم أصلاً باتجاه RTL (العربية أولاً)، وهذا الملف يثبّت
 * القواعد الاتجاهية الأساسية ويتجاوز أي إعدادات LTR افتراضية.
 */

body {
	direction: rtl;
	text-align: right;
	unicode-bidi: embed;
}

/* الحواف والمسافات الاتجاهية */
.entry-meta {
	border-right: 3px solid var(--primary);
	border-left: none;
	padding-right: 10px;
	padding-left: 0;
}
.section-heading::after {
	right: 0;
	left: auto;
}
.cat-block {
	border-left: 1px solid var(--border);
	border-right: none;
}
.cat-block:last-child {
	border-left: none;
}
ul, ol {
	padding-right: 1.4em;
	padding-left: 0;
}
.comment-list .children {
	padding-right: 30px;
	padding-left: 0;
}
.entry-content blockquote {
	border-right: 3px solid var(--primary);
	border-left: none;
}
.toc-list .toc-h3 {
	padding-right: 18px;
	padding-left: 0;
}

/* الترويسة والبحث */
.header-search .search-field {
	padding: 0 44px 0 18px;
}
.header-search .search-submit {
	left: 6px;
	right: auto;
}
.mobile-search .search-field {
	padding: 0 44px 0 18px;
}
.mobile-search .search-submit {
	left: 6px;
	right: auto;
}
.not-found .search-field,
.no-results .search-field {
	padding: 0 48px 0 18px;
}
.not-found .search-submit,
.no-results .search-submit {
	left: 6px;
	right: auto;
}

/* زر العودة للأعلى في الزاوية السفلية اليسرى */
.back-to-top {
	left: 22px;
	right: auto;
}

/* ترقيم الصفحات والفواصل */
.breadcrumb .sep {
	margin: 0 6px;
}
