/* ==========================================================================
   DG MODERN — sistem desain beranda, header, footer & pemutar baca otomatis
   Semua kelas berawalan "dg-" agar tidak bentrok dengan CSS tema lama.
   Ubah warna utama cukup lewat variabel di :root di bawah ini.
   ========================================================================== */

:root {
    --dg-primary: #0b7a43;
    --dg-primary-600: #096637;
    --dg-primary-900: #064b29;
    --dg-primary-50: #e9f6ee;
    --dg-accent: #d9a521;
    --dg-danger: #e11d48;
    --dg-ink: #0f172a;
    --dg-text: #334155;
    --dg-muted: #64748b;
    --dg-line: #e2e8f0;
    --dg-bg: #f4f6fa;
    --dg-card: #ffffff;
    --dg-radius: 16px;
    --dg-radius-sm: 10px;
    --dg-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 28px -14px rgba(15, 23, 42, .22);
    --dg-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --dg-sticky-offset: 64px;
}

/* ---------- Reset terbatas (hanya di dalam komponen dg) ---------- */
.dg-scope,
.dg-scope *,
.dg-scope *::before,
.dg-scope *::after {
    box-sizing: border-box;
}

.dg-scope {
    font-family: var(--dg-font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--dg-text);
}

.dg-scope h1,
.dg-scope h2,
.dg-scope h3,
.dg-scope h4,
.dg-scope h5,
.dg-scope h6 {
    font-family: var(--dg-font);
    color: var(--dg-ink);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0;
    clear: none;
    font-weight: 700;
}

.dg-scope p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.dg-scope ul,
.dg-scope ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dg-scope a,
.dg-scope a:hover,
.dg-scope a:focus {
    color: inherit;
    text-decoration: none !important;
    outline: none;
    transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s, opacity .2s;
}

.dg-scope img {
    max-width: 100%;
    display: block;
}

.dg-scope button {
    font-family: inherit;
}

.dg-scope a:focus-visible,
.dg-scope button:focus-visible,
.dg-scope input:focus-visible,
.dg-scope select:focus-visible {
    outline: 3px solid rgba(245, 165, 36, .75);
    outline-offset: 2px;
}

.dg-ic {
    flex: none;
    vertical-align: middle;
}

.dg-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layar lebar: area konten diperlebar agar ruang kosong kiri-kanan tidak berlebihan */
@media (min-width: 1280px) {
    .dg-container {
        max-width: 1440px;
        padding: 0 28px;
    }
}

.dg-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.dg-topbar {
    background: var(--dg-primary-900);
    color: #c7dccd;
    font-size: 12.5px;
}

.dg-topbar .dg-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.dg-clock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dg-clock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .7);
    animation: dgPulse 2s infinite;
}

.dg-clock strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
}

.dg-topright {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.dg-toplinks {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
}

.dg-toplinks a {
    padding: 5px 11px;
    border-radius: 999px;
    color: #c7dccd;
    white-space: nowrap;
}

.dg-toplinks a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.dg-social {
    display: flex;
    gap: 4px;
    margin-left: 6px;
}

.dg-social a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #c7dccd;
}

.dg-social a:hover {
    background: var(--dg-accent);
    color: #2a1a00;
}

@keyframes dgPulse {
    70% {
        box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

/* ==========================================================================
   BRAND BAR + NAV
   ========================================================================== */
.dg-brandbar {
    background: #fff;
    border-bottom: 1px solid var(--dg-line);
}

.dg-brandbar .dg-container {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.dg-logo {
    display: block;
    flex: none;
}

.dg-logo img {
    max-height: 58px;
    width: auto;
}

.dg-header-ad {
    flex: 1;
    min-width: 0;
    max-width: 640px;
    margin-left: auto;
}

.dg-search {
    position: relative;
    flex: 1;
    max-width: 440px;
    margin-left: auto;
}

.dg-header-ad+.dg-search {
    flex: none;
    width: 280px;
    margin-left: 0;
}

.dg-search input {
    width: 100%;
    height: 46px;
    padding: 0 52px 0 20px;
    border: 1px solid var(--dg-line);
    border-radius: 999px;
    background: #f8fafc;
    font: inherit;
    font-size: 14px;
    color: var(--dg-ink);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.dg-search input::placeholder {
    color: #94a3b8;
}

.dg-search input:focus {
    border-color: var(--dg-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 122, 67, .12);
    outline: none;
}

.dg-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--dg-primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dg-search button:hover {
    background: var(--dg-primary-600);
}

.dg-iconbtn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--dg-line);
    border-radius: 12px;
    background: #fff;
    color: var(--dg-ink);
    place-items: center;
    cursor: pointer;
    flex: none;
}

.dg-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dg-primary);
    box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .55);
}

.dg-nav-head {
    display: none;
}

.dg-menu {
    display: flex;
    flex-wrap: wrap;
}

.dg-menu>li {
    position: relative;
}

.dg-menu>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 54px;
    padding: 0 17px;
    color: #e6f3ea;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.dg-menu>li:hover>a,
.dg-menu>li:focus-within>a,
.dg-menu>li>a.active {
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.dg-menu>li>a.active {
    box-shadow: inset 0 -3px 0 var(--dg-accent);
}

.dg-menu .dg-chev {
    opacity: .75;
    transition: transform .2s;
}

.dg-sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 40px -16px rgba(15, 23, 42, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 5;
}

.dg-menu li:hover>.dg-sub,
.dg-menu li:focus-within>.dg-sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dg-sub li {
    position: relative;
}

.dg-sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--dg-text);
    font-size: 14px;
    font-weight: 500;
}

.dg-sub a:hover {
    background: var(--dg-primary-50);
    color: var(--dg-primary);
}

.dg-sub .dg-sub {
    left: 100%;
    top: -9px;
    border-radius: 16px;
}

.dg-sub .dg-chev {
    transform: rotate(-90deg);
}

.dg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 20, 36, .55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
    z-index: 1090;
}

.dg-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   PAGE WRAPPER BERANDA
   ========================================================================== */
.dg-home {
    padding-bottom: 24px;
    background: var(--dg-bg);
}

.dg-home>.dg-container {
    padding-top: 22px;
}

/* ---------- Ticker pengumuman ---------- */
.dg-ticker {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--dg-shadow);
}

.dg-ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    background: var(--dg-danger);
    color: #fff;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dg-ticker-track {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.dg-ticker-inner {
    display: inline-flex;
    white-space: nowrap;
    padding: 12px 0;
    animation: dgTicker var(--dg-tick-dur, 45s) linear infinite;
}

.dg-ticker:hover .dg-ticker-inner,
.dg-ticker:focus-within .dg-ticker-inner {
    animation-play-state: paused;
}

.dg-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 44px;
    cursor: pointer;
    color: var(--dg-ink);
    font-weight: 500;
    font-size: 14px;
    background: none;
    border: 0;
}

.dg-ticker-item:hover {
    color: var(--dg-primary);
}

.dg-ticker-date {
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff3d6;
    color: #8a5a00;
    font-size: 11.5px;
    font-weight: 700;
}

.dg-ticker-empty {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--dg-muted);
    font-size: 14px;
}

@keyframes dgTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- Hero ---------- */
.dg-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px;
    margin-top: 20px;
}

.dg-hero.no-side {
    grid-template-columns: minmax(0, 1fr);
}

.dg-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #0a2a19;
    box-shadow: var(--dg-shadow);
    height: clamp(320px, 41vw, 500px);
    isolation: isolate;
}

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

.dg-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.dg-slide>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.dg-slide.is-active>img {
    transform: scale(1.12);
}

.dg-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 36, .05) 25%, rgba(7, 20, 36, .92) 100%);
}

.dg-slide-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.dg-slide-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 34px 58px;
    z-index: 4;
    color: #fff;
    pointer-events: none;
}

.dg-slide-body a {
    pointer-events: auto;
}

.dg-slide-body h2 {
    margin-top: 14px;
    max-width: 780px;
    font-size: clamp(21px, 2.7vw, 33px);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-slide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-top: 14px;
    font-size: 13px;
    color: #dcebe1;
}

.dg-slide-meta .dg-stamp,
.dg-slide-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dg-slide-meta .dg-rel {
    color: #ffd27a;
}

.dg-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, background .2s;
}

.dg-slider:hover .dg-slider-btn,
.dg-slider:focus-within .dg-slider-btn {
    opacity: 1;
}

.dg-slider-btn:hover {
    background: rgba(255, 255, 255, .32);
}

.dg-slider-btn.prev {
    left: 16px;
}

.dg-slider-btn.next {
    right: 16px;
}

.dg-dots {
    position: absolute;
    right: 26px;
    bottom: 22px;
    z-index: 6;
    display: flex;
    gap: 8px;
}

.dg-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .3s, background .3s;
}

.dg-dots button.is-active {
    width: 30px;
    background: var(--dg-accent);
}

.dg-slider-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0;
    z-index: 6;
    background: var(--dg-accent);
}

