/* =====================================================
   GENERAL CLEANUP
===================================================== */

/* Hide PKP footer branding */
.pkp_structure_footer .pkp_brand_footer {
    display: none !important;
}

/* Hide current issue block */
.current_issue {
    display: none !important;
}

/* =========================================
   1. MAIN CONTAINER (LOGO + TEXT)
========================================= */
.pkp_site_name_wrapper {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    column-gap: 24px !important;
    padding: 22px 0 14px 0 !important;
    text-decoration: none !important;
}

/* =========================================
   2. LOGO STYLING
========================================= */
.pkp_site_name_wrapper .pkp_site_logo,
.pkp_site_name_wrapper a.is_img {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
}

.pkp_site_name_wrapper img {
    max-height: 90px !important;
    width: auto !important;
   background: #ffffff;
    padding: 6px;
    border-radius:21px;
    margin-top: -45px !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    display: block !important;
}

/* =========================================
   3. TEXT RESET (TITLE + SUBTITLE)
========================================= */
.pkp_site_name_wrapper::before,
.pkp_site_name_wrapper::after {
    grid-column: 2 !important;
    font-family: "Georgia", "Times New Roman", serif;
    color: #ffffff !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* =========================================
   4. MAIN TITLE (NO GAP ABOVE OR BELOW)
========================================= */
.pkp_site_name_wrapper::before {
    content: "International Journal of Interdisciplinary Medical Sciences (IJIMS)";
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1 !important;          /* 🔑 Removes hidden gap */
}

/* =========================================
   5. SUBTITLE (TIGHT SECOND LINE)
========================================= */
.pkp_site_name_wrapper::after {
    content: "Peer-Reviewed | Open-Access | Bimonthly | English";
    font-size: 18px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    line-height: 1 !important;          /* 🔑 Removes font spacing */
    margin-top: -25px !important;        /* 🔥 Final gap remover */
    opacity: 0.95;
}

/* =========================================
   6. TABLET RESPONSIVE
========================================= */
@media screen and (max-width: 1100px) {
    .pkp_site_name_wrapper::before {
        font-size: 24px !important;
    }

    .pkp_site_name_wrapper::after {
        font-size: 16px !important;
        margin-top: -1px !important;
    }

    .pkp_site_name_wrapper img {
        max-height: 75px !important;
    }
}

/* =========================================
   7. MOBILE RESPONSIVE
========================================= */
@media screen and (max-width: 767px) {
    .pkp_site_name_wrapper {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        row-gap: 6px !important;
    }

    .pkp_site_name_wrapper::before,
    .pkp_site_name_wrapper::after {
        grid-column: 1 !important;
        text-align: center !important;
    }

    .pkp_site_name_wrapper::before {
        font-size: 20px !important;
        line-height: 1.05 !important;
    }

    .pkp_site_name_wrapper::after {
        font-size: 14px !important;
        line-height: 1.05 !important;
        margin-top: -1px !important;
    }

    .pkp_site_name_wrapper img {
        max-height: 65px !important;
    }
}
