/* SCUFU TEST — UFU logo + locale-specific journal title */

/* ===== DESKTOP ===== */

.pkp_site_name {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.pkp_site_name .is_img {
    flex: 0 0 auto;
}

.pkp_site_name .is_img img {
    display: block;
    width: auto;
    height: auto;
    max-height: 78px;
    max-width: 420px;
}

/* Journal title */
.pkp_site_name::after {
    display: block;
    max-width: 520px;

    color: #ffffff;
    font-size: clamp(1.05rem, 1.55vw, 1.55rem);
    line-height: 1.18;
    font-weight: 600;

    white-space: pre-line !important;
}

/* English */
html[lang="en"] .pkp_site_name::after {
    content: "Scientific Collection\A of the Ukrainian Free University";
}

/* Ukrainian */
html[lang="uk"] .pkp_site_name::after {
    content: "Науковий збірник\A Українського Вільного Університету";
}


/* ===== OJS COMPACT / HAMBURGER HEADER ===== */

@media (max-width: 1200px) {

    .pkp_site_name_wrapper {
        min-height: 74px;
    }

    .pkp_site_name {
        display: flex;
        align-items: center;

        gap: 1rem;
        width: 100%;
        min-width: 0;
        min-height: 74px;
        height: auto;

        overflow: visible;
    }

    .pkp_site_name .is_img {
        flex: 0 1 285px;
        min-width: 0;
    }

    .pkp_site_name .is_img img {
        display: block;
        width: auto;
        height: auto;

        max-width: 285px;
        max-height: 56px;
    }

    .pkp_site_name::after {
        display: block;

        flex: 1 1 0;
        min-width: 0;
        max-width: 430px;

        color: #ffffff;
        font-size: 0.95rem;
        line-height: 1.15;
        font-weight: 600;

        white-space: pre-line !important;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .pkp_site_name_wrapper {
        min-height: 110px;
    }

    .pkp_site_name {
        display: block;

        width: 100%;
        min-height: 100px;

        padding-top: 4px;
        overflow: visible;
    }

    .pkp_site_name .is_img {
        display: block;

        width: auto;
        max-width: 250px;

        margin-left: 70px;
    }

    .pkp_site_name .is_img img {
        display: block;

        width: auto;
        height: auto;

        max-width: 250px;
        max-height: 48px;
    }

    .pkp_site_name::after {
        display: block;

        width: auto;
        max-width: none;

        margin: 6px 18px 0 70px;

        color: #ffffff;
        font-size: 0.88rem;
        line-height: 1.15;
        font-weight: 600;

        white-space: pre-line !important;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    html[lang="en"] .pkp_site_name::after {
        content: "Scientific Collection\A of the Ukrainian Free University";
    }

    html[lang="uk"] .pkp_site_name::after {
        content: "Науковий збірник\A Українського Вільного Університету";
    }
}