/* Dark mode kustom my-gadget.net. Aktif hanya saat <body class="dark"> (mekanisme tema Blogus).
   Dimuat paling akhir agar menimpa warna tetap di berita.css, home.css, author.css, artikel.css,
   single-post.css, perbandingan-table.css, dan nav-dropdown.css. */
body.dark{
  /* Palet Slate: latar #141821, kartu #1d2230, panel #181c27, border #2c3344, header #0f131b */
  --bg-color:#141821;--wrap-color:#141821;--box-color:#1d2230;--box-color2:#1d2230;--border-color:#2c3344;
  --d-ink:#fff;--d-text:#e6e7ee;--d-mut:#a3a9ba;--d-line:#2c3344;--d-box:#1d2230;--d-box2:#181c27;
  --d-link:#e879c0;--d-cat:#ff7a88;--d-g1:#d65fb2;--d-g2:#ff7a88;--d-ph1:#262a40;--d-ph2:#3a2a48;
  background-color:#141821;
}
body.dark .wrapper,body.dark #page,body.dark main#content,body.dark #content,body.dark .bs-single,
body.dark.page .wrapper{background-color:#141821}
body.dark .bs-head-detail,body.dark .bs-header,body.dark .bs-menu-full,body.dark .navbar-wp,
body.dark .bs-default,body.dark footer.footer,body.dark .bs-footer-bottom-area{background-color:#0f131b}

/* ===== Gradasi teks (judul seksi) ===== */
body.dark .hm-sh h2,
body.dark .bt-side h2,
body.dark .bg-side-head strong,
body.dark .au-role{background-image:linear-gradient(90deg,var(--d-g1),var(--d-g2))}

/* ===== Teks umum ===== */
body.dark .page-home,body.dark .page-berita,body.dark .page-author,
body.dark .hm-t,body.dark .hm-hot-card b,body.dark .hm-intro h3,body.dark .hm-cta h3,
body.dark .hs-au b,body.dark .hs-count b,
body.dark .bt-article h1,body.dark .bt-name,body.dark .bt-body h2,body.dark .bt-body h3,body.dark .bt-h,
body.dark .au-info h1,body.dark .au-bio,body.dark .au-meta b,body.dark .au-sec-head h2,body.dark .au-title,
body.dark .au-soc a,body.dark .au-pager .page-numbers,
body.dark .bg-side-title,
body.dark .page-artikel .artikel-sec h2,body.dark .page-artikel .artikel-card h3,
body.dark .artikel-title{color:var(--d-ink)}

body.dark .bt-body,body.dark .bt-body blockquote,
body.dark .hs-card p,body.dark .page-artikel .artikel-card p,
body.dark .bg-single-content,body.dark .bg-single-content p,body.dark .bg-single-content li{color:var(--d-text)}
body.dark .bt-body blockquote{color:#d9dae3}

body.dark .bg-single-title,body.dark .bg-single-content h2,body.dark .bg-single-content h3,body.dark .bg-single-content h4,
body.dark .bg-single-meta,body.dark .bg-single-search input,body.dark #bg-toc a,body.dark .bg-toc-summary,
body.dark .bg-single-share h4,
body.dark body.page .entry-content,
body.dark.page .entry-content,body.dark.page .entry-content p,body.dark.page .entry-content li,
body.dark.page .entry-content h2,body.dark.page .entry-content h3{color:var(--d-ink)}
body.dark.page .entry-content p,body.dark.page .entry-content li{color:var(--d-text)}

/* ===== Teks sekunder ===== */
body.dark .hm-meta,body.dark .hm-sub,body.dark .hm-empty,
body.dark .hs-au,body.dark .hs-right,
body.dark .bt-crumb,body.dark .bt-by,body.dark .bt-share,body.dark .bt-s,body.dark .bt-empty,body.dark .bt-body figcaption,
body.dark .au-crumb,body.dark .au-label,body.dark .au-meta,body.dark .au-sec-head span,body.dark .au-date,body.dark .au-empty,
body.dark .artikel-lead,body.dark .artikel-empty,body.dark .artikel-meta,
body.dark .bg-single-read,body.dark .bg-side-head small,body.dark .bg-side-date,
body.dark .bg-single-search i{color:var(--d-mut)}

/* ===== Tautan dan label aksen ===== */
body.dark .hm-cat,body.dark .hs-cat,body.dark .au-cat,body.dark .bt-s b,
body.dark .hm-sh a,body.dark .artikel-sec__head a,body.dark .bg-side-more,
body.dark .bg-single-updated,body.dark .bt-body a{color:var(--d-link)}
body.dark .bt-cat,body.dark .hm-li em{color:var(--d-cat)}
body.dark .bt-crumb a:hover,body.dark .bt-name:hover,body.dark .au-crumb a:hover,
body.dark .hs-card h2 a:hover,body.dark .hm-hero-card h2 a:hover,
body.dark .bt-story:hover .bt-h,body.dark .au-card:hover .au-title,
body.dark .hm-card:hover .hm-t,body.dark .hm-li:hover .hm-t,
body.dark .bg-side-item:hover .bg-side-title,body.dark .artikel-card h3 a:hover,
body.dark .au-soc a:hover,body.dark .au-pager a.page-numbers:hover,
body.dark .artikel-pager a.page-numbers:hover,body.dark .hs-arrow:hover{color:var(--d-link)}
body.dark #bg-toc a.is-active{color:var(--d-link);background:#1a1a1f;border-left-color:var(--d-link)}
body.dark #bg-toc a{color:#c9ccda}
body.dark .bg-single-meta a{color:var(--d-link)}

/* ===== Garis dan border ===== */
body.dark .bt-meta,body.dark .au-sec-head,body.dark .artikel-sec__head,body.dark .bg-side-head,
body.dark #bg-toc,body.dark #bg-toc li,body.dark .bg-side-item,body.dark .artikel-card,
body.dark .hm-li{border-color:var(--d-line)}
body.dark .bt-cp,body.dark .au-profile,body.dark .au-card,body.dark .au-soc a,body.dark .au-pager .page-numbers,
body.dark .hm-card,body.dark .hm-box,body.dark .hm-intro,body.dark .hm-cta,body.dark .hm-ov,
body.dark .hs-card,body.dark .hs-arrow,body.dark .hm-hot-card,
body.dark .artikel-chips a,body.dark .artikel-pager .page-numbers,
body.dark .bg-side-widget,body.dark .bg-single-search,body.dark .bg-toc-summary,
body.dark .perbandingan-smartphone,body.dark figure.wp-block-table.is-style-perbandingan{border-color:var(--d-line)}
body.dark .bt-dot,body.dark .hs-dot{background:#555}
body.dark .hs-d{background:#333}

/* ===== Latar kartu dan kotak ===== */
body.dark .hm-card,body.dark .hm-box,body.dark .hm-ov,body.dark .hm-hero-card,
body.dark .hs-card,body.dark .hs-arrow,body.dark .hm-hot-card,
body.dark .au-profile,body.dark .au-card,
body.dark .artikel-chips a,
body.dark .bg-side-widget,body.dark .bg-single-search,body.dark .bg-toc-summary,
body.dark .bg-toc-details[open] #bg-toc{background:var(--d-box)}
body.dark .hm-intro,body.dark .hm-cta,body.dark .bg-side-more{background:var(--d-box2)}
body.dark .bt-cp{background:#222;color:#fff!important}
body.dark .bt-x{border:1px solid #333}
body.dark .hs-arrow{color:#fff}
body.dark .au-photo{border-color:#000;box-shadow:0 0 0 2px #333;background:#222}
body.dark .au-card:hover,body.dark .hm-card:hover{box-shadow:0 6px 18px rgba(232,121,192,.18)}
body.dark .hs-card,body.dark .hm-ov,body.dark .hm-hero-card{box-shadow:0 10px 30px rgba(232,121,192,.10)}
body.dark .bg-toc-summary::after{border-color:var(--d-link)}
body.dark .bg-toc-summary:hover,body.dark .bg-toc-summary:focus-visible{border-color:var(--d-link);outline-color:var(--d-link)}

/* ===== Placeholder gambar ===== */
body.dark .bt-hero,body.dark .bt-t,body.dark .au-img,body.dark .hm-im,body.dark .hm-feat-im,
body.dark .hm-th,body.dark .hs-img{background:linear-gradient(135deg,var(--d-ph1),var(--d-ph2))}
body.dark .artikel-card__thumb{background:#1a1a1f}

/* ===== Halaman Artikel: chip dan pager ===== */
body.dark .artikel-chips a{color:#fff}
body.dark .artikel-chips a:hover,body.dark .artikel-pager .page-numbers.current,body.dark .au-pager .page-numbers.current{color:#fff}
body.dark .artikel-pager .page-numbers{color:#fff}

/* ===== Artikel tunggal ===== */
body.dark .bg-single-share a{background:#222;color:#c9ccda}
body.dark .bg-single-share a:hover{color:#fff}
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table th,
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table td{border-color:#4a4f5c}
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table th{background:#1f2128;border-bottom-color:#7a8497;color:#fff}
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table td{color:var(--d-text)}
body.dark .key-highlight{background:#2a1626}
body.dark .key-highlight,body.dark .key-highlight .key-highlight__list,body.dark .key-highlight li{color:var(--d-text)}
body.dark .bg-side-thumb{background:linear-gradient(135deg,#1b1e3a,#5a1647 60%,#8f2b36)}

/* ===== Tabel Perbandingan Smartphone (pola blok dan gaya blok Tabel) ===== */
body.dark .perbandingan-smartphone,
body.dark figure.wp-block-table.is-style-perbandingan{background:var(--d-box)}
body.dark .perbandingan-smartphone figure.wp-block-table th,
body.dark .perbandingan-smartphone figure.wp-block-table td,
body.dark figure.wp-block-table.is-style-perbandingan th,
body.dark figure.wp-block-table.is-style-perbandingan td{border-bottom-color:#2b2b33;color:var(--d-text)}
body.dark .perbandingan-smartphone figure.wp-block-table thead th,
body.dark figure.wp-block-table.is-style-perbandingan thead th{background:#1f2128;color:#fff;border-bottom-color:#4a2a40}
body.dark .perbandingan-smartphone figure.wp-block-table thead th:nth-child(2),
body.dark figure.wp-block-table.is-style-perbandingan thead th:nth-child(2){color:#5fd68c}
body.dark .perbandingan-smartphone figure.wp-block-table thead th:nth-child(3),
body.dark figure.wp-block-table.is-style-perbandingan thead th:nth-child(3){color:#ff8a82}
body.dark .perbandingan-smartphone figure.wp-block-table tbody td:first-child,
body.dark figure.wp-block-table.is-style-perbandingan tbody td:first-child{color:#fff}
body.dark .perbandingan-smartphone figure.wp-block-table tbody td:nth-child(2),
body.dark figure.wp-block-table.is-style-perbandingan tbody td:nth-child(2){background:#0f1f16}
body.dark .perbandingan-smartphone figure.wp-block-table tbody td:nth-child(3),
body.dark figure.wp-block-table.is-style-perbandingan tbody td:nth-child(3){background:#251413}

/* ===== Dropdown menu header ===== */
@media (min-width:992px){
  body.dark .navbar-wp .dropdown-menu,
  body.dark .navbar-wp .nav .sub-menu{background:#111;box-shadow:0 14px 30px rgba(0,0,0,.6)}
  body.dark .navbar-wp .dropdown-menu .dropdown-item,
  body.dark .navbar-wp .nav .sub-menu a{color:#e6e7ee}
  body.dark .navbar-wp .dropdown-menu .dropdown-item:hover,
  body.dark .navbar-wp .nav .sub-menu a:hover{background:#262d40;color:var(--d-link)}
  body.dark .navbar-wp .dropdown-menu,
  body.dark .navbar-wp .nav .sub-menu{background:#1d2230;border:1px solid #2c3344}
}

/* ===== Penyesuaian palet Slate (menimpa nilai hitam/abu netral di atas) ===== */
body.dark .hs-d,body.dark .dots i{background:#2c3344}
body.dark .bt-dot,body.dark .hs-dot{background:#555e75}
body.dark .bt-cp,body.dark .bg-single-share a{background:#1d2230}
body.dark .bt-x{background:#0f131b;border:1px solid #2c3344}
body.dark .au-photo{border-color:#141821;box-shadow:0 0 0 2px #2c3344;background:#1d2230}
body.dark .artikel-card__thumb{background:#181c27}
body.dark #bg-toc a.is-active{background:#232a3b}
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table th,
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table td{border-color:#3a4256}
body.dark .bg-single-content :not(figure.is-style-perbandingan) > table th{background:#232a3b}
body.dark .perbandingan-smartphone figure.wp-block-table th,
body.dark .perbandingan-smartphone figure.wp-block-table td,
body.dark figure.wp-block-table.is-style-perbandingan th,
body.dark figure.wp-block-table.is-style-perbandingan td{border-bottom-color:#2c3344}
body.dark .perbandingan-smartphone figure.wp-block-table thead th,
body.dark figure.wp-block-table.is-style-perbandingan thead th{background:#232a3b}
body.dark .perbandingan-smartphone figure.wp-block-table tbody td:nth-child(2),
body.dark figure.wp-block-table.is-style-perbandingan tbody td:nth-child(2){background:#142320}
body.dark .perbandingan-smartphone figure.wp-block-table tbody td:nth-child(3),
body.dark figure.wp-block-table.is-style-perbandingan tbody td:nth-child(3){background:#26191f}
body.dark .key-highlight{background:#2a1b33}
body.dark .bg-side-thumb{background:linear-gradient(135deg,#262a40,#5a1647 60%,#8f2b36)}
body.dark .hs-card,body.dark .hm-ov,body.dark .hm-hero-card{box-shadow:0 10px 30px rgba(0,0,0,.35)}
body.dark .au-card:hover,body.dark .hm-card:hover{box-shadow:0 6px 18px rgba(0,0,0,.4)}
