/*
 * MEDIVANTA — International Journal of Medical Sciences (MIJMS)
 * Custom OJS Journal Style Sheet
 *
 * Upload this file at:
 * Settings → Website → Appearance → Advanced → Journal Style Sheet
 *
 * This stylesheet styles the OJS Page Footer content.
 * Add the matching HTML in:
 * Settings → Website → Appearance → Setup → Page Footer
 */

/* =========================================================
   FOOTER FOUNDATION
   ========================================================= */

.pkp_structure_footer_wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #102f49 !important;
    border: 0 !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
}

.pkp_structure_footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.pkp_footer_content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #102f49 !important;
    color: #ffffff !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Remove the standard PKP/OJS branding if it is still output
   by the active theme or another footer template. */
.pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer,
footer .pkp_brand_footer {
    display: none !important;
}

/* =========================================================
   CUSTOM FOOTER LAYOUT
   Use these classes in the OJS Page Footer HTML.
   ========================================================= */

.medivanta-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #102f49;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.medivanta-footer *,
.medivanta-footer *::before,
.medivanta-footer *::after {
    box-sizing: border-box;
}

.medivanta-footer a {
    color: #b9eeea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.medivanta-footer a:hover,
.medivanta-footer a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.medivanta-footer__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 32px 38px;
}

.medivanta-footer__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(145px, 1fr));
    gap: 42px;
    align-items: start;
}

.medivanta-footer__brand {
    max-width: 370px;
}

.medivanta-footer__name {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}

.medivanta-footer__tagline {
    margin: 0 0 19px;
    color: #72d5ce;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.medivanta-footer__description {
    margin: 0;
    color: #d7e4ec;
    font-size: 13px;
    line-height: 1.9;
}

.medivanta-footer__column-title {
    margin: 3px 0 19px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(185, 238, 234, 0.25);
    color: #72d5ce;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.medivanta-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.medivanta-footer__links li {
    margin: 0 0 12px;
    padding: 0;
    color: #d7e4ec;
    font-size: 13px;
    line-height: 1.6;
}

.medivanta-footer__contact-item {
    margin: 0 0 14px;
    color: #d7e4ec;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.medivanta-footer__contact-label {
    display: block;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.medivanta-footer__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding: 23px 26px;
    border-left: 4px solid #159e9c;
    border-radius: 3px;
    background: #173f5c;
}

.medivanta-footer__cta-title {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.medivanta-footer__cta-text {
    margin: 0;
    color: #d7e4ec;
    font-size: 13px;
    line-height: 1.7;
}

.medivanta-footer__button {
    display: inline-block;
    flex: 0 0 auto;
    padding: 12px 20px;
    border: 1px solid #159e9c;
    border-radius: 3px;
    background: #159e9c;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.4px;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

.medivanta-footer__button:hover,
.medivanta-footer__button:focus {
    border-color: #72d5ce;
    background: #117f7e;
    color: #ffffff !important;
}

.medivanta-footer__publisher {
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid rgba(185, 238, 234, 0.22);
    text-align: center;
}

.medivanta-footer__publisher-label {
    margin: 0 0 6px;
    color: #d7e4ec;
    font-size: 11px;
    line-height: 1.6;
}

.medivanta-footer__publisher-name {
    display: inline-block;
    margin: 0;
    color: #72d5ce !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.3px;
}

.medivanta-footer__publisher-caption {
    margin: 4px 0 0;
    color: #b9cbd8;
    font-size: 11px;
    line-height: 1.6;
}

.medivanta-footer__bottom {
    width: 100%;
    padding: 17px 24px;
    background: #0b263b;
    text-align: center;
}

.medivanta-footer__copyright {
    margin: 0;
    color: #d7e4ec;
    font-size: 11px;
    line-height: 1.8;
}

.medivanta-footer__copyright strong {
    color: #ffffff;
}

.medivanta-footer__bottom-links {
    margin: 5px 0 0;
    color: #b9cbd8;
    font-size: 11px;
    line-height: 1.8;
}

.medivanta-footer__bottom-links a {
    color: #72d5ce;
}

/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */

@media (max-width: 900px) {
    .medivanta-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }

    .medivanta-footer__brand {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .medivanta-footer__inner {
        padding: 38px 22px 28px;
    }

    .medivanta-footer__grid {
        grid-template-columns: 1fr;
        gap: 29px;
    }

    .medivanta-footer__name {
        font-size: 24px;
    }

    .medivanta-footer__column-title {
        margin-bottom: 14px;
    }

    .medivanta-footer__cta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 30px;
        padding: 20px;
    }

    .medivanta-footer__button {
        width: 100%;
    }

    .medivanta-footer__publisher {
        margin-top: 30px;
        padding-top: 22px;
    }

    .medivanta-footer__bottom {
        padding: 16px 18px;
    }
}
