
.article-page-wrapper {
    direction: rtl;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'AlArabiya Custom', Tahoma, Arial, sans-serif;
    background-color: #ffffff;
}

/* ================= الهيكل المنقسم للترويسة (صورة يسار / نص يمين) ================= */
.article-header-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}

/* الجانب الأيمن (النصوص) */
.header-text-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* علامة القسم (رابط نشط) */
.article-cat-tag {
    font-size: 13px;
    color: #111827;
    background: #f3f4f6;
    padding: 3px 10px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    margin-bottom: 20px;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.article-cat-tag:hover {
    background: #111827;
    color: #ffffff;
}

/* العنوان الرئيسي العريض المماثل للقطة الشاشة */
.article-main-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 20px 0;
}

/* المقتطف الوصفي الخفيف */
.article-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: auto;
    font-weight: 400;
}

/* ذيل الترويسة (اسم الموقع والتاريخ) */
.header-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 15px;
}

/* مكان الخليج العربي في الصورة */
.site-location-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    position: relative;
    padding-right: 15px;
}
.site-location-name::before {
    content: "📍";
    position: absolute;
    right: 0;
    font-size: 12px;
}

.publish-date {
    font-size: 13px;
    color: #9ca3af;
}

/* الجانب الأيسر (الصورة) */
.header-image-side {
    width: 55%;
    flex-shrink: 0;
}

.header-image-side img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 2px;
}

/* النص الوصفي الصغير أسفل الصورة */
.image-caption {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
    text-align: right;
}

/* ================= متن المقال السفلي (تم تعديل المقاسات لتطابق الصورة تماماً) ================= */
.article-body-layout {
    display: flex;
    gap: 45px;
}

.article-right-column {
    flex: 1;
    max-width: 700px;
}

.audio-player-mock {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 12px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
   font-family: 'Tahoma', Arial, sans-serif;
    font-size: 12px;
    color: #374151;
}

.audio-player-mock .play-btn {
    background: #111827;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

/* تم تحديث الحجم وارتفاع السطر واللون ليتطابق مع لقطة شاشة المتن */
.article-text-content {
    font-size: 100px; 
    line-height: 1.85; 
    color: #111827;
    font-weight: 600;
}

/* تنسيق الفقرات والمسافات بينها */
.article-text-content p {
    margin-bottom: 24px;
    text-align: justify;
}

/* تم تحديث العناوين الفرعية لتطابق العنوان الضخم البارز في الصورة (مثل: إعادة فتح تدريجية) */
.article-text-content h2 {
    font-size: 40px; 
    font-weight: 700; 
    color: #111827;
    line-height: 1.4;
    margin: 45px 0 20px 0;
}

/* العمود الجانبي */
.article-left-column {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-ad-box img { width: 100%; display: block; }

.share-social-sticky {
    position: sticky;
    top: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-buttons-flex { display: flex; gap: 8px; }
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}
.share-fb { background: #1877f2; }
.share-tw { background: #000000; }
.share-wa { background: #25d366; }

/* ================= الشاشات الصغيرة والهواتف ================= */
@media (max-width: 991px) {
    .article-header-container {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .header-image-side {
        width: 100%;
    }
    .header-image-side img {
        height: 250px;
    }
    .article-main-title {
        font-size: 28px;
    }
    .article-body-layout {
        flex-direction: column;
    }
    .article-left-column {
        width: 100%;
    }
    .share-social-sticky {
        position: static;
        flex-direction: row;
        justify-content: space-between;
    }
    /* تعديل المقاسات لتناسب الموبايل بشكل مريح */
    .article-text-content {
        font-size: 16px;
        line-height: 1.75;
    }
    .article-text-content h2 {
        font-size: 26px;
    }
}