/* ======================================
   BIRAT JOURNAL OF HEALTH SCIENCES
   MEDICAL BLUE THEME ENHANCEMENT
====================================== */


/* ===== HEADER ENHANCEMENT ===== */

.pkp_structure_head {
    border-bottom: 3px solid #70bce9 !important;
    box-shadow: 0 3px 10px rgba(7,59,117,0.08);
}


/* ===== JOURNAL LOGO ===== */

.pkp_site_name img {
    max-height: 90px !important;
    width: auto !important;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(7,59,117,0.15);
}


/* ===== LOGIN AND REGISTER ===== */

.pkp_navigation_user > li > a {
    background-color: #073b75 !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-left: 5px !important;
}

.pkp_navigation_user > li > a:hover {
    background-color: #205f87 !important;
}


/* ===== MAIN NAVIGATION ===== */

.pkp_navigation_primary_wrapper {
    background: #205f87 !important;
    border-radius: 5px 5px 0 0 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 15px !important;
    transition: background 0.2s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: #073b75 !important;
    color: #ffffff !important;
}


/* ===== DROPDOWN MENU ===== */

.pkp_navigation_primary ul {
    background: #ffffff !important;
    border-top: 3px solid #70bce9 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    border-radius: 0 0 5px 5px;
}

.pkp_navigation_primary ul a {
    color: #073b75 !important;
    font-size: 13px !important;
}

.pkp_navigation_primary ul a:hover {
    background: #f0f7fc !important;
    color: #205f87 !important;
}


/* ===== SEARCH ===== */

.pkp_search_desktop,
.pkp_navigation_search_wrapper a {
    color: #ffffff !important;
}


/* ===== CUSTOM THEME FOOTER ===== */

.sp-theme .sp-footer {
    background: #073b75 !important;
    color: #ffffff !important;
    border-top: 4px solid #70bce9 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px !important;
    padding: 35px max(25px, calc((100% - 1150px) / 2)) !important;
    box-sizing: border-box !important;
}


/* ===== FOOTER COLUMNS ===== */

.sp-theme .sp-footer > div {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}


/* ===== FOOTER HEADINGS ===== */

.sp-theme .sp-footer h3,
.pkp_footer_content h3 {
    color: #a5ddff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    position: relative;
    margin: 0 0 18px !important;
    padding-bottom: 12px !important;
}


/* ===== HEADING ACCENT LINE ===== */

.sp-theme .sp-footer h3::after,
.pkp_footer_content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #70bce9;
}


/* ===== FOOTER LINKS ===== */

.sp-theme .sp-footer a {
    display: block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
}

.sp-theme .sp-footer a::before {
    content: "\203A";
    color: #70bce9;
    margin-right: 8px;
}

.sp-theme .sp-footer a:hover,
.pkp_footer_content a:hover {
    color: #a5ddff !important;
    text-decoration: underline !important;
}


/* ===== DEFAULT OJS FOOTER ===== */

.pkp_structure_footer_wrapper {
    background: #052c56 !important;
    padding: 0 !important;
}

.pkp_structure_footer {
    background: transparent !important;
    color: #ffffff !important;
    padding: 12px 25px !important;
    min-height: 0 !important;
    height: auto !important;
}

.pkp_footer_content {
    color: #ffffff !important;
}

.pkp_footer_content a {
    color: #ffffff !important;
}


/* ===== OJS / PKP BRANDING ===== */

.pkp_brand_footer {
    margin: 0 !important;
    padding: 5px !important;
}

.pkp_brand_footer img {
    width: 80px !important;
    max-width: 80px !important;
    height: auto !important;
    filter: brightness(0) invert(1);
}


/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 767px) {

    .pkp_site_name img {
        max-height: 65px !important;
    }

    .pkp_navigation_primary > li > a {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .sp-theme .sp-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 25px 18px !important;
        gap: 25px 15px !important;
    }

    .sp-theme .sp-footer h3 {
        font-size: 12px !important;
    }

    .sp-theme .sp-footer a {
        font-size: 13px !important;
    }
}

@media (max-width: 320px) {

    .sp-theme .sp-footer {
        grid-template-columns: 1fr !important;
    }
}