/*
Theme Name: Digimedia News Pro
Theme URI: https://digimedia.id
Author: Rzl Khatiri
Author URI: https://digimedia.id
Description: Theme WordPress profesional untuk portal berita dan media online bergaya Digimedia.id. Dilengkapi Font Windows 11 (Segoe UI Variable), Top Bar Breaking News, Header & Footer sejajar lebar body, Headline Slider + 4 Thumbnail, Berita Terbaru ringkas (Judul, Kategori Pilihan, Tanggal Dinamis 24 Jam), Edit Jumlah Dibaca (Views) per Pos & Quick Edit, Sisipan Media #1-#6 (2 konten per slot, Full-Width kiri ke kanan untuk Iklan & Carousel Berita 5 Kolom), POPULER 6 Sticky (logo bisa pilih gambar atau tulisan dengan ukuran font fleksibel), Slot Iklan Gambar Bawah POPULER 6 & Antara Blok Kanal Sidebar Kanan, Kolom Komentar Interaktif (di atas Berita Terkait, paginasi 3 komentar per halaman 1, 2, 3 dst.) dengan Picker Emot Lucu & Reaksi Berita AJAX, Lencana Kategori Otomatis 3 Hari Terakhir (Hot/Popular/UP!), Iklan Mobile 500x500, Berita Foto Slider, Berita Video YouTube, Halaman Indeks Berita, desain tajam tanpa border-radius, Dark Mode, responsif penuh Desktop/Tablet/Mobile, dan standar keamanan WordPress terbaru.
Version: 8.2.52
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: digimedia-news-pro
*/

