/* =========================================================
   IJSMIT — Professional OJS Header Style
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,700&family=Inter:wght@400;500;600&display=swap');

/* =========================================================
   GLOBAL HEADER
   ========================================================= */

.pkp_structure_head {
    background: #ffffff !important;
    padding: 22px 50px !important;
    border-bottom: 1px solid #e5e5e5 !important;
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
}

/* =========================================================
   HEADER CONTAINER
   ========================================================= */

.pkp_site_name_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 35px !important;

    max-width: 1450px !important;
    margin: 0 auto !important;

    height: auto !important;
    min-height: auto !important;
}

/* =========================================================
   JOURNAL BLOCK
   ========================================================= */

.pkp_site_name {
    display: grid !important;

    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;

    column-gap: 22px !important;
    row-gap: 4px !important;

    align-items: center !important;

    flex: 1 !important;

    text-decoration: none !important;
    min-width: 0 !important;
}

/* =========================================================
   LOGO
   ========================================================= */

.pkp_site_name img {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;

    max-height: 95px !important;
    width: auto !important;

    align-self: center !important;
}

/* =========================================================
   MAIN TITLE
   ========================================================= */

.pkp_site_name::before {
    content: "International Journal of Smart Management and Information Technologies" !important;

    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;

    font-family: 'Newsreader', serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;

    color: #001d2f !important;

    line-height: 1.15 !important;

    white-space: normal !important;
    word-break: break-word !important;

    max-width: 950px !important;

    align-self: end !important;
}

/* =========================================================
   SUBTITLE
   ========================================================= */

.pkp_site_name::after {
    content: "The International Journal of Research on Smart Management and Information Technologies for Real-World Organizational Systems" !important;

    grid-column: 2 !important;
    grid-row: 2 !important;

    display: block !important;

    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;

    color: #7a7a7a !important;

    line-height: 1.5 !important;

    max-width: 900px !important;

    align-self: start !important;
}

/* =========================================================
   REMOVE DUPLICATE OJS TEXT
   ========================================================= */

.pkp_site_name .is_text,
.pkp_site_name a span {
    display: none !important;
}

/* =========================================================
   UNIVERSITY OF TUNIS
   ========================================================= */

/* 5. Université de Tunis avec logo intégré en base64 */
.pkp_structure_head::after {
    content: "" !important;
    display: none !important;
}

