/* ==============================================
   1. الإعدادات الأساسية لصفحات السياسات (RTL)
   ============================================== */
.premium-legal-page {
    background-color: #fbfbfb;
    padding: 80px 0;
    direction: rtl;
    text-align: right;
}

.premium-legal-page .fas, .premium-legal-page .fa, .page-header .fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.premium-title-reveal { display: inline-block; overflow: hidden; vertical-align: top; }
.premium-title-reveal span { 
    display: inline-block; transform: translateY(100%); opacity: 0; 
    animation: slideUpReveal 1.2s cubic-bezier(0.25, 1, 0.2, 1) forwards; 
    animation-delay: 0.2s; color: #ffffff; font-weight: 900;
    text-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}
@keyframes slideUpReveal { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* ==============================================
   🌟 تنسيق مسار الصفحة (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: 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. صندوق محتوى السياسة القانونية 🌟
   ============================================== */
.legal-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;
}

.legal-content-box h1, 
.legal-content-box h2, 
.legal-content-box h3, 
.legal-content-box h4 {
    color: #1a1a1a;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: 'Tajawal', sans-serif;
}

.legal-content-box p {
    margin-bottom: 20px;
}

.legal-content-box ul, 
.legal-content-box ol {
    padding-right: 25px;
    margin-bottom: 20px;
}

.legal-content-box li {
    margin-bottom: 10px;
    position: relative;
}