:root {
    --font-body: 'Segoe UI Variable Text', 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Segoe UI Variable Display', 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --primary: #26055C;
    --topbar-bg: #0B2545;
    --purple: #3B0086;
    --accent: #D90429;
    --dark: #111827;
    --text: #1F2937;
    --muted: #6B7280;
    --bg: #F3F4F6;
    --surface: #FFFFFF;
    --surface-alt: #F9FAFB;
    --header-bg: #E5E5E5;
    --footer-bg: #D9D9D9;
    --border: #E5E7EB;
    --input-bg: #FFFFFF;
    --radius: 0px;
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] {
    --dark: #F8FAFC;
    --text: #E2E8F0;
    --muted: #94A3B8;
    --bg: #0B1120;
    --surface: #111827;
    --surface-alt: #1E293B;
    --header-bg: #111827;
    --footer-bg: #0F172A;
    --border: #1F2937;
    --input-bg: #1E293B;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Hilangkan seluruh border-radius pada semua elemen tampilan theme */
body *:not(#wpadminbar):not(#wpadminbar *):not(.dnp-feed-badge):not(.dnp-feed-badge *):not(.dnp-nav-badge) {
    border-radius: 0 !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.62;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6,
.site-logo-text,
.populer6-heading-text {
    font-family: var(--font-display);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 94%;
    max-width: 1180px;
    margin: 0 auto;
}

/* =========================================================
   MOBILE-ONLY TOP SQUARE AD 500x500 (PALING ATAS)
   ========================================================= */
.mobile-top-ad-section {
    display: none;
    background: var(--bg);
    padding: 12px 0 14px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    max-height: 620px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.28s ease, padding 0.35s ease;
}

.mobile-top-ad-section.is-closing {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-width: 0;
}

.mobile-top-ad-section.is-hidden {
    display: none !important;
}

.mobile-top-ad-inner {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-top-ad-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mobile-ad-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

.mobile-ad-bar-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.mobile-ad-close-btn {
    background: rgba(217, 4, 41, 0.1);
    color: var(--accent);
    border: 1px solid rgba(217, 4, 41, 0.25);
    padding: 4px 11px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mobile-ad-close-btn:hover {
    background: var(--accent);
    color: #FFFFFF;
}

.mobile-top-ad-body .ad-container {
    margin: 0;
}

/* =========================================================
   UNIFIED STICKY HEADER (LEBAR SEJAJAR BODY 1180px)
   ========================================================= */
.site-sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 94%;
    max-width: 1180px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    border-radius: 0 0 8px 8px;
}

body.admin-bar .site-sticky-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-sticky-header {
        top: 46px;
    }
}

/* Baris 1: Top Bar Breaking News Ticker */
.top-bar {
    background-color: var(--topbar-bg);
    color: #E2E8F0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
}

.breaking-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.breaking-label {
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    white-space: nowrap;
}

.breaking-ticker {
    position: relative;
    height: 21px;
    overflow: hidden;
    flex: 1;
}

.breaking-item {
    position: absolute;
    inset: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    font-weight: 500;
}

.breaking-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.breaking-item:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.top-date {
    white-space: nowrap;
    color: #CBD5E1;
    font-weight: 500;
    font-size: 0.78rem;
}

/* Baris 2: Header Abu-Abu Terang Gaya Digimedia.id (Tinggi 125px Proporsional) */
.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    height: 125px;
    display: flex;
    align-items: center;
}

.header-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    padding: 0;
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-logo-text {
    font-size: 2.55rem;
    font-weight: 800;
    letter-spacing: -1.1px;
    color: #003B8E;
    line-height: 1.02;
    display: inline-block;
}

[data-theme="dark"] .site-logo-text {
    color: #FFFFFF;
}

.site-logo-text span {
    color: #E11D48;
}

.site-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo-link img {
    max-height: 86px;
    width: auto;
    object-fit: contain;
}

.header-right-tools {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: flex-end;
}

.header-date-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.header-divider {
    width: 1px;
    height: 26px;
    background: #B8BEC7;
}

[data-theme="dark"] .header-divider {
    background: #334155;
}

.header-search-pill {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 280px;
}

.header-search-pill input[type="search"] {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 18px;
    border-radius: 999px;
    border: 1px solid #C8CDD5;
    background: rgba(255, 255, 255, 0.62);
    color: var(--dark);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

[data-theme="dark"] .header-search-pill input[type="search"] {
    background: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
}

.header-search-pill button {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-icon-action {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    flex-shrink: 0;
}

.header-icon-action:hover {
    background: rgba(15, 23, 42, 0.08);
    color: var(--accent);
}

[data-theme="dark"] .header-icon-action:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Baris 3: Menu Navigasi Ungu Tua + Lencana Hot / Popular / UP! */
.nav-bar {
    background: var(--primary);
    border-radius: 0 0 8px 8px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 10px;
    position: relative;
}

.main-nav {
    flex: 1;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 13px 11px;
    white-space: nowrap;
    position: relative;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current_page_item > a {
    color: #FF2E4D;
}

.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current_page_item > a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    background: #FF2E4D;
    border-radius: 3px 3px 0 0;
}

/* Dropdown Submenu */
.main-nav li.menu-item-has-children > a::before {
    content: "\25BE";
    order: 2;
    font-size: 0.72rem;
    opacity: 0.85;
}

.main-nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #1C0445;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    list-style: none;
    padding: 6px 0;
    z-index: 1001;
}

.main-nav li.menu-item-has-children:hover > ul.sub-menu {
    display: block;
}

.main-nav ul.sub-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #E2E8F0;
}

.main-nav ul.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* Lencana Mengambang Otomatis & Manual: Hot, Popular, UP! */
.main-nav li.badge-hot > a { color: #FDE047; }
.main-nav li.badge-popular > a { color: #4ADE80; }
.main-nav li.badge-up > a { color: #93C5FD; }

.dnp-nav-badge {
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: 0.56rem;
    font-weight: 800;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 999px;
    color: #FFFFFF;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
}

.dnp-nav-badge.is-hot { background: linear-gradient(135deg, #FF4D5A 0%, #E11D48 100%); }
.dnp-nav-badge.is-popular { background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%); }
.dnp-nav-badge.is-up { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }

.nav-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05rem;
    align-items: center;
    justify-content: center;
}

.mobile-nav-label {
    display: none;
    color: #F8FAFC;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Panel Pencarian, Indeks & Ganti Mode Khusus di Dalam Tab Menu Mobile */
.mobile-nav-extras {
    display: none;
}

.mobile-nav-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-nav-search input[type="search"] {
    width: 100%;
    height: 40px;
    padding: 0 42px 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.86rem;
    outline: none;
}

.mobile-nav-search input[type="search"]::placeholder {
    color: #CBD5E1;
}

.mobile-nav-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: var(--accent);
    color: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mobile-nav-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF !important;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.mobile-nav-action-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* =========================================================
   AD BANNER CONTAINER
   ========================================================= */
.ad-container {
    text-align: center;
    margin: 18px 0;
}

.ad-label {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 4px;
}

.ad-box {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.ad-box img {
    margin: 0 auto;
    border-radius: 8px;
}

.top-leaderboard-wrap {
    padding-top: 14px;
}

/* =========================================================
   MAIN 2-COLUMN LAYOUT (KIRI KONTEN + KANAN SIDEBAR 400px)
   ========================================================= */
.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 16px;
    padding: 16px 0 0;
    align-items: stretch;
}

.content-primary,
.sidebar-area {
    min-width: 0;
}

.main-layout.home-top-layout {
    padding-bottom: 16px;
}

.main-layout.home-bottom-layout {
    padding: 16px 0 0;
}

.content-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-bottom: none;
    margin-bottom: 16px;
}

.content-primary > .content-card:last-child {
    margin-bottom: 0;
}

/* Section Heading dengan Kotak Ungu ala Digimedia.id */
.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}

.section-title-bar h2,
.section-title-bar h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.section-title-bar h2::before,
.section-title-bar h3::before {
    content: "";
    width: 8px;
    height: 16px;
    border-radius: 2px;
    background: var(--purple);
    display: inline-block;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 16px;
    gap: 10px;
}

.panel-heading h2,
.panel-heading h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark);
    position: relative;
}

.panel-heading h2::after,
.panel-heading h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 44px;
    height: 3px;
    background: var(--accent);
}

.panel-more-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.panel-more-link:hover {
    text-decoration: underline;
}

/* =========================================================
   HEADLINE SLIDER + 4 STRIP THUMBNAIL
   ========================================================= */
