/* =========================================
   JCMR PROFESSIONAL CSS
   Optimized for Gopher Theme
========================================= */

:root {
    --jcmr-navy: #05004E;
    --text-dark: #1A1A1A;
    --text-medium: #2D2D2D;
    --border-color: #E5E7EB;
}

/* =========================================
   TYPOGRAPHY
========================================= */

body,
p,
span,
.authors,
.date,
.pages,
.description,
.journal-description,
.pkp_structure_main {
    color: var(--text-dark) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, sans-serif;
}

p,
.description,
.journal-description {
    line-height: 1.7 !important;
    text-align: justify;
}

/* =========================================
   HEADER & MENU
========================================= */

.pkp_site_name a {
    color: var(--jcmr-navy) !important;
    font-weight: 700;
}

nav a,
.menu-item {
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .9rem;
}

/* =========================================
   BUTTONS
========================================= */

.btn:not(.obj_galley_link),
button:not(.obj_galley_link),
.cmp_manuscript_button {

    background: var(--jcmr-navy) !important;
    color: #fff !important;

    border: none !important;
    border-radius: 4px !important;

    font-weight: 600 !important;

    transition: all .2s ease;
}

.btn:not(.obj_galley_link):hover,
button:not(.obj_galley_link):hover,
.cmp_manuscript_button:hover {

    background: #0A0080 !important;

    transform: translateY(-2px);
}

/* =========================================
   CURRENT ISSUE
========================================= */

.current_issue {

    padding-bottom: 25px;
    margin-bottom: 30px;

    border-bottom: 2px solid var(--border-color);
}

.current_issue h2 {
    color: var(--jcmr-navy);
    font-weight: 700;
}

/* =========================================
   ARTICLE LIST
========================================= */

.obj_article_summary {

    background: #ffffff !important;

    border: 1px solid var(--border-color) !important;

    border-left: 3px solid var(--jcmr-navy) !important;

    border-radius: 8px !important;

    padding: 20px !important;

    margin-bottom: 18px !important;

    box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;

    transition: all .2s ease;
}

.obj_article_summary:hover {

    transform: translateY(-2px);

    box-shadow: 0 3px 8px rgba(0,0,0,.08) !important;
}

/* =========================================
   ARTICLE TITLE
========================================= */

.obj_article_summary .title {
    margin-bottom: 6px !important;
}

.obj_article_summary .title a {

    color: var(--jcmr-navy) !important;

    font-size: 1.1rem !important;

    font-weight: 700 !important;

    line-height: 1.5;

    text-decoration: none !important;
}

.obj_article_summary .title a:hover {
    text-decoration: underline !important;
}

/* =========================================
   AUTHORS
========================================= */

.obj_article_summary .authors {

    color: var(--text-medium) !important;

    font-size: .95rem !important;

    margin-bottom: 8px !important;

    font-weight: 500;
}

/* =========================================
   PAGE NUMBER
========================================= */

.pages {

    color: #666 !important;

    font-size: .85rem !important;

    margin-bottom: 10px !important;
}

/* =========================================
   PDF BUTTON
========================================= */

.obj_article_summary .obj_galley_link,
.obj_article_summary .galley_link {

    display: inline-block !important;

    background: transparent !important;

    color: var(--jcmr-navy) !important;

    border: 1px solid var(--jcmr-navy) !important;

    border-radius: 4px !important;

    padding: 6px 14px !important;

    font-size: .82rem !important;

    font-weight: 600 !important;

    text-transform: uppercase;

    text-decoration: none !important;

    transition: all .2s ease;
}

.obj_article_summary .obj_galley_link:hover,
.obj_article_summary .galley_link:hover {

    background: var(--jcmr-navy) !important;

    color: #fff !important;
}

/* =========================================
   GARIS SETELAH PDF
========================================= */

.obj_article_summary .galleys_links {

    margin-top: 10px !important;

    padding-bottom: 12px !important;
}

.obj_article_summary .galleys_links::after {

    content: "";

    display: block;

    margin-top: 15px;

    border-bottom: 1px solid #eceff3;
}

/* =========================================
   SIDEBAR
========================================= */

.pkp_block {

    border: 1px solid var(--border-color);

    border-radius: 8px;

    overflow: hidden;
}

.pkp_block .title {

    background: var(--jcmr-navy);

    color: #fff;

    padding: 12px;

    font-weight: 600;
}

/* =========================================
   HOMEPAGE ARTICLE LIMIT
========================================= */

.obj_article_summary:nth-of-type(n+6) {
    display: none;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:768px){

    .obj_article_summary {
        padding: 15px !important;
    }

    .obj_article_summary .title a {
        font-size: 1rem !important;
    }

}

/* Tembak mati gambar ojs_brand.png */
img[src*="ojs_brand.png"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}