/* =====================================
   القائمة الرئيسية
===================================== */
/* site  Margins */
.MsNormal,
.MsListParagraph,
.MsNormal *,
.MsListParagraph * {
    font-family: Simplified Arabic, Helvetica, sans-serif !important;
}

body {
    background: #f5f5f5;
}

.pkp_structure_page {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    margin-top:0px;
}
.footer-ojs img,
.ojs-footer-logo {
    margin-top:50px;
    width: 140px !important;
    height: auto !important;
    max-width: 140px !important;
}
/*Add Logo */
.pkp_site_name_wrapper {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.pkp_site_name {
    display: inline-block;
    float: none !important;
}


/* End logo*/


.pkp_site_name .is_text {
    display: none !important;
}
/* مسافة بين عناصر القائمة */
.pkp_site_nav_menu ul li {
    margin-right: 20px !important;
}

/* مسافة داخل الروابط وتعديل لون نصوص الروابط للأسود الداكن */
.pkp_site_nav_menu ul li a {
    padding-right: 5px !important;
    padding-left: 5px !important;
    color: black !important; /* لون أسود داكن واضح فوق الخلفية الصفراء */
    font-weight: bold !important;
}

/* لون الرابط عند تمرير الماوس */
.pkp_site_nav_menu ul li a:hover {
    color: white !important; /* يتحول للأزرق الداكن التفاعلي */
    background-color:#cca464;
}
.homepage-image img,
.pkp_page_index .cmp_announcements img,
.page_index_journal img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}
/* =====================================
   الفوتر الرئيسي
===================================== */
/* إزالة تنسيق OJS الافتراضي للفوتر */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
     background: #cca464 !important;
}

/* الفوتر الرئيسي */
.tuahj-footer {
    background: #cca464 !important;
    color: #fff;

    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;

    padding: 50px 80px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 22px;
}

.footer-col p,
.footer-col li {
    line-height: 1.9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

/* شريط الحقوق */
.footer-bottom {
    background: #00263d;
    color: #fff;
    text-align: center;
    padding: 15px;
    width: 100%;
}



/* =====================================
   البنر المستقر وألوان شريط القوائم المحدثة
   ===================================== */

/* البنر */
.pkp_structure_head {
    background-image: url('https://tuahj.org/images/tuahjbanner.jpeg') !important;
    background-size: cover auto !important;
   
    background-position: center top !important;
    background-repeat: no-repeat !important;
    min-height: 320px !important;
   
}

/* منطقة الشعار والعنوان */
.pkp_site_name_wrapper {
    min-height: 220px;
    display: flex;
    align-items: center;
}

/* 1. شريط القوائم كاملاً - جعل الخلفية الكبرى صفراء ممتدة */
.pkp_navigation_primary_wrapper {
    position: relative;
    margin-top: 0;
    clear: both;
    background-color: #cca464 !important; /* اللون الأصفر الذهبي */
    padding: 8px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
}

/* 2. استهداف الكلاسات السرية لزر وحاوية البحث في قالب OJS لإجبارها على اللون الأصفر والامتداد */
.pkp_search_wrapper,
.pkp_search_wrapper .search_toggle,
.pkp_search_wrapper .search_toggle::before,
.pkp_search_wrapper .search_toggle::after,
.pkp_navigation_primary_row,
#pkp_search_inputs {
    background-color: #cca464 !important;
    background: #cca464 !important;
    border-color: #cca464 !important;
    box-shadow: none !important;
    /*border-top-right-radius:500px;
    border-top-left-radius:500px;*/
}

/* إزالة الخط أو التنسيق الأزرق الفاصل بين القائمة والبحث */
.pkp_navigation_primary_wrapper ::before,
.pkp_navigation_primary_wrapper ::after {
    border-color: #cca464 !important;
    background-color: #cca464 !important;
}

/* 3. تأكيد لون نص وأيقونة زر "ابحث" لتكون سوداء داكنة وواضحة جداً فوق الأصفر */
.pkp_search_wrapper .search_toggle,
.pkp_search_wrapper .search_toggle *,
.pkp_navigation_primary_wrapper button {
    color: #1a1a1a !important; 
    font-weight: bold !important;
}

li.profile > a[href*="login"],
li.profile > a[href*="register"] {
    margin-top:10px;
    background: #c8a165 !important;
    color: #1a1a1a !important;
    padding: 8px 18px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
/*تغيير لون الحاوية */
.pkp_site_nav_menu {
    background: black !important;
}
/* الغاء الهوامش بجانب القائمة الرئيسية*/
.pkp_site_nav_menu {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
/* الهواتف */
@media (max-width: 768px) {
    .tuahj-footer {
        flex-direction: column;
        padding: 30px;
    }
    
   .pkp_site_nav_toggle {
        display: block !important;
        width: 40px !important;
        height: 40px !important;
        background: #cca464 !important;
        position: fixed !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 99999 !important;
        border-radius:50%;
    }

    .pkp_site_nav_toggle::after {
       
        color: #fff !important;
        font-size: 20px !important;
        line-height: 40px !important;
        display: block !important;
        text-align: center !important;
        font-family:arial;
    }
    
   .pkp_structure_head {
        min-height: 120px !important;
        height: 120px !important;
        background-size: 100% !important;
        background-position: center top !important;
    }

    .pkp_site_name_wrapper {
        min-height: 120px !important;
        height: 120px !important;
    }
    
   
}





