/* Perbaikan kontras teks pada mode gelap (halaman artikel & referensi) */
:root[data-cheryl-theme="dark"] .obj_article_details p,
:root[data-cheryl-theme="dark"] .obj_article_details li,
:root[data-cheryl-theme="dark"] .obj_article_details dd,
:root[data-cheryl-theme="dark"] .obj_article_details dt,
:root[data-cheryl-theme="dark"] .obj_article_details td,
:root[data-cheryl-theme="dark"] .obj_article_details th,
:root[data-cheryl-theme="dark"] .obj_article_details blockquote,
:root[data-cheryl-theme="dark"] .obj_article_details figcaption,
:root[data-cheryl-theme="dark"] .item.references,
:root[data-cheryl-theme="dark"] .item.references p,
:root[data-cheryl-theme="dark"] .item.references li,
:root[data-cheryl-theme="dark"] .item.citation,
:root[data-cheryl-theme="dark"] .item.citation p,
:root[data-cheryl-theme="dark"] .item.abstract p,
:root[data-cheryl-theme="dark"] .obj_galley p,
:root[data-cheryl-theme="dark"] .obj_galley li,
:root[data-cheryl-theme="dark"] .galley_view p,
:root[data-cheryl-theme="dark"] .galley_view li {
	color: #c9d4e0 !important;
}

/* tautan tetap memakai warna aksen agar mudah dibedakan */
:root[data-cheryl-theme="dark"] .obj_article_details a,
:root[data-cheryl-theme="dark"] .item.references a,
:root[data-cheryl-theme="dark"] .obj_galley a {
	color: #6fb8ff !important;
}

/* sitasi/kutipan blok */
:root[data-cheryl-theme="dark"] .obj_article_details blockquote {
	border-left-color: #2b76bd !important;
	background: rgba(255, 255, 255, 0.04) !important;
}

/* tabel di dalam artikel */
:root[data-cheryl-theme="dark"] .obj_article_details table,
:root[data-cheryl-theme="dark"] .obj_galley table {
	border-color: #26313d !important;
}

:root[data-cheryl-theme="dark"] .obj_article_details th,
:root[data-cheryl-theme="dark"] .obj_galley th {
	background: rgba(255, 255, 255, 0.06) !important;
}

/* Daftar Viewed/Downloaded di sidebar (latar terang dari aturan warna) */
:root[data-cheryl-theme="dark"] .cheryl_pop > li.cheryl_pop__item {
	background: #182430 !important;
	border-left-color: #2b76bd !important;
}

:root[data-cheryl-theme="dark"] .cheryl_pop .cheryl_pop__title,
:root[data-cheryl-theme="dark"] .cheryl_pop .cheryl_pop__title a,
:root[data-cheryl-theme="dark"] .cheryl_pop .cheryl_pop__count {
	color: #c9d4e0 !important;
}

/* Arsip terbitan */
:root[data-cheryl-theme="dark"] .obj_issue_summary a.title,
:root[data-cheryl-theme="dark"] .obj_issue_summary .title,
:root[data-cheryl-theme="dark"] .obj_issue_summary .published__value,
:root[data-cheryl-theme="dark"] .obj_issue_summary h2,
:root[data-cheryl-theme="dark"] .obj_issue_summary h3 {
	color: #e8eef5 !important;
}

:root[data-cheryl-theme="dark"] .obj_issue_summary p,
:root[data-cheryl-theme="dark"] .obj_issue_summary .published {
	color: #c9d4e0 !important;
}

/* Judul halaman (Archives, Statistics, dsb.) */
:root[data-cheryl-theme="dark"] .pkp_structure_main > h1,
:root[data-cheryl-theme="dark"] .pkp_structure_main h1.page_title,
:root[data-cheryl-theme="dark"] .page h1 {
	color: #e8eef5 !important;
}

/* Kartu statistik tema */
:root[data-cheryl-theme="dark"] .cheryl_stats__chartCard,
:root[data-cheryl-theme="dark"] .cheryl_stats__chartWrap,
:root[data-cheryl-theme="dark"] .cheryl_stats__donutTotal strong,
:root[data-cheryl-theme="dark"] .cheryl_stats__chartCard strong {
	color: #e8eef5 !important;
}

