/* 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;
}
