/* 1. Main Header Container Background & Padding */
header.pkp_structure_head {
    background-color: #7A0014 !important; /* UNILAG Maroon */
    padding: 60px 40px 20px 40px !important;
    position: relative;
    box-sizing: border-box;
}

/* 2. Journal Title Styling */
header.pkp_structure_head .pkp_site_title_wrapper {
    margin-bottom: 25px !important;
}

header.pkp_structure_head .pkp_site_title {
    color: #ffffff !important;
    font-family: 'Georgia', 'Times New Roman', serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

header.pkp_structure_head .pkp_site_title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 3. Navigation Layout Alignment (Bottom Left) */
header.pkp_structure_head .pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 20px !important;
}

/* Navigation Links */
header.pkp_structure_head ul.pkp_navigation_primary > li > a,
header.pkp_structure_head ul.pkp_navigation_user > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Segoe UI', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 5px 12px !important;
    text-transform: capitalize !important;
}

header.pkp_structure_head ul.pkp_navigation_primary > li > a:hover,
header.pkp_structure_head ul.pkp_navigation_user > li > a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* 4. Search Bar Styling & Alignment (Bottom Right) */
header.pkp_structure_head .pkp_search {
    position: absolute !important;
    bottom: 15px !important;
    right: 40px !important;
    margin: 0 !important;
}

header.pkp_structure_head .pkp_search input[type="text"] {
    background-color: #ffffff !important;
    color: #555555 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 40px 12px 16px !important; /* Wide padding for layout matching header.PNG */
    font-size: 14px !important;
    width: 280px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Placeholder adjustments */
header.pkp_structure_head .pkp_search input::placeholder {
    color: #888888 !important;
}

/* Search Button Icon positioning over the white background */
header.pkp_structure_head .pkp_search button[type="submit"] {
    color: #555555 !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
}

/* Responsiveness: Adjust layout on smaller mobile viewports */
@media (max-width: 768px) {
    header.pkp_structure_head {
        padding: 30px 20px 80px 20px !important;
    }
    header.pkp_structure_head .pkp_search {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 20px !important;
        width: 100% !important;
    }
    header.pkp_structure_head .pkp_search input[type="text"] {
        width: 100% !important;
    }
}

/* Colors ONLY the structural footer wrapper area, leaving the main body alone */
.pkp_structure_footer_wrapper,
header.pkp_structure_footer,
footer.pkp_structure_footer {
    background-color: #0d0907 !important;
    background: #0d0907 !important;
    border: none !important;
}