/* ==========================================
   الستايلات المشتركة والهيرو سيكشن
========================================== */
.page-header { 
    position: relative; 
    height: 350px; 
    width: 100%; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    padding-top: 80px; 
}

.page-header::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.6); 
}

.page-header-content { 
    position: relative; 
    z-index: 2; 
}

.breadcrumb { 
    background: transparent; 
    padding: 0; 
    justify-content: center; 
    margin-bottom: 0; 
}

.breadcrumb-item a { 
    color: #ccc; 
    text-decoration: none; 
    transition: 0.3s; 
}

.breadcrumb-item a:hover { 
    color: #fff; 
}

.breadcrumb-item.active { 
    color: #fff; 
}

.breadcrumb-item+.breadcrumb-item::before { 
    color: #ccc; 
}

/* ==========================================
   ستايلات المحتوى والـ Sidebar
========================================== */
.sidebar-widget { 
    background: #fff; 
    padding: 20px; 
    border-radius: 12px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.03); 
    margin-bottom: 25px; 
    border: 1px solid #eee; 
}

.widget-title { 
    font-weight: 700; 
    margin-bottom: 20px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid #f1f1f1; 
    position: relative; 
}

.widget-title::after { 
    content: ''; 
    position: absolute; 
    bottom: -2px; 
    right: 0; 
    width: 50px; 
    height: 2px; 
    background: var(--bs-primary); 
}

.legal-content { 
    background: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.03); 
    border: 1px solid #eee; 
    line-height: 1.8; 
    color: #555; 
}

/* تم دمج دعم الألوان المتغيرة والقوائم النقطية لتناسب الصفحتين */
.legal-content h3 { 
    color: var(--dark-color, #333); 
    font-weight: 700; 
    margin-top: 30px; 
    margin-bottom: 15px; 
    font-size: 1.5rem; 
    border-bottom: 1px dashed #eee; 
    padding-bottom: 10px; 
}

.legal-content h3:first-child { 
    margin-top: 0; 
}

.legal-content ul, 
.legal-content ol { 
    margin-bottom: 20px; 
}

.toc-list li { 
    margin-bottom: 10px; 
}

.toc-list a { 
    color: #555; 
    text-decoration: none; 
    transition: 0.3s; 
    display: block; 
    padding: 5px 0; 
}

.toc-list a:hover { 
    color: var(--bs-primary); 
    transform: translateX(-5px); 
}

html[dir="ltr"] .toc-list a:hover { 
    transform: translateX(5px); 
}

.toc-list i { 
    font-size: 0.8rem; 
    color: var(--bs-primary); 
    margin-left: 8px; 
}

html[dir="ltr"] .toc-list i { 
    margin-left: 0; 
    margin-right: 8px; 
    transform: rotate(180deg); 
}