
/* =========================================================
   AKSARA HEALTH — OJS 3 CUSTOM STYLE
   Header fit + professional footer
   ========================================================= */

/* ---------------------------------------------------------
   1. HEADER / JOURNAL LOGO — FORCE COMPACT, NO CROPPING
   Works with common OJS 3 and Academic Pro selectors.
   --------------------------------------------------------- */

.pkp_site_name,
.site_logo,
.journal_name_logo .site_logo,
.navbar-header .site-name,
#headerNavigationContainer .site-name {
    overflow: visible !important;
}

.pkp_site_name .is_img,
.pkp_site_name a,
.site_logo a,
.journal_name_logo .site_logo {
    display: flex !important;
    align-items: center !important;
}

.pkp_site_name .is_img img,
.pkp_site_name img,
.site_logo img,
.journal_name_logo .site_logo img,
.navbar-brand img,
#headerNavigationContainer img {
    width: auto !important;
    height: auto !important;
    max-width: 400px !important;
    max-height: 80px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
    margin: 0 !important;
}

/* Prevent theme rules from stretching the logo */
.pkp_site_name {
    width: auto !important;
    max-width: 430px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin: 0 !important;
}

.site_logo,
.journal_name_logo .site_logo {
    width: auto !important;
    max-width: 430px !important;
    padding: 8px 15px !important;
}

/* Keep header row vertically tidy */
#headerNavigationContainer .pkp_head_wrapper,
#headerNavigationContainer .navbar-header,
.site_header .navbar-header {
    min-height: 96px !important;
    height: auto !important;
    align-items: center !important;
}

/* Mobile */
@media (max-width: 767px) {
    .pkp_site_name .is_img img,
    .pkp_site_name img,
    .site_logo img,
    .journal_name_logo .site_logo img,
    .navbar-brand img,
    #headerNavigationContainer img {
        max-width: 280px !important;
        max-height: 64px !important;
    }

    .pkp_site_name,
    .site_logo,
    .journal_name_logo .site_logo {
        max-width: 300px !important;
    }
}


/* ---------------------------------------------------------
   2. AKSARA HEALTH PROFESSIONAL FOOTER
   --------------------------------------------------------- */

.aksara-journal-footer {
    max-width: 1000px;
    margin: 30px auto 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbfb 60%, #eaf5f4 100%);
    border: 1px solid #dce9e8;
    border-top: 4px solid #00A69C;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(18, 48, 68, 0.08);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #556873;
}

.aksara-footer-identity {
    margin-bottom: 18px;
}

.aksara-footer-title {
    margin-bottom: 4px;
    color: #123044;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.aksara-footer-subtitle {
    max-width: 750px;
    margin: 0 auto 8px;
    color: #00A69C;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.aksara-footer-publisher {
    color: #556873;
    font-size: 13px;
    line-height: 1.5;
}

.aksara-footer-publisher strong {
    color: #123044;
}

.aksara-footer-divider {
    width: 75%;
    max-width: 650px;
    height: 1px;
    margin: 20px auto;
    background: linear-gradient(to right, transparent, #c9dcda, transparent);
}

.aksara-footer-license {
    max-width: 780px;
    margin: 0 auto;
}

.aksara-cc-logo {
    display: inline-block;
    width: 88px;
    height: 31px;
    margin-bottom: 8px;
    border: 0;
}

.aksara-footer-license p {
    margin: 4px auto 0;
    color: #556873;
    font-size: 12.5px;
    line-height: 1.65;
}

.aksara-footer-license a {
    color: #007f79;
    font-weight: 600;
    text-decoration: none;
}

.aksara-footer-license a:hover {
    color: #123044;
    text-decoration: underline;
}

.aksara-footer-visitors {
    text-align: center;
}

.aksara-footer-section-title {
    margin-bottom: 10px;
    color: #123044;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.aksara-statcounter {
    display: inline-block;
    max-width: 100%;
    border: 0;
}

.aksara-footer-small-text {
    margin-top: 6px;
    color: #7a8d96;
    font-size: 10.5px;
    letter-spacing: 0.3px;
}

.aksara-footer-identity::after {
    display: block;
    width: 50px;
    height: 3px;
    margin: 14px auto 0;
    background: #F2B544;
    border-radius: 3px;
    content: "";
}

@media (max-width: 768px) {
    .aksara-journal-footer {
        margin: 20px 10px;
        padding: 22px 18px;
    }

    .aksara-footer-title {
        font-size: 22px;
    }

    .aksara-footer-subtitle {
        font-size: 13px;
    }

    .aksara-footer-divider {
        width: 90%;
    }
}