.dg-slider-bar.run {
    animation: dgBar var(--dg-slide-dur, 6500ms) linear forwards;
}

.dg-slider.is-paused .dg-slider-bar {
    animation-play-state: paused;
}

@keyframes dgBar {
    to {
        width: 100%;
    }
}

/* ---------- Chip, meta, waktu ---------- */
.dg-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--dg-primary);
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.3;
}

.dg-chip:hover {
    background: var(--dg-accent);
    color: #2a1a00 !important;
}

.dg-chip.is-light {
    background: var(--dg-primary-50);
    color: var(--dg-primary) !important;
}

.dg-chip.is-accent {
    background: var(--dg-accent);
    color: #2a1a00 !important;
}

.dg-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--dg-muted);
}

.dg-meta>span,
.dg-meta>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dg-stamp {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 6px;
    font-variant-numeric: tabular-nums;
}

.dg-time {
    font-variant-numeric: tabular-nums;
}

.dg-rel {
    color: var(--dg-primary);
    font-weight: 600;
}

.dg-rel:not(:empty)::before {
    content: '•';
    margin-right: 6px;
    color: var(--dg-accent);
}

/* ---------- Side list di hero ---------- */
.dg-panel {
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 22px;
    padding: 18px 18px 8px;
    box-shadow: var(--dg-shadow);
}

.dg-panel-h {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--dg-ink);
}

.dg-panel-h .dg-ic {
    color: var(--dg-accent);
}

.dg-mini {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--dg-line);
}

.dg-mini:last-child {
    border-bottom: 0;
}

.dg-mini-img {
    flex: none;
    width: 96px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
}

.dg-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.dg-mini:hover .dg-mini-img img {
    transform: scale(1.08);
}

.dg-mini-body {
    min-width: 0;
}

.dg-mini-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dg-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-mini:hover .dg-mini-title {
    color: var(--dg-primary);
}

.dg-mini .dg-meta {
    margin-top: 6px;
    font-size: 11.5px;
}

/* ---------- Banner ---------- */
.dg-banner {
    margin-top: 24px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--dg-shadow);
}

.dg-banner .dg-slider {
    height: auto;
    aspect-ratio: 1240 / 280;
    border-radius: 0;
    box-shadow: none;
    background: #e2e8f0;
}

.dg-banner .dg-slide::after {
    display: none;
}

.dg-banner .dg-slide>img,
.dg-banner .dg-slide.is-active>img {
    transform: none;
    object-fit: cover;
}

.dg-header-ad .dg-slider {
    height: 76px;
    border-radius: 12px;
    box-shadow: none;
    background: #f1f5f9;
}

.dg-header-ad .dg-slide::after {
    display: none;
}

.dg-header-ad .dg-slide>img,
.dg-header-ad .dg-slide.is-active>img {
    transform: none;
    object-fit: contain;
}

.dg-header-ad .dg-dots,
.dg-header-ad .dg-slider-btn,
.dg-header-ad .dg-slider-bar {
    display: none;
}

/* ---------- Statistik ---------- */
.dg-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.dg-stat {
    --c: var(--dg-primary);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 16px;
    transition: transform .25s, box-shadow .25s;
}

.dg-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--dg-shadow);
}

.dg-stat-ic {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--c);
    background: #f1f5f9;
    background: color-mix(in srgb, var(--c) 13%, #fff);
}

.dg-stat-num {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dg-ink);
}

.dg-stat-lbl {
    margin-top: 3px;
    font-size: 13px;
    color: var(--dg-muted);
}

.dg-stat-src {
    margin-top: 4px;
    font-size: 11px;
    color: var(--c);
    font-weight: 600;
}

/* ---------- Layout 2 kolom ---------- */
.dg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 344px;
    gap: 28px;
    align-items: start;
}

.dg-main {
    min-width: 0;
}

.dg-aside {
    display: grid;
    gap: 22px;
    min-width: 0;
}

/* ---------- Section ---------- */
.dg-sec {
    margin-top: 38px;
}

.dg-sec-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dg-sec-h h2,
.dg-sec-h h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.dg-sec-h h2::before,
.dg-sec-h h3::before {
    content: '';
    width: 6px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--dg-primary), var(--dg-accent));
}

.dg-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--dg-primary-50);
    color: var(--dg-primary) !important;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.dg-more:hover {
    background: var(--dg-primary);
    color: #fff !important;
}

/* ---------- Kartu berita ---------- */
.dg-card {
    background: var(--dg-card);
    border: 1px solid var(--dg-line);
    border-radius: var(--dg-radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.dg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dg-shadow);
    border-color: #cfd9e6;
}

.dg-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
    overflow: hidden;
}

.dg-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.dg-card:hover .dg-card-media img {
    transform: scale(1.06);
}

.dg-card-media .dg-chip {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5);
}

.dg-card-body {
    padding: 16px 18px 18px;
}

.dg-card-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dg-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-card-title a:hover {
    color: var(--dg-primary);
}

.dg-excerpt {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--dg-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.dg-feature .dg-card-media {
    aspect-ratio: auto;
    min-height: 280px;
    height: 100%;
}

.dg-feature .dg-card-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dg-feature .dg-card-title {
    font-size: 23px;
    font-weight: 800;
    -webkit-line-clamp: 4;
}

.dg-feature .dg-excerpt {
    -webkit-line-clamp: 3;
    font-size: 14.5px;
}

.dg-feature .dg-meta {
    margin-top: 16px;
}

.dg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dg-grid.is-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dg-grid .dg-card {
    display: flex;
    flex-direction: column;
}

.dg-grid .dg-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dg-grid .dg-meta {
    margin-top: auto;
    padding-top: 12px;
}

.dg-empty {
    padding: 28px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: var(--dg-radius);
    color: var(--dg-muted);
    background: #fff;
}

/* Baris kartu horizontal (berita per kategori) */
.dg-rowcard {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    transition: box-shadow .25s, transform .25s;
}

.dg-rowcard:hover {
    box-shadow: var(--dg-shadow);
    transform: translateY(-2px);
}

.dg-rowcard .dg-mini-img {
    width: 110px;
    height: 84px;
}

/* ---------- Rail (geser horizontal) ---------- */
.dg-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dg-rail>* {
    scroll-snap-align: start;
}

.dg-rail.cols-4 {
    grid-auto-columns: calc((100% - 48px) / 4);
}

.dg-rail.cols-3 {
    grid-auto-columns: calc((100% - 32px) / 3);
}

.dg-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px 20px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 18px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.dg-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--dg-shadow);
    border-color: var(--dg-primary);
}

.dg-service-img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--dg-primary-50);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.dg-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dg-service h3 {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
}

.dg-service .dg-chip {
    margin-top: auto;
}

.dg-person {
    text-align: center;
    padding: 22px 14px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 18px;
    transition: transform .25s, box-shadow .25s;
}

.dg-person:hover {
    transform: translateY(-4px);
    box-shadow: var(--dg-shadow);
}

.dg-person img {
    width: 104px;
    height: 104px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--dg-primary-50);
    box-shadow: 0 0 0 2px var(--dg-primary);
    cursor: pointer;
}

.dg-person h3 {
    font-size: 14px;
    font-weight: 700;
}

.dg-photo {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0a2a19;
    cursor: pointer;
}

.dg-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s, opacity .3s;
}

.dg-photo:hover img {
    transform: scale(1.07);
    opacity: .85;
}

.dg-photo-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 14px 12px;
    background: linear-gradient(180deg, transparent, rgba(7, 20, 36, .88));
    color: #fff;
}

.dg-photo-cap h3 {
    color: #fff;
    font-size: 13.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-photo-cap small {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #d3e6da;
}

.dg-book {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 16px;
    transition: box-shadow .25s, transform .25s;
}

.dg-book:hover {
    box-shadow: var(--dg-shadow);
    transform: translateY(-3px);
}

.dg-book-cover {
    flex: none;
    width: 96px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.dg-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dg-book h3 {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.4;
}

/* ---------- Widget sidebar ---------- */
.dg-widget {
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: var(--dg-radius);
    padding: 20px;
}

.dg-widget-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--dg-ink);
}

.dg-widget-h span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dg-widget-h .dg-ic {
    color: var(--dg-accent);
}

.dg-widget-h a:hover {
    color: var(--dg-primary);
}

.dg-greet {
    text-align: center;
}

.dg-greet img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
}

.dg-greet-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--dg-primary-50);
    color: var(--dg-primary);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}

.dg-rank {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--dg-line);
}

.dg-rank:first-of-type {
    padding-top: 2px;
}

.dg-rank:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dg-rank-n {
    flex: none;
    min-width: 32px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
}

.dg-rank.top .dg-rank-n {
    color: var(--dg-accent);
}

.dg-rank-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dg-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-rank:hover .dg-rank-title {
    color: var(--dg-primary);
}

.dg-agenda {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--dg-line);
    cursor: pointer;
}

