/* OJS Style Sheet - Majalla Al-Qalam Al-Munir */

:root {
    --primary-gold: #c5a059;
    --dark-gold: #8e6d2f;
    --deep-red: #8b0000;
    --navy-blue: #001f3f;
    --soft-white: #f8f9fa;
    --black-accent: #1a1a1a;
}
/* توحيد لون منطقة البحث مع القائمة */
.pkp_structure_head .pkp_search_desktop {
    background: transparent !important; /* إزالة أي خلفية بيضاء أو مختلفة */
    border: none !important;
}

/* تنسيق زر البحث ليتطابق مع تأثير الـ 3D */
.pkp_navigation_primary .pkp_search .search_controls {
    background: transparent !important;
    color: #c5a059 !important; /* اللون الذهبي */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 40px !important; /* موازاة مع ارتفاع القائمة الجديد */
    border: none !important;
    padding: 0 15px !important;
    cursor: pointer;
    transition: 0.3s;
}

/* تأثير عند تمرير الماوس على البحث */
.pkp_navigation_primary .pkp_search .search_controls:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* إذا كان حقل البحث يظهر كـ "Toggle" أو منبثق، نضمن تناسقه */
.pkp_search_desktop .search_controls::before {
    color: #c5a059 !important;
}

/* تعديل حاوية البحث لتختفي الحواف الافتراضية */
.pkp_navigation_primary .pkp_search {
    margin: 0 !important;
    padding: 0 !important;
}
.pkp_navigation_primary_wrapper {
    background: linear-gradient(180deg, #2c2c2c 0%, #1e1e1e 100%) !important; /* تدرج لوني يعطي عمق */
    border-top: 1px solid #444;
    border-bottom: 3px solid var(--primary-gold); /* خط ذهبي سفلي لربطها بالهوية */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1); /* ظل خارجي وداخلي للتأثير الـ 3D */
}

/* تنسيق أزرار القائمة */
.pkp_navigation_primary li a {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* بروز للنص */
    padding: 15px 20px !important;
    transition: all 0.3s ease;
}

/* تأثير عند مرور الماوس (Hover) لتعزيز الشكل الثلاثي */
.pkp_navigation_primary li a:hover {
    background: rgba(197, 160, 89, 0.2) !important; /* لمعة ذهبية خفيفة */
    color: var(--primary-gold) !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* تأثير ضغط للداخل عند اللمس */
}

/* تنسيق زر البحث ليكون متناسقاً */
.pkp_navigation_primary .pkp_search .search_controls {
    color: var(--primary-gold) !important;
}

/* تعديل الهيدر العلوي ليتناسب مع القائمة الجديدة */
.pkp_structure_head {
    background-color: #001f3f !important; /* الكحلي الداكن الموجود بالصورة */
    padding-bottom: 0 !important;
}
/* 1. إخفاء الشعار من الفوتر تماماً */
.pkp_structure_footer .pkp_footer_content .img, 
.pkp_structure_footer img,
.footer-logo {
    display: none !important;
}

/* 2. تنسيق الهيدر (رأس الصفحة) */
.pkp_structure_head {
    background-color: var(--navy-blue) !important;
    border-bottom: 4px solid var(--primary-gold);
}

/* 3. شريط التنقل العلوي */
.pkp_navigation_primary li a {
    color: var(--primary-gold) !important;
    font-weight: bold;
}

.pkp_navigation_primary li a:hover {
    color: white !important;
    background-color: var(--dark-gold) !important;
}

/* 4. الأزرار (إرسال المقالات، الدخول) */
.pkp_button, .pkp_button_primary {
    background-color: var(--deep-red) !important;
    border: 1px solid var(--primary-gold) !important;
    color: white !important;
}

/* 5. الكتل الجانبية (Sidebar) */
.pkp_block .title {
    background-color: var(--deep-red);
    color: var(--primary-gold);
    border-right: 4px solid var(--primary-gold); /* لمسة جمالية للغة العربية */
    padding: 8px 12px;
}

/* 6. الفوتر (تنسيق النص فقط) */
.pkp_structure_footer {
    background-color: var(--black-accent) !important;
    color: var(--primary-gold) !important;
    border-top: 3px solid var(--dark-gold);
    text-align: center;
}

/* 7. تحسين مظهر الخطوط العربية */
body {
    line-height: 1.8;
}
/* تنسيق الفوتر المستوحى من الصورة مع ألوان القلم المنير */
.pkp_structure_footer_wrapper{
background-color: #1e1e1e !important;
}
.pkp_structure_footer {
    background-color: #1e1e1e !important; /* لون رمادي غامق جداً كالصورة */
    padding: 50px 0 20px 0 !important;
    border-top: none !important;
}

.custom-footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: right;
}

.footer-column {
    flex: 1;
    min-width: 300px;
}

/* تنسيق العنوان مع الخط الجانبي كالصورة */
.footer-title {
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

/* الخط العمودي بجانب العنوان */
.footer-title::after {
    content: "";
    position: absolute;
    right: 0;
    height: 100%;
    width: 5px;
    background-color: #c5a059; /* ذهبي - ليتماشى مع شعاركم */
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #b0b0b0 !important;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    border-bottom: 1px dashed #444;
    padding-bottom: 5px;
    display: inline-block;
    width: 80%;
}

.footer-links li a:hover {
    color: #c5a059 !important;
    border-bottom-color: #8b0000; /* أحمر عنابي عند التمرير */
}

.footer-text {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-location {
    color: #8e6d2f; /* ذهبي داكن للموقع */
    font-size: 0.85rem;
    margin-top: 20px;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.8rem;
}

/* شريط أزرق سفلي كالصورة */
.pkp_structure_footer::after {
    content: "";
    display: block;
    height: 10px;
    background-color: #0056b3; /* الأزرق الموجود بالصورة */
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}