/* ================= IMPORT FONTS ================= */
/* @import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&display=swap'); */

/* ================= GLOBAL STYLES ================= */
/* Apply Lora to the whole site and increase base size */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
a,
p,
span,
div,
li {
    font-family: 'Lora', serif !important;
    font-size: 17px !important; /* INCREASED: General text size */
    line-height: 1.6 !important; /* Improves readability for larger text */
}

html {
    font-size: 12px; /* default */
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Set website background to white */
body,
.pkp_structure_page {
    background-color: #FFFFFF !important;
}

/* ================= FULL WIDTH PAGE ================= */
/* Make OJS and Bootstrap layouts use the full browser width */
.pkp_structure_page,
.pkp_structure_head,
.pkp_structure_content,
.pkp_structure_footer,
.pkp_structure_footer_wrapper,
.header_view,
.container,
.container-fluid {
    max-width: none !important;
    width: 100% !important;
}

/* Keep content readable while still allowing a full-width layout */
.pkp_structure_content > .container,
header > .container,
.navbar > .container,
.navbar > .container-fluid,
.footer .container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 30px;
    padding-right: 30px;
}

/* Prevent the main content columns from being constrained by theme defaults */
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_sidebar_left,
.pkp_structure_sidebar_right,
main,
.main,
#main {
    max-width: none !important;
}

/* ================= FULL WIDTH MENU BAR ================= */
/* Force the navigation container to be 100% width */
.pkp_navigation_primary .container,
.navbar .container,
header .container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 30px;
    padding-right: 30px;
}

/* Ensure the navbar wrapper itself stretches */
.pkp_navigation_primary,
.navbar {
    width: 100% !important;
}

/* ================= HEADER BACKGROUND ================= */
/* Desktop header background */
header > .container:first-of-type {
    background: url(https://cdn1.site-media.eu/images/3840/22594541/Untitled-5-T1y2CrRcTRkk8WnfP9rN0g.png) no-repeat center center;
    background-color: #FFFFFF;
    background-size: contain;
    min-height: 200px;
    position: relative;
}

/* Mobile header background (<992px) */
@media (max-width: 991px) {
    header > .container:first-of-type {
        background: url(https://cdn1.site-media.eu/images/1920/22594542/Untitled-6-vKIksh5s8E8aiAzrZKcu_Q.png) no-repeat center top;
        background-color: #FFFFFF;
        background-size: contain;
        min-height: 200px;
    }
}

/* ================= 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;
    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;
        /* Ensure logo area doesn't block the centered background if logo is transparent/missing */
        justify-content: center;
    }

    /* 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;
        justify-content: center;
        margin-top: 10px !important;
        flex-wrap: nowrap;
    }

    #navigationUser li {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Extra small screens (<576px) - horizontal row */
@media (max-width: 575px) {
    #navigationUser {
        flex-direction: row;
        justify-content: center;
    }

    #navigationUser li {
        margin: 0 5px;
    }
}

/* ================= COLORS ================= */
.pkp_block h2.title,
.pkp_block .content span.title,
.pkp_block span.title {
    color: #fff;
}

.footer .container {
    background: #004680;
}

#navigationUser a,
#navigationUser a i {
    color: #004680 !important;
}

div.issn,
div.issn a,
div.issn span.issn {
    color: #004680 !important;
}