.td-pb-row [class*="td-pb-span"],
.td-pb-border-top,
.page-template-page-title-sidebar-php .td-page-content > .wpb_row:first-child,
.td-post-sharing,
.td-post-content,
.td-post-next-prev,
.author-box-wrap,
.td-comments-title-wrap,
.comment-list,
.comment-respond,
.td-post-template-5 header,
.td-container,
.wpb_content_element,
.wpb_column,
.wpb_row,
.white-menu .td-header-container .td-header-main-menu,
.td-post-template-1 .td-post-content,
.td-post-template-4 .td-post-sharing-top,
.td-header-style-6 .td-header-header .td-make-full,
#disqus_thread,
.page-template-page-pagebuilder-title-php .td-page-content > .wpb_row:first-child,
.td-footer-container:before {
    border-color: #e6e6e6;
}

.td-top-border {
    border-color: #e6e6e6 !important;
}

.td-container-border:after,
.td-next-prev-separator,
.td-container .td-pb-row .wpb_column:before,
.td-container-border:before,
.td-main-content:before,
.td-main-sidebar:before,
.td-pb-row .td-pb-span4:nth-of-type(3):after,
.td-pb-row .td-pb-span4:nth-last-of-type(3):after {
    background-color: #e6e6e6;
}

@media (max-width: 767px) {
    .white-menu .td-header-main-menu {
        border-color: #e6e6e6;
    }
}

.td-menu-background:before,
.td-search-background:before {
    background: rgba(0, 0, 0, 0.5);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.5)), color-stop(100%, rgba(0, 0, 0, 0.6)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(0,0,0,0.5)', endColorstr='rgba(0,0,0,0.6)', GradientType=0);
}

.td-footer-container::before {
    background-size: cover;
    opacity: 0.1;
}

/* =========================
   DARK MODE NEWSMAG HITAM PUTIH
   ========================= */

body {
    background: #242424 !important;
}

.post,
.module,
.widget {
    background: #2f2f2f !important;
}

/* Semua box */
.wrapper,
.container,
.content,
.main-content,
.sidebar,
.post,
.box,
.module,
.widget,
.article,
.block {
    background: #2b2b2b !important;
}

/* Area utama */
#wrapper,
#container,
#content,
#main,
#main-content,
#primary,
#secondary,
.row,
.site-content {
    background: #111111 !important;
}

/* Header & menu */
.header,
.navbar,
.topbar,
.menu,
.nav,
.mainmenu {
    background: #000000 !important;
}

.navbar a,
.menu a,
.nav a {
    color: #ffffff !important;
}

.navbar a:hover,
.menu a:hover {
    color: #cccccc !important;
}

/* Judul berita */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

/* Link */
a {
    color: #ffffff !important;
}

a:hover {
    color: #cccccc !important;
}