/* ISG Tunis Alumni — Logo optimisé + Texte */
.pkp_site_name_wrapper::after {
    content: "ISG Tunis Alumni" !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #001d2f !important;
    margin-left: auto !important;
    padding-left: 50px !important;
    background-repeat: no-repeat !important;
    background-size: auto 38px !important;
    background-position: left center !important;
    min-height: 38px !important;
    white-space: nowrap !important;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAoCAMAAABQF/NcAAAAwFBMVEX///////7//v7//v3+///+/v/+/v7+/v39/v7+/vz+/f3+/fz+/fv9/f78/f38/P39/fv9/Pr7/P37+/r6+PL1+Pr28+vu8/fz7uHy7Nzu59Ts483g6O/f4dzk383n3MDm277m273m2rzk2LjT19Df0arczKLZyZzYxpjYxpbXxpfVwpHCzMzQu4TNt3yxyNqgu9DIsG7EqWPBpVu8nk2TsMmFqcV6ob+4mUSzkTWTkWthkLShgCIubJ0HTIgAO31sCEm+AAADZ0lEQVR42pVUiXKjOBBtwBb2YrPmvpQiNgGcMOI+C7D//69WwsmMXYmrdroASfTrU90NwEgLJR6eEC8FivCbqx9IBNIzrAQxAf5rH72XylO1ACJUiUe/lLZQluWJE59BBSVOagK7RUyqit7k+edqvaFIxX/YXjmHxaeJjbqBlQqwV9fsACDLC9gvk5jap5H1Thpy96GpixwA2twUb+NjUN209Wmt8xys11Y7tpbatk3bYAA8so0GK+YEKRhWcpM00Ji38iq/5qtxtjR8ySG7tJqczyqsKCqq4iWrpXeqFIFhKT+Dy0i3eba+zNQJ6Kz1igOTmGnKMlGlZbjcBMVeMxiv4wsCA187Fpxxu4GalAFdxKCPwyWyG9boLteZunBtQTayLLMAiZLXx7EO4MTuR3mndw1WPl/zRa+aXztD5kBP3KCnFaMMfhmKv7FWQ4Mx5nlP/VU3mAag0tj6sEyYv8kQEJdlZMGiyxsVm0egOQF4ox8VJIlUHycN4GASr7cpdr2xurmzxrHJu9HYQzaPbdtl8K/ER5H/USIJEImc2tNZglVLtWjgGOPFI2ArXXaQlu7kMNP2RPzahoc6UylE3twkxK2dVOdIE1llHHuvD/StyHJvLTpX9LWAnReqIj+sWCUKoheapEhAYMWCx8zAGGUZZFqGKVgUNHsI3iefGRZ4Z6jduPd0epKhNXDbWF1nNdbYbjY0DJKUHvFvPiKw68ovSyICJ6PcstqM3peRGXkur8F1p9A91+FW/Cx8M3SccKD1zFrmKz6Oo33gDOfaKYbwqzl5yammOiiSKUgUKrpGgBDsKSeJq9p+9VPvT5aoglPqm3pR9YUf3P4L4MXHKSgdv54KZ/enG3kRTv1QhSd/ItMCFjlnOtepHcWEmI+9yu30gKS+572HxWSKCLao7+3Idouhj5Td93kQDNPg6yZtaiSATmwzGYbS+XEUHXTHO6Z9T3OCwHTCuiqS6KiLuydzwy+r1Eam92orTlFX3vPBhT79Ml3XuZWCJHIPI+ieDoqi7HQXgWPvNEU5PDBF+Bt6/U7H5flO8P7/6a98kO5JgAMHkrA9cBx32HISx91z78XoGGkAv4G6B8MwAFmsO9HPJuiAmPFLjvOMNkaHf41vLznrzh/vQm7yHGd4zHGTNy+/8uwR+x/QJHcwqCYvuQAAAABJRU5ErkJggg==") !important;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */

.pkp_navigation_primary_wrapper {
    background: #ffffff !important;
    border-bottom: 3px solid #001d2f !important;
}

.pkp_navigation_primary_wrapper::before,
.pkp_navigation_primary_wrapper::after {
    display: none !important;
}

/* =========================================================
   MENU ITEMS
   ========================================================= */

.pkp_navigation_primary > li > a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.96rem !important;
    font-weight: 500 !important;

    color: #001d2f !important;

    transition: all 0.2s ease !important;
}

.pkp_navigation_primary > li > a:hover {
    color: #0d5b8c !important;
}

/* =========================================================
   SEARCH
   ========================================================= */

.pkp_navigation_search_wrapper a {
    color: #001d2f !important;
    font-family: 'Inter', sans-serif !important;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media screen and (max-width: 1200px) {

    .pkp_site_name::before {
        font-size: 1.7rem !important;
    }

    .pkp_site_name::after {
        font-size: 0.85rem !important;
    }
}

@media screen and (max-width: 992px) {

    .pkp_structure_head {
        padding: 20px 25px !important;
    }

    .pkp_site_name_wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .pkp_site_name_wrapper::after {
        margin-left: 0 !important;
    }

    .pkp_site_name {
        width: 100% !important;
    }

    .pkp_site_name::before {
        font-size: 1.45rem !important;
    }
}

@media screen and (max-width: 768px) {

    .pkp_site_name {
        grid-template-columns: 1fr !important;
    }

    .pkp_site_name img {
        grid-column: 1 !important;
        grid-row: 1 !important;

        max-height: 80px !important;

        margin-bottom: 10px !important;
    }

    .pkp_site_name::before {
        grid-column: 1 !important;
        grid-row: 2 !important;

        font-size: 1.25rem !important;
    }

    .pkp_site_name::after {
        grid-column: 1 !important;
        grid-row: 3 !important;

        font-size: 0.82rem !important;
    }

    .pkp_site_name_wrapper::after {
        font-size: 0.9rem !important;
    }
}
/* Masquer uniquement la première occurrence du bouton gris et son lien */
button#connect-orcid-button:first-of-type,
button#connect-orcid-button:first-of-type + a {
    display: none !important;
}