/*
Theme Name: Haraj Mostaml
Theme URI: https://harajmostaml.com/
Author: Haraj Mostaml
Author URI: https://harajmostaml.com/
Description: قالب الحراج المستعمل - مدونة وخدمات متخصصة في شراء الأثاث المستعمل، الأجهزة الكهربائية والمكيفات في مكة المكرمة والمملكة.
Version: 2.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haraj-mostaml
Tags: blog, e-commerce, custom-menu, featured-images, full-width-template, rtl-language-support, sticky-post, theme-options, translation-ready
*/

/*--------------------------------------------------------------
>>> المتغيرات العامة والتنسيقات الأساسية (CSS Variables & Base)
----------------------------------------------------------------*/
:root {
	--haraj-primary: #0f172a;
	--haraj-primary-hover: #1e293b;
	--haraj-secondary: #16a34a;
	--haraj-secondary-hover: #15803d;
	--haraj-secondary-light: #e8f5e9;
	--haraj-accent: #0284c7;
	--haraj-bg: #f8fafc;
	--haraj-card-bg: #ffffff;
	--haraj-text: #1e293b;
	--haraj-text-muted: #64748b;
	--haraj-border: #e2e8f0;
	--haraj-border-light: #f1f5f9;
	--haraj-radius: 16px;
	--haraj-radius-sm: 10px;
	--haraj-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
	--haraj-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
	--haraj-shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.1);
	--haraj-transition: all 0.25s ease;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.haraj-body {
	margin: 0;
	padding: 0;
	background-color: var(--haraj-bg);
	color: var(--haraj-text);
	direction: rtl;
	text-align: right;
	font-family: 'Cairo', 'Tajawal', sans-serif;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--haraj-secondary);
	text-decoration: none;
	transition: var(--haraj-transition);
}

a:hover {
	color: var(--haraj-secondary-hover);
}

.haraj-container {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/*--------------------------------------------------------------
>>> الهيدر الثابت والقائمة (Sticky Header & Navigation)
----------------------------------------------------------------*/
.haraj-header {
	background-color: #ffffff;
	border-bottom: 1.5px solid var(--haraj-border);
	position: sticky;
	top: 0;
	z-index: 9999;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
	transition: var(--haraj-transition);
}

.haraj-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 74px;
	gap: 20px;
}

.haraj-branding {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.haraj-logo-img {
	max-height: 48px;
	width: auto;
	display: block;
}

/* قائمة الديسكتوب العصرية النظيفة */
.haraj-desktop-nav {
	display: flex;
	align-items: center;
}

.haraj-nav-menu,
.haraj-main-nav-list {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.haraj-nav-menu li a,
.haraj-main-nav-list li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: var(--haraj-radius-sm);
	font-size: 14.5px;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
	transition: all 0.2s ease;
}

.haraj-nav-menu li a:hover,
.haraj-main-nav-list li a:hover {
	background-color: #f1f5f9;
	color: var(--haraj-secondary);
}

.haraj-nav-menu li.current-menu-item a,
.haraj-main-nav-list li.current-menu-item a {
	background-color: var(--haraj-secondary-light);
	color: var(--haraj-secondary-hover);
	font-weight: 800;
}

/* أزرار الهيدر بالديسكتوب */
.haraj-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.haraj-desktop-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.haraj-hbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border-radius: var(--haraj-radius-sm);
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.2s ease;
}

.haraj-hbtn-call {
	background-color: #f8fafc;
	color: var(--haraj-primary);
	border: 1.5px solid #cbd5e1;
}

.haraj-hbtn-call:hover {
	background-color: var(--haraj-primary);
	color: #ffffff;
	border-color: var(--haraj-primary);
}

.haraj-hbtn-wa {
	background-color: var(--haraj-secondary);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.haraj-hbtn-wa:hover {
	background-color: var(--haraj-secondary-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

/* زر الموبايل (3 شرطات) - مخفي في الديسكتوب تماماً */
.haraj-mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background-color: #f8fafc;
	border: 1.5px solid #cbd5e1;
	color: var(--haraj-primary);
	font-size: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.haraj-mobile-toggle:hover {
	background-color: #f1f5f9;
	color: var(--haraj-secondary);
	border-color: var(--haraj-secondary);
}

/* شريط تصنيفات الديسكتوب السريع أسفل الهيدر */
.haraj-categories-bar {
	background-color: #ffffff;
	border-top: 1px solid var(--haraj-border-light);
	overflow-x: auto;
	scrollbar-width: none;
}

.haraj-categories-bar::-webkit-scrollbar {
	display: none;
}

.haraj-categories-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 8px;
	padding-bottom: 8px;
	white-space: nowrap;
}

.haraj-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	background: #f8fafc;
	border: 1px solid var(--haraj-border);
	transition: all 0.2s ease;
}

.haraj-cat-pill i {
	color: var(--haraj-secondary);
}

.haraj-cat-pill:hover,
.haraj-cat-pill.active {
	background: var(--haraj-secondary-light);
	color: var(--haraj-secondary-hover);
	border-color: var(--haraj-secondary);
}

.haraj-cat-pill-count {
	font-size: 11px;
	opacity: 0.8;
}

/*--------------------------------------------------------------
>>> قائمة الموبايل الجانبية الفاخرة (Mobile Drawer)
----------------------------------------------------------------*/
.haraj-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	z-index: 99998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.haraj-drawer-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
}


