/* ================= HEADER BACKGROUND ================= */
/* Desktop header background */
header > .container:first-of-type {
    background: url(https://sjuoz.uoz.edu.krd/public/site/images/dindar1/5_desktop.png) no-repeat left center;
    background-color: #D4D4D4;
    background-size: contain;  /* scale image without cropping */
    min-height: 120px; /* adjust for logo size */
    position: relative;
}

/* Mobile header background (<992px) */
@media (max-width: 991px) {
    header > .container:first-of-type {
        background: url(https://sjuoz.uoz.edu.krd/public/site/images/dindar1/5_mobile.png) no-repeat center top;
        background-color: #D4D4D4;
        background-size: contain;  /* scale image */
        min-height: 100px; /* adjust for mobile logo height */
    }
}

/* ================= HIDE ISSN ================= */
header .issn {
    display: none !important;
}

/* ================= HIDE DEFAULT OJS LOGO ================= */
.navbar>.container .navbar-brand,
.navbar>.container-fluid .navbar-brand,
.header_view>.container .navbar-brand,
.header_view>.container-fluid .navbar-brand {
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ================= CUSTOM LOGO ================= */
header .journal_logo a,
header .journal_logo img {
    display: block;
    background: transparent !important;
    max-height: 120px; /* match desktop header height */
    height: auto;
}

/* ================= HEADER ROW ================= */
header > .container:first-of-type > .row {
    width: 100%;
}

/* ================= REGISTER / LOGIN ================= */

/* Desktop (≥992px) */
@media (min-width: 992px) {

    /* Logo vertical center */
    header .journal_logo {
        display: flex;
        align-items: center;
        height: 120px;
    }

    /* Register/Login top-right */
    #navigationUser {
        position: absolute;
        top: 8px;
        right: 15px;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }
}

/* Mobile & tablet (<992px) */
@media (max-width: 991px) {

    /* Logo centered */
    header .journal_logo {
        display: block;
        text-align: center;
        height: auto;
        margin-bottom: 10px;
    }

    /* Register/Login under logo, horizontal row */
    #navigationUser {
        position: relative;
        float: none;
        display: flex;              /* horizontal layout */
        justify-content: center;    /* center the row */
        margin-top: 10px !important;
        flex-wrap: nowrap;          /* keep both in one row */
    }

    #navigationUser li {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Extra small screens (<576px) - horizontal row */
@media (max-width: 575px) {
    #navigationUser {
        flex-direction: row;        /* horizontal row */
        justify-content: center;
    }

    #navigationUser li {
        margin: 0 5px;              /* small spacing between links */
    }
}

/* ================= COLORS ================= */
.pkp_block h2.title, .pkp_block .content span.title, .pkp_block span.title {
    color: #fff;
}

.footer .container {
    background: #000080;
}

#navigationUser a,
#navigationUser a i {
    color: #000080 !important;
}

div.issn,
div.issn a,
div.issn span.issn {
    color: #000080 !important;
}
