/* ==============================================
   1. الإعدادات الأساسية للصفحة الديناميكية (RTL)
   ============================================== */
.premium-dynamic-page {
    background-color: #fbfbfb;
    padding: 90px 0;
    direction: rtl;
    text-align: right;
    position: relative;
}

.premium-dynamic-page .fas, .premium-dynamic-page .fa, .page-header .fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* ==============================================
   🌟 2. البنر العلوي المطور (تدرج سينمائي ثابت + لمعة منفصلة) 🌟
   ============================================== */
/* ==============================================
   🌟 1. التحكم في حجم البنر نفسه 🌟
   ============================================== */
.page-header {
    position: relative !important;
    padding: 0px 0 !important;       /* المساحة الداخلية من أعلى وأسفل */
    min-height: 60px !important;     /* 👈 غير الرقم ده براحتك للتحكم في ارتفاع البنر بالكامل */
    display: flex !important;
    align-items: center !important; 
    background-color: #000 !important; /* لون احتياطي قبل تحميل الصورة */
    overflow: hidden !important;
    border-bottom: 3px solid var(--primary-color) !important; 
}

.page-header__bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    animation: bannerZoomInOut 15s infinite alternate linear;
    z-index: 1;
    opacity: 1;
}
@keyframes bannerZoomInOut { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }
/* ==============================================
   🌟 2. إعدام كل طبقات الكتمة الخاصة بالقالب الأصلي 🌟
   ============================================== */
.page-header::after,
.page-header__bg::before,
.page-header__bg::after,
.page-header__inner::before,
.page-header__inner::after {
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}


/* ==============================================
   🌟 تنسيق مسار الصفحة (Breadcrumb) 🌟
   ============================================== */
.thm-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0; padding: 0; }
.thm-breadcrumb li { color: #ffffff; font-weight: 600; font-size: 18px; }
.thm-breadcrumb li a { color: #ffffff; transition: 0.3s; text-decoration: none; }
.thm-breadcrumb li a:hover { color: var(--primary-color); }
.thm-breadcrumb li:last-child { color: var(--primary-color) !important; font-weight: 900; font-size: 20px; margin-right: 5px; }
.thm-breadcrumb li .fas { color: rgba(255, 255, 255, 0.8); font-size: 16px; margin: 0 5px; }

/* ==============================================
   🌟 3. العنوان والبادج في منتصف جسم الصفحة (الأنيميشن الاحترافي) 🌟
   ============================================== */
.premium-sec-top { margin-bottom: 50px; position: relative; z-index: 2; text-align: center; }
.premium-badge { display: inline-flex; align-items: center; background: rgba(var(--primary-rgb), 0.1); color: var(--primary-color); padding: 8px 25px; border-radius: 30px; font-weight: 800; font-size: 14px; margin-bottom: 15px; border: 1px solid rgba(var(--primary-rgb), 0.2); }
.body-title-animated { color: var(--primary-color) !important; font-size: 32px; font-weight: 900; margin: 0 auto; display: inline-block; position: relative; animation: titleEntrance 1.5s ease-out forwards, softPulse 3s infinite 1.5s; }
@keyframes titleEntrance { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes softPulse { 0% { text-shadow: 0 0 0px rgba(var(--primary-rgb), 0); } 50% { text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4); } 100% { text-shadow: 0 0 0px rgba(var(--primary-rgb), 0); } }

/* ==============================================
   🌟 4. حاوية البلوكات ومربع المحتوى 🌟
   ============================================== */
.dynamic-blocks-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.dynamic-content-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    font-size: 16px;
    line-height: 2;
    color: #555;
    text-align: justify;
}

.dynamic-content-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}