.hero-headline-box {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.headline-slider {
    position: relative;
    background: #0F172A;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.headline-slider {
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.headline-slider.is-dragging {
    cursor: grabbing;
}

.slide-media-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-item img,
.slide-media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 35%, rgba(15, 23, 42, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #FFFFFF;
}

.slide-overlay a,
.slide-overlay .cat-badge {
    pointer-events: auto;
}

.cat-badge {
    display: inline-block;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 8px;
}

.slide-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.slide-title a:hover {
    color: #FDE68A;
}

.slide-meta {
    font-size: 0.78rem;
    color: #CBD5E1;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    background: rgba(15, 23, 42, 0.65);
    color: #FFFFFF;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav-btn:hover { background: var(--accent); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* 4 Strip Thumbnail di Bawah Slider */
.hero-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface-alt);
    border-top: 1px solid var(--border);
}

.hero-thumb-card {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
}

.hero-thumb-img-link {
    display: block;
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.hero-thumb-card a.hero-thumb-title {
    display: -webkit-box;
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.hero-thumb-card:hover .hero-thumb-title,
.hero-thumb-card a.hero-thumb-title:hover {
    color: var(--accent);
}

.hero-thumb-card:last-child {
    border-right: none;
}

.hero-thumb-card.active {
    background: var(--surface);
    box-shadow: inset 0 3px 0 var(--accent);
}

.hero-thumb-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 7px;
}

.hero-thumb-title {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
   DAFTAR BERITA TERBARU & MEDIA BADGE
   ========================================================= */
.media-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-video { background: rgba(217, 4, 41, 0.94); }
.badge-foto { background: rgba(11, 37, 69, 0.92); }

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card-horizontal {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 16px;
    padding-bottom: 0;
    border-bottom: none;
    align-items: center;
}

.news-card-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--surface-alt);
    display: block;
}

.news-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-card-horizontal:hover .news-card-thumb-wrap img {
    transform: scale(1.04);
}

.news-card-title {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.38;
    margin-bottom: 10px;
    color: var(--dark);
}

.news-card-title a:hover {
    color: var(--accent);
}

.news-meta-sm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--muted);
}

.meta-cat-pill {
    display: inline-block;
    background: var(--purple);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    padding: 3px 8px;
}

.news-card-excerpt {
    font-size: 0.86rem;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.55;
}

/* =========================================================
   SISIPAN MEDIA #1 - #6 (FULL-WIDTH & CAROUSEL 5 KOLOM)
   ========================================================= */
.home-fullwidth-infeed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.infeed-fullwidth-banner {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow);
}

.infeed-fullwidth-banner .ad-box,
.infeed-fullwidth-banner .ad-box img {
    width: 100%;
    display: block;
}

.infeed-fullwidth-card,
.infeed-slot-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow);
}

.infeed-dual-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
    border-bottom: none;
}

.infeed-dark-box {
    background: #111827;
    color: #F8FAFC;
    border-color: #1F2937;
}

.infeed-dark-box .section-title-bar h3,
.infeed-dark-box .infeed-mini-title a {
    color: #F8FAFC;
}

.infeed-dark-box .infeed-mini-card {
    background: #1E293B;
    border-color: #334155;
}

.dnp-carousel-wrap {
    position: relative;
}

.dnp-carousel-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.dnp-carousel-track::-webkit-scrollbar {
    display: none;
}

.dnp-carousel-track.infeed-cols-5 .infeed-mini-card {
    flex: 0 0 calc((100% - 56px) / 5);
}

.dnp-carousel-track.infeed-cols-3 .infeed-mini-card {
    flex: 0 0 calc((100% - 28px) / 3);
}

.dnp-carousel-track.infeed-cols-2 .infeed-mini-card {
    flex: 0 0 calc((100% - 14px) / 2);
}

.infeed-mini-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.infeed-mini-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0F172A;
}

.infeed-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.infeed-mini-card:hover .infeed-mini-thumb img {
    transform: scale(1.04);
}

.infeed-thumb-cat-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 4;
    background: var(--purple);
    color: #FFFFFF;
    font-size: 0.66rem;
    font-weight: 800;
    padding: 3px 8px;
    letter-spacing: 0.2px;
}

.infeed-mini-body {
    padding: 11px 12px 13px;
}

.infeed-mini-title {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.36;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.infeed-mini-title a:hover {
    color: var(--accent);
}

.dnp-carousel-btn {
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    z-index: 6;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    color: #111827;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dnp-carousel-btn:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.dnp-carousel-btn.prev { left: 8px; }
.dnp-carousel-btn.next { right: 8px; }

.infeed-featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
}

.infeed-featured-lead {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: #0F172A;
    grid-row: span 2;
}

.infeed-featured-lead img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infeed-featured-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 35%, rgba(15, 23, 42, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: #FFFFFF;
}

.infeed-featured-lead-overlay h4 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.32;
}

/* =========================================================
   BLOK GRID 2x2 PER KATEGORI (OPSIONAL)
   ========================================================= */
.category-blocks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.category-block-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow);
}

.cat-lead-post {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.cat-lead-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 10px;
}

.cat-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-lead-title {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--dark);
}

.cat-sub-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-sub-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 10px;
    align-items: start;
}

.cat-sub-thumb {
    width: 84px;
    height: 58px;
    overflow: hidden;
    display: block;
}

.cat-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-sub-title {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    color: var(--dark);
}

/* =========================================================
   SIDEBAR KANAN, STICKY & POPULER 6
   ========================================================= */
.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-sticky-box,
.sidebar-sticky-wrap {
    position: sticky;
    top: 218px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-widget,
.populer6-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-widget .ad-container {
    margin: 0;
}

.sidebar-widget .ad-box,
.sidebar-widget .ad-box img {
    width: 100%;
    height: auto;
}

.populer6-header {
    margin-bottom: 14px;
}

.populer6-header.align-center {
    text-align: center;
}

.populer6-header.align-center .populer6-header-img {
    margin: 0 auto;
}

.populer6-header-img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.populer6-heading-text {
    font-size: 2.05rem;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--purple);
    line-height: 1.05;
    text-transform: uppercase;
}

[data-theme="dark"] .populer6-heading-text {
    color: #C4B5FD;
}

.populer6-rank1 {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0F172A;
    margin-bottom: 14px;
}

.populer6-rank1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.populer6-rank1-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 30%, rgba(15, 23, 42, 0.92) 100%);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 14px;
    color: #FFFFFF;
}

