/* ==================================
   FOOTER (WORKING BASELINE)
================================== */

/* Hide PKP/OJS logos in footer */
.pkp_brand_footer img,
footer a img,
#immersion_content_footer .col-2 a img {
    display: none !important;
}

/* Compact footer */
footer,
.main-footer,
.site-footer {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 0.9em !important;
    text-align: center !important;
}

/* ==================================
   HEADER BACKGROUND (BLACK)
================================== */

.site-header,
.pkp_site_name,
.pkp_structure_head {
    background-color: #000 !important;
}

/* ==================================
   NAVBAR (CLEAN – NO IMAGE)
================================== */

.navbar,
.navbar-inverse,
.navbar-default,
.pkp_navigation_primary {
    position: relative;
    background-color: #000 !important;
    border-color: #000 !important;
    background-image: none !important; /* Removed image */
}

/* Navbar text */
.navbar-nav > li > a,
.navbar-brand {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ==================================
   LOGO SIZE (HEADER)
================================== */

.site-header .journal-logo img,
.pkp_site_name .is_img img {
    max-height: 150px !important;
    width: auto !important;
}

/* Mobile scaling */
@media (max-width: 768px) {
    .site-header .journal-logo img,
    .pkp_site_name .is_img img {
        max-height: 120px !important;
        width: auto !important;
    }
}

/* ==================================
   GLOBAL TYPOGRAPHY
================================== */

html {
    font-size: 112.5%; /* ~18px base */
}

body {
    line-height: 1.65;
}

/* ===============================
   AUTHOR REGISTER / LOGIN BUTTONS
=============================== */

.author-actions {
    margin: 20px 0 30px 0;
}

.author-actions .button {
    display: inline-block;
    padding: 10px 22px;
    margin-right: 12px;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none !important;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

/* Primary button: Register */
.author-actions .author-register {
    background-color: #2c4dd6;
    color: #ffffff !important;
    border: 1px solid #2c4dd6;
}

.author-actions .author-register:hover {
    background-color: #1f3bb3;
    border-color: #1f3bb3;
}

/* Secondary button: Login */
.author-actions .author-login {
    background-color: transparent;
    color: #2c4dd6 !important;
    border: 1px solid #2c4dd6;
}

.author-actions .author-login:hover {
    background-color: rgba(44, 77, 214, 0.08);
}

/* Mobile stacking */
@media (max-width: 768px) {
    .author-actions .button {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
        text-align: center;
    }
}

/* ==========================================
   PEER REVIEW WORKFLOW IMAGE – LAYOUT FIX
========================================== */

/* Force content to clear sidebar floats */
.pkp_page_content::after {
    content: "";
    display: block;
    clear: both;
}

/* Dedicated wrapper for workflow image */
.peer-review-workflow {
    clear: both;
    width: 100%;
    margin: 30px 0;
    text-align: center;
}

/* Ensure image scales and stays centered */
.peer-review-workflow img,
.peer-review-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Prevent sidebar intrusion on images */
.pkp_page_content img {
    max-width: 100%;
}

/* ==================================
   FOOTER – SLIM CLEAN VERSION
================================== */

footer,
.main-footer,
.site-footer,
.pkp_structure_footer {
    background-color: #e3f2fd !important;
    border-top: 2px solid #0d47a1 !important;
    border-bottom: 2px solid #0d47a1 !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Tighten paragraph spacing */
footer p,
.main-footer p,
.site-footer p {
    margin: 2px 0 !important;
    line-height: 1.4 !important;
}

