/* Lumina - Indonesian Journal of Neurology */
/* Custom stylesheet - FINAL */

:root {
    --lumina-navy: #25256f;
    --lumina-green: #8fb000;
}

html, body {
    background: #f0f0f0 !important;
}

a, a:visited {
    color: var(--lumina-navy) !important;
}
a:hover {
    color: var(--lumina-green) !important;
}

/* HEADER LOGO */
.header-logo .is_img img { max-height: 12rem; }
@media (min-width: 992px) {
    .header-logo .is_img img { max-height: 4rem; }
}

/* PAGE H2 underline - green */
.pkp_page_index h2 {
    border-bottom: 2px solid var(--lumina-green) !important;
    padding-bottom: 0.3rem;
}

/* SIDEBAR BLOCK TITLES - navy */
.pkp_block .block_title,
.pkp_block h2 {
    background-color: var(--lumina-navy) !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

/* LANGUAGE BLOCK - no highlight */
.pkp_block.block_language h2.title,
.pkp_block.block_language .title,
.block_language_toggle h2,
.block_language_toggle .block_title {
    background-color: transparent !important;
    background: none !important;
    color: #555555 !important;
    border-bottom: 1px solid #cccccc !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    padding: 0.3rem 0 !important;
    font-size: 0.9rem !important;
    display: block !important;
}

/* SECTION LABELS - homepage */
.pkp_listing .section {
    color: #ffffff !important;
    background-color: var(--lumina-navy) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 0.5rem 0.8rem !important;
    margin-top: 1.8rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
    border-radius: 3px !important;
    border-bottom: 2px solid var(--lumina-green) !important;
}

/* SECTION LABELS - per-issue page */
.issue_toc h3,
.issue_toc .section,
.obj_issue_toc h3,
.obj_issue_toc .section h2,
.obj_issue_toc .galleys h2,
div.page_issue .obj_issue_toc .section h2 {
    color: #ffffff !important;
    background-color: var(--lumina-navy) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 0.5rem 0.8rem !important;
    margin-top: 1.8rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
    border-radius: 3px !important;
    border-bottom: 2px solid var(--lumina-green) !important;
}

/* Divider after last article per section */
.pkp_listing .obj_article_summary:last-of-type,
.issue_toc .obj_article_summary:last-child {
    border-bottom: 2px solid #dddddd !important;
    padding-bottom: 1.2rem !important;
    margin-bottom: 0.5rem !important;
}

/* ARTICLE TITLES - navy visible always */
.obj_article_summary .title a,
.obj_article_summary .title,
.obj_issue_summary .title a,
.obj_article_summary h3 a,
.obj_article_details .title {
    color: var(--lumina-navy) !important;
    font-weight: 700 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.obj_article_summary .title a:hover {
    color: var(--lumina-green) !important;
    text-decoration: underline !important;
}

/* ARTICLE TITLE - fix alignment */
.obj_article_summary h3.title,
.obj_article_summary .title {
    text-transform: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 0.3rem !important;
    background: transparent !important;
    background-color: transparent !important;
    letter-spacing: normal !important;
    font-size: 1rem !important;
    display: block !important;
    border-radius: 0 !important;
}

/* VIEW ALL ISSUES */
.pkp_page_index .more a, a.read_more {
    color: var(--lumina-green) !important;
    text-transform: uppercase;
    font-weight: bold;
}

/* PDF GALLEY - green */
.obj_galley_link.pdf,
.obj_galley_link[href*="pdf"],
.galleys_links a,
.pkp_linkAction.pdf {
    background-color: var(--lumina-green) !important;
    color: #ffffff !important;
    border-color: var(--lumina-green) !important;
    border-radius: 3px !important;
    padding: 0.2rem 0.6rem !important;
    font-weight: 600 !important;
}

.obj_galley_link.pdf:hover,
.galleys_links a:hover {
    background-color: var(--lumina-navy) !important;
    border-color: var(--lumina-navy) !important;
    color: #ffffff !important;
}

/* =====================
   ARTICLE DETAIL PAGE - semua label underline ganti kuning ke hijau
   (Abstract, Keywords, DOI, Published, Section, dll)
   ===================== */
.obj_article_details .main_entry .item .label,
.obj_article_details .main_entry .item h2.label,
.obj_article_details .item .label,
.obj_article_details .label {
    border-bottom: 3px solid var(--lumina-green) !important;
    color: rgba(0, 0, 0, 0.54) !important;
}

/* Sidebar labels di article detail (Published, How to Cite, Issue, Section) */
.obj_article_details .entry_details .item .label,
.obj_article_details .entry_details .label {
    border-bottom: 3px solid var(--lumina-green) !important;
}
