/* المقال: "المضاف حديثاً" و"المقترحات" بشكل سايدبار article.aspx (CSS بس) */
.blog-page .recent-post.widgets{background:#fff;border:1px solid #eceae3;border-radius:16px;padding:22px;margin:0 0 22px!important;box-shadow:0 4px 20px rgba(36,41,47,.06);text-align:right;direction:rtl}
.blog-page .recent-post.widgets+br,.blog-page .recent-post.widgets+br+br{display:none}
.blog-page .recent-post.widgets>h3{display:flex;align-items:center;gap:10px;margin:0 0 8px!important;padding:0 0 12px;border:0;border-bottom:1px solid #eceae3;color:#24292f;font-size:17px;line-height:1.5;font-weight:800}
.blog-page .recent-post.widgets>h3:before{content:"\f017";position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f9eeee;color:#ae1a1a;font:900 15px/1 "Font Awesome 5 Free"}
.blog-page .recent-post.widgets~.recent-post.widgets>h3:before{content:"\f02c"}
.blog-page .recent-post.widgets>h3:after{display:none}
.blog-page .recent-post .blog-categories{margin:0;padding:0}

/* المضاف حديثاً */
.blog-page .recent-post .blog-categories{counter-reset:art}
.blog-page .recent-post .media{counter-increment:art;position:relative;display:block;margin:0;padding:12px 40px 12px 6px;border:0;border-bottom:1px solid #f2f0ea;border-radius:10px;transition:background-color .2s}
.blog-page .recent-post .media:last-child{border-bottom:0}
.blog-page .recent-post .media:before{content:counter(art);position:absolute;top:14px;right:4px;width:26px;height:26px;border-radius:8px;background:#24292f;color:#fff;font:800 13px/26px Cairo,sans-serif;text-align:center}
.blog-page .recent-post .media:first-child:before,.blog-page .recent-post .media:hover:before{background:#ae1a1a}
.blog-page .recent-post .media:hover{background:#fdfcf7}
.blog-page .recent-post .post-info h3{margin:0 0 6px;font-size:14px!important;line-height:1.6!important}
.blog-page .recent-post .post-info h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#24292f!important;font-weight:700}
.blog-page .recent-post .media:hover h3 a{color:#ae1a1a!important}
.blog-page .recent-post .post-info br,.blog-page .recent-post .post-info hr{display:none}
.blog-page .recent-post .postwatch{display:flex;align-items:center;gap:5px;width:100%;margin:0;padding:0;border:0;background:none;text-align:right}
.blog-page .recent-post .postwatch span{float:none!important;color:#5b626b!important;font-size:12px;line-height:20px}
.blog-page .recent-post .postwatch span:first-child{margin-inline-end:10px}
.blog-page .recent-post .postwatch img{width:15px;height:15px;margin:0}

/* المقترحات */
.blog-page .recent-post .blog-categories ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:8px 0 0;list-style:none}
.blog-page .recent-post .blog-categories ul li{display:block;width:auto;max-width:100%;margin:0;padding:0;border:0;list-style:none}
.blog-page .recent-post .blog-categories ul li:before,.blog-page .recent-post .blog-categories ul li:after{display:none}
.blog-page .recent-post .blog-categories ul li a{display:inline-block;width:auto;max-width:100%;padding:6px 14px;border:1px solid #e4e1d9;border-radius:999px;background:#fff;color:#24292f!important;font-size:12.5px;line-height:1.6;font-weight:600;overflow-wrap:anywhere;transition:background-color .2s,border-color .2s}
.blog-page .recent-post .blog-categories ul li a:before,.blog-page .recent-post .blog-categories ul li a:after{display:none}
.blog-page .recent-post .blog-categories ul li a:hover{border-color:#ae1a1a;background:#f9eeee;color:#ae1a1a!important}
.blog-page .recent-post a:focus-visible{outline:2px solid #ae1a1a;outline-offset:2px}
@media(max-width:991px){.blog-page .recent-post.widgets:first-of-type{margin-top:24px!important}}
@media(max-width:575px){.blog-page .recent-post.widgets{padding:16px}.blog-page .recent-post .blog-categories ul li a{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){.blog-page .recent-post .media,.blog-page .recent-post .blog-categories ul li a{transition:none}}

/* جسم المقال (من غير !important على المحتوى: الستايل المكتوب جوه المقال يكسب) */
.blog-page .blog-header{margin-bottom:18px;padding:20px 22px 6px;background:#fdfcf7;border:1px solid #eceae3;border-radius:16px}
.blog-page .blog-header>h2{color:#24292f;font-size:28px;line-height:1.55;font-weight:800}
.blog-page .image-set img{border-radius:16px}
.blog-page .blog-content .rd-quote{color:#24292f;line-height:2}
.blog-page .blog-content p{color:#343a41;line-height:2}
.blog-page .blog-content h2,.blog-page .blog-content h3{margin:26px 0 12px;padding-inline-start:14px;border-inline-start:4px solid #ae1a1a;color:#24292f;line-height:1.6;font-weight:800}
.blog-page .blog-content h2{font-size:24px}
.blog-page .blog-content h3{font-size:20px}
.blog-page .blog-content li::marker{color:#ae1a1a}
.blog-page .blog-content img{max-width:100%;border-radius:12px}
.blog-page .blog-content details{border-radius:12px}
@media(max-width:575px){.blog-page .blog-header{padding:16px 14px 4px}.blog-page .blog-header>h2{font-size:21px}.blog-page .blog-content h2{font-size:20px}.blog-page .blog-content h3{font-size:18px}}

/* سطر الكاتب وبلوكات النص */
.blog-page .blog-header .user-info span,.blog-page .blog-header .postwatch span{color:#5b626b}
.blog-page .blog-header .user-info strong{color:#ae1a1a}
.blog-page .blog-header .media{align-items:center}
.blog-page .blog-content .rd-quote{background:#fdfcf7;border-radius:14px}

/* عرض 1500 للمقال بس */
@media(min-width:1200px){.blog-page>.container,.breadcrumb-area.banner-1 .container{max-width:1500px}}

/* المضاف حديثاً: صورة وعليها الرقم (زي "الأكثر قراءة" في article.aspx) */
.blog-page .recent-post .media{display:flex;align-items:center;gap:12px;padding:10px 4px}
.blog-page .recent-post .media:before{top:50%;right:8px;z-index:1;width:20px;height:20px;margin-top:-24px;border-radius:6px;background:rgba(36,41,47,.85);font-size:11px;line-height:20px;pointer-events:none}
.blog-page .recent-post .media .art-thumb{flex:0 0 72px;width:72px;height:56px;margin:0;object-fit:cover;border-radius:10px;background:#f2f0ea}
.blog-page .recent-post .media .post-info{flex:1;min-width:0;width:auto!important;position:static}
.blog-page .recent-post .post-info h3,.blog-page .recent-post .post-info h3 a{position:static}
.blog-page .recent-post .post-info h3 a:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}

/* المشاركة في العمود الجانبي */
.blog-page .art-side .art-share{justify-content:center;gap:8px;margin:0 0 22px;padding:16px 8px}
.blog-page .art-side .art-share .share-label{flex:0 0 100%;justify-content:center;margin:0 0 4px}
.blog-page .art-side .art-share .share-btn{flex-basis:38px;width:38px;height:38px}
@media(max-width:991px){.blog-page .art-side .art-share{margin-top:24px}}

/* السايدبار ينزل مع السكرول */
@media(min-width:992px){.blog-page .art-side{position:sticky;top:var(--side-top,100px);align-self:flex-start}}

/* المشاركة على بداية السطر: يمين في العربي، شمال في الإنجليزي */
.blog-page .art-side .art-share{justify-content:flex-start;padding:16px 20px}
.blog-page .art-side .art-share .share-label{justify-content:flex-start}
@media(min-width:992px) and (max-width:1199px){.blog-page .art-side .art-share{padding:14px}}

/* المقال الإنجليزي (LTR) */
.blog-page.art-en,.blog-page.art-en .recent-post.widgets{direction:ltr;text-align:left}
.blog-page.art-en .blog-header>h2,.blog-page.art-en .recent-post .post-info,.blog-page.art-en .recent-post .postwatch{text-align:left}
.blog-page.art-en .blog-header .user-info{text-align:left!important}
.blog-page.art-en .recent-post .media:before{right:auto;left:8px}
.blog-page.art-en .blog-content .rd-quote{border-right:0;border-left:4px solid #ae1a1a}