.haraj-mobile-drawer {
	position: fixed;
	top: 0;
	right: -350px;
	width: 320px;
	max-width: 86vw;
	height: 100vh;
	background: #ffffff;
	z-index: 999999;
	box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
    visibility: hidden;
}

.haraj-mobile-drawer.is-open {
	right: 0;
    visibility: visible;
}


.haraj-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1.5px solid var(--haraj-border-light);
}

.haraj-drawer-logo img {
	max-height: 40px;
	width: auto;
}

.haraj-drawer-close {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	border: 1px solid var(--haraj-border);
	background: #f8fafc;
	color: #475569;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.haraj-drawer-close:hover {
	background: #fee2e2;
	color: #ef4444;
	border-color: #fca5a5;
}

.haraj-drawer-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.haraj-drawer-search .haraj-dsearch-wrap {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 1.5px solid var(--haraj-border);
	border-radius: 10px;
	overflow: hidden;
}

.haraj-drawer-search input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 13.5px;
	outline: none;
}

.haraj-drawer-search button {
	border: none;
	background: var(--haraj-secondary);
	color: #ffffff;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 14px;
}

.haraj-drawer-section-title {
	font-size: 13px;
	font-weight: 800;
	color: #64748b;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 7px;
}

.haraj-drawer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.haraj-drawer-menu li a {
	display: flex;
	align-items: center;
	padding: 10px 14px;
	background: #f8fafc;
	border: 1px solid var(--haraj-border-light);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	text-decoration: none;
}

.haraj-drawer-menu li a:hover {
	background: var(--haraj-secondary-light);
	color: var(--haraj-secondary-hover);
}

.haraj-drawer-cats {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.haraj-dc-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	background: #ffffff;
	border: 1px solid var(--haraj-border);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
}

.haraj-dc-link i {
	color: var(--haraj-secondary);
	margin-left: 8px;
}

.haraj-dc-link:hover {
	background: #f0fdf4;
	border-color: #86efac;
	color: #166534;
}

.haraj-dc-count {
	background: #e2e8f0;
	padding: 2px 7px;
	border-radius: 10px;
	font-size: 11px;
}

.haraj-drawer-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.haraj-dbtn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.haraj-dbtn-call {
	background: var(--haraj-primary);
	color: #ffffff;
}

.haraj-dbtn-wa {
	background: #25d366;
	color: #ffffff;
}

/*--------------------------------------------------------------
>>> ترويسة المدونة وشريط الفلترة بالرئيسية (Blog Header & Filter)
----------------------------------------------------------------*/
.haraj-blog-header-section {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	padding: 32px 36px 24px;
	margin-top: 25px;
	margin-bottom: 30px;
}

.haraj-blog-main-title {
	font-size: 28px;
	font-weight: 900;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 10px;
}

.haraj-blog-main-title i {
	color: var(--haraj-secondary);
}

.haraj-blog-main-desc {
	font-size: 15px;
	color: var(--haraj-text-muted);
	margin: 0 0 22px;
	line-height: 1.6;
	max-width: 720px;
}

.haraj-filter-tabs {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 10px;
	border-top: 1.5px solid var(--haraj-border-light);
}

.haraj-ftab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: 30px;
	font-size: 13.5px;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
	transition: all 0.2s ease;
}

.haraj-ftab:hover,
.haraj-ftab.is-active {
	background: var(--haraj-secondary);
	color: #ffffff;
	border-color: var(--haraj-secondary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.haraj-ftab-count {
	background: rgba(0, 0, 0, 0.08);
	padding: 2px 7px;
	border-radius: 12px;
	font-size: 11px;
}

.haraj-ftab.is-active .haraj-ftab-count {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

/*--------------------------------------------------------------
>>> شبكة كروت المقالات العصرية الفاخرة (Blog Card Grid)
----------------------------------------------------------------*/
.haraj-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 32px;
	align-items: start;
	margin-bottom: 40px;
}

.haraj-blog-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.haraj-blog-card {
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	overflow: hidden;
	box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
}

.haraj-blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 28px -5px rgba(15, 23, 42, 0.09);
	border-color: #cbd5e1;
}

.haraj-bcard-thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f1f5f9;
}

