@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

/* =========================================================
   CLEAN ACADEMIC JOURNAL THEME (MDPI / ELSEVIER STYLE)
   FULL REPLACEMENT STYLESHEET
   ========================================================= */

/* ===== BASE ===== */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #222;
    background: #ffffff;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #111;
}

/* ===== PAGE WIDTH ===== */
.pkp_structure_content {
    max-width: 1200px;
    margin: auto;
}

/* ===== HEADER ===== */
.pkp_site_name {
    font-size: 20px;
    font-weight: 600;
}

.pkp_navigation_primary a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========================================================
   ARTICLE PAGE — FIXED STRUCTURE
   Title FULL WIDTH → Content BELOW in 2 columns
   ========================================================= */

/* Reset layout */
.obj_article_details {
    display: block;
}

/* ===== TITLE (FULL WIDTH) ===== */
.obj_article_details .page_title {
    width: 100%;
    display: block;
    font-size: 26px;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ===== AUTHORS & META ===== */
.obj_article_details .authors {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 5px;
}

.obj_article_details .published {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
}

/* ===== CONTENT + SIDEBAR ===== */
.obj_article_details .main_entry,
.obj_article_details .entry_details {
    display: inline-block;
    vertical-align: top;
}

/* LEFT: ARTICLE */
.obj_article_details .main_entry {
    width: 70%;
    padding-right: 30px;
}

/* RIGHT: SIDEBAR */
.obj_article_details .entry_details {
    width: 28%;
    background: #f7f9fb;
    padding: 15px;
    border-radius: 6px;
    font-size: 13px;
}

/* ===== ABSTRACT ===== */
.pkp_page_article .abstract {
    background: #f4f6f8;
    padding: 18px;
    border-left: 4px solid #0056b3;
    margin: 25px 0;
}

.pkp_page_article .abstract p {
    font-size: 13px;
    text-align: justify;
}

/* ===== ARTICLE BODY ===== */
.pkp_page_article .article-details p {
    margin-bottom: 14px;
    text-align: justify;
}

.pkp_page_article h2 {
    font-size: 18px;
    margin-top: 28px;
}

.pkp_page_article h3 {
    font-size: 16px;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
}

table th {
    background: #f5f5f5;
}

/* ===== FIGURES ===== */
figure {
    margin: 20px auto;
    text-align: center;
}

figcaption {
    font-size: 12px;
    color: #555;
}

/* ===== REFERENCES ===== */
.references li {
    font-size: 13px;
    margin-bottom: 10px;
}

/* ===== ARTICLE LIST (CARDS) ===== */
.cmp_article_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.cmp_article_list > li {
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.cmp_article_list > li:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* ===== PDF BUTTON (CLEAN, NOT AGGRESSIVE) ===== */
.obj_galley_link {
    background: #e9eef5;
    color: #003366;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cfd8e3;
}

.obj_galley_link:hover {
    background: #dde6f2;
}

/* ===== SIDEBAR ===== */
.pkp_structure_sidebar {
    font-size: 13px;
}

/* ===== FOOTER ===== */
.pkp_structure_footer {
    font-size: 12px;
    color: #666;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .obj_article_details .main_entry,
    .obj_article_details .entry_details {
        width: 100%;
        display: block;
    }

    .cmp_article_list {
        grid-template-columns: 1fr;
    }

    .obj_article_details .page_title {
        font-size: 20px;
    }
}