:root[data-cheryl-theme="dark"] .cheryl_stats__chartCard {
	background: #16202a !important;
	border-color: #26313d !important;
}

/* tabel statistik OJS */
:root[data-cheryl-theme="dark"] .pkp_structure_main table td,
:root[data-cheryl-theme="dark"] .pkp_structure_main table th,
:root[data-cheryl-theme="dark"] .pkp_structure_main dl dd,
:root[data-cheryl-theme="dark"] .pkp_structure_main .value,
:root[data-cheryl-theme="dark"] .pkp_structure_main .label {
	color: #c9d4e0 !important;
}

/* Tautan blok Information di sidebar */
:root[data-cheryl-theme="dark"] .pkp_block.block_information .content ul > li a,
:root[data-cheryl-theme="dark"] .pkp_block .content ul > li a {
	color: #c9d4e0 !important;
}

:root[data-cheryl-theme="dark"] .pkp_block.block_information .content ul > li a:hover {
	color: #6fb8ff !important;
}

/* Judul bagian di dalam halaman */
:root[data-cheryl-theme="dark"] .pkp_structure_main h2,
:root[data-cheryl-theme="dark"] .pkp_structure_main h3,
:root[data-cheryl-theme="dark"] .pkp_structure_main h4 {
	color: #e8eef5 !important;
}

/* Kotak halaman (Editorial Team, History) pada mode gelap */
:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_history .pkp_structure_main > .page {
	background: #16202a !important;
	border-color: #26313d !important;
	box-shadow: none !important;
}

:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main .obj_editorial_team_member,
:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main .editorial_team_member {
	background: #1b2733 !important;
	border-color: #26313d !important;
}

:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main .page a,
:root[data-cheryl-theme="dark"] body.pkp_page_history .pkp_structure_main .page a {
	color: #6fb8ff !important;
}

:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main .page,
:root[data-cheryl-theme="dark"] body.pkp_page_history .pkp_structure_main .page,
:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main .page p,
:root[data-cheryl-theme="dark"] body.pkp_page_history .pkp_structure_main .page p,
:root[data-cheryl-theme="dark"] body.pkp_page_about.pkp_op_editorialTeam .pkp_structure_main .page li,
:root[data-cheryl-theme="dark"] body.pkp_page_history .pkp_structure_main .page li {
	color: #c9d4e0 !important;
}

/* Mode gelap untuk halaman kustom */
:root[data-cheryl-theme="dark"] body.pkp_page_aboutSTKIP .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_AI .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Archieve .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Board .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Charge .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_check .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Copy .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_economics .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_ethics .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_focusandscope .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Guideline .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Guidelines .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_history .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_licence .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_openaccess .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_review .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_aboutperdikkati .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Access .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Editorial .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Ethics .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_focus .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Licence .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Open .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Peer .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Plagiarism .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Policy .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Processing .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Review .pkp_structure_main > .page,
:root[data-cheryl-theme="dark"] body.pkp_page_Copyright .pkp_structure_main > .page {
	background: #16202a;
	border-color: #26313d;
	box-shadow: none;
}

/* Halaman Kontak: alamat & teks sekunder ikut diterangkan */
:root[data-cheryl-theme="dark"] .contact_section .address,
:root[data-cheryl-theme="dark"] .contact .address {
	color: #c9d4e0 !important;
}

/* Halaman Kontak: kotak kontak berlatar terang di mode gelap */
:root[data-cheryl-theme="dark"] .contact_section {
	background: #1b2733 !important;
	border-color: #26313d !important;
}

:root[data-cheryl-theme="dark"] .contact_section h2 {
	color: #e8eef5 !important;
}

:root[data-cheryl-theme="dark"] .contact .name,
:root[data-cheryl-theme="dark"] .contact .affiliation,
:root[data-cheryl-theme="dark"] .contact .label,
:root[data-cheryl-theme="dark"] .contact .value,
:root[data-cheryl-theme="dark"] .page_contact p {
	color: #c9d4e0 !important;
}

:root[data-cheryl-theme="dark"] .contact a {
	color: #6fb8ff !important;
}