.haraj-bcard-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.haraj-blog-card:hover .haraj-bcard-thumb {
	transform: scale(1.06);
}

.haraj-bcard-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--haraj-text-muted);
	font-size: 13px;
	font-weight: 700;
}

.haraj-bcard-placeholder img {
	width: 46px;
	height: 46px;
	opacity: 0.85;
}

.haraj-bcard-badges {
	position: absolute;
	top: 12px;
	right: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.haraj-bcard-badge-cat {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(6px);
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 20px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.haraj-bcard-badge-cat:hover {
	background: var(--haraj-secondary);
}

.haraj-bcard-badge-read {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	color: #0f172a;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 20px;
}

.haraj-bcard-body {
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.haraj-bcard-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12.5px;
	color: var(--haraj-text-muted);
	margin-bottom: 10px;
}

.haraj-bcard-meta i {
	color: var(--haraj-secondary);
}

.haraj-bcard-title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
	margin: 0 0 10px;
}

.haraj-bcard-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.haraj-bcard-title a:hover {
	color: var(--haraj-secondary);
}

.haraj-bcard-excerpt {
	font-size: 13.5px;
	color: var(--haraj-text-muted);
	line-height: 1.65;
	margin: 0 0 18px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.haraj-bcard-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--haraj-border-light);
	padding-top: 14px;
	margin-top: auto;
}

.haraj-bcard-read-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--haraj-secondary);
	text-decoration: none;
	transition: gap 0.2s ease;
}

.haraj-blog-card:hover .haraj-bcard-read-btn {
	gap: 12px;
}

.haraj-bcard-wa-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.haraj-bcard-wa-btn:hover {
	transform: scale(1.1);
	background: #20ba59;
}

/* ترقيم الصفحات */
.haraj-pagination-wrap {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.haraj-pagination-wrap .nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.haraj-pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	font-size: 14px;
	font-weight: 700;
	color: var(--haraj-text);
	text-decoration: none;
	transition: all 0.2s ease;
}

.haraj-pagination-wrap .page-numbers:hover,
.haraj-pagination-wrap .page-numbers.current {
	background: var(--haraj-secondary);
	color: #ffffff;
	border-color: var(--haraj-secondary);
}

/* بطاقة عدم وجود مقالات */
.haraj-no-posts-card {
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	padding: 50px 30px;
	text-align: center;
	color: var(--haraj-text-muted);
}

.haraj-no-posts-card i {
	font-size: 40px;
	color: var(--haraj-secondary);
	margin-bottom: 16px;
}

/*--------------------------------------------------------------
>>> صفحة المقال الفردي الفاخرة (Single Article Page)
----------------------------------------------------------------*/
.haraj-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: var(--haraj-text-muted);
	margin-top: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
	padding: 12px 18px;
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius-sm);
}

.haraj-breadcrumbs a {
	color: #475569;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.haraj-breadcrumbs a:hover {
	color: var(--haraj-secondary);
}

.haraj-bc-sep {
	color: #94a3b8;
	font-size: 11px;
}

.haraj-bc-current {
	color: #0f172a;
	font-weight: 700;
}

.haraj-article-card {
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
	overflow: hidden;
	margin-bottom: 30px;
}

/* ترويسة المقال الفخمة والمميزة */
.haraj-article-header-premium {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 34px 36px 26px;
	border-bottom: 1.5px solid var(--haraj-border);
}

.haraj-art-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.haraj-art-cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #e8f5e9;
	color: #1b5e20;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid #c8e6c9;
}

.haraj-art-cat-badge:hover {
	background: var(--haraj-secondary);
	color: #ffffff;
}

.haraj-art-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12.5px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 20px;
	border: 1px solid #bfdbfe;
}

.haraj-article-title {
	font-size: 32px;
	font-weight: 900;
	color: #0f172a;
	line-height: 1.4;
	margin: 0 0 16px;
}