/* Footer default */
.footer {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Tombol */
button,
.btn {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
}

button:hover,
.btn:hover {
    background: #cccccc !important;
    color: #000000 !important;
}

/* Hilangkan putih bootstrap */
.bg-white,
.bg-light,
.white,
.gray-bg {
    background: #161616 !important;
}

/* Form */
input,
textarea {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
}

/* Area berita list */
.post-wrap,
.post-item,
.article-wrap {
    background: #161616 !important;
}

/* Bootstrap row */
.container,
.container-fluid {
    background: transparent !important;
}

div {
    background-color: inherit !important;
}

/* =========================================
   HEADER & FOOTER MERAH
   ========================================= */

/* Top bar */
.td-header-top-menu,
.td-header-top-menu-full,
.td-header-row,
.td-header-top-menu-full .td-header-top-menu {
    background: #b80000 !important;
}

.td-header-top-menu a,
.td-header-top-menu-full a,
.td-header-row a {
    color: #ffffff !important;
}

.td-header-top-menu a:hover,
.td-header-top-menu-full a:hover {
    color: #eeeeee !important;
}

/* Logo area */
.td-header-sp-logo,
.td-header-sp-logo * {
    background: #b80000 !important;
    color: #ffffff !important;
}

/* Menu utama */
.td-header-menu-wrap,
.td-header-menu-wrap-full,
.td-header-main-menu,
.td-header-wrap,
.td-header-container,
.td-header-style-1 .td-header-menu-wrap {
    background: #b80000 !important;
}

.td-header-menu-wrap a,
.td-header-main-menu a,
.td-header-menu-wrap .sf-menu > li > a {
    color: #ffffff !important;
}

.td-header-menu-wrap a:hover,
.td-header-main-menu a:hover,
.td-header-menu-wrap .sf-menu > li > a:hover {
    color: #eeeeee !important;
}

.td-icon-search,
.td-search-icon {
    color: #ffffff !important;
}

/* Dropdown */
.td-header-menu-wrap .sf-menu ul,
.td-header-menu-wrap .sf-menu ul li {
    background: #a60000 !important;
}

.td-header-menu-wrap .sf-menu ul li a {
    color: #ffffff !important;
}

/* Footer merah */
.td-footer-wrapper,
.td-footer-container,
footer,
.footer {
    background: #b80000 !important;
    color: #ffffff !important;
}

/* Footer background cleanup */
.td-footer-wrapper *,
.td-footer-container * {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Footer text */
.td-footer-wrapper,
.td-footer-wrapper *,
.td-footer-container,
.td-footer-container * {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.td-footer-wrapper h1,
.td-footer-wrapper h2,
.td-footer-wrapper h3,
.td-footer-wrapper h4 {
    font-weight: 700 !important;
    font-size: 17px !important;
}

.td-footer-wrapper a:hover {
    color: #eeeeee !important;
}

/* Isi berita */
.td-post-content,
.td-post-content p,
.entry-content,
.entry-content p,
.post-content,
.post-content p,
.td-post-content a,
.entry-content a {
    color: #ffffff !important;
}

.td-post-date,
.td-module-date,
.td-post-author-name,
.td-module-meta-info,
.meta,
.meta a {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Top bar tanggal & sosmed */
.td-header-top-menu .td_data_time,
.td-header-top-menu .td-date,
.td-header-top-menu span,
.td-header-top-menu time,
.td-header-top-menu i,
.td-header-top-menu .td-social-icon-wrap i,
.td-header-top-menu .td-social-icon-wrap a,
.td-header-top-menu * {
    color: #ffffff !important;
}

/* Kategori title */
.td-category-title,
.td-category-header,
.td-category-title span,
.td-category-header h1 {
    color: #000000 !important;
    font-weight: 600 !important;
}
/* =========================================
   SEMUA TEKS KONTEN PUTIH + LEBIH BESAR + BOLD
   (TIDAK TERMASUK HEADER & FOOTER)
   ========================================= */

/* Target semua area utama selain header & footer */
body:not(.td-footer-wrapper):not(.td-header-wrap)
#content *,
#main *,
.td-main-content *,
.td-container *,
.td-page-content *,
.td_block_wrap *,
.td-post-content *,
.entry-content *,
.post-content * {
    color: #ffffff !important;
    font-size: 13px !important;   /* sedikit lebih besar */
    font-weight: 600 !important;  /* semi bold */
}

/* Judul dalam konten lebih tegas */
.td-main-content h1,
.td-main-content h2,
.td-main-content h3,
.td-main-content h4,
.td-main-content h5,
.td-main-content h6 {
    font-size: 15px !important;
    font-weight: 200 !important;
}

/* Pastikan header & footer tidak ikut berubah */
.td-header-wrap *,
.td-footer-wrapper * {
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* =========================================
   JUDUL LEBIH BESAR + BACKGROUND MERAH
   (HANYA AREA KONTEN, BUKAN HEADER/FOOTER)
   ========================================= */

/* Semua heading di dalam konten */
.td-main-content h1,
.td-main-content h2,
.td-main-content h3,
.td-main-content h4,
.td-main-content h5,
.td-main-content h6,
.td-post-content h1,
.td-post-content h2,
.td-post-content h3,
.td-post-content h4,
.td-post-content h5,
.td-post-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    background: #b80000 !important;
    color: #ffffff !important;
    font-size: 14px !important;     /* lebih besar */
    font-weight: 700 !important;    /* bold */
    padding: 8px 12px !important;
    border-radius: 4px !important;
    display: inline-block;
}

/* Judul utama artikel lebih besar lagi */
.td-post-title h1,
.td-post-title {
    background: #b80000 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
}
/* =========================================
   JUDUL DI HOME / BERANDA
   LEBIH BESAR + BACKGROUND MERAH
   ========================================= */

/* Judul artikel di homepage (module NewsMag) */
.td-module-title,
.td-module-title a,
.td-block-title,
.td-big-grid-meta .td-module-title,
.td_module_wrap .td-module-title {
    background: #b80000 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}

/* Jika judul berupa link */
.td-module-title a {
    color: #ffffff !important;
}

/* Judul headline lebih besar */
.td-big-grid-meta .td-module-title {
    font-size: 15px !important;
    padding: 8px 12px !important;
}

/* Hover tetap putih */
.td-module-title a:hover {
    color: #ffffff !important;
}
/* =========================================
   HEADLINE LEBIH PROPORSIONAL
   ========================================= */

.td-trending-now-display-area a {
    font-size: 16px !important;     /* lebih kecil */
    font-weight: 600 !important;    /* semi bold */
    padding: 6px 12px !important;   /* lebih ramping */
    border-radius: 4px !important;
    line-height: 1.4 !important;
}

/* Jika pakai background merah */
.td-trending-now-display-area a {
    background: #b80000 !important;
    color: #ffffff !important;
}

/* Kurangi tinggi area headline */
.td-trending-now-wrapper {
    padding: 35px 0 !important;
}

/* =========================================
   TEKS KATEGORI HITAM + BOLD
   ========================================= */

.td-category-header,
.td-category-title,
.td-page-title,
.td-category-header h1,
.td-category-title span,
.td-page-title span {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 20px !important;   /* perbesar */
}




