/* 1. Remove OJS Brand Footer */
.pkp_brand_footer {
    display: none !important;
}

/* 2. Hide text layers */
.pkp_site_name .is_text, 
h1.site-name, 
.journal-logo + .site-name,
.pkp_site_name_wrapper h1 {
    display: none !important;
}

/* 3. Blow open the theme's structural header wrapper to accept a larger height */
header.pkp_structure_head {
    height: auto !important;
    min-height: 220px !important; /* Forces the header block to be tall enough */
    max-height: none !important;
    display: block !important;
    position: relative !important;
}

/* 4. Ensure the inner container expands fully */
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_name,
.pkp_site_name a {
    height: auto !important;
    min-height: 180px !important;
    max-height: none !important;
    display: block !important;
}

/* 5. Cleanly size the banner image within the newly opened space */
header.pkp_structure_head img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 180px !important; 
    display: block !important;
    margin: 10px auto !important;
    object-fit: contain !important;
}