.dg-agenda:first-of-type {
    padding-top: 2px;
}

.dg-agenda:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dg-date-blk {
    flex: none;
    width: 56px;
    padding: 7px 0 8px;
    text-align: center;
    border-radius: 14px;
    background: var(--dg-primary);
    color: #fff;
    line-height: 1.1;
}

.dg-date-blk b {
    display: block;
    font-size: 21px;
    font-weight: 800;
}

.dg-date-blk small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}

.dg-agenda h3 {
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-agenda:hover h3 {
    color: var(--dg-primary);
}

.dg-quote {
    background: linear-gradient(135deg, var(--dg-primary), var(--dg-primary-900));
    border: 0;
    color: #e6f3ea;
}

.dg-quote h3,
.dg-quote .dg-quote-body {
    color: #fff;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.6;
}

.dg-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 14px;
    margin: 0 !important;
}

/* Polling */
.dg-poll-q {
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--dg-ink);
    line-height: 1.45;
}

.dg-poll-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 11px 14px;
    border: 1px solid var(--dg-line);
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color .2s, background .2s;
}

.dg-poll-opt:hover {
    border-color: var(--dg-primary);
    background: var(--dg-primary-50);
}

.dg-poll-opt input {
    width: 18px;
    height: 18px;
    accent-color: var(--dg-primary);
    flex: none;
    margin: 0;
}

.dg-poll-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.dg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    background: var(--dg-primary);
    color: #fff;
    transition: background .2s, transform .2s;
}

.dg-btn:hover {
    background: var(--dg-primary-600);
}

.dg-btn:active {
    transform: scale(.98);
}

.dg-btn.is-ghost {
    background: var(--dg-primary-50);
    color: var(--dg-primary);
}

.dg-btn.is-ghost:hover {
    background: #dbeafe;
}

.dg-poll-res {
    margin-bottom: 14px;
}

.dg-poll-res-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13.5px;
    margin-bottom: 6px;
}

.dg-poll-res-top b {
    color: var(--dg-primary);
}

.dg-bar {
    height: 10px;
    border-radius: 999px;
    background: #e8eef5;
    overflow: hidden;
}

.dg-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dg-primary), #34a853);
}

.dg-alert {
    padding: 14px;
    border-radius: 12px;
    background: #fff7e6;
    color: #8a5a00;
    text-align: center;
    font-weight: 600;
    font-size: 13.5px;
}

.dg-infografis {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #e2e8f0;
    cursor: pointer;
}

.dg-infografis img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tautan terkait */
.dg-links {
    margin-top: 40px;
}

.dg-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 74px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 16px;
    font-weight: 600;
    font-size: 13.5px;
    text-align: left;
    transition: box-shadow .25s, transform .25s;
}

.dg-link:hover {
    box-shadow: var(--dg-shadow);
    transform: translateY(-2px);
}

.dg-link img {
    max-height: 44px;
    width: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.dg-footer {
    margin-top: 0;
    background: var(--dg-primary-900);
    color: #bfd8c7;
    font-size: 14px;
}

.dg-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr;
    gap: 40px;
    padding: 52px 0 40px;
}

.dg-footer h4 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.dg-footer-brand img {
    max-width: 260px;
    max-height: 70px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.dg-footer-brand p {
    line-height: 1.7;
}

.dg-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.55;
}

.dg-contact .dg-ic {
    margin-top: 3px;
    color: var(--dg-accent);
}

.dg-contact a:hover {
    color: #fff;
}

.dg-footlinks li {
    margin-bottom: 4px;
}

.dg-footlinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.dg-footlinks a:hover {
    color: #fff;
    transform: translateX(3px);
}

.dg-footer .dg-social {
    margin: 18px 0 0;
}

.dg-footer .dg-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .08);
}

.dg-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    font-size: 13px;
}

.dg-footer-bottom .dg-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
}

.dg-online {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.dg-online i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
}

.dg-totop {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--dg-primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 24px -10px rgba(11, 122, 67, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s;
}

.dg-totop.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dg-totop:hover {
    background: var(--dg-accent);
    color: #2a1a00;
}

/* ==========================================================================
   DETAIL BERITA — meta waktu upload
   ========================================================================== */
.dg-postmeta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin: 4px 0 14px;
    padding: 12px 16px;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    font-size: 13.5px;
    color: var(--dg-text);
}

.dg-postmeta>span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dg-postmeta .dg-ic {
    color: var(--dg-primary);
}

.dg-postmeta .dg-time {
    font-weight: 700;
    color: var(--dg-ink);
}

/* ==========================================================================
   PEMUTAR BACA OTOMATIS (TTS)
   ========================================================================== */
.dg-tts {
    position: sticky;
    top: var(--dg-sticky-offset);
    z-index: 40;
    margin: 6px 0 22px;
    border: 1px solid #cfe8d8;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #eaf6ef 100%);
    box-shadow: 0 14px 34px -18px rgba(11, 122, 67, .55);
    overflow: hidden;
    font-family: var(--dg-font);
}

.dg-tts[hidden] {
    display: none;
}

.dg-tts-main {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    flex-wrap: wrap;
}

.dg-tts-play {
    flex: none;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--dg-primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 20px -8px rgba(11, 122, 67, .8);
    transition: transform .2s, background .2s;
}

.dg-tts-play:hover {
    background: var(--dg-primary-600);
    transform: scale(1.06);
}

.dg-tts-play:focus-visible,
.dg-tts-stop:focus-visible,
.dg-tts select:focus-visible {
    outline: 3px solid rgba(245, 165, 36, .8);
    outline-offset: 2px;
}

.dg-tts-info {
    flex: 1;
    min-width: 170px;
}

.dg-tts-info strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--dg-ink);
}

.dg-tts-info span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--dg-muted);
}

.dg-tts-wave {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}

.dg-tts-wave i {
    width: 3px;
    border-radius: 2px;
    background: var(--dg-primary);
    animation: dgWave 1s ease-in-out infinite;
}

.dg-tts-wave i:nth-child(1) {
    height: 40%;
    animation-delay: -.4s;
}

.dg-tts-wave i:nth-child(2) {
    height: 90%;
    animation-delay: -.2s;
}

.dg-tts-wave i:nth-child(3) {
    height: 60%;
    animation-delay: -.6s;
}

.dg-tts-wave i:nth-child(4) {
    height: 80%;
    animation-delay: 0s;
}

.dg-tts.is-playing .dg-tts-wave {
    display: inline-flex;
}

@keyframes dgWave {

    0%,
    100% {
        transform: scaleY(.35);
    }

    50% {
        transform: scaleY(1);
    }
}

.dg-tts-stop {
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid #cfe3d6;
    border-radius: 12px;
    background: #fff;
    color: var(--dg-text);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dg-tts-stop:hover:not(:disabled) {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}

.dg-tts-stop:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.dg-tts-opts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dg-tts-opts label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 12px;
    height: 40px;
    border: 1px solid #cfe3d6;
    border-radius: 12px;
    background: #fff;
    font-size: 12.5px;
    color: var(--dg-muted);
}

.dg-tts select {
    max-width: 190px;
    height: 36px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--dg-ink);
    cursor: pointer;
}

.dg-tts-bar {
    height: 5px;
    background: #d6eadc;
}

.dg-tts-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--dg-primary), var(--dg-accent));
    transition: width .35s ease;
}

.dg-tts-note {
    padding: 0 16px 12px;
    font-size: 12px;
    color: #8a5a00;
}

.dg-tts-note[hidden] {
    display: none;
}

.dg-tts-active {
    background: rgba(245, 165, 36, .2);
    box-shadow: 0 0 0 6px rgba(245, 165, 36, .2);
    border-radius: 6px;
    transition: background .25s, box-shadow .25s;
}

/* ==========================================================================
   RESPONSIF
   ========================================================================== */
@media (max-width: 1100px) {
    .dg-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .dg-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dg-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .dg-footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .dg-footer-brand {
        grid-column: 1 / -1;
    }

    .dg-rail.cols-4 {
        grid-auto-columns: calc((100% - 32px) / 3);
    }
}

