/* =====================================
   OJS RESPONSIVE HEADER AND BANNER
   ===================================== */

.pkp_structure_head {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.pkp_head_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.pkp_site_name a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* =====================================
   MOBILE RESPONSIVENESS
   ===================================== */

@media screen and (max-width: 768px) {

    .pkp_structure_head,
    .pkp_head_wrapper,
    .pkp_site_name_wrapper {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .pkp_site_name {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        float: none !important;
        clear: both !important;
    }

    .pkp_site_name a {
        display: block !important;
        width: 100% !important;
    }

    .pkp_site_name img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .pkp_structure_content {
        clear: both !important;
        position: relative !important;
        margin-top: 0 !important;
    }

    .pkp_structure_main {
        clear: both !important;
    }
}


/* ==========================================
   DESKTOP NAVIGATION IMPROVEMENT
   ========================================== */

@media screen and (min-width: 769px) {

    .pkp_navigation_primary {
        width: 100% !important;
        max-width: 100% !important;
    }

    .pkp_navigation_primary ul {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px 12px !important;
    }

    .pkp_navigation_primary ul li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .pkp_navigation_primary ul li a {
        font-size: 14px !important;
        padding: 12px 7px !important;
        white-space: nowrap !important;
    }
}


/* ==========================================
   FOOTER BACKGROUND — MATCH HEADER
   ========================================== */

.pkp_structure_footer,
.pkp_structure_footer_wrapper {
    background-color: #21658F !important;
    color: #ffffff !important;
}

/* Footer text and links */
.pkp_structure_footer a,
.pkp_structure_footer_wrapper a {
    color: #ffffff !important;
}

/* Footer hover effect */
.pkp_structure_footer a:hover,
.pkp_structure_footer_wrapper a:hover {
    color: #FFD000 !important;
}

/* Footer border */
.pkp_structure_footer {
    border-top: 1px solid rgba(255,255,255,0.25) !important;
}



/* =====================================
   FOOTER COPYRIGHT AND DEVELOPER CREDIT
   ===================================== */

/* FIRST: COPYRIGHT NOTICE */
.pkp_structure_footer::before {
    content: "Copyright © 2026. Department of Computer Engineering, Faculty of Engineering, Nnamdi Azikiwe University, PMB 5025, Awka, Nigeria.";
    display: block;
    width: 100%;
    text-align: center;
    color: #ffffff !important;
    font-size: 14px;
    padding: 15px 10px 8px;
    box-sizing: border-box;
}

/* SECOND: POWERED BY MYRASOFT SYSTEMS */
.pkp_structure_footer::after {
    content: "Site powered by Myrasoft Systems";
    display: block;
    width: 100%;
    text-align: center;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px 15px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,0.25);
}

/* MOBILE RESPONSIVENESS */
@media screen and (max-width: 600px) {
    .pkp_structure_footer::before,
    .pkp_structure_footer::after {
        font-size: 12px;
        line-height: 1.6;
        padding-left: 15px;
        padding-right: 15px;
    }
}


.department-sidebar {
    background: #f5f8fb;
    border: 1px solid #d9e2ea;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.department-sidebar h3 {
    background: #21658F;
    color: #ffffff;
    padding: 10px;
    margin: 0 0 12px;
    font-size: 16px;
    border-radius: 3px;
}

.department-sidebar ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.department-sidebar ul li {
    border-bottom: 1px solid #dce4eb;
}

.department-sidebar ul li a {
    display: block;
    padding: 10px 8px;
    color: #21658F;
    text-decoration: none;
    font-weight: 500;
}

.department-sidebar ul li a:hover {
    background: #e5edf4;
    color: #174967;
    padding-left: 13px;
}

.department-sidebar p {
    line-height: 1.7;
    overflow-wrap: anywhere;
}