.populer6-num-box {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: var(--purple);
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.populer6-rank1-title {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.34;
    margin-bottom: 5px;
    color: #FFFFFF;
}

.populer6-rank1-meta {
    display: flex;
    gap: 10px;
    font-size: 0.74rem;
    color: #CBD5E1;
}

.populer6-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.populer6-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.populer6-item .populer6-num-box {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    flex-shrink: 0;
}

.populer6-item > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 54px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.populer6-item-title {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.24;
    margin: 0;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.populer6-item-title a:hover {
    color: var(--accent);
}

.populer6-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    line-height: 1.1;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-kanal-banner {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.sidebar-kanal-header {
    background: var(--primary);
    color: #FFFFFF;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sidebar-kanal-lead {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0F172A;
    margin-bottom: 12px;
}

.sidebar-kanal-lead img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-kanal-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 35%, rgba(15, 23, 42, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    color: #FFFFFF;
}

.sidebar-kanal-lead-overlay h4 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.34;
}

.sidebar-area .cat-sub-item {
    grid-template-columns: 104px 1fr;
    gap: 12px;
    align-items: start;
}

.sidebar-area .cat-sub-thumb {
    width: 104px;
    height: 70px;
    flex-shrink: 0;
}

.sidebar-area .cat-sub-item > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70px;
    min-width: 0;
    overflow: hidden;
}

.sidebar-area .cat-sub-title {
    font-size: 0.88rem;
    line-height: 1.28;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-area .cat-sub-item .news-meta-sm {
    font-size: 0.73rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
   SINGLE POST: BREADCRUMB, SHARE, BERITA FOTO & VIDEO
   ========================================================= */
.breadcrumbs {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.single-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.28;
    color: var(--dark);
    margin: 8px 0 14px;
}

.single-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--muted);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.share-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-x { background: #111827; }
.share-tg { background: #0088CC; }
.share-copy { background: #4B5563; }

.single-featured-wrap {
    margin: 0 0 22px;
}

.single-featured-wrap img {
    width: 100%;
    height: auto;
}

.featured-caption {
    font-size: 0.82rem;
    color: var(--muted);
    background: var(--surface-alt);
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    margin-top: 8px;
}

.video-news-player-wrap {
    margin-bottom: 22px;
}

.video-responsive-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000000;
    overflow: hidden;
}

.video-responsive-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.photo-news-slider-wrap {
    margin-bottom: 22px;
}

.photo-slider-stage {
    position: relative;
    background: #0F172A;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.photo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.photo-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    background: rgba(15, 23, 42, 0.85);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
}

.photo-caption-box {
    background: var(--surface-alt);
    border-left: 4px solid var(--accent);
    padding: 12px 15px;
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--text);
}

.photo-thumbs-strip {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}

.photo-thumb-btn {
    width: 76px;
    height: 52px;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.65;
}

.photo-thumb-btn.active {
    border-color: var(--accent);
    opacity: 1;
}

.photo-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-content {
    font-size: 1.02rem;
    line-height: 1.82;
    color: var(--text);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--dark);
    margin: 22px 0 10px;
    line-height: 1.35;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    background: var(--surface-alt);
    padding: 14px 18px;
    margin: 18px 0;
    font-style: italic;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    display: block;
    overflow-x: auto;
}

.entry-content iframe {
    max-width: 100%;
}

.post-tags {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.post-tags a {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.post-tags a:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.related-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
}

/* =========================================================
   KOLOM KOMENTAR INTERAKTIF + EMOT LUCU & REAKSI BERITA
   ========================================================= */
.dnp-comments-area {
    margin-top: 4px;
}

.dnp-reaction-box {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 22px;
}

.dnp-reaction-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dnp-reaction-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark);
}

.dnp-reaction-sub {
    font-size: 0.76rem;
    color: var(--muted);
}

.dnp-reaction-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.dnp-react-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    color: var(--dark);
}

.dnp-react-btn:hover {
    border-color: var(--purple);
}

.dnp-react-btn.is-voted {
    border-color: var(--accent);
    background: rgba(217, 4, 41, 0.08);
}

[data-theme="dark"] .dnp-react-btn.is-voted {
    background: rgba(217, 4, 41, 0.18);
}

.dnp-react-emoji {
    font-size: 1.55rem;
    line-height: 1.1;
}

.dnp-react-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}

.dnp-react-count {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--dark);
}

.dnp-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.dnp-comments-title {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dnp-comments-badge {
    background: var(--purple);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 2px 9px;
}

.dnp-comment-respond {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 18px;
    margin-bottom: 24px;
}

.dnp-comment-respond .comment-reply-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dnp-comment-respond .comment-reply-title small a {
    font-size: 0.76rem;
    color: var(--accent);
    font-weight: 700;
}

.dnp-comment-respond .comment-notes,
.dnp-comment-respond .logged-in-as {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.dnp-emoji-picker-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-bottom: none;
    padding: 10px 12px;
}

.dnp-emoji-picker-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dnp-emoji-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.dnp-emoji-btn {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.dnp-emoji-btn:hover {
    transform: scale(1.18);
    border-color: var(--purple);
    background: var(--surface);
}

.dnp-emoji-btn:active {
    transform: scale(0.95);
}

.dnp-comment-textarea-wrap {
    position: relative;
}

.dnp-comment-respond textarea#comment {
    width: 100%;
    min-height: 112px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.94rem;
    line-height: 1.55;
    resize: vertical;
    outline: none;
    display: block;
}

.dnp-comment-respond textarea#comment:focus,
.dnp-comment-field input:focus {
    border-color: var(--purple);
}

.dnp-textarea-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    padding: 7px 12px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.dnp-quick-phrases {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dnp-quick-chip {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    cursor: pointer;
}

.dnp-quick-chip:hover {
    border-color: var(--purple);
    color: var(--purple);
}

[data-theme="dark"] .dnp-quick-chip:hover {
    color: #C4B5FD;
}

.dnp-char-counter {
    font-weight: 700;
    white-space: nowrap;
}

.dnp-comment-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.dnp-comment-field label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.dnp-comment-field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
}

.dnp-comment-respond .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--muted);
    margin: 10px 0 14px;
}