@media (max-width: 991px) {
    :root {
        --dg-sticky-offset: 78px;
    }

    .dg-brandbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .dg-brandbar .dg-container {
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }

    .dg-logo {
        margin-right: auto;
    }

    .dg-logo img {
        max-height: 44px;
    }

    .dg-iconbtn {
        display: grid;
    }

    .dg-header-ad {
        display: none;
    }

    .dg-search,
    .dg-header-ad+.dg-search {
        display: none;
        order: 5;
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .dg-search.is-open {
        display: block;
    }

    .dg-navbar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(86vw, 360px);
        background: #fff;
        transform: translateX(-102%);
        transition: transform .3s ease;
        z-index: 1100;
        overflow-y: auto;
        box-shadow: none;
    }

    .dg-navbar.is-open {
        transform: none;
        box-shadow: 0 0 60px rgba(0, 0, 0, .45);
    }

    .dg-navbar .dg-container {
        padding: 0;
    }

    .dg-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        background: var(--dg-primary);
        color: #fff;
        font-weight: 800;
    }

    .dg-nav-head button {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, .15);
        color: #fff;
        display: grid;
        place-items: center;
        cursor: pointer;
    }

    .dg-menu {
        display: block;
        padding: 10px;
    }

    .dg-menu>li>a {
        height: auto;
        padding: 13px 14px;
        border-radius: 12px;
        color: var(--dg-ink);
        justify-content: space-between;
    }

    .dg-menu>li:hover>a,
    .dg-menu>li:focus-within>a {
        background: transparent;
        color: var(--dg-ink);
    }

    .dg-menu>li>a.active {
        background: var(--dg-primary-50);
        color: var(--dg-primary);
        box-shadow: none;
    }

    .dg-sub,
    .dg-sub .dg-sub {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 0 14px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }

    .dg-menu li.is-open>.dg-sub {
        display: block;
    }

    .dg-menu li:hover>.dg-sub,
    .dg-menu li:focus-within>.dg-sub {
        display: none;
    }

    .dg-menu li.is-open:hover>.dg-sub,
    .dg-menu li.is-open:focus-within>.dg-sub,
    .dg-menu li.is-open>.dg-sub {
        display: block;
    }

    .dg-sub a {
        padding: 11px 12px;
    }

    .dg-sub .dg-chev {
        transform: none;
    }

    .dg-menu li.is-open>a .dg-chev {
        transform: rotate(180deg);
    }

    .dg-feature {
        grid-template-columns: 1fr;
    }

    .dg-feature .dg-card-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .dg-grid.is-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dg-rail.cols-3,
    .dg-rail.cols-4 {
        grid-auto-columns: calc((100% - 16px) / 2);
    }
}

@media (max-width: 720px) {
    .dg-container {
        padding: 0 16px;
    }

    .dg-toplinks {
        display: none;
    }

    .dg-topbar .dg-container {
        justify-content: space-between;
    }

    .dg-clock {
        font-size: 12px;
    }

    .dg-clock .dg-clock-date {
        display: none;
    }

    .dg-ticker-label span {
        display: none;
    }

    .dg-ticker-label {
        padding: 0 14px;
    }

    .dg-slider {
        height: clamp(300px, 78vw, 380px);
        border-radius: 18px;
    }

    .dg-slide-body {
        padding: 20px 20px 52px;
    }

    .dg-slider-btn {
        display: none;
    }

    .dg-dots {
        right: 18px;
        bottom: 18px;
    }

    .dg-grid,
    .dg-grid.is-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .dg-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .dg-sec-h h2,
    .dg-sec-h h3 {
        font-size: 18px;
    }

    .dg-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0 28px;
    }

    .dg-rail.cols-3,
    .dg-rail.cols-4 {
        grid-auto-columns: 74%;
    }

    .dg-banner .dg-slider {
        aspect-ratio: 16 / 7;
    }

    .dg-tts-main {
        gap: 12px;
    }

    .dg-tts-opts {
        width: 100%;
    }

    .dg-tts-opts label {
        flex: 1;
        min-width: 0;
    }

    .dg-tts select {
        max-width: none;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .dg-scope *,
    .dg-scope *::before,
    .dg-scope *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .dg-ticker-inner {
        animation: none !important;
    }
}

@media print {

    .dg-topbar,
    .dg-navbar,
    .dg-brandbar,
    .dg-tts,
    .dg-totop,
    .dg-footer {
        display: none !important;
    }
}

/* ---------- Penyempurnaan ---------- */
.dg-mini-body {
    display: block;
    flex: 1;
    min-width: 0;
}

.dg-mini-title {
    display: -webkit-box;
}

.dg-tts .ic-pause {
    display: none;
}

.dg-tts.is-playing .ic-play {
    display: none;
}

.dg-tts.is-playing .ic-pause {
    display: block;
}

.dg-tts-play span {
    display: grid;
    place-items: center;
}

.dg-tts.is-playing .ic-pause {
    display: grid;
}

/* Lindungi tombol dari gaya button tema lama */
.dg-scope .dg-iconbtn,
.dg-scope .dg-nav-head button,
.dg-scope .dg-tts-play,
.dg-scope .dg-tts-stop,
.dg-scope .dg-slider-btn,
.dg-scope .dg-search button {
    padding: 0;
    min-width: 0;
    line-height: 1;
}

.dg-scope .dg-iconbtn {
    width: 44px;
}

.dg-scope .dg-nav-head button {
    width: 38px;
}

.dg-clock-dot {
    display: inline-block;
    flex: none;
}

/* ==========================================================================
   GAYA PORTAL BERITA (header satu baris, reels, jadwal sholat, bahasa)
   ========================================================================== */
.dg-hdr {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--dg-line);
    box-shadow: 0 8px 22px -16px rgba(15, 23, 42, .45);
}

.dg-hdr-in {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

.dg-hdr .dg-logo img {
    max-height: 54px;
}

.dg-hdr-act {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex: none;
}

.dg-scope .dg-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--dg-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dg-ink);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    line-height: 1;
}

.dg-scope .dg-act-btn:hover,
.dg-lang.is-open .dg-act-btn {
    border-color: var(--dg-primary);
    color: var(--dg-primary);
    background: var(--dg-primary-50);
}

.dg-lang {
    position: relative;
}

.dg-lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    box-shadow: 0 24px 40px -16px rgba(15, 23, 42, .4);
    display: none;
    z-index: 30;
}

.dg-lang.is-open .dg-lang-menu {
    display: block;
}

.dg-scope .dg-lang-menu button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--dg-text);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

.dg-scope .dg-lang-menu button:hover,
.dg-scope .dg-lang-menu button.is-current {
    background: var(--dg-primary-50);
    color: var(--dg-primary);
    font-weight: 700;
}

.dg-hdr .dg-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid var(--dg-line);
    box-shadow: 0 24px 30px -22px rgba(0, 0, 0, .45);
}

.dg-hdr .dg-search.is-open {
    display: block;
}

.dg-search-in {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.dg-gt {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Sembunyikan toolbar bawaan Google Translate */
body {
    top: 0 !important;
}

.skiptranslate iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight {
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

@media (min-width: 992px) {
    .dg-hdr .dg-navbar {
        position: static;
        flex: 1;
        min-width: 0;
        background: transparent;
        box-shadow: none;
    }

    .dg-hdr .dg-navbar .dg-container {
        padding: 0;
        max-width: none;
    }

    .dg-hdr .dg-menu {
        flex-wrap: nowrap;
    }

    .dg-hdr .dg-menu>li>a {
        height: 76px;
        padding: 0 14px;
        color: var(--dg-ink);
        font-size: 14.5px;
    }

    .dg-hdr .dg-menu>li:hover>a,
    .dg-hdr .dg-menu>li:focus-within>a {
        background: transparent;
        color: var(--dg-primary);
        box-shadow: inset 0 -3px 0 var(--dg-accent);
    }

    .dg-hdr .dg-menu>li>a.active {
        background: transparent;
        color: var(--dg-primary);
        box-shadow: inset 0 -3px 0 var(--dg-primary);
    }

    .dg-hdr .dg-sub {
        border-radius: 0 0 16px 16px;
    }
}

@media (max-width: 991px) {
    .dg-hdr-in {
        gap: 10px;
        min-height: 66px;
    }

    .dg-hdr .dg-logo {
        margin-right: auto;
    }

    .dg-hdr-act {
        margin-left: 0;
    }

    .dg-hdr .dg-search {
        padding: 12px 16px;
        max-width: none;
        margin: 0;
        width: auto;
        flex: none;
        order: 0;
    }
}

@media (max-width: 720px) {
    .dg-act-btn .t {
        display: none;
    }

    .dg-scope .dg-act-btn {
        padding: 0 12px;
    }
}

/* ---------- Reels YouTube (potret) ---------- */
.dg-reels {
    background: linear-gradient(180deg, var(--dg-primary-900), var(--dg-primary));
    padding: 26px 0 28px;
    color: #fff;
}

.dg-reels .dg-sec-h {
    margin-bottom: 14px;
}

.dg-reels .dg-sec-h h2 {
    color: #fff;
}

.dg-reels .dg-sec-h h2::before {
    background: var(--dg-accent);
}

.dg-reels .dg-more {
    background: rgba(255, 255, 255, .14);
    color: #fff !important;
}

.dg-reels .dg-more:hover {
    background: var(--dg-accent);
    color: #2a1a00 !important;
}

.dg-reels-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 188px;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .4) transparent;
}

.dg-scope .dg-reel {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    scroll-snap-align: start;
    text-align: left;
    color: #fff;
    transition: transform .25s, box-shadow .25s;
}

.dg-reel:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .7);
}

.dg-reel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.dg-reel:hover img {
    transform: scale(1.06);
}

.dg-reel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, transparent 35%, rgba(0, 0, 0, .85) 100%);
}