.haraj-title-accent-line {
	width: 70px;
	height: 4px;
	background: linear-gradient(90deg, var(--haraj-secondary), #38bdf8);
	border-radius: 4px;
	margin-bottom: 18px;
}

.haraj-article-meta-bar {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: var(--haraj-text-muted);
}

.haraj-art-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.haraj-art-meta-item i {
	color: var(--haraj-secondary);
}

.haraj-art-meta-item strong {
	color: #334155;
	font-weight: 700;
}

/* الصورة البارزة للمقال */
.haraj-article-featured-wrap {
	padding: 30px 36px 0;
}

.haraj-featured-img-frame {
	border-radius: 14px;
	overflow: hidden;
	border: 1.5px solid var(--haraj-border);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	background: #f8fafc;
}

.haraj-single-image {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

.haraj-featured-caption {
	font-size: 12.5px;
	color: var(--haraj-text-muted);
	margin-top: 10px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

/* صندوق طلب الخدمة داخل المقال للتحويل المباشر */
.haraj-in-article-cta {
	margin: 28px 36px 0;
	background: #f0fdf4;
	border: 2px solid #86efac;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
}

.haraj-in-cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #16a34a;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}

.haraj-in-cta-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.haraj-in-cta-info {
	flex: 1;
	min-width: 260px;
}

.haraj-in-cta-info strong {
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: #14532d;
	margin-bottom: 6px;
}

.haraj-in-cta-info p {
	font-size: 14px;
	color: #166534;
	margin: 0;
	line-height: 1.6;
}

.haraj-in-cta-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.haraj-cta-btn-call, .haraj-cta-btn-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 800;
	transition: all 0.2s ease;
	text-decoration: none;
}

.haraj-cta-btn-call {
	background: var(--haraj-primary);
	color: #ffffff;
}

.haraj-cta-btn-call:hover {
	background: var(--haraj-primary-hover);
	color: #ffffff;
	transform: translateY(-2px);
}

.haraj-cta-btn-wa {
	background: #25d366;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.haraj-cta-btn-wa:hover {
	background: #20ba59;
	color: #ffffff;
	transform: translateY(-2px);
}

/* تنسيق المقال والخطوط المحسنة للقراءة */
.haraj-article-content {
	padding: 34px 36px 15px;
}

.haraj-typography {
	font-size: 18px;
	line-height: 2.1;
	color: #334155;
	font-family: 'Cairo', 'Tajawal', sans-serif;
}

.haraj-typography h2,
.haraj-typography h3,
.haraj-typography h4,
.haraj-typography .wp-block-heading {
	color: #0f172a !important;
	font-weight: 800 !important;
	margin-top: 36px !important;
	margin-bottom: 16px !important;
	padding-right: 14px !important;
	border-right: 4px solid var(--haraj-secondary) !important;
	line-height: 1.45 !important;
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

.haraj-typography h2 { font-size: 26px !important; }
.haraj-typography h3 { font-size: 22px !important; }
.haraj-typography h4 { font-size: 19px !important; }

.haraj-typography p,
.haraj-typography .wp-block-paragraph {
	font-size: 18px !important;
	line-height: 2.1 !important;
	color: #334155 !important;
	margin-bottom: 22px !important;
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

.haraj-typography strong,
.haraj-typography b {
	color: #0f172a !important;
	font-weight: 800 !important;
}

.haraj-typography ul,
.haraj-typography ol,
.haraj-typography .wp-block-list {
	margin-bottom: 24px !important;
	padding-right: 28px !important;
	list-style: disc !important;
}

.haraj-typography li {
	margin-bottom: 10px !important;
	line-height: 1.9 !important;
	color: #334155 !important;
	font-size: 17.5px !important;
}

.haraj-typography blockquote,
.haraj-typography .wp-block-quote {
	background: #f8fafc !important;
	border-right: 4px solid var(--haraj-secondary) !important;
	margin: 28px 0 !important;
	padding: 18px 24px !important;
	border-radius: 8px !important;
	font-style: normal !important;
	color: #1e293b !important;
	font-weight: 600 !important;
}

/* قسم الوسوم في نهاية المقال */
.haraj-article-tags-wrap {
	margin: 10px 36px 26px;
	padding: 18px 22px;
	background: #f8fafc;
	border: 1.5px solid var(--haraj-border);
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.haraj-tags-header {
	font-size: 14px;
	font-weight: 800;
	color: #0f172a;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.haraj-tags-header i {
	color: var(--haraj-secondary);
}

.haraj-tags-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.haraj-tag-pill {
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	transition: all 0.2s ease;
	text-decoration: none;
}

.haraj-tag-hash {
	color: var(--haraj-secondary);
	font-weight: 900;
	margin-left: 3px;
}

.haraj-tag-pill:hover {
	background: var(--haraj-secondary);
	color: #ffffff;
	border-color: var(--haraj-secondary);
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
}

.haraj-tag-pill:hover .haraj-tag-hash {
	color: #ffffff;
}

/* بطاقة الضمانات داخل المقال */
.haraj-safety-card {
	margin: 0 36px 28px;
	display: flex;
	gap: 18px;
	background: #fffbeb;
	border: 1.5px solid #fde68a;
	border-radius: 12px;
	padding: 22px 24px;
}

.haraj-safety-icon {
	color: #d97706;
	font-size: 26px;
	flex-shrink: 0;
}

.haraj-safety-body h4 {
	font-size: 15px;
	font-weight: 800;
	color: #92400e;
	margin: 0 0 10px;
}

.haraj-safety-body ul {
	font-size: 13.5px;
	color: #78350f;
	line-height: 1.7;
	padding-right: 18px;
	margin: 0;
	list-style: disc;
}

.haraj-safety-body li {
	margin-bottom: 6px;
}

/* شريط مشاركة المقال والتفاعل */
.haraj-share-box {
	margin: 0 36px 34px;
	padding-top: 22px;
	border-top: 1.5px solid var(--haraj-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.haraj-share-title {
	font-size: 14px;
	font-weight: 800;
	color: #475569;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.haraj-share-title i {
	color: var(--haraj-secondary);
}

.haraj-share-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.haraj-sbtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 15px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

.haraj-sbtn-wa { background-color: #25d366; color: #ffffff; }
.haraj-sbtn-wa:hover { background-color: #20ba59; color: #ffffff; transform: translateY(-2px); }
.haraj-sbtn-tw { background-color: #0f1419; color: #ffffff; }
.haraj-sbtn-tw:hover { background-color: #262c33; color: #ffffff; transform: translateY(-2px); }
.haraj-sbtn-fb { background-color: #1877f2; color: #ffffff; }
.haraj-sbtn-fb:hover { background-color: #1464cc; color: #ffffff; transform: translateY(-2px); }
.haraj-sbtn-copy { background-color: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.haraj-sbtn-copy:hover { background-color: #e2e8f0; color: #0f172a; }

.haraj-comments-framed {
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	padding: 30px;
	box-shadow: var(--haraj-shadow-sm);
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
>>> السايدبار الجانبي المستقل والمؤطر (Sidebar Styles)
----------------------------------------------------------------*/
.haraj-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: sticky;
	top: 90px;
}

.haraj-sidebar-widget {
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	padding: 24px;
	box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
}

/* دعم كامل لودجات ووردبريس كتل جوتنبرج */
.widget_block .wp-block-heading,
.widget_block h2,
.widget_block h3,
.widget_block h4,
.haraj-sidebar-widget-title {
	font-size: 17px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin: 0 0 16px !important;
	padding-bottom: 10px !important;
	border-bottom: 2px solid var(--haraj-border-light) !important;
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

.widget_block .wp-block-heading::after,
.haraj-sidebar-widget-title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	right: 0;
	width: 45px;
	height: 2px;
	background: var(--haraj-secondary);
	border-radius: 2px;
}

.widget_block .wp-block-search {
	margin-bottom: 0 !important;
}

.widget_block .wp-block-search__label {
	display: none !important;
}

.widget_block .wp-block-search__inside-wrapper {
	border: 1.5px solid var(--haraj-border) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #f8fafc !important;
	padding: 0 !important;
}

.widget_block .wp-block-search__input {
	border: none !important;
	background: transparent !important;
	padding: 10px 14px !important;
	font-family: inherit !important;
	font-size: 14px !important;
	color: #1e293b !important;
}

.widget_block .wp-block-search__button {
	background: var(--haraj-secondary) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 0 !important;
	font-weight: 800 !important;
	padding: 10px 18px !important;
	cursor: pointer !important;
}

.widget_block .wp-block-latest-posts,
.widget_block ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.widget_block .wp-block-latest-posts li,
.widget_block ul li {
	padding: 10px 0 !important;
	border-bottom: 1px solid var(--haraj-border-light) !important;
	margin-bottom: 0 !important;
}

.widget_block .wp-block-latest-posts li a,
.widget_block ul li a {
	color: #1e293b !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.widget_block .wp-block-latest-posts li a:hover,
.widget_block ul li a:hover {
	color: var(--haraj-secondary) !important;
}

/* بطاقة طلب التسعير والبيع بالسايدبار */
.haraj-seller-card {
	border-color: #bbf7d0;
	background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.haraj-seller-badge-top {
	background: #16a34a;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.haraj-seller-title {
	font-size: 19px;
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 8px;
}

.haraj-seller-note {
	font-size: 13.5px;
	color: #475569;
	margin-bottom: 18px;
	line-height: 1.55;
}

.haraj-seller-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.haraj-action-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 18px;
	border-radius: 12px;
	transition: all 0.2s ease;
	text-decoration: none;
}

.haraj-act-icon-wrap {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.haraj-act-info {
	display: flex;
	flex-direction: column;
	text-align: right;
	line-height: 1.35;
}

.haraj-act-info strong {
	font-size: 15px;
}

.haraj-act-info small {
	font-size: 12px;
	opacity: 0.95;
}

.haraj-act-call {
	background-color: var(--haraj-primary);
	color: #ffffff;
}

.haraj-act-call:hover {
	background-color: var(--haraj-primary-hover);
	color: #ffffff;
	transform: translateY(-2px);
}

.haraj-act-wa {
	background-color: #25d366;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.haraj-act-wa:hover {
	background-color: #20ba59;
	color: #ffffff;
	transform: translateY(-2px);
}

.haraj-seller-guarantees {
	border-top: 1.5px solid var(--haraj-border);
	padding-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.haraj-sg-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #475569;
	font-weight: 600;
}

.haraj-sg-item i {
	color: var(--haraj-secondary);
	font-size: 14px;
}

/* قائمة التصنيفات في السايدبار */
.haraj-sidebar-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.haraj-sidebar-cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: #f8fafc;
	border: 1px solid var(--haraj-border);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	color: #334155;
	transition: all 0.2s ease;
	text-decoration: none;
}

.haraj-scat-left {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.haraj-scat-left i {
	color: var(--haraj-secondary);
	font-size: 15px;
	width: 18px;
	text-align: center;
}

.haraj-scat-count {
	background: #e2e8f0;
	color: #475569;
	font-size: 12px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.haraj-sidebar-cat-link:hover,
li.is-active .haraj-sidebar-cat-link {
	background: #f0fdf4;
	border-color: #86efac;
	color: #15803d;
	padding-right: 18px;
}

.haraj-sidebar-cat-link:hover .haraj-scat-count,
li.is-active .haraj-scat-count {
	background: var(--haraj-secondary);
	color: #ffffff;
}

/* المشاركات الأخيرة في السايدبار */
.haraj-sidebar-recent-posts {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.haraj-srecent-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--haraj-border-light);
}

.haraj-srecent-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.haraj-srecent-thumb-link {
	width: 68px;
	height: 68px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f1f5f9;
	border: 1px solid var(--haraj-border);
	display: block;
}

.haraj-srecent-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.haraj-srecent-item:hover .haraj-srecent-thumb {
	transform: scale(1.08);
}

.haraj-srecent-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-size: 20px;
}

.haraj-srecent-info {
	flex: 1;
	min-width: 0;
}

.haraj-srecent-title {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 6px;
}

.haraj-srecent-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.haraj-srecent-title a:hover {
	color: var(--haraj-secondary);
}

.haraj-srecent-date {
	font-size: 12px;
	color: var(--haraj-text-muted);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.haraj-srecent-date i {
	color: var(--haraj-secondary);
}

/* بطاقة تغطية الخدمة في مكة */
.haraj-coverage-widget {
	background: #f8fafc;
}

.haraj-cov-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.haraj-cov-head i {
	color: var(--haraj-secondary);
	font-size: 18px;
}

.haraj-cov-head h5 {
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.haraj-cov-desc {
	font-size: 13px;
	color: var(--haraj-text-muted);
	line-height: 1.6;
	margin: 0 0 14px;
}

.haraj-cov-footer {
	font-size: 12.5px;
	font-weight: 800;
	color: #15803d;
	display: flex;
	align-items: center;
	gap: 6px;
	background: #dcfce7;
	padding: 6px 12px;
	border-radius: 8px;
}

/*--------------------------------------------------------------
>>> التدوينات المرتبطة أسفل المقال (Related Posts Section)
----------------------------------------------------------------*/
.haraj-related-section {
	margin-top: 36px;
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: var(--haraj-radius);
	padding: 32px 36px;
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.haraj-related-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--haraj-border-light);
	flex-wrap: wrap;
	gap: 12px;
}

.haraj-related-title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.haraj-related-title-wrap i {
	color: var(--haraj-secondary);
	font-size: 20px;
}

.haraj-related-title {
	font-size: 21px;
	font-weight: 900;
	color: #0f172a;
	margin: 0;
}

.haraj-related-view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--haraj-secondary);
	text-decoration: none;
	transition: gap 0.2s ease;
}

.haraj-related-view-all:hover {
	gap: 12px;
}

.haraj-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.haraj-rel-card {
	background: #ffffff;
	border: 1.5px solid var(--haraj-border);
	border-radius: 14px;
	overflow: hidden;
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
}

.haraj-rel-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 25px -4px rgba(15, 23, 42, 0.08);
	border-color: #cbd5e1;
}

.haraj-rel-thumb-link {
	position: relative;
	height: 180px;
	overflow: hidden;
	display: block;
	background: #f1f5f9;
}

.haraj-rel-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.haraj-rel-card:hover .haraj-rel-thumb {
	transform: scale(1.06);
}

.haraj-rel-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--haraj-text-muted);
	font-size: 13px;
	font-weight: 700;
}

.haraj-rel-placeholder img {
	width: 44px;
	height: 44px;
	opacity: 0.8;
}

.haraj-rel-badge-cat {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
}

.haraj-rel-body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.haraj-rel-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	color: var(--haraj-text-muted);
	margin-bottom: 8px;
}

.haraj-rel-meta i {
	color: var(--haraj-secondary);
}

.haraj-rel-card-title {
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.45;
	margin: 0 0 10px;
}

.haraj-rel-card-title a {
	color: #0f172a;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.haraj-rel-card-title a:hover {
	color: var(--haraj-secondary);
}

.haraj-rel-excerpt {
	font-size: 13px;
	color: var(--haraj-text-muted);
	line-height: 1.6;
	margin: 0 0 14px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.haraj-rel-readmore {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 800;
	color: var(--haraj-secondary);
	text-decoration: none;
	margin-top: auto;
}

.haraj-no-related {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--haraj-text-muted);
	padding: 20px;
	font-size: 14px;
}

/*--------------------------------------------------------------
>>> الفوتر العصري (Footer)
----------------------------------------------------------------*/
.haraj-features-ribbon {
	background: #ffffff;
	border-top: 1px solid var(--haraj-border);
	border-bottom: 1px solid var(--haraj-border);
	padding: 28px 0;
	margin-top: 40px;
}

.haraj-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.haraj-feature-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.haraj-feature-icon {
	color: var(--haraj-secondary);
	font-size: 26px;
	flex-shrink: 0;
}

.haraj-feature-info h4 {
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px;
}

.haraj-feature-info p {
	font-size: 13px;
	color: var(--haraj-text-muted);
	margin: 0;
	line-height: 1.45;
}

.haraj-footer-main {
	background: #0f172a;
	color: #e2e8f0;
	padding: 50px 0 35px;
}

.haraj-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 40px;
}


.haraj-footer-logo {
	max-height: 80px;
	max-width: 100%;
	height: auto;
	width: auto;
	margin-bottom: 16px;
	display: block;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
}


.haraj-footer-desc {
	font-size: 14px;
	color: #94a3b8;
	line-height: 1.7;
	margin-bottom: 20px;
}

.haraj-social-links {
	display: flex;
	gap: 10px;
}

.haraj-social-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 15px;
	transition: all 0.2s ease;
}

.haraj-social-icon:hover {
	background: var(--haraj-secondary);
	color: #ffffff;
	transform: translateY(-2px);
}

.haraj-footer-heading {
	font-size: 17px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--haraj-secondary);
	display: inline-block;
}

.haraj-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.haraj-footer-links li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #94a3b8;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.haraj-footer-links li a:hover {
	color: #ffffff;
	padding-right: 4px;
}

.haraj-footer-links li a i {
	color: var(--haraj-secondary);
	font-size: 13px;
}

.haraj-contact-box {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.haraj-contact-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #94a3b8;
	margin: 0;
}

.haraj-contact-row i {
	color: var(--haraj-secondary);
}

.haraj-contact-row a {
	color: #ffffff;
	font-weight: 700;
}

.haraj-footer-bottom {
	background: #020617;
	padding: 20px 0;
	color: #64748b;
	font-size: 13px;
}

.haraj-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

/* أزرار الاتصال العائمة */
.haraj-floating-actions {
	position: fixed;
	bottom: 24px;
	left: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 9990;
}

.haraj-float-btn {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 22px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	transition: all 0.25s ease;
	position: relative;
	text-decoration: none;
}

.haraj-float-wa { background: #25d366; }
.haraj-float-call { background: var(--haraj-primary); }

.haraj-float-btn:hover {
	transform: scale(1.1);
	color: #ffffff;
}

/*--------------------------------------------------------------
>>> التجاوب الصارم للموبايل والأجهزة الذكية (Responsive Rules)
----------------------------------------------------------------*/
@media (max-width: 991px) {
	/* 1. إخفاء عناصر الديسكتوب في الهيدر */
	.haraj-desktop-nav,
	.haraj-desktop-actions,
	.haraj-categories-bar {
		display: none !important;
	}

	/* 2. على الموبايل: اللوجو و3 شرطات فقط في نفس الصف ويبقى ظاهراً عند السكرول */
	.haraj-header {
		position: sticky !important;
		top: 0 !important;
		z-index: 99999 !important;
	}

	.haraj-header-inner {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		height: 64px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.haraj-mobile-toggle {
		display: flex !important;
	}

	/* 3. تخطيط الصفحة الرئيسية والمقالات في عمود واحد للموبايل */
	.haraj-single-layout {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.haraj-blog-grid {
		grid-template-columns: 1fr !important;
	}

	.haraj-related-grid {
		grid-template-columns: 1fr !important;
	}

	.haraj-footer-grid {
		grid-template-columns: 1fr !important;
		gap: 30px !important;
	}

	.haraj-article-header-premium {
		padding: 24px 20px 20px !important;
	}

	.haraj-article-title {
		font-size: 24px !important;
	}

	.haraj-article-featured-wrap {
		padding: 20px 20px 0 !important;
	}

	.haraj-in-article-cta {
		margin: 20px 20px 0 !important;
		padding: 18px !important;
	}

	.haraj-article-content {
		padding: 24px 20px 10px !important;
	}

	.haraj-article-tags-wrap {
		margin: 10px 20px 20px !important;
	}

	.haraj-safety-card {
		margin: 0 20px 20px !important;
	}

	.haraj-share-box {
		margin: 0 20px 24px !important;
	}

	.haraj-related-section {
		padding: 24px 20px !important;
	}

	.haraj-blog-header-section {
		padding: 24px 20px !important;
	}

	.haraj-blog-main-title {
		font-size: 22px !important;
	}
}

@media (min-width: 992px) {
	.haraj-mobile-toggle,
	.haraj-mobile-drawer,
	.haraj-drawer-backdrop {
		display: none !important;
	}
}


/* تحسينات تنسيق المقال */
.haraj-article-content {
    font-size: 17px;
    line-height: 2;
    color: #334155;
}

.haraj-article-content h1, .haraj-article-content h2, .haraj-article-content h3, .haraj-article-content h4 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.haraj-article-content h2 {
    font-size: 26px;
    border-right: 4px solid var(--haraj-secondary);
    padding-right: 14px;
}

.haraj-article-content h3 {
    font-size: 22px;
}

.haraj-article-content p {
    margin-bottom: 24px;
}

.haraj-article-content ul, .haraj-article-content ol {
    margin-bottom: 24px;
    padding-right: 24px;
    background: #f8fafc;
    padding: 24px 40px 24px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.haraj-article-content li {
    margin-bottom: 12px;
}

.haraj-article-content blockquote {
    background: #f1f5f9;
    border-right: 5px solid var(--haraj-accent);
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 12px 0 0 12px;
    font-style: italic;
    color: #475569;
    font-size: 19px;
}

/* تحسينات نموذج التعليقات */
.comment-respond {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-reply-title::before {
    content: '\f086';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--haraj-secondary);
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8fafc;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--haraj-secondary);
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.comment-form .submit {
    background: var(--haraj-secondary);
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.comment-form .submit:hover {
    background: var(--haraj-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}
.comment-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}
.comment-author img {
    border-radius: 50%;
}
.comment-author b {
    font-size: 16px;
    color: #0f172a;
}
.comment-metadata {
    font-size: 13px;
    color: #64748b;
}

a.haraj-read-more-link, a.haraj-rel-readmore {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	background: #0f172a !important;
	text-decoration: none !important;
	padding: 10px 20px !important;
	border-radius: 30px !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    margin-top: 10px !important;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}


/* --- تصميم الصفحة الرئيسية (نظام مجلة - Jannah Style) --- */
.haraj-category-section {
    margin-bottom: 50px;
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
}

.haraj-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #f1f5f9;
    padding-bottom: 15px;
    position: relative;
}

.haraj-section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 80px;
    height: 3px;
    background: var(--haraj-secondary);
}

.haraj-section-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.haraj-section-title i {
    color: var(--haraj-secondary);
    font-size: 22px;
}

.haraj-section-more {
    background: #f8fafc;
    color: #475569;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
}

.haraj-section-more:hover {
    background: var(--haraj-secondary);
    color: #ffffff;
    border-color: var(--haraj-secondary);
    transform: translateX(-5px);
}

@media (max-width: 767px) {
    .haraj-category-section {
        padding: 20px 15px;
    }
    .haraj-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .haraj-section-title {
        font-size: 22px;
    }
    .haraj-section-more {
        width: 100%;
        justify-content: center;
    }
}
