/* =====================================================
   GOOGLE FONTS (ACADEMIC & PREMIUM)
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

/* =====================================================
   BASE BODY
===================================================== */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f6f9fc;
    color: #0f172a;
    line-height: 1.75;
}

/* =====================================================
   CORE OJS LAYOUT (DO NOT TOUCH STRUCTURE)
===================================================== */
.pkp_structure_content {
    display: flex;
    align-items: flex-start;
}

.pkp_structure_main {
    width: calc(100% - 320px);
    padding-right: 30px;
    box-sizing: border-box;
}

.pkp_structure_sidebar {
    width: 320px;
    margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 991px) {
    .pkp_structure_content {
        flex-direction: column;
    }
    .pkp_structure_main,
    .pkp_structure_sidebar {
        width: 100%;
        padding-right: 0;
    }
}

/* =====================================================
   HEADER & SITE NAME
===================================================== */
.pkp_structure_head {
    background: linear-gradient(90deg, #1e3a8a, #0f766e);
}

.pkp_site_name a {
    color: #ffffff !important;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.45rem;
    font-weight: 700;
}

/* =====================================================
   NAVIGATION MENU (VISIBLE & CLEAN)
===================================================== */
.pkp_navigation_primary_wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.pkp_navigation_primary a {
    color: #1e293b !important;
    font-weight: 600;
}

.pkp_navigation_primary a:hover {
    color: #1e3a8a !important;
}

.pkp_navigation_primary .is_current a {
    color: #1e3a8a !important;
    border-bottom: 3px solid #0f766e;
}

/* =====================================================
   HOMEPAGE BANNER (SAFE)
===================================================== */
.pkp_page_index .homepage_image {
    width: 100%;
    margin-bottom: 28px;
}

.pkp_page_index .homepage_image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* =====================================================
   IMAGE SAFETY
===================================================== */
.pkp_structure_main img {
    max-width: 100%;
    height: auto;
    float: none !important;
}

/* =====================================================
   HEADINGS
===================================================== */
h1, h2, h3 {
    font-family: 'Libre Baskerville', serif;
    color: #1e3a8a;
}

h2 {
    font-size: 1.6rem;
    margin-top: 32px;
    border-left: 5px solid #0f766e;
    padding-left: 14px;
}

h3 {
    font-size: 1.25rem;
    color: #0f766e;
}

/* =====================================================
   MAIN CONTENT CARD
===================================================== */
.pkp_structure_main > div,
.pkp_page_index .page_content {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 34px;
    box-shadow: 0 14px 32px rgba(15, 118, 110, 0.12);
}

/* =====================================================
   SIDEBAR STYLE
===================================================== */
.pkp_structure_sidebar .block {
    background: linear-gradient(180deg, #ffffff, #f0fdfa);
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 26px;
    border: 1px solid #ccfbf1;
}

.pkp_structure_sidebar h2 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #134e4a;
    border: none;
}

/* =====================================================
   LINKS
===================================================== */
a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* =====================================================
   JOURNAL ARTICLE CARDS (UPGRADED)
===================================================== */
.obj_article_summary {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.obj_article_summary .title a {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    color: #1e3a8a;
}

.obj_article_summary .title a:hover {
    color: #0f766e;
}

.obj_article_summary .meta,
.obj_article_summary .authors,
.obj_article_summary .date {
    color: #475569;
    font-size: 0.9rem;
}

/* Issue TOC heading */
.obj_issue_toc .heading {
    font-family: 'Libre Baskerville', serif;
    color: #1e3a8a;
}

/* =====================================================
   BUTTONS
===================================================== */
.pkp_button,
button,
input[type="submit"] {
    background: linear-gradient(135deg, #1e3a8a, #0f766e);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    padding: 8px 18px;
}

.pkp_button:hover,
button:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #0f766e, #1e3a8a);
}

/* =====================================================
   FOOTER (RICH & ACADEMIC)
===================================================== */
.pkp_site_footer {
    background: linear-gradient(90deg, #020617, #1e293b);
    color: #e5e7eb;
    padding: 42px 22px;
}

.pkp_site_footer a {
    color: #5eead4;
    font-weight: 500;
}

.pkp_site_footer a:hover {
    color: #ffffff;
}
