/* ==========================================================
   HENSARD JOURNAL - COMPLETE OJS CUSTOM CSS
   ========================================================== */

/* ==========================================================
   1. HEADER WITH TWO LOGOS
   ========================================================== */

header.pkp_structure_head {
    background: #ffffff !important;
    border-top: 6px solid #0b3d91 !important;
    border-bottom: 1px solid #dfe7f2 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
    padding: 22px 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
    min-height: 150px !important;
}

/* HU logo */
header.pkp_structure_head::before {
    content: "";
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: url("https://hensardjournals.com/HJHPD_HTML/assets/HU.png") center/contain no-repeat;
}

/* HJHPD logo */
header.pkp_structure_head::after {
    content: "";
    width: 145px;
    height: 90px;
    flex-shrink: 0;
    background: url("https://hensardjournals.com/HJHPD_HTML/assets/hjhpd-logo.png") center/contain no-repeat;
}

/* Journal title container */
.pkp_site_name {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Show OJS title */
.pkp_site_name a,
.pkp_site_name h1 {
    display: block !important;
    visibility: visible !important;
    text-decoration: none !important;
    color: #102033 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Subtitle under title */
.pkp_site_name a::after {
    content: "Hensard University, Bayelsa, Nigeria\A Online ISSN: 3121-7605 | Print ISSN: 3121-7591";
    white-space: pre-line;
    display: block;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #56657a;
}

/* Hide uploaded default logo if OJS displays one inside title */
.pkp_site_name img {
    display: none !important;
}


/* ==========================================================
   2. NAVIGATION BAR
   ========================================================== */

.pkp_navigation_primary_wrapper {
    background: #044C58 !important;
    border: none !important;
}

.pkp_navigation_primary a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.pkp_navigation_primary a:hover {
    color: #d9f3ff !important;
    background: rgba(255,255,255,.08) !important;
}


/* ==========================================================
   3. PAGE BACKGROUND
   ========================================================== */

body.page_index,
body.pkp_page_index_journal {
    background: #fff9e6 !important;
}


/* ==========================================================
   4. REMOVE HOMEPAGE SLIDER / ANNOUNCEMENT CAROUSEL
   ========================================================== */

.cmp_announcements,
.cmp_announcements_highlight,
.pkp_page_index_journal .cmp_announcements,
.page_index_journal .cmp_announcements,
.pkp_page_index_journal .cmp_announcements_highlight,
.page_index_journal .cmp_announcements_highlight,
.pkp_page_index_journal .slick-slider,
.page_index_journal .slick-slider,
.pkp_page_index_journal .slick-list,
.page_index_journal .slick-list,
.pkp_page_index_journal .slick-track,
.page_index_journal .slick-track,
.slick-prev,
.slick-next,
.slick-dots {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================
   5. HOMEPAGE ADDITIONAL CONTENT
   ========================================================== */

.page_index_journal .page {
    display: flex !important;
    flex-direction: column !important;
}

.page_index_journal .additional_content {
    order: -999 !important;
    width: 100%;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.page_index_journal .current_issue {
    order: 2;
}


/* ==========================================================
   6. CURRENT ISSUE BOX
   ========================================================== */

.current_issue {
    background: #ffffff;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    margin-top: 10px;
}


/* ==========================================================
   7. SUBMISSION BUTTON
   ========================================================== */

.submit-btn {
    text-align: center;
    margin: 10px 0 35px;
}

.submit-btn a {
    background: #0b3d91;
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all .3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.submit-btn a:hover {
    background: #082b68;
    transform: translateY(-2px);
}


/* ==========================================================
   8. SIDEBAR BLOCKS
   ========================================================== */

.pkp_block {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.pkp_block .title {
    color: #003366;
    font-weight: bold;
    margin-bottom: 10px;
}


/* ==========================================================
   9. ABOUT / ADDITIONAL CONTENT TEXT
   ========================================================== */

.additional_content h2,
.additional_content h3,
.additional_content h4 {
    color: #003366;
    margin-top: 25px;
}

.additional_content p,
.additional_content li {
    line-height: 1.7;
    color: #333333;
    font-size: 15px;
}

.additional_content a {
    color: #006798;
    text-decoration: none;
}

.additional_content a:hover {
    text-decoration: underline;
}


/* ==========================================================
   10. ARTICLE TITLES
   ========================================================== */

.obj_article_summary .title a {
    color: #005b8f;
    font-weight: bold;
}

.obj_article_summary .title a:hover {
    color: #003f63;
}


/* ==========================================================
   11. GALLEY / PDF BUTTONS
   ========================================================== */

.galleys_links a {
    background: #0b3d91;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
}

.galleys_links a:hover {
    background: #082b68;
}


/* ==========================================================
   12. FOOTER
   ========================================================== */

.pkp_structure_footer_wrapper {
    background: #044C58 !important;
    color: #ffffff !important;
    padding: 20px;
}

.pkp_structure_footer_wrapper a {
    color: #d9f3ff !important;
}


/* ==========================================================
   13. MOBILE RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    header.pkp_structure_head {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 20px !important;
        min-height: auto !important;
    }

    header.pkp_structure_head::before {
        width: 80px;
        height: 80px;
    }

    header.pkp_structure_head::after {
        width: 110px;
        height: 70px;
    }

    .pkp_site_name a,
    .pkp_site_name h1 {
        font-size: 24px !important;
    }

    .pkp_site_name a::after {
        font-size: 13px !important;
        line-height: 1.4;
    }

    .pkp_navigation_primary {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        background: #044C58 !important;
        padding-bottom: 10px;
    }

    .pkp_navigation_primary a {
        display: block !important;
        padding: 10px 20px;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .submit-btn a {
        width: 90%;
        font-size: 16px;
        padding: 14px 18px;
    }

    .page_index_journal .additional_content,
    .current_issue {
        padding: 15px;
    }

    .pkp_block {
        margin-top: 15px;
    }
}