.dg-reel-play {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--dg-primary);
    display: grid;
    place-items: center;
}

.dg-reel-badge {
    position: absolute;
    top: 14px;
    left: 12px;
    z-index: 2;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--dg-danger);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
}

.dg-reel-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-vmodal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 14, 9, .86);
    backdrop-filter: blur(4px);
    padding: 16px;
}

.dg-vmodal.is-open {
    display: flex;
}

.dg-vbox {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.dg-vframe {
    height: min(80vh, 760px);
    aspect-ratio: 9 / 16;
    max-width: 92vw;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}

.dg-vframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0 !important;
    display: block;
}

.dg-vtitle {
    max-width: min(92vw, 440px);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}

.dg-scope .dg-vclose,
.dg-scope .dg-vnav {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dg-vclose:hover,
.dg-vnav:hover {
    background: rgba(255, 255, 255, .32);
}

.dg-vclose {
    top: -6px;
    right: -56px;
}

.dg-vnav.prev {
    top: 40%;
    left: -60px;
}

.dg-vnav.next {
    top: 40%;
    right: -60px;
}

@media (max-width: 720px) {
    .dg-reels-rail {
        grid-auto-columns: 148px;
    }

    .dg-vclose {
        top: 8px;
        right: 8px;
        z-index: 3;
    }

    .dg-vnav.prev {
        left: 8px;
    }

    .dg-vnav.next {
        right: 8px;
    }

    .dg-vnav {
        z-index: 3;
    }
}

/* ---------- Jadwal sholat ---------- */
.dg-sholat {
    padding: 0;
    overflow: hidden;
}

.dg-sholat-h {
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--dg-primary), var(--dg-primary-900));
    color: #fff;
}

.dg-sholat-h h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.dg-sholat-h small {
    display: block;
    margin-top: 4px;
    color: #d3ebdc;
    font-size: 12.5px;
}

.dg-sholat-list {
    padding: 10px;
}

.dg-sholat-list li {
    display: flex;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14.5px;
    font-variant-numeric: tabular-nums;
}

.dg-sholat-list li b {
    font-weight: 700;
    color: var(--dg-ink);
}

.dg-sholat-list li.is-next {
    background: var(--dg-primary);
    color: #fff;
}

.dg-sholat-list li.is-next b {
    color: #fff;
}

.dg-sholat-msg {
    padding: 18px 20px;
    color: var(--dg-muted);
    font-size: 14px;
}

.dg-sholat-f {
    padding: 12px 20px 16px;
    border-top: 1px solid var(--dg-line);
    font-size: 12.5px;
    color: var(--dg-muted);
}

.dg-sholat-f a {
    color: var(--dg-primary);
    font-weight: 700;
}

/* ---------- Tile layanan ---------- */
.dg-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.dg-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 84px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    color: var(--dg-ink);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.dg-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--dg-shadow);
    border-color: var(--dg-primary);
    color: var(--dg-primary);
}

.dg-tile img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex: none;
}

/* ---------- Footer gaya portal ---------- */
.dg-footer-top.is-3 {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.dg-follow li {
    margin-bottom: 6px;
}

.dg-follow a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.dg-follow a:hover {
    color: #fff;
}

@media (max-width: 1100px) {
    .dg-footer-top.is-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .dg-footer-top.is-3 {
        grid-template-columns: 1fr;
    }
}

.dg-reels-src {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #e6f3ea;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0;
    vertical-align: middle;
}

/* ==========================================================================
   PENCARIAN MODERN (jendela pencarian)
   ========================================================================== */
.dg-kbd,
.dg-sm kbd {
    display: inline-block;
    min-width: 22px;
    padding: 2px 7px;
    border: 1px solid #d5dde6;
    border-bottom-width: 2px;
    border-radius: 7px;
    background: #f8fafc;
    color: var(--dg-muted);
    font: 600 11.5px/1.4 var(--dg-font);
    text-align: center;
}

.dg-act-btn .dg-kbd {
    margin-left: 2px;
}

.dg-sm {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 16px 16px;
}

.dg-sm.is-open {
    display: flex;
}

.dg-sm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 35, 20, .55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: dgFade .2s ease;
}

.dg-sm-card {
    position: relative;
    width: min(720px, 100%);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .6) inset;
    overflow: hidden;
    animation: dgPop .28s cubic-bezier(.2, .9, .3, 1.15);
}

.dg-sm-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 64px 16px 22px;
    border-bottom: 1px solid var(--dg-line);
}

.dg-sm-field>.dg-ic {
    color: var(--dg-primary);
}

.dg-sm .dg-sm-field input[type=search] {
    flex: 1;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    font: 600 19px/1.3 var(--dg-font);
    color: var(--dg-ink);
    -webkit-appearance: none;
    appearance: none;
}

.dg-sm input[type=search]::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.dg-sm input[type=search]::-webkit-search-cancel-button,
.dg-sm input[type=search]::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
}

.dg-scope .dg-sm-clear {
    flex: none;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef2f6;
    color: var(--dg-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dg-sm-clear[hidden] {
    display: none;
}

.dg-scope .dg-sm-clear:hover {
    background: #e2e8f0;
    color: var(--dg-ink);
}

.dg-scope .dg-sm-go {
    flex: none;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--dg-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgba(11, 122, 67, .9);
    transition: background .2s, transform .2s;
}

.dg-scope .dg-sm-go:hover {
    background: var(--dg-primary-600);
}

.dg-scope .dg-sm-go:active {
    transform: scale(.97);
}

.dg-scope .dg-sm-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dg-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dg-scope .dg-sm-close:hover {
    background: #eef2f6;
    color: var(--dg-ink);
}

.dg-sm-body {
    padding: 16px 22px 20px;
}

.dg-sm-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dg-muted);
}

.dg-scope .dg-sm-title button {
    padding: 2px 6px;
    border: 0;
    background: none;
    color: var(--dg-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.dg-sm-recent[hidden] {
    display: none;
}

.dg-sm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dg-scope .dg-sm-chips button {
    padding: 8px 15px;
    border: 1px solid var(--dg-line);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--dg-text);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.dg-scope .dg-sm-chips button:hover {
    border-color: var(--dg-primary);
    background: var(--dg-primary-50);
    color: var(--dg-primary);
}

.dg-sm-hint {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--dg-muted);
}

.dg-sm-recent:not([hidden])+.dg-sm-hint {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--dg-line);
}

@keyframes dgFade {
    from {
        opacity: 0;
    }
}

@keyframes dgPop {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.97);
    }
}

@media (max-width: 991px) {
    .dg-act-btn .dg-kbd {
        display: none;
    }
}

@media (max-width: 720px) {
    .dg-sm {
        padding-top: 72px;
    }

    .dg-sm-field {
        padding: 12px 52px 12px 16px;
        gap: 8px;
    }

    .dg-sm .dg-sm-field input[type=search] {
        font-size: 16px;
    }

    .dg-scope .dg-sm-go {
        height: 40px;
        padding: 0 16px;
    }

    .dg-sm-hint kbd {
        display: none;
    }

    .dg-sm-body {
        padding: 14px 16px 18px;
    }
}

.dg-scope .dg-sm-chips button {
    line-height: 1.2;
}

@media (max-width: 720px) {
    .dg-sm-hint {
        display: none;
    }

    .dg-sm-body:has(.dg-sm-recent[hidden]) {
        display: none;
    }
}

/* ==========================================================================
   HEADER & REELS MENGIKUTI REFERENSI (gambar kemenag.go.id)
   ========================================================================== */
.dg-hdr-in {
    min-height: 80px;
    gap: 28px;
}

.dg-hdr .dg-logo {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    background: #f1f4f2;
    border-radius: 10px;
}

.dg-hdr .dg-logo img {
    max-height: 46px;
}

.dg-hdr .dg-act-btn {
    height: 46px;
    padding: 0 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #17241d;
    box-shadow: none;
}

.dg-scope.dg-hdr .dg-act-btn:hover,
.dg-scope.dg-hdr .dg-lang.is-open .dg-act-btn {
    background: #eef5f0;
    color: var(--dg-primary);
    border: 0;
}

.dg-hdr .dg-lang .dg-act-btn {
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .dg-hdr .dg-navbar {
        display: flex;
        justify-content: center;
    }

    .dg-hdr .dg-menu {
        justify-content: center;
        gap: 4px;
    }

    .dg-hdr .dg-menu>li>a {
        height: auto;
        margin: 17px 0;
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 16.5px;
        font-weight: 500;
        color: #17241d;
        box-shadow: none;
    }

    .dg-hdr .dg-menu>li:hover>a,
    .dg-hdr .dg-menu>li:focus-within>a {
        background: #eef5f0;
        color: var(--dg-primary);
        box-shadow: none;
    }

    .dg-hdr .dg-menu>li>a.active {
        background: #dff0e4;
        color: var(--dg-primary);
        font-weight: 600;
        box-shadow: none;
    }

    .dg-hdr .dg-sub {
        top: calc(100% - 8px);
        border-radius: 16px;
    }
}

