/* ============================================
   The South Asianist — OJS Header Fix v5
   ============================================ */

/* Remove checkered/patterned background from logo container */
.pkp_site_name,
.pkp_site_name_wrapper,
.pkp_site_name a,
.pkp_site_name a.is_img,
.pkp_site_name .is_img,
.pkp_head_wrapper {
    background-image: none !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Clean white header */
.pkp_structure_head {
    background-image: none !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name_wrapper {
    background: #ffffff !important;
    padding: 16px 20px !important;
    min-height: unset !important;
}

/* Logo image */
.pkp_site_name .is_img img,
.pkp_site_name a.is_img img,
.pkp_site_name img {
    max-height: 120px !important;
    max-width: 500px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #ffffff !important;
    /* In case OJS uses this as a background image on the element itself */
    background-image: none !important;
}

/* Ensure the anchor wrapping the logo is not hidden */
.pkp_site_name a,
.pkp_site_name a.is_img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #ffffff !important;
    background-image: none !important;
    line-height: 0 !important;
}

/* Navigation bar */
.pkp_navigation_primary {
    background-color: #ffffff !important;
    border-top: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* Nav link colours — red to match logo */
.pkp_navigation_primary a {
    color: #c0392b !important;
}

.pkp_navigation_primary a:hover {
    color: #922b21 !important;
    text-decoration: underline !important;
}