.dnp-comment-respond .comment-form-cookies-consent input {
    margin-top: 3px;
}

.dnp-comment-respond .form-submit {
    margin: 0;
}

.dnp-comment-respond .submit {
    background: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 11px 24px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.dnp-comment-respond .submit:hover {
    opacity: 0.92;
}

.dnp-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dnp-comment-list ul.children {
    list-style: none;
    margin: 12px 0 0 28px;
    padding: 0 0 0 14px;
    border-left: 3px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dnp-comment-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 15px 16px;
}

.dnp-comment-card.is-post-author {
    border-left: 4px solid var(--purple);
}

.dnp-comment-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dnp-comment-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--purple);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.dnp-comment-avatar img {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.dnp-comment-author-wrap {
    min-width: 0;
    flex: 1;
}

.dnp-comment-author {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.dnp-author-badge {
    background: var(--purple);
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
}

.dnp-comment-time {
    font-size: 0.74rem;
    color: var(--muted);
    margin-top: 2px;
}

.dnp-comment-awaiting {
    background: rgba(245, 158, 11, 0.14);
    border-left: 3px solid #D97706;
    color: var(--dark);
    font-size: 0.8rem;
    padding: 7px 10px;
    margin-bottom: 10px;
}

.dnp-comment-body {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 12px;
    word-break: break-word;
}

.dnp-comment-body p:last-child {
    margin-bottom: 0;
}

.dnp-comment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dnp-comment-like-btn,
.dnp-comment-reply-wrap a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: all 0.16s ease;
}

.dnp-comment-like-btn:hover,
.dnp-comment-reply-wrap a:hover {
    border-color: var(--purple);
    color: var(--purple);
}

[data-theme="dark"] .dnp-comment-like-btn:hover,
[data-theme="dark"] .dnp-comment-reply-wrap a:hover {
    color: #C4B5FD;
}

.dnp-comment-like-btn.is-liked {
    background: rgba(217, 4, 41, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.dnp-no-comments {
    text-align: center;
    padding: 22px 14px;
    background: var(--surface-alt);
    border: 1px dashed var(--border);
    color: var(--muted);
    font-size: 0.88rem;
}

.dnp-comments-pagination {
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dnp-comments-page-info {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 600;
}

/* =========================================================
   INDEKS BERITA & PAGINATION
   ========================================================= */
.indeks-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr auto;
    gap: 12px;
    background: var(--surface-alt);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 22px;
    align-items: end;
}

.indeks-field label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.indeks-field select,
.indeks-field input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
}

.indeks-submit-btn {
    background: var(--accent);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    height: 40px;
}

.pagination-wrap {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.pagination-wrap .nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-wrap .page-numbers {
    padding: 8px 13px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.86rem;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

/* =========================================================
   FOOTER GAYA DIGIMEDIA.ID (LEBAR SEJAJAR BODY 1180px)
   ========================================================= */
.site-footer {
    width: 94%;
    max-width: 1180px;
    margin: 24px auto 0;
    background: var(--footer-bg);
    color: var(--dark);
    padding: 44px 20px 32px;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.footer-centered-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #FACC15;
    color: #111827 !important;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 13px 26px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-email-btn:hover {
    background: #EAB308;
    transform: translateY(-1px);
}

.footer-inline-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 18px;
}

.footer-inline-menu li {
    position: relative;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}

.footer-inline-menu li:not(:last-child)::after {
    content: "\2022";
    position: absolute;
    right: -12px;
    color: var(--muted);
}

.footer-inline-menu a:hover {
    color: var(--accent);
}

.footer-store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0B0B0B;
    color: #FFFFFF !important;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 158px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.store-badge-link:hover {
    opacity: 0.9;
}

.store-badge-img {
    height: 44px;
    width: auto;
    border-radius: 7px;
}

.store-badge-small {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #CBD5E1;
    line-height: 1.1;
}

.store-badge-big {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.15;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    color: #4B5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

[data-theme="dark"] .footer-social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.footer-social-icon:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.footer-partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-partner-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.footer-copyright {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4B5563;
    line-height: 1.6;
}

[data-theme="dark"] .footer-copyright {
    color: #94A3B8;
}

/* Sticky Bottom Anchor Ad */
.sticky-bottom-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.14);
    padding: 8px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-ad-close {
    position: absolute;
    top: -14px;
    right: 14px;
    background: var(--accent);
    color: #FFFFFF;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (DESKTOP, TABLET, MOBILE)
   ========================================================= */
@media (max-width: 1120px) {
    .main-layout {
        grid-template-columns: minmax(0, 1fr) 375px;
        gap: 14px;
    }

    .news-card-horizontal {
        grid-template-columns: 185px 1fr;
        gap: 14px;
    }

    .header-search-pill {
        max-width: 220px;
    }

    .main-nav > ul > li > a {
        padding: 13px 9px;
        font-size: 0.81rem;
    }
}

@media (max-width: 1024px) {
    .main-layout,
    .category-blocks-grid {
        grid-template-columns: 1fr;
    }

    .header-date-text,
    .header-divider {
        display: none;
    }

    .sidebar-sticky-box,
    .sidebar-sticky-wrap {
        position: static;
    }

    .dnp-carousel-track.infeed-cols-5 .infeed-mini-card {
        flex: 0 0 calc((100% - 28px) / 3);
    }

    .indeks-filter-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-top-ad-section {
        display: block;
    }

    .site-sticky-header,
    .site-footer {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .site-header {
        height: auto;
        min-height: 78px;
    }

    .header-brand-row {
        justify-content: center;
        padding: 12px 0;
    }

    .site-logo-text {
        font-size: 1.9rem;
    }

    .custom-logo-link img {
        max-height: 56px;
    }

    .top-date,
    .header-right-tools {
        display: none;
    }

    .mobile-nav-label {
        display: inline-block;
    }

    .menu-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 48px;
        left: 0;
        right: 0;
        background: var(--primary);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 14px 16px 18px;
        z-index: 1002;
        max-height: 76vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
    }

    .main-nav.open {
        display: block;
    }

    .mobile-nav-extras {
        display: block;
        padding-bottom: 12px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav > ul > li > a {
        display: flex;
        justify-content: space-between;
        padding: 12px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Submenu ramah sentuh di Mobile */
    .main-nav ul.sub-menu {
        display: block;
        position: static;
        min-width: 0;
        background: rgba(0, 0, 0, 0.22);
        border: none;
        box-shadow: none;
        padding: 4px 0 6px 14px;
    }

    .main-nav ul.sub-menu li a {
        padding: 9px 10px;
    }

    .dnp-nav-badge {
        position: static;
        margin-left: 8px;
        box-shadow: none;
    }

    .content-card,
    .infeed-fullwidth-card,
    .sidebar-widget,
    .populer6-widget {
        padding: 15px;
    }

    .hero-thumbs-grid {
        grid-template-columns: repeat(2, 1fr);
        position: relative;
        z-index: 8;
        pointer-events: auto;
    }

    .hero-thumb-card,
    .hero-thumb-img-link,
    .hero-thumb-title {
        pointer-events: auto;
        touch-action: manipulation;
    }

    .slide-overlay {
        padding: 16px;
    }

    .slide-title {
        font-size: 1.18rem;
    }

    .news-card-horizontal,
    .infeed-featured-grid,
    .related-grid,
    .indeks-filter-form {
        grid-template-columns: 1fr;
    }

    .news-card-title {
        font-size: 1rem;
    }

    .single-title {
        font-size: 1.42rem;
    }

    .dnp-carousel-track.infeed-cols-5 .infeed-mini-card,
    .dnp-carousel-track.infeed-cols-3 .infeed-mini-card,
    .dnp-carousel-track.infeed-cols-2 .infeed-mini-card {
        flex: 0 0 86%;
    }

    .dnp-reaction-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dnp-comment-fields-grid {
        grid-template-columns: 1fr;
    }

    .dnp-comment-list ul.children {
        margin-left: 12px;
        padding-left: 10px;
    }

    .dnp-emoji-btn {
        width: 34px;
        height: 34px;
        font-size: 1.12rem;
    }
}

/* =========================================================
   LENCANA MODERN KANAN ATAS BERITA TERBARU (Hot / Popular / UP!)
   ========================================================= */
.news-card-horizontal {
    position: relative;
}

.news-card-horizontal.has-feed-badge .news-card-title {
    padding-right: 98px;
}

.dnp-feed-badge {
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px 4px 9px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    line-height: 1.1;
    color: #FFFFFF;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.dnp-feed-badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 75%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.news-card-horizontal:hover .dnp-feed-badge {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.news-card-horizontal:hover .dnp-feed-badge::after {
    left: 140%;
}

.dnp-feed-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: none;
}

@keyframes dnpBadgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
        opacity: 1;
    }
    70% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
        opacity: 0.85;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        opacity: 1;
    }
}

.dnp-feed-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.dnp-feed-badge-icon svg {
    display: block;
}

.dnp-feed-badge-text {
    line-height: 1;
}

.dnp-feed-badge.is-hot {
    background: linear-gradient(135deg, #FF4D5A 0%, #E11D48 55%, #BE123C 100%);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dnp-feed-badge.is-popular {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 55%, #7C3AED 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dnp-feed-badge.is-up {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .dnp-feed-badge.is-hot {
    box-shadow: 0 4px 14px rgba(255, 77, 90, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .dnp-feed-badge.is-popular {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .dnp-feed-badge.is-up {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
    .dnp-feed-badge {
        top: 10px;
        right: 10px;
        padding: 4px 10px 4px 8px;
        font-size: 0.62rem;
        backdrop-filter: blur(6px);
    }
    .news-card-horizontal.has-feed-badge .news-card-title {
        padding-right: 0;
    }
}

/* =========================================================
   KOTAK BACA JUGA (TENGAH ARTIKEL) + TOPIK & TAGS BAWAH ARTIKEL
   ========================================================= */
.dnp-baca-juga-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    padding: 14px 16px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-left: 4px solid var(--purple);
    box-shadow: var(--shadow);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dnp-baca-juga-box:hover {
    border-left-color: var(--accent);
}

.dnp-baca-juga-thumb {
    width: 112px;
    height: 74px;
    flex-shrink: 0;
    overflow: hidden;
    background: #0F172A;
    display: block;
}

.dnp-baca-juga-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
    transition: transform 0.3s ease;
}

.dnp-baca-juga-box:hover .dnp-baca-juga-thumb img {
    transform: scale(1.05);
}

.dnp-baca-juga-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.dnp-baca-juga-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--accent);
    line-height: 1.2;
}

.dnp-baca-juga-link {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.38;
    color: var(--dark);
    text-decoration: none;
}

.dnp-baca-juga-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Blok Topik & Tags di Bawah Artikel */
.dnp-post-tax-wrap {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dnp-tax-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.dnp-tax-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
    padding-top: 5px;
    min-width: 56px;
    flex-shrink: 0;
}

.dnp-tax-items {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    flex: 1;
}

.dnp-topic-pill {
    display: inline-flex;
    align-items: center;
    background: var(--purple);
    color: #FFFFFF !important;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 11px;
    border: 1px solid var(--purple);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dnp-topic-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.dnp-tag-pill {
    display: inline-flex;
    align-items: center;
    background: var(--surface-alt);
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 11px;
    border: 1px solid var(--border);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dnp-tag-pill:hover {
    background: var(--accent);
    color: #FFFFFF !important;
    border-color: var(--accent);
}

@media (max-width: 600px) {
    .dnp-baca-juga-box {
        padding: 12px;
        gap: 12px;
    }
    .dnp-baca-juga-thumb {
        width: 88px;
        height: 62px;
    }
    .dnp-baca-juga-link {
        font-size: 0.92rem;
    }
}

/* =========================================================
   PAGINASI ISI ARTIKEL (8 PARAGRAF / HALAMAN - BACA LANJUTAN)
   ========================================================= */
.dnp-article-pagination {
    margin: 26px 0 20px;
    padding: 16px 18px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-top: 3px solid var(--purple);
    box-shadow: var(--shadow);
}

.dnp-article-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.dnp-article-page-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--purple);
}

[data-theme="dark"] .dnp-article-page-label {
    color: #C4B5FD;
}

.dnp-article-page-status {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--muted);
}

.dnp-article-page-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.dnp-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 800;
    background: var(--purple);
    color: #FFFFFF !important;
    border: 1px solid var(--purple);
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.dnp-page-btn:hover:not(.is-disabled) {
    background: var(--accent);
    border-color: var(--accent);
}

.dnp-page-btn.is-disabled {
    background: var(--surface);
    color: var(--muted) !important;
    border-color: var(--border);
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.dnp-page-numbers-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dnp-page-num {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    font-weight: 800;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dnp-page-num:hover,
.dnp-page-num.is-current {
    background: var(--accent);
    color: #FFFFFF !important;
    border-color: var(--accent);
}

@media (max-width: 600px) {
    .dnp-article-pagination {
        padding: 14px;
    }
    .dnp-article-page-controls {
        justify-content: center;
    }
    .dnp-page-btn {
        flex: 1 1 44%;
        padding: 9px 12px;
        font-size: 0.78rem;
    }
    .dnp-page-numbers-list {
        order: -1;
        width: 100%;
        margin-bottom: 4px;
    }
}

/* Penyesuaian Carousel 5 Kolom saat tampil mengikuti lebar kolom Berita Terbaru (Halaman 2+) */
.content-primary .dnp-carousel-track.infeed-cols-5 .infeed-mini-card {
    flex: 0 0 calc((100% - 28px) / 3);
}
@media (max-width: 768px) {
    .content-primary .dnp-carousel-track.infeed-cols-5 .infeed-mini-card {
        flex: 0 0 86%;
    }
}

/* =========================================================
   IKLAN SLIDE FOTO ARTIKEL (KANAN KE KIRI, 10 DETIK)
   ========================================================= */
.dnp-featured-media-stage {
    position: relative;
    overflow: hidden;
    background: #0F172A;
}

.dnp-featured-media-stage > img {
    width: 100%;
    height: auto;
    display: block;
}

.dnp-photo-slide-ad {
    position: absolute;
    inset: 0;
    z-index: 15;
    background: rgba(11, 17, 32, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(102%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    pointer-events: none;
}

.dnp-photo-slide-ad.is-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.dnp-photo-slide-ad.is-closing {
    transform: translateX(-102%);
    opacity: 0;
    pointer-events: none;
}

.dnp-photo-slide-ad.is-hidden {
    display: none !important;
}

.dnp-photo-ad-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dnp-photo-ad-media a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dnp-photo-ad-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Kotak Hitung Mundur Iklan di Sudut Kiri Bawah Foto */
.dnp-photo-ad-countdown {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 18;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    background: rgba(15, 23, 42, 0.86);
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 3px solid var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.dnp-photo-ad-tag {
    color: #FDE047;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.dnp-photo-ad-sep {
    opacity: 0.6;
}

.dnp-photo-ad-timer strong {
    color: #FFFFFF;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Tombol Close Iklan di Sudut Kanan Atas Foto */
.dnp-photo-ad-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 18;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    background: rgba(15, 23, 42, 0.86);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.dnp-photo-ad-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.dnp-photo-ad-close-x {
    font-size: 1rem;
    line-height: 0.9;
    font-weight: 700;
}

@media (max-width: 600px) {
    .dnp-photo-ad-countdown {
        left: 8px;
        bottom: 8px;
        padding: 5px 9px;
        font-size: 0.66rem;
    }
    .dnp-photo-ad-close {
        top: 8px;
        right: 8px;
        padding: 5px 9px;
        font-size: 0.66rem;
    }
}

/* =========================================================
   5 MODEL TAMBAHAN IKLAN FOTO ARTIKEL (v8.2.5)
   ========================================================= */

/* MODEL 2: In-Image Banner (Pita Iklan Bawah Foto) */
.dnp-photo-inimage-ad {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 16;
    background: rgba(11, 17, 32, 0.88);
    border-top: 2px solid var(--accent);
    padding: 8px 36px 8px 12px;
    transform: translateY(105%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    backdrop-filter: blur(6px);
}

.dnp-photo-inimage-ad.is-active {
    transform: translateY(0);
    opacity: 1;
}

.dnp-photo-inimage-ad.is-closing {
    transform: translateY(105%);
    opacity: 0;
}

.dnp-photo-inimage-ad.is-hidden {
    display: none !important;
}

.dnp-photo-inimage-body {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 82px;
    overflow: hidden;
}

.dnp-photo-inimage-body img {
    max-height: 82px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.dnp-photo-inimage-tag {
    position: absolute;
    left: 8px;
    top: -19px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 7px;
    line-height: 1;
}

.dnp-photo-inimage-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.85);
    color: #FFFFFF;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dnp-photo-inimage-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* MODEL 3: Corner Sticker (Stiker Sudut Kanan Bawah Foto) */
.dnp-photo-corner-ad {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 16;
    max-width: 190px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid var(--purple);
    padding: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    transform: translateY(18px) scale(0.92);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, max-width 0.25s ease;
}

.dnp-photo-corner-ad.is-active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.dnp-photo-corner-ad.is-active:hover {
    transform: translateY(-2px) scale(1.04);
    border-left-color: var(--accent);
}

.dnp-photo-corner-ad.is-closing {
    transform: translateY(18px) scale(0.9);
    opacity: 0;
}

.dnp-photo-corner-ad.is-hidden {
    display: none !important;
}

.dnp-photo-corner-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #F8FAFC;
    text-decoration: none;
}

.dnp-photo-corner-badge {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    color: #FDE047;
    line-height: 1;
}

.dnp-photo-corner-link img {
    width: 100%;
    max-height: 78px;
    object-fit: cover;
    display: block;
}

.dnp-photo-corner-caption {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dnp-photo-corner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: #FFFFFF;
    border: none;
    font-size: 0.92rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* MODEL 4: Curtain / Split Reveal (Tirai Terbuka Kiri-Kanan) */
.dnp-photo-curtain-ad {
    position: absolute;
    inset: 0;
    z-index: 16;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.dnp-photo-curtain-ad.is-hidden {
    display: none !important;
}

.dnp-curtain-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50.5%;
    background-size: 200% 100%;
    background-repeat: no-repeat;
    transition: transform 0.68s cubic-bezier(0.77, 0, 0.175, 1);
}

.dnp-curtain-left {
    left: 0;
    background-position: left center;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.dnp-curtain-right {
    right: 0;
    background-position: right center;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.dnp-photo-curtain-ad.is-closing .dnp-curtain-left {
    transform: translateX(-102%);
}

.dnp-photo-curtain-ad.is-closing .dnp-curtain-right {
    transform: translateX(102%);
}

.dnp-photo-curtain-ad.is-closing .dnp-photo-ad-close,
.dnp-photo-curtain-ad.is-closing .dnp-photo-ad-countdown {
    opacity: 0;
    pointer-events: none;
}

.dnp-curtain-click-layer {
    position: absolute;
    inset: 0;
    z-index: 17;
}

/* MODEL 5: Caption Sponsor Bar (Baris Sponsor di Bawah Foto) */
.dnp-caption-sponsor-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-top: 8px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-left: 3px solid var(--purple);
    flex-wrap: wrap;
}

.dnp-caption-sponsor-badge {
    background: var(--purple);
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 7px;
    line-height: 1;
    flex-shrink: 0;
}

.dnp-caption-sponsor-logo {
    height: 24px;
    width: auto;
    max-width: 96px;
    object-fit: contain;
    flex-shrink: 0;
}

.dnp-caption-sponsor-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
    flex: 1;
    min-width: 140px;
}

.dnp-caption-sponsor-cta {
    font-size: 0.76rem;
    font-weight: 800;
    color: #FFFFFF !important;
    background: var(--accent);
    padding: 5px 11px;
    white-space: nowrap;
}

.dnp-caption-sponsor-cta:hover {
    opacity: 0.9;
}

/* MODEL 6: Interstitial Slide Badge pada Berita Foto */
.dnp-interstitial-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 8;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .dnp-photo-corner-ad {
        max-width: 148px;
        right: 8px;
        bottom: 8px;
        padding: 6px;
    }
    .dnp-photo-inimage-body,
    .dnp-photo-inimage-body img {
        max-height: 62px;
    }
}

/* =========================================================
   BERITA VIDEO (1000px x 800px) & SLIDE FOTO JUDUL/DESKRIPSI SAMA
   ========================================================= */
.video-player-1000x800 {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 1000 / 800;
    margin: 0 auto;
    background: #000000;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-player-1000x800 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.dnp-photo-shared-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.88) 100%);
    color: #FFFFFF;
}

.dnp-photo-shared-title {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.32;
    color: #FFFFFF;
    margin: 0 0 4px;
}

.dnp-photo-shared-desc {
    font-size: 0.84rem;
    line-height: 1.45;
    color: #E2E8F0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dnp-caption-slide-title {
    display: block;
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.dnp-caption-slide-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text);
}

.dnp-comments-area,
.dnp-reaction-box,
.dnp-comment-respond {
    max-width: 100%;
    overflow-x: clip;
}

.container.main-layout {
    padding-bottom: 0;
}
