/* ==========================================================
   JSRM FOOTER FINAL
   Footer only - no header/body/hero rules
   ========================================================== */

.pkp_structure_footer_wrapper {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #07366f !important;
    background-color: #07366f !important;

    border: 0 !important;
}

.pkp_structure_footer {
    width: min(1440px,94vw) !important;
    max-width: 1440px !important;

    margin: 0 auto !important;

    padding: 38px 0 26px !important;

    background: transparent !important;

    color: #fff !important;
}

.pkp_structure_footer,
.pkp_structure_footer p,
.pkp_structure_footer div,
.pkp_structure_footer span {
    color: #dce9f5 !important;
}

.pkp_structure_footer strong {
    color: #fff !important;
}

.pkp_structure_footer a {
    color: #fff !important;
    text-decoration: none !important;
}

.pkp_structure_footer a:hover {
    color: #ffd166 !important;
}

.pkp_structure_footer a[href^="mailto:"] {
    color: #ffd166 !important;
}

.pkp_brand_footer,
.pkp_brand_footer * {
    display: none !important;
}


/* Existing custom footer layout */

.jsrm-footer-custom {
    display: grid !important;

    grid-template-columns:
        minmax(0,1.3fr)
        minmax(0,1fr) !important;

    gap: 50px !important;

    width: 100% !important;
}

.jsrm-footer-links {
    display: flex !important;

    flex-wrap: wrap !important;

    justify-content: flex-end !important;

    gap: 14px 22px !important;
}

.jsrm-footer-links a {
    color: #fff !important;
    font-weight: 700 !important;
}

.jsrm-footer-bottom,
.jsrm-footer-copyright {
    margin-top: 28px !important;

    padding-top: 18px !important;

    border-top:
        1px solid rgba(255,255,255,.18) !important;

    color: #cbdced !important;

    text-align: center !important;
}


@media (max-width:780px) {

    .pkp_structure_footer {
        width: 90vw !important;
    }

    .jsrm-footer-custom {
        grid-template-columns: 1fr !important;

        text-align: center !important;
    }

    .jsrm-footer-links {
        justify-content: center !important;
    }

}

/* JSRM STAGE2 FOOTER START */

.pkp_structure_footer_wrapper {

    width: 100% !important;
    max-width: none !important;

    background:
        #07366f !important;
}


.pkp_structure_footer {

    width:
        min(1440px,94vw) !important;

    max-width:
        1440px !important;

    margin:
        0 auto !important;
}


.jsrm-footer-links {

    display:
        flex !important;

    flex-wrap:
        wrap !important;

    justify-content:
        flex-end !important;

    gap:
        12px 22px !important;
}


.jsrm-footer-links a {

    color:
        #ffffff !important;

    font-size:
        13px !important;

    font-weight:
        700 !important;

    text-decoration:
        none !important;
}


.jsrm-footer-links a:hover {

    color:
        #ffd166 !important;
}


@media (max-width:780px) {

    .jsrm-footer-links {

        justify-content:
            center !important;
    }

}

/* JSRM STAGE2 FOOTER END */


/* JSRM OJS FOOTER CONTRAST FINAL START */

/*
 * OJS-native pages only.
 * Static pages do not load jsrm-footer-final.css.
 */

.pkp_structure_footer_wrapper.jsrm-global-footer,
footer.pkp_structure_footer_wrapper.jsrm-global-footer {

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background:
        linear-gradient(
            135deg,
            #073b70 0%,
            #06345f 100%
        ) !important;

    color: #ffffff !important;

    opacity: 1 !important;
}


/* Main footer layout */
.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-global-footer-inner {

    box-sizing: border-box !important;

    width: min(1440px, 92vw) !important;
    max-width: 1440px !important;

    margin: 0 auto !important;

    padding:
        42px
        0
        30px !important;

    background: transparent !important;

    color: #ffffff !important;

    opacity: 1 !important;
}


/* Force readable text */
.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-info,

.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-info span,

.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-line,

.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-bottom,

.pkp_structure_footer_wrapper.jsrm-global-footer
p,

.pkp_structure_footer_wrapper.jsrm-global-footer
div,

.pkp_structure_footer_wrapper.jsrm-global-footer
span {

    color: #dce9f5 !important;

    opacity: 1 !important;

    text-shadow: none !important;
}


/* Journal title */
.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-title,

.pkp_structure_footer_wrapper.jsrm-global-footer
strong {

    color: #ffffff !important;

    opacity: 1 !important;

    font-weight: 800 !important;
}


/* Footer navigation */
.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-links a {

    color: #ffffff !important;

    opacity: 1 !important;

    font-weight: 700 !important;

    text-decoration: none !important;
}


/* Email + normal links */
.pkp_structure_footer_wrapper.jsrm-global-footer
a {

    color: #d5eaff !important;

    opacity: 1 !important;

    text-decoration: none !important;
}


/* Hover */
.pkp_structure_footer_wrapper.jsrm-global-footer
a:hover,

.pkp_structure_footer_wrapper.jsrm-global-footer
a:focus {

    color: #ffbd35 !important;

    text-decoration: underline !important;
}


/* Gold Open Access text */
.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-info
span:last-child {

    color: #dce9f5 !important;
}


/* Copyright area */
.pkp_structure_footer_wrapper.jsrm-global-footer
.jsrm-footer-bottom {

    box-sizing: border-box !important;

    margin-top: 28px !important;

    padding-top: 18px !important;

    border-top:
        1px solid rgba(255,255,255,.18) !important;

    color: #bfd5e8 !important;

    text-align: center !important;
}


/* Remove any inherited white/light PKP background */
.pkp_structure_footer_wrapper.jsrm-global-footer
.pkp_structure_footer {

    background: transparent !important;

    color: #ffffff !important;

    opacity: 1 !important;
}


/* No pseudo-element overlay */
.pkp_structure_footer_wrapper.jsrm-global-footer::before,
.pkp_structure_footer_wrapper.jsrm-global-footer::after,

.pkp_structure_footer_wrapper.jsrm-global-footer
.pkp_structure_footer::before,

.pkp_structure_footer_wrapper.jsrm-global-footer
.pkp_structure_footer::after {

    background: none !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* Tablet/mobile */
@media (max-width: 800px) {

    .pkp_structure_footer_wrapper.jsrm-global-footer
    .jsrm-global-footer-inner {

        width: 90vw !important;

        padding:
            34px
            0
            26px !important;
    }

}

/* JSRM OJS FOOTER CONTRAST FINAL END */

