/* ============================================================
   Presidency University Journal (PUJ) — Custom Stylesheet
   Theme: Manuscript (Default child theme)
   Contains:
     1. Header banner image (full header) with nav strip
     2. Footer logo alignment (PU left / OJS-PKP right, to edges)
     3. Justified body text + uniform line spacing (all pages)
   Upload via: Settings > Website > Appearance > Setup >
               Custom Stylesheet
   ============================================================ */


/* ------------------------------------------------------------
   1. HEADER BANNER + NAV STRIP AT BOTTOM
   ------------------------------------------------------------ */
.pkp_structure_head#headerNavigationContainer {
    background-image: url('https://puj.pu.edu.bd/public/journals/1/homepageImage_en_US.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.pkp_structure_head#headerNavigationContainer .pkp_head_wrapper {
    flex: 1 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.pkp_structure_head#headerNavigationContainer .pkp_site_nav_menu {
    margin-top: auto !important;
    background: rgba(255, 255, 255, 0.90) !important;
}

.pkp_structure_head#headerNavigationContainer .pkp_site_name a,
.pkp_structure_head#headerNavigationContainer .pkp_site_name {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
}

.pkp_structure_content .homepage_image { display: none; }


/* ------------------------------------------------------------
   2. FOOTER LOGO ALIGNMENT
   The PU logo sits inside .pkp_footer_content > p > a > img.
   The <p> and blocks carry margins that indent the logo, so we
   zero them and force both blocks flush. PU left, OJS/PKP right,
   vertically centered.
   ------------------------------------------------------------ */
.pkp_structure_footer_wrapper {
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pkp_structure_footer {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;    /* set to 0 for fully flush */
    padding-right: 0 !important;
}

/* Kill margins/padding on the blocks and the <p> inside them so
   the logos hug the edges instead of floating inward */
.pkp_structure_footer .pkp_footer_content,
.pkp_structure_footer .pkp_brand_footer {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    max-width: none !important;
}

.pkp_structure_footer .pkp_footer_content p,
.pkp_structure_footer .pkp_footer_content a {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

.pkp_structure_footer .pkp_footer_content img {
    margin: 0 !important;
    vertical-align: middle !important;
    display: block !important;
}


/* ------------------------------------------------------------
   3. JUSTIFIED BODY TEXT + UNIFORM LINE SPACING
   ------------------------------------------------------------ */
.pkp_structure_content p,
.pkp_structure_content li,
.pkp_structure_content .value,
.pkp_structure_content .value p,
.pkp_structure_content .item.author_bio .value,
.pkp_structure_content .article_biography,
.pkp_structure_content .abstract,
.pkp_structure_content .description,
.pkp_structure_content .about_content,
.pkp_page_about .pkp_structure_content,
.pkp_structure_content .userGroup {
    text-align: justify;
    line-height: 1.7;
}

.pkp_structure_content li {
    margin-bottom: 0.4rem;
}

/* Optional hyphenation — uncomment to enable.
.pkp_structure_content p,
.pkp_structure_content li,
.pkp_structure_content .value {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
*/
