/* DFT Journal: subtle page background */
/* A very light blue-grey tint softens the empty page areas
   while preserving the journal's existing green, blue and orange branding. */

html,
body {
    background-color: #F3F7F8 !important;
}

/* Apply the same soft background to the overall OJS page wrapper. */
.pkp_structure_page {
    background-color: #F3F7F8 !important;
}

/* Keep the main reading area clean and white. */
.pkp_structure_main {
    background-color: #FFFFFF;
}

/* Keep sidebar space softly tinted between widgets. */
.pkp_structure_sidebar {
    background-color: transparent;
}
/* =========================================
   DFT JOURNAL: FOOTER CUSTOMISATION
   OJS 3.5.0.6
   ========================================= */

/* Deep green footer background */
.pkp_structure_footer_wrapper {
    background: #064E3B !important;
    border-top: 4px solid #23834B !important;
    color: #FFFFFF !important;
    padding: 25px 0 !important;
}

/* Footer text */
.pkp_structure_footer_wrapper,
.pkp_structure_footer_wrapper p,
.pkp_structure_footer_wrapper li,
.pkp_structure_footer_wrapper span {
    color: #FFFFFF !important;
}

/* Footer links */
.pkp_structure_footer_wrapper a {
    color: #DCEFFA !important;
    text-decoration: none !important;
}

.pkp_structure_footer_wrapper a:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

/* Align footer content and PKP/OJS logo */
.pkp_brand_footer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 15px auto !important;
    text-align: center !important;
}

/* Keep OJS logo within footer */
.pkp_brand_footer img {
    max-height: 45px !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Footer spacing */
.pkp_structure_footer_wrapper .pkp_structure_footer {
    padding: 10px 20px !important;
}

/* Mobile alignment */
@media screen and (max-width: 768px) {
    .pkp_brand_footer {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .pkp_structure_footer_wrapper {
        text-align: center !important;
    }
}/* DFT: Align footer content and OJS branding */

.pkp_structure_footer_wrapper .pkp_structure_footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.pkp_structure_footer_wrapper .pkp_brand_footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

.pkp_structure_footer_wrapper .pkp_brand_footer img {
    max-height: 40px !important;
    width: auto !important;
}

/* Mobile layout */
@media screen and (max-width: 768px) {
    .pkp_structure_footer_wrapper .pkp_structure_footer {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .pkp_structure_footer_wrapper .pkp_brand_footer {
        justify-content: center !important;
    }
}/* DFT: Refine OJS footer logo size and alignment */

.pkp_structure_footer_wrapper .pkp_brand_footer {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
}

.pkp_structure_footer_wrapper .pkp_brand_footer img {
    width: auto !important;
    height: 55px !important;
    max-height: 55px !important;
    max-width: 180px !important;
    object-fit: contain !important;
    opacity: 1 !important;
}

/* Keep footer content balanced */
.pkp_structure_footer_wrapper .pkp_structure_footer {
    justify-content: space-between !important;
    align-items: center !important;
}