/* Reels gaya referensi: tanpa pita hijau, kartu 9:16, panah di tepi */
.dg-reels.dg-reels-flat {
    background: none;
    color: inherit;
    padding: 24px 0 4px;
}

.dg-reels-wrap {
    position: relative;
}

.dg-reels-flat .dg-reels-rail {
    grid-auto-columns: 207px;
    gap: 20px;
    padding: 0 0 12px;
    scrollbar-width: none;
}

.dg-reels-flat .dg-reels-rail::-webkit-scrollbar {
    display: none;
}

.dg-scope .dg-reels-flat .dg-reel {
    border-radius: 6px;
}

.dg-reels-flat .dg-reel::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .8) 100%);
}

.dg-reels-flat .dg-reel-badge {
    display: none;
}

.dg-reels-flat .dg-reel-play {
    top: 46%;
    left: 50%;
    right: auto;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.dg-reels-flat .dg-reel-cap {
    padding: 14px 16px 18px;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}

.dg-scope .dg-reels-arrow {
    position: absolute;
    top: 46%;
    z-index: 5;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    padding: 0;
    border: 1px solid #e5e9e6;
    border-radius: 50%;
    background: #fff;
    color: #17241d;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35);
    transition: background .2s, transform .2s;
}

.dg-reels-arrow:hover {
    background: var(--dg-primary-50);
}

.dg-reels-arrow.prev {
    left: -26px;
}

.dg-reels-arrow.next {
    right: -26px;
}

@media (max-width: 1320px) {
    .dg-reels-arrow.prev {
        left: -8px;
    }

    .dg-reels-arrow.next {
        right: -8px;
    }
}

@media (max-width: 720px) {
    .dg-reels-arrow {
        display: none;
    }

    .dg-reels-flat .dg-reels-rail {
        grid-auto-columns: 150px;
        gap: 12px;
    }

    .dg-reels-flat .dg-reel-cap {
        font-size: 13.5px;
        padding: 10px 12px 14px;
    }

    .dg-reels-flat .dg-reel-play {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 991px) {
    .dg-hdr .dg-logo {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 180px);
        padding: 6px 12px;
        margin-right: auto;
    }

    .dg-hdr .dg-logo img {
        max-width: 100%;
        max-height: 38px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .dg-hdr-act {
        gap: 2px;
    }
}

@media (max-width: 420px) {
    .dg-hdr .dg-act-btn {
        padding: 0 8px;
    }

    .dg-hdr .dg-lang .dg-act-btn>svg:last-child {
        display: none;
    }
}

/* Header lebar penuh seperti referensi; menu tidak boleh menabrak logo/aksi */
@media (min-width: 992px) {
    .dg-hdr .dg-container.dg-hdr-in {
        max-width: 1680px;
        padding: 0 28px;
    }

    .dg-hdr .dg-navbar {
        min-width: 0;
    }

    .dg-hdr .dg-navbar>.dg-container {
        width: auto;
        margin: 0 auto;
    }

    .dg-hdr .dg-menu {
        justify-content: flex-start;
        gap: 2px;
    }
}

@media (min-width: 992px) and (max-width: 1500px) {
    .dg-hdr-in {
        gap: 16px;
    }

    .dg-hdr .dg-menu>li>a {
        padding: 10px 11px;
        font-size: 15.5px;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .dg-hdr .dg-menu>li>a {
        padding: 9px 8px;
        font-size: 14.5px;
    }

    .dg-hdr .dg-logo {
        padding: 6px 10px;
    }

    .dg-hdr .dg-logo img {
        max-height: 38px;
    }

    .dg-hdr .dg-lang .dg-act-btn {
        font-size: 13px;
    }
}

/* ==========================================================================
   BERANDA PEMBERITAAN — ticker info, reels kecil, hero, berita terbaru, sidebar
   ========================================================================== */

/* ---------- Ticker Info (tipis) ---------- */
.dg-ticker.dg-ticker-slim {
    margin-top: 14px;
    border-radius: 0 0 12px 12px;
    box-shadow: none;
    border-top: 0;
}

.dg-ticker-slim .dg-ticker-label {
    background: var(--dg-accent);
    color: #2a1a00;
    padding: 0 14px;
    letter-spacing: 0;
    text-transform: none;
    font-size: 12px;
}

.dg-ticker-slim .dg-ticker-inner {
    padding: 8px 0;
}

.dg-ticker-slim .dg-ticker-item {
    font-size: 12.5px;
    padding-right: 56px;
}

/* ---------- Reels kecil ---------- */
.dg-reels-mini.dg-reels.dg-reels-flat {
    padding: 22px 0 0;
}

.dg-reels-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.dg-reels-top h2 {
    font-size: 19px;
    font-weight: 800;
    color: var(--dg-ink);
}

.dg-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.dg-reels-mini .dg-reels-rail {
    grid-auto-columns: 124px;
    gap: 10px;
    padding-bottom: 4px;
}

.dg-scope .dg-reels-mini .dg-reel {
    border-radius: 10px;
}

.dg-reels-mini .dg-reel-badge {
    display: inline-block;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 8.5px;
}

.dg-reels-mini .dg-reel-play {
    width: 34px;
    height: 34px;
}

.dg-reels-mini .dg-reel-cap {
    padding: 8px 9px 9px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
}

.dg-scope .dg-reels-mini .dg-reels-arrow {
    width: 32px;
    height: 32px;
    margin-top: -16px;
}

.dg-reels-mini .dg-reels-arrow.prev {
    left: -12px;
}

.dg-reels-mini .dg-reels-arrow.next {
    right: -12px;
}

/* ---------- Hero ---------- */
.dg-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    margin-top: 20px;
}

.dg-hero .dg-slider {
    height: clamp(300px, 29vw, 370px);
    border-radius: 18px;
}

.dg-hero .dg-slide-body {
    padding: 24px 28px 52px;
}

.dg-slide-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-size: 12px;
    color: #e6f3ea;
}

.dg-hero .dg-slide-body h2 {
    margin-top: 10px;
    font-size: clamp(20px, 2.4vw, 30px);
    -webkit-line-clamp: 2;
}

.dg-slide-ex {
    margin-top: 8px;
    max-width: 640px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #eef6f0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.dg-sbtn {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    background: rgba(0, 0, 0, .12);
}

.dg-sbtn:hover {
    background: rgba(255, 255, 255, .18);
}

.dg-sbtn.is-solid {
    background: var(--dg-accent);
    border-color: var(--dg-accent);
    color: #2a1a00 !important;
}

.dg-sbtn.is-solid:hover {
    filter: brightness(1.06);
}

/* Paling banyak dibaca */
.dg-pop {
    border-radius: 18px;
    padding: 18px 18px 8px;
}

.dg-pop .dg-panel-h {
    font-size: 15px;
    margin-bottom: 6px;
}

.dg-pop-item {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--dg-line);
}

.dg-pop-item:last-child {
    border-bottom: 0;
}

.dg-pop-n {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dg-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.dg-pop-body {
    min-width: 0;
    display: block;
}

.dg-pop-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dg-ink);
}

.dg-pop-item:hover .dg-pop-title {
    color: var(--dg-primary);
}

.dg-pop-meta {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--dg-muted);
}

/* ---------- Berita terbaru ---------- */
.dg-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.dg-news-head h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.dg-search input {
    width: 230px;
    max-width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--dg-line);
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 13.5px;
    color: var(--dg-ink);
}

.dg-search input:focus {
    outline: 2px solid var(--dg-primary-50);
    border-color: var(--dg-primary);
}

.dg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.dg-fchip {
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--dg-line);
    background: #fff;
    color: var(--dg-ink);
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.dg-fchip:hover {
    border-color: var(--dg-primary);
}

.dg-fchip.is-active {
    background: var(--dg-primary);
    border-color: var(--dg-primary);
    color: #fff;
}

.dg-ngrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dg-ncard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

.dg-ncard[hidden] {
    display: none;
}

.dg-ncard:hover {
    transform: translateY(-3px);
    box-shadow: var(--dg-shadow);
}

.dg-ncard-img {
    display: block;
    aspect-ratio: 16 / 7.5;
    background: #e2e8f0;
    overflow: hidden;
}

.dg-ncard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.dg-ncard:hover .dg-ncard-img img {
    transform: scale(1.05);
}

.dg-ncard-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 14px;
}

.dg-ncard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.dg-kchip {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--dg-primary-50);
    color: var(--dg-primary) !important;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.dg-ncard-time {
    font-size: 11px;
    color: var(--dg-muted);
    text-align: right;
}

.dg-ncard-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-ncard-title a {
    color: var(--dg-ink) !important;
}

.dg-ncard-title a:hover {
    color: var(--dg-primary) !important;
}

