/* ==================================================
   IJAMI — OJS Default Theme Customisation
   ================================================== */

/* ---------- Overall page ---------- */

body {
    background: #f4f7f7;
    color: #253238;
}

.pkp_structure_page {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(20, 55, 60, 0.08);
}

/* ---------- Header and logo ---------- */

.pkp_site_name_wrapper {
    padding: 16px 20px 14px !important;
    background: #ffffff;
}

.pkp_site_name {
    padding: 0 !important;
    text-align: center;
}

.pkp_site_name > a,
.pkp_site_name a.is_img {
    display: inline-block;
    padding: 0 !important;
    margin: 0 auto !important;
}

.pkp_site_name .is_img img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(820px, 90vw) !important;
    max-height: 135px !important;
    margin: 0 auto !important;
    object-fit: contain;
}

/* ---------- Navigation ---------- */

.pkp_navigation_primary_wrapper {
    background: #17676d;
    border: 0;
}

.pkp_navigation_primary > li > a {
    color: #ffffff;
    font-weight: 600;
    padding-top: 14px;
    padding-bottom: 14px;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    color: #ffffff;
    background: #0f555b;
    border-color: transparent;
}

.pkp_navigation_search_wrapper a {
    color: #ffffff;
}

.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus {
    color: #d8f2f1;
}

/* ---------- Main content ---------- */

.pkp_structure_content {
    padding-top: 32px;
    padding-bottom: 48px;
}

.pkp_structure_main {
    padding-left: 32px;
    padding-right: 32px;
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3 {
    color: #174f55;
}

.pkp_page_index .homepage_about {
    line-height: 1.75;
    font-size: 15px;
}

/* ---------- Sidebar ---------- */

.pkp_structure_sidebar {
    padding: 30px 24px;
    background: #f8fbfb;
}

.pkp_block {
    margin-bottom: 28px;
}

.pkp_block .title {
    color: #315e63;
    font-weight: 700;
}

.pkp_block ul {
    line-height: 1.8;
}

/* ---------- Links ---------- */

a {
    color: #126b75;
}

a:hover,
a:focus {
    color: #0b4c53;
}

/* ---------- Footer ---------- */

.pkp_structure_footer_wrapper {
    background: #e9efef;
    border-top: 3px solid #17676d;
}

.pkp_structure_footer {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_footer_content {
    padding: 24px 30px !important;
    font-size: 14px;
    line-height: 1.65;
    color: #26383b;
}

.pkp_footer_content p {
    margin: 0 0 12px;
}

.pkp_brand_footer {
    padding: 24px 30px !important;
    text-align: center;
}

.pkp_brand_footer img {
    max-width: 90px !important;
    height: auto !important;
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
    .pkp_site_name_wrapper {
        padding: 12px 14px !important;
    }

    .pkp_site_name .is_img img {
        max-width: 92vw !important;
        max-height: 90px !important;
    }

    .pkp_structure_content {
        padding-top: 22px;
        padding-bottom: 30px;
    }

    .pkp_structure_main,
    .pkp_structure_sidebar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pkp_footer_content,
    .pkp_brand_footer {
        padding: 20px !important;
    }
}