/* --- توحيد ألوان الفوتر ومنع الأخطاء --- */
.pkp_structure_footer_wrapper {
    background: #ddd !important; /* الخلفية الرمادية للإطار */
    padding: 20px 0 !important;
}
.cmp_announcements h2 {
    color: #4e342e !important;
    border-right: 4px solid #c5a059;
    padding-right: 15px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* تنسيق بطاقة الإعلان الفردية */
.obj_announcement_summary {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    transition: 0.3s;
    background: #fcfaf9;
}

.obj_announcement_summary:hover {
    border-color: #c5a059;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.pkp_structure_footer {
    background: #2b1d1a !important; /* بني غامق موحد */
    max-width: 1200px !important;
    margin: 0 auto !important;
    border: none !important;
}

.custom-footer-wrapper {
    background: #2b1d1a !important;
    color: #f5f5dc !important;
    padding: 30px !important;
    direction: rtl !important;
    border-radius: 8px;
}

.footer-columns {
    display: flex !important;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    color: #ffffff !important;
    border-bottom: 2px solid #4e342e;
    padding-bottom: 10px;
}

/* إزالة النقاط السوداء (Bullets) */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li:before {
    content: none !important; /* يمنع ظهور أي نقطة افتراضية من القالب */
}
.pkp_structure_footer_wrapper{
background: #2b1d1a !important;
}

/* --- إصلاح الهيدر والقائمة (تحويل الأزرق إلى بني) --- */
.pkp_structure_head{
background:#3e2723 !important;
}
/* --- تصميم عصري وتقني للقائمة (Modern Glassmorphism) --- */

/* 1. الحاوية الرئيسية للقائمة */
.pkp_navigation_primary_wrapper {
    background: rgba(43, 29, 26, 0.95) !important; /* بني غامق جداً مع شفافية بسيطة */
    backdrop-filter: blur(10px); /* تأثير الزجاج المضبب */
    border-bottom: 2px solid #c5a059; /* خط ذهبي نحيف جداً */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    padding: 10px 0 !important;
    position: relative;
}

/* 2. تصميم الأزرار بشكل عصري (Floating Capsules) */
.pkp_navigation_primary > li > a {
    color: #f5f5dc !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 8px 22px !important;
    margin: 0 5px !important;
    border-radius: 50px !important; /* شكل كبسولة عصري */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid transparent;
}

/* 3. تأثير التوهج عند تمرير الماوس (Neon Glow Effect) */
.pkp_navigation_primary > li > a:hover {
    color: #ffffff !important;
    background: #6d4c41 !important; /* لون بني أفتح قليلاً */
    border: 1px solid #c5a059 !important;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); /* توهج ذهبي خفيف */
    transform: translateY(-3px); /* حركة صعود بسيطة */
}

/* 4. تمييز الرابط النشط (Active Link) */
.pkp_navigation_primary > li.active > a {
    background: #c5a059 !important;
    color: #2b1d1a !important;
    font-weight: bold !important;
}

/* 5. أيقونة البحث العصرية */
.pkp_navigation_search a {
    background: rgba(255,255,255,0.05);
    padding: 8px 15px !important;
    border-radius: 50px;
    color: #c5a059 !important;
    transition: 0.3s;
}

.pkp_navigation_search a:hover {
    background: #c5a059;
    color: #2b1d1a !important;
}

/* 6. تنسيق القوائم المنسدلة (Dropdowns) */
.pkp_navigation_primary li ul {
    border-radius: 15px !important;
    overflow: hidden;
    background: #2b1d1a !important;
    border: 1px solid #4e342e !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5) !important;
}

.pkp_navigation_primary li ul li a:hover {
    background-color: #6d4c41 !important;
    padding-right: 25px !important; /* حركة انزلاق للنص */
}/* إخفاء شعار OJS الافتراضي */
.pkp_brand_footer {
    display: none !important;
}
/* تنسيق قسم المقدمة في الصفحة الرئيسية */
.homepage-intro-card {
    padding: 30px;
    background: #ffffff;
    border-right: 6px solid #4e342e; /* الخط البني الجانبي */
    margin: 20px 0;
    direction: rtl;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.intro-heading {
    color: #4e342e !important;
    border-bottom: 2px solid #c5a059;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
}

.vision-box {
    background: #fcfaf9;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #eee;
}

.vision-box h3 {
    color: #6d4c41;
    margin-top: 0;
}

.intro-buttons {
    margin-top: 30px;
}

.intro-buttons a {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    transition: 0.3s;
}

.btn-primary {
    background: #4e342e;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #2b1d1a;
}

.btn-secondary {
    border: 2px solid #4e342e;
    color: #4e342e !important;
}

.btn-secondary:hover {
    background: #f5f5dc;
}