.dg-ncard-ex {
    margin-top: 7px;
    font-size: 12.5px;
    color: var(--dg-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-ncard-foot {
    margin-top: auto;
    padding-top: 10px;
    font-size: 11px;
    color: var(--dg-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
}

.dg-ncard-foot .dg-rel {
    color: var(--dg-muted);
    font-weight: 400;
}

.dg-ncard-foot .dg-rel::before {
    display: none;
}

.dg-ncard-foot .dg-rel:not(:empty)::after {
    content: '•';
    margin-left: 6px;
}

.dg-more-wrap {
    text-align: center;
    margin-top: 22px;
}

.dg-loadmore {
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid var(--dg-primary);
    background: #fff;
    color: var(--dg-primary);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.dg-loadmore:hover {
    background: var(--dg-primary);
    color: #fff;
}

/* ---------- Sidebar ---------- */
.dg-pengum {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.dg-pengum a {
    color: var(--dg-text) !important;
}

.dg-pengum a:hover {
    color: var(--dg-primary) !important;
}

@media (max-width: 720px) {
    .dg-ngrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dg-hero .dg-slider {
        height: 360px;
    }

    .dg-hero .dg-slide-body {
        padding: 18px 18px 48px;
    }

    .dg-slide-ex {
        display: none;
    }

    .dg-reels-mini .dg-reels-rail {
        grid-auto-columns: 110px;
    }

    .dg-search {
        width: 100%;
    }

    .dg-search input {
        width: 100%;
    }
}

/* ==========================================================================
   Hero sejajar panel + gambar penuh, kartu Pengumuman & Agenda modern
   ========================================================================== */
.dg-hero {
    align-items: stretch;
}

.dg-hero .dg-slider {
    height: auto;
    min-height: 400px;
    align-self: stretch;
}

/* gambar memenuhi area slide (tanpa zoom) */
.dg-hero .dg-slide>img,
.dg-hero .dg-slide.is-active>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    transition: none;
}

/* gelap di bawah agar teks selalu terbaca */
.dg-hero .dg-slide::after {
    background: linear-gradient(180deg, rgba(5, 18, 11, 0) 20%, rgba(5, 18, 11, .55) 52%, rgba(5, 18, 11, .94) 100%);
}

.dg-hero .dg-slide-body {
    padding: 24px 30px 56px;
}

.dg-hero .dg-slide-body h2 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}

@media (max-width: 1100px) {
    .dg-hero .dg-slider {
        height: 380px;
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .dg-hero .dg-slider {
        height: 360px;
    }
}

/* ---------- Kartu modern (Pengumuman & Agenda) ---------- */
.dg-widget.dg-wmod {
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 14px 30px -18px rgba(15, 23, 42, .25);
}

.dg-wmod-h {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--dg-primary-50), #fff 70%);
    border-bottom: 1px solid var(--dg-line);
}

.dg-wmod-h h3 {
    flex: 1;
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
}

.dg-wmod-h a {
    font-size: 12px;
    font-weight: 700;
    color: var(--dg-primary) !important;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--dg-line);
}

.dg-wmod-h a:hover {
    background: var(--dg-primary);
    border-color: var(--dg-primary);
    color: #fff !important;
}

.dg-wmod-ic {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--dg-primary), var(--dg-primary-900));
    box-shadow: 0 6px 12px -6px var(--dg-primary);
}

.dg-wmod-ic.is-gold {
    background: linear-gradient(135deg, #f0b93a, #c98a08);
    box-shadow: 0 6px 12px -6px #c98a08;
}

.dg-wmod-list {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.dg-pitem,
.dg-aitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f8faf9;
    border: 1px solid transparent;
    transition: background .2s, border-color .2s, transform .2s;
}

.dg-pitem:hover,
.dg-aitem:hover {
    background: #fff;
    border-color: var(--dg-primary);
    transform: translateX(2px);
}

.dg-pitem {
    border-left: 3px solid var(--dg-primary);
}

.dg-pitem-body {
    flex: 1;
    min-width: 0;
    display: block;
}

.dg-pitem-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dg-ink);
}

.dg-pitem:hover .dg-pitem-title,
.dg-aitem:hover .dg-pitem-title {
    color: var(--dg-primary);
}

.dg-pitem-date {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-size: 11px;
    color: var(--dg-muted);
}

.dg-pitem-go {
    flex: none;
    color: var(--dg-muted);
    display: grid;
}

.dg-pitem:hover .dg-pitem-go {
    color: var(--dg-primary);
}

.dg-aitem-date {
    flex: none;
    width: 46px;
    padding: 6px 0 7px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.1;
    background: linear-gradient(160deg, var(--dg-primary), var(--dg-primary-900));
    color: #fff;
    display: block;
}

.dg-aitem-date b {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.dg-aitem-date small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}

.dg-wmod-empty {
    padding: 18px;
    font-size: 13px;
    color: var(--dg-muted);
    text-align: center;
}


/* ==========================================================================
   v5 — Hero responsif di HP, pencarian & filter berita modern,
        pemutar "Dengarkan berita" sederhana, tombol Shorts, hasil pencarian
   ========================================================================== */

/* ---------- Hero: tumpuk ke bawah di tablet & HP (menimpa aturan 2 kolom v4) ---------- */
@media (max-width: 1100px) {
    .dg-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .dg-hero .dg-slider {
        width: 100%;
        height: 380px;
        min-height: 0;
    }

    .dg-hero .dg-pop {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .dg-hero {
        margin-top: 14px;
    }

    .dg-hero .dg-slider {
        height: 330px;
        border-radius: 16px;
    }

    .dg-hero .dg-slide-body {
        padding: 16px 16px 44px;
    }

    .dg-hero .dg-slide-body h2 {
        font-size: 19px;
        line-height: 1.3;
    }

    .dg-slide-actions {
        gap: 8px;
        margin-top: 10px;
    }

    .dg-home {
        overflow-x: clip;
    }
}

/* ---------- Video Shorts ---------- */
.dg-reels-top {
    flex-wrap: wrap;
}

.dg-pill {
    gap: 6px;
}

.dg-pill svg {
    flex: none;
}

.dg-scope .dg-reel-list {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 460px;
    padding: 14px 18px;
    border: 1px solid var(--dg-line);
    border-radius: 16px;
    background: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--dg-shadow);
    transition: transform .2s, border-color .2s;
}

.dg-scope .dg-reel-list:hover {
    transform: translateY(-2px);
    border-color: var(--dg-primary);
}

.dg-reel-list-ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ff0033;
    color: #fff;
}

.dg-reel-list-tx b {
    display: block;
    font-size: 14.5px;
    color: var(--dg-ink);
}

.dg-reel-list-tx small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--dg-muted);
}

@media (max-width: 720px) {
    .dg-reels-mini .dg-reels-rail {
        grid-auto-columns: 118px;
        scroll-snap-type: x proximity;
        scroll-padding: 0 16px;
        margin: 0 -16px;
        padding: 0 16px 6px;
    }

    .dg-reels-mini .dg-reel {
        scroll-snap-align: start;
    }

    .dg-reels-top h2 {
        font-size: 17px;
    }
}

/* ---------- Berita terbaru: judul + pencarian ---------- */
.dg-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dg-news-head h2 {
    margin: 0;
}

.dg-nsearch {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 360px;
    min-width: 0;
    height: 48px;
    padding: 4px 4px 4px 44px;
    background: #fff;
    border: 1.5px solid var(--dg-line);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .2s, box-shadow .2s;
}

.dg-nsearch:focus-within {
    border-color: var(--dg-primary);
    box-shadow: 0 0 0 4px rgba(11, 122, 67, .12);
}

.dg-nsearch-ic {
    position: absolute;
    left: 16px;
    top: 50%;
    display: grid;
    transform: translateY(-50%);
    color: var(--dg-muted);
    pointer-events: none;
}

.dg-scope .dg-nsearch input {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 100%;
    padding: 0 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: inherit;
    font-size: 14.5px;
    color: var(--dg-ink);
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.dg-scope .dg-nsearch input::placeholder {
    color: #94a3b8;
}

.dg-scope .dg-nsearch input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.dg-scope .dg-nsearch button {
    flex: none;
    height: 100%;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--dg-primary);
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}

.dg-scope .dg-nsearch button:hover {
    background: var(--dg-primary-600);
}

/* ---------- Filter kategori ---------- */
.dg-filters-wrap {
    position: relative;
    margin: 0 0 20px;
}

.dg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.dg-scope .dg-fchip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border: 1.5px solid var(--dg-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dg-ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
    -webkit-tap-highlight-color: transparent;
}

.dg-scope .dg-fchip:hover {
    border-color: var(--dg-primary);
    color: var(--dg-primary);
    transform: translateY(-1px);
}

.dg-scope .dg-fchip:focus-visible {
    outline: 3px solid rgba(11, 122, 67, .35);
    outline-offset: 2px;
}

.dg-scope .dg-fchip.is-active,
.dg-scope .dg-fchip.is-active:hover {
    background: linear-gradient(135deg, var(--dg-primary), var(--dg-primary-900));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(11, 122, 67, .75);
    transform: none;
}

