/* Start custom CSS for section, class: .elementor-element-2f48a97 *//* 1. إصلاح توجيه حاوية المقالات (Isotope) لتوزيع الكروت من اليمين إلى اليسار */
.elementor-element-3f9f92d .tpl-blog-holder.apply-isotope {
    direction: ltr !important; /* للحفاظ على حسابات الأبعاد البرمجية للمكتبة دون تداخل الكروت */
}

/* 2. إجبار الكارد نفسه ومحتوياته الداخلية على المحاذاة جهة اليمين */
.elementor-element-3f9f92d .entry-grid-layout {
    direction: rtl !important;
    text-align: right !important;
}

/* ضبط مرونة النصوص والأزرار والميتا لتبدأ بسلاسة من اليمين */
.elementor-element-3f9f92d .entry-title,
.elementor-element-3f9f92d .entry-body,
.elementor-element-3f9f92d .entry-meta-group,
.elementor-element-3f9f92d .entry-button {
    display: flex !important;
    justify-content: flex-start !important;
    text-align: right !important;
    direction: rtl !important;
}

/* 3. تثبيت شارة التاريخ بالنمط الأسود الأنيق في أعلى يسار الصورة */
.elementor-element-3f9f92d .entry-thumb {
    position: relative !important;
}

.elementor-element-3f9f92d .entry-date {
    position: absolute !important;
    left: 0px !important;   /* تثبيت المسافة من اليسار */
    right: auto !important;  /* إلغاء أي قيم موروثة لليمين */
    top: 0px !important;    /* التثبيت من الأعلى */
    
    /* إجبار النص الداخلي للتاريخ على القراءة بنظام LTR ليظهر مرتباً (يونيو 20, 2023) دون تشويه */
    direction: ltr !important;
    display: inline-flex !important;
    align-items: center !important;
    
    /* ستايل الشارة السوداء المطابق للتصميم الأساسي */
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    z-index: 5 !important;
}

/* إخفاء أيقونة الكالندر للحصول على نفس المظهر النظيف تماماً */
.elementor-element-3f9f92d .entry-date i {
    display: none !important;
}

/* 4. تعديل اتجاه زر "Read More" ليتجه السهم لليسار مع القراءة العربية */
.elementor-element-3f9f92d .entry-button a svg {
    transform: scaleX(-1) !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
}

/* 5. ضبط محاذاة أرقام الصفحات (Pagination) أسفل السكشن لتبدأ من اليمين */
.elementor-element-3f9f92d .blog-pagination {
    direction: rtl !important;
    text-align: center !important;
}
.elementor-element-3f9f92d .blog-pagination ul.page-numbers {
    display: inline-flex !important;
    direction: rtl !important;
}/* End custom CSS */