@media (max-width: 720px) {
    .dg-news-head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dg-news-head h2 {
        font-size: 22px;
    }

    .dg-nsearch {
        flex: none;
        width: 100%;
        height: 50px;
    }

    /* chip digeser ke samping (satu baris) agar rapi di layar kecil */
    .dg-filters-wrap {
        margin: 0 -16px 18px;
    }

    .dg-filters-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 6px;
        width: 28px;
        background: linear-gradient(90deg, rgba(244, 246, 250, 0), var(--dg-bg));
        pointer-events: none;
    }

    .dg-filters {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 2px 16px 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding: 0 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dg-filters::-webkit-scrollbar {
        display: none;
    }

    .dg-scope .dg-fchip {
        flex: none;
        height: 38px;
        padding: 0 18px;
        scroll-snap-align: start;
    }
}

/* ---------- Dengarkan berita (sederhana) ---------- */
.dg-audio {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 18px 0 22px;
    padding: 16px 18px;
    border-radius: 24px;
    background: #e9fbf1;
    overflow: hidden;
}

.dg-audio[hidden] {
    display: none;
}

.dg-scope .dg-audio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    min-width: 0;
    padding: 0 26px;
    border: 0;
    border-radius: 16px;
    background: #066247;
    color: #fff;
    font: inherit;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px -10px rgba(6, 98, 71, .9);
    transition: background .2s, transform .15s;
    -webkit-tap-highlight-color: transparent;
}

.dg-scope .dg-audio-btn:hover {
    background: #054d38;
}

.dg-scope .dg-audio-btn:active {
    transform: scale(.98);
}

.dg-scope .dg-audio-btn:focus-visible,
.dg-audio-speed select:focus-visible {
    outline: 3px solid rgba(6, 98, 71, .4);
    outline-offset: 2px;
}

.dg-audio-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.dg-audio-btn span {
    display: inline-flex;
}

.dg-audio .ic-pause,
.dg-audio.is-playing .ic-play {
    display: none;
}

.dg-audio.is-playing .ic-pause {
    display: inline-flex;
}

.dg-audio-speed {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--dg-ink);
}

.dg-audio-speed select {
    height: 44px;
    min-width: 108px;
    padding: 0 34px 0 14px;
    border: 1px solid #d2e3da;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--dg-ink);
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.dg-audio-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: transparent;
}

.dg-audio.has-progress .dg-audio-bar {
    background: rgba(6, 98, 71, .12);
}

.dg-audio-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #066247;
    transition: width .4s ease;
}

.dg-audio-note {
    flex: 1 1 100%;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #475569;
}

.dg-audio-note[hidden] {
    display: none;
}

@media (max-width: 560px) {
    .dg-audio {
        padding: 14px;
        border-radius: 20px;
        gap: 12px;
    }

    .dg-scope .dg-audio-btn {
        flex: 1 1 100%;
        width: 100%;
        padding: 0 18px;
    }

    .dg-audio-speed {
        flex: 1 1 100%;
        justify-content: space-between;
    }

    .dg-audio-speed select {
        flex: 1;
        max-width: 190px;
    }
}

@media print {
    .dg-audio {
        display: none !important;
    }
}

/* ---------- Halaman hasil pencarian ---------- */
.dg-sres {
    margin: 26px 0 40px;
}

.dg-sres-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 20px;
    margin-bottom: 20px;
}

.dg-sres-head h1 {
    flex: 1 1 100%;
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--dg-ink);
}

.dg-sres-head p {
    flex: 1 1 260px;
    margin: 0;
    font-size: 14px;
    color: var(--dg-muted);
}

.dg-sres-head p b {
    color: var(--dg-ink);
    overflow-wrap: anywhere;
}

.dg-sres-head .dg-nsearch {
    flex: 0 1 380px;
}

.dg-sres .dg-empty {
    padding: 40px 18px;
    border: 1px dashed var(--dg-line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    color: var(--dg-muted);
}

.dg-sres .dg-empty a {
    color: var(--dg-primary);
    font-weight: 700;
}

@media (max-width: 720px) {
    .dg-sres {
        margin-top: 18px;
    }

    .dg-sres-head h1 {
        font-size: 22px;
    }

    .dg-sres-head .dg-nsearch {
        flex: 1 1 100%;
        width: 100%;
    }
}


/* ==========================================================================
   v6 — "Berita terbaru" (1 berita besar + 3 daftar) & berita per kategori
   ========================================================================== */
.dg-news-head {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dg-line);
    position: relative;
}

.dg-news-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 120px;
    height: 3px;
    border-radius: 3px;
    background: var(--dg-primary);
}

.dg-news-head h2 {
    text-transform: uppercase;
    font-size: 19px;
    letter-spacing: .02em;
}

.dg-news-head+.dg-filters-wrap {
    margin-top: 16px;
}

.dg-scope a.dg-fchip {
    text-decoration: none;
}

/* ---------- Blok: berita besar + daftar ---------- */
.dg-hot {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
    margin: 0 0 30px;
}

.dg-hot-main {
    position: relative;
    min-height: 330px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f2a1d;
    isolation: isolate;
}

.dg-hot-main>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .6s ease;
}

.dg-hot-main:hover>img {
    transform: scale(1.04);
}

.dg-hot-main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 18, 11, .05) 0%, rgba(5, 18, 11, .55) 45%, rgba(5, 18, 11, .92) 100%);
}

.dg-hot-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dg-hot-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 24px 22px;
    text-align: center;
    pointer-events: none;
}

.dg-hot-body a,
.dg-hot-body h3 {
    pointer-events: auto;
}

.dg-hot-chip {
    display: inline-block;
    max-width: 100%;
    padding: 5px 14px;
    border-radius: 3px;
    background: #ef4a35;
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
}

.dg-hot-body h3 {
    margin: 0;
    font-size: clamp(18px, 1.9vw, 24px);
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dg-hot-body h3 a {
    color: #fff !important;
    text-decoration: none;
}

.dg-hot-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    font-size: 12.5px;
    color: #e5efe8;
}

.dg-hot-meta span,
.dg-hot-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dg-hot-list {
    display: flex;
    flex-direction: column;
}

.dg-scope a.dg-hot-item {
    display: flex;
    flex: 1;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--dg-line);
    color: inherit;
    text-decoration: none;
}

.dg-hot-item:first-child {
    padding-top: 0;
}

.dg-hot-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dg-hot-thumb {
    flex: none;
    width: 118px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #e2e8f0;
}

.dg-hot-thumb img,
.dg-kat-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.dg-hot-item:hover .dg-hot-thumb img,
.dg-kat-card:hover .dg-kat-img img {
    transform: scale(1.06);
}

.dg-hot-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.dg-hot-txt small {
    font-size: 12.5px;
    font-style: italic;
    color: var(--dg-muted);
}

.dg-hot-txt b,
.dg-kat-txt b {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dg-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.dg-hot-item:hover .dg-hot-txt b,
.dg-kat-card:hover .dg-kat-txt b {
    color: var(--dg-primary);
}

.dg-hot-date {
    font-size: 12.5px;
    font-style: italic;
    color: var(--dg-muted);
}

/* ---------- Per kategori / seksi ---------- */
.dg-sec.dg-kat {
    margin-top: 34px;
    scroll-margin-top: calc(var(--dg-sticky-offset) + 12px);
}

.dg-kat-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dg-line);
}

.dg-kat-h h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid var(--dg-primary);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dg-ink);
}

.dg-kat-h a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--dg-primary) !important;
    text-decoration: none;
}

.dg-kat-h a:hover {
    text-decoration: underline;
}

.dg-kat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.dg-scope a.dg-kat-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

.dg-kat-card:hover {
    transform: translateY(-2px);
    border-color: #cfe3d8;
    box-shadow: 0 14px 28px -18px rgba(15, 23, 42, .35);
}

.dg-kat-img {
    flex: none;
    width: 128px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
}

.dg-kat-txt {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 2px 4px 2px 0;
}

/* ---------- Responsif ---------- */
@media (max-width: 900px) {
    .dg-hot {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 26px;
    }

    .dg-hot-main {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .dg-hot-item,
    .dg-scope a.dg-hot-item {
        flex: none;
        padding: 12px 0;
    }

    .dg-hot-item:first-child {
        padding-top: 4px;
    }
}

@media (max-width: 720px) {
    .dg-hot-body {
        padding: 16px 16px 18px;
        gap: 8px;
    }

    .dg-hot-body h3 {
        font-size: 18px;
    }

    .dg-hot-thumb {
        width: 104px;
    }

    .dg-hot-txt b,
    .dg-kat-txt b {
        font-size: 14.5px;
    }

    .dg-kat-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .dg-kat-img {
        width: 104px;
    }

    .dg-kat-h h2 {
        font-size: 17px;
    }

    .dg-sec.dg-kat {
        margin-top: 28px;
    }
}
