/* ==========================================================================
   bersuara.net — Detikcom 2024-2026 Modern Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    --primary: #0047ba;          /* Detikcom Royal Blue */
    --primary-dark: #0f2962;     /* Detikcom Deep Navy */
    --primary-light: #eff6ff;    /* Light Blue Tint */
    --primary-accent: #2563eb;   /* Vibrant Blue */
    --primary-hover: #1d3c87;    /* Dark Navy Hover */
    --detik-navy: #1d3c87;       /* Detik Navy Blue */
    --detik-red: #e11d48;        /* Detik Red */
    --detik-orange: #ea580c;     /* Detik Update Orange */
    --gold: #fbbf24;             /* Gold related news */
    --accent: #0284c7;           /* Sky Blue */
    --bg-page: #f4f6fa;          /* Detik Soft Grey/Blue Page Bg */
    --bg-surface: #ffffff;
    --bg-surface-alt: #f8fafc;
    --border-color: #e5e7eb;
    --border-subtle: #f1f5f9;
    --text-main: #111827;        /* Crisp dark text */
    --text-muted: #4b5563;
    --text-dim: #9ca3af;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
    --container-width: 1140px;
}

[data-theme="dark"] {
    --bg-page: #0a0f1d;
    --bg-surface: #131b2e;
    --bg-surface-alt: #1a243c;
    --border-color: #243048;
    --border-subtle: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --primary-light: rgba(16, 185, 129, 0.15);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4);
    --shadow-md: 0 6px 18px -2px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 16px 32px -4px rgb(0 0 0 / 0.6);
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

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

/* ==========================================================================
   LAYOUT: Boxed Layout with Skin Wallpaper Ads
   ========================================================================== */

.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

/* Skin / Wallpaper Banners on Desktop */
.skin-ad {
    position: fixed;
    top: 140px;
    width: 160px;
    height: 600px;
    z-index: 5;
    display: none;
}

.skin-ad.skin-left {
    left: max(12px, calc(50% - (var(--container-width) / 2) - 175px));
}

.skin-ad.skin-right {
    right: max(12px, calc(50% - (var(--container-width) / 2) - 175px));
}

@media (max-width: 1239px) {
    .skin-ad {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (min-width: 1240px) and (max-width: 1480px) {
    :root {
        --container-width: 980px;
    }
    .skin-ad {
        display: block;
        width: 150px;
    }
    .skin-ad img {
        width: 150px !important;
    }
    .skin-ad.skin-left {
        left: max(8px, calc(50% - (var(--container-width) / 2) - 160px));
    }
    .skin-ad.skin-right {
        right: max(8px, calc(50% - (var(--container-width) / 2) - 160px));
    }
}

@media (min-width: 1481px) {
    .skin-ad {
        display: block;
    }
}

.skin-ad-card {
    width: 160px;
    height: 600px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    color: #cbd5e1;
    font-size: 13px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.skin-ad-card::before {
    content: "SPONSOR";
    position: absolute;
    top: 8px;
    font-size: 10px;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
}

/* Top Billboard Banner */
.top-billboard-wrapper {
    padding: 16px 0;
    text-align: center;
}

.billboard-banner {
    max-width: 970px;
    height: 160px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.billboard-banner::after {
    content: "SLOT IKLAN BILLBOARD (970×250)";
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #94a3b8;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #b91c1c 100%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 20px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
}

.brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.brand-text span {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 640px) {
    .header-date {
        display: none;
    }
}

.theme-toggle-btn {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.theme-toggle-btn:hover {
    transform: rotate(20deg) scale(1.05);
}

.admin-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.admin-link-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Navigation Channels Bar */
.nav-channels-bar {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    padding: 6px 0;
}

.nav-channels-bar::-webkit-scrollbar {
    display: none;
}

.nav-channel-item {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-channel-item:hover, .nav-channel-item.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.channel-indicator {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* Breaking News Ticker */
.breaking-news-bar {
    background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    margin: 14px 0 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.breaking-label {
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.breaking-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.breaking-text a {
    color: #ffffff;
}

.breaking-text a:hover {
    text-decoration: underline;
}

/* Trending Topics Bar */
.trending-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.trending-bar::-webkit-scrollbar {
    display: none;
}

.trending-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-pill {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.trending-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--bg-surface-alt);
    transform: translateY(-1px);
}

/* ==========================================================================
   HEADLINE SECTION (Ala Detikcom)
   ========================================================================== */

.headline-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .headline-section {
        grid-template-columns: 1fr;
    }
}

.main-headline-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #000000;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.main-headline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-headline-card:hover .main-headline-img {
    transform: scale(1.03);
}

.main-headline-overlay {
    position: relative;
    z-index: 2;
    padding: 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.92) 100%);
    color: #ffffff;
}

@media (max-width: 640px) {
    .main-headline-card {
        aspect-ratio: 4 / 3;
    }
    .main-headline-overlay {
        padding: 14px 14px;
    }
    .top-billboard-wrapper {
        padding: 6px 0;
    }
    .billboard-banner {
        height: auto;
        min-height: 80px;
        padding: 12px;
    }
}


.category-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 10px;
}

.main-headline-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #ffffff;
}

.main-headline-card:hover .main-headline-title {
    color: #fecaca;
}

.post-meta {
    font-size: 12.5px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Sub-Headlines Column */
.sub-headlines-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sub-headline-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sub-headline-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.sub-headline-thumb {
    width: 110px;
    height: 75px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background-color: var(--bg-surface-alt);
}

.sub-headline-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-headline-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-headline-card:hover .sub-headline-title {
    color: var(--primary);
}

.sub-headline-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   MAIN CONTENT GRID & SIDEBAR
   ========================================================================== */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

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

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

/* In-Feed Banner */
.in-feed-ad {
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-md);
    text-align: center;
    color: #f8fafc;
    border: 1px dashed var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* News Stream Cards */
.news-stream-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-stream-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.news-stream-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-stream-thumb {
    width: 170px;
    height: 105px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background-color: var(--bg-surface-alt);
}

@media (max-width: 540px) {
    .news-stream-thumb {
        width: 100px;
        height: 70px;
    }
}

.news-stream-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.news-stream-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 6px;
}

.news-stream-item:hover .news-stream-title {
    color: var(--primary);
}

.news-stream-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.news-stream-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dim);
}

/* ==========================================================================
   SIDEBAR: Terpopuler, Editor's Pick, & Ad Slot
   ========================================================================== */

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

/* Terpopuler Ranked List */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-rank {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: var(--border-color);
    min-width: 28px;
    text-align: center;
    transition: color 0.2s ease;
}

.popular-item:nth-child(1) .popular-rank { color: #dc2626; }
.popular-item:nth-child(2) .popular-rank { color: #ea580c; }
.popular-item:nth-child(3) .popular-rank { color: #d97706; }

.popular-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.popular-item:hover .popular-rank {
    transform: scale(1.1);
}

/* Sidebar Rectangle Ad */
.sidebar-ad-card {
    width: 300px;
    height: auto;
    margin: 0 auto;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    text-align: center;
    border: none;
}

/* ==========================================================================
   ARTICLE DETAIL PAGE
   ========================================================================== */

.article-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

@media (max-width: 640px) {
    .article-container {
        padding: 18px;
    }
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.article-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main);
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    .article-title {
        font-size: 22px;
    }
}

.article-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.article-main-image-wrap {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-surface-alt);
}

.article-caption {
    font-size: 12.5px;
    color: var(--text-muted);
    padding: 10px 14px;
    background-color: var(--bg-surface-alt);
    border-left: 3px solid var(--primary);
}

.article-lead {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
}

.article-body-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text-main);
}

.article-body-content p {
    margin-bottom: 18px;
}

.article-body-content blockquote {
    border-left: 4px solid var(--primary);
    background-color: var(--bg-surface-alt);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-main);
}

.article-body-content h2, .article-body-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 28px 0 14px;
    font-weight: 800;
}

.article-tags-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.share-buttons-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-wa { background-color: #25d366; }
.share-x { background-color: #000000; }
.share-fb { background-color: #1877f2; }
.share-copy { background-color: var(--text-muted); }

/* ==========================================================================
   STICKY PICTURE-IN-PICTURE VIDEO WIDGET (Ala Detikcom)
   ========================================================================== */

.floating-pip-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: #000000;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    z-index: 999;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-pip-header {
    background: rgba(15, 23, 42, 0.96);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-pip-header:active {
    cursor: grabbing;
}

.pip-live-badge {
    background: #dc2626;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pip-control-btn, .pip-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    transition: color 0.15s ease, background 0.15s ease;
}

.pip-control-btn:hover, .pip-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.floating-pip-video-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.floating-pip-video-wrap iframe, .floating-pip-video-wrap video {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    padding: 48px 0 24px;
    font-size: 13.5px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}

/* ==========================================================================
   MOBILE-FIRST APP EXPERIENCE (Ala Detikcom Mobile App)
   ========================================================================== */

/* Mobile App Bottom Navigation Bar */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    z-index: 9998;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-bottom: env(safe-area-inset-bottom);
    align-items: center;
    justify-content: space-around;
}

.dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    padding: 6px 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.dock-item:active {
    transform: scale(0.92);
}

.dock-item.active {
    color: var(--primary);
    font-weight: 700;
}

.dock-icon {
    font-size: 18px;
    line-height: 1;
}

.bookmark-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    border-radius: var(--radius-full);
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
    line-height: 1.3;
}

/* Slide-up Bottom Sheets (Kanal & Bookmark) */
.mobile-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: flex-end;
    animation: fadeIn 0.2s ease forwards;
}

.mobile-sheet-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 32px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.mobile-sheet-close {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-channel-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.15s ease;
}

.mobile-channel-tile:active {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: scale(0.98);
}

/* Mobile Responsiveness Rules (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 64px; /* Room for bottom dock */
    }

    .page-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .mobile-bottom-dock {
        display: flex;
    }

    .main-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    /* Compact Header on Mobile */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 99;
        background: var(--bg-surface);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 10px 0 0;
        margin-bottom: 10px;
    }

    .brand-text {
        font-size: 20px;
    }

    .brand-badge {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    /* Hide redundant desktop items in mobile header */
    .site-header .admin-link-btn {
        display: none;
    }

    /* Footer Mobile Polish */
    .site-footer {
        padding: 32px 0 30px;
    }

    .footer-newsletter-card {
        padding: 16px !important;
        margin-bottom: 24px !important;
    }

    .footer-newsletter-card form {
        width: 100%;
        max-width: 100% !important;
    }

    .footer-grid {
        gap: 22px;
    }


    /* Floating PiP Video adjustment on mobile */
    .floating-pip-widget {
        bottom: 70px;
        right: 10px;
        width: 190px;
    }

    .floating-pip-header {
        padding: 4px 8px;
        font-size: 10px;
    }

    /* News stream cards mobile layout */
    .news-stream-item {
        padding: 12px;
        gap: 12px;
    }

    .news-stream-thumb {
        width: 110px;
        height: 75px;
        border-radius: var(--radius-sm);
    }

    .news-stream-title {
        font-size: 14.5px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .news-stream-excerpt {
        display: none; /* Keep stream tight and scannable like Detik mobile */
    }

    /* Headline card mobile */
    .main-headline-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .headline-meta {
        font-size: 11px;
    }

    /* Sub-headline cards */
    .sub-headlines-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sub-headline-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .sub-headline-thumb {
        width: 100px;
        height: 68px;
        flex-shrink: 0;
    }

    .sub-headline-title {
        font-size: 13.5px;
    }

    /* Detail article mobile */
    .article-container {
        padding: 14px 12px;
        border-radius: var(--radius-md);
    }

    .article-title {
        font-size: 21px;
        line-height: 1.3;
    }

    .article-lead {
        font-size: 15px;
        line-height: 1.55;
    }

    .article-body-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .reader-toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ==========================================================================
   JABARPROV CIVIC & NEWS PORTAL DESIGN SYSTEM COMPONENTS
   ========================================================================== */

/* Modern Top Navigation Bar */
.jabar-header {
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.2);
}

.jabar-nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.jabar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.jabar-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    font-size: 18px;
    color: #ffffff;
}

.jabar-brand-text {
    display: flex;
    flex-direction: column;
}

.jabar-brand-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #ffffff;
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.jabar-brand-title span {
    color: #34d399;
}

.jabar-brand-sub {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
}

.jabar-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jabar-nav-item {
    position: relative;
}

.jabar-nav-link {
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.jabar-nav-link:hover, .jabar-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.jabar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 110;
}

.jabar-nav-item:hover .jabar-dropdown-menu {
    display: flex;
}

.jabar-dropdown-item {
    padding: 8px 12px;
    font-size: 13px;
    color: #cbd5e1;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
}

.jabar-dropdown-item:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

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

.jabar-lang-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jabar-admin-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
    transition: all 0.2s;
}

.jabar-admin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.5);
    color: #ffffff;
}

@media (max-width: 900px) {
    .jabar-nav-menu, .jabar-lang-pill {
        display: none;
    }
}

/* ==========================================================================
   JABAR HERO SECTION (Majestic Forest Emerald + Big Search)
   ========================================================================== */
.jabar-hero {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 45%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 52px 24px 44px;
    margin: 20px 0 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 34px -4px rgba(6, 78, 59, 0.35);
}

.jabar-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.jabar-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a7f3d0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.jabar-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    max-width: 820px;
    margin: 0 auto;
    color: #ffffff;
}

.jabar-hero-subtitle {
    font-size: 15px;
    color: #d1fae5;
    margin: 12px auto 0;
    max-width: 660px;
    line-height: 1.55;
    font-weight: 400;
}

/* Hero Search Box */
.jabar-search-wrapper {
    max-width: 680px;
    margin: 28px auto 0;
    position: relative;
    z-index: 2;
}

.jabar-search-form {
    background: #ffffff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.jabar-search-form:focus-within {
    border-color: #34d399;
    box-shadow: 0 14px 34px -2px rgba(5, 150, 105, 0.4);
}

.jabar-search-icon {
    font-size: 18px;
    color: #64748b;
    margin-right: 12px;
    flex-shrink: 0;
}

.jabar-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14.5px;
    color: #0f172a;
}

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

.jabar-search-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.jabar-search-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
    transform: translateY(-1px);
}

/* Popular Search Tags Pills */
.jabar-hero-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #a7f3d0;
}

.jabar-tag-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 5px 13px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.jabar-tag-chip:hover {
    background: #ffffff;
    color: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   AKSES CEPAT (QUICK ACCESS CARDS)
   ========================================================================== */
.quick-access-section {
    margin-bottom: 36px;
}

.section-head-clean {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title-clean {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle-clean {
    font-size: 13.5px;
    color: var(--text-muted);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-access-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.quick-access-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #34d399;
}

.quick-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.icon-emerald { background: #ecfdf5; color: #059669; }
.icon-sky { background: #f0f9ff; color: #0284c7; }
.icon-amber { background: #fefce8; color: #d97706; }
.icon-rose { background: #fff1f2; color: #e11d48; }

[data-theme="dark"] .icon-emerald { background: rgba(5, 150, 105, 0.2); }
[data-theme="dark"] .icon-sky { background: rgba(2, 132, 199, 0.2); }
[data-theme="dark"] .icon-amber { background: rgba(217, 119, 6, 0.2); }
[data-theme="dark"] .icon-rose { background: rgba(225, 29, 72, 0.2); }

.quick-card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.quick-card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.quick-card-action {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BERITA TERKINI (TABBED NEWS MODULE)
   ========================================================================== */
.jabar-news-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
}

.news-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.news-tab-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-tab-buttons {
    display: flex;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 4px;
    border: 1px solid var(--border-color);
}

.news-tab-btn {
    border: none;
    background: transparent;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.news-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.35);
}

.news-tab-viewall {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.news-tab-viewall:hover {
    color: var(--primary-dark);
}

/* Tab Content Layout */
.tab-content-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

/* Featured Big Card */
.jabar-featured-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.jabar-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #34d399;
}

.jabar-featured-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.jabar-featured-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    width: fit-content;
}

[data-theme="dark"] .jabar-featured-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.jabar-featured-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-main);
    transition: color 0.2s;
}

.jabar-featured-card:hover .jabar-featured-title {
    color: var(--primary);
}

.jabar-featured-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jabar-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: auto;
}

/* Side List News */
.jabar-side-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jabar-side-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.jabar-side-item:hover {
    transform: translateY(-2px);
    border-color: #34d399;
    box-shadow: var(--shadow-sm);
}

.jabar-side-thumb {
    width: 105px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.jabar-side-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    flex: 1;
}

.jabar-side-category {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.jabar-side-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.jabar-side-item:hover .jabar-side-title {
    color: var(--primary);
}

.jabar-side-time {
    font-size: 11px;
    color: var(--text-dim);
}

@media (max-width: 860px) {
    .tab-content-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PROGRAM UNGGULAN & LAYANAN TERPOPULER
   ========================================================================== */
.featured-programs-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.program-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.program-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-box-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-card-item {
    background: var(--bg-surface-alt);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s;
}

.program-card-item:hover {
    transform: translateX(4px);
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}

.program-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.program-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.program-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
}

.program-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

@media (max-width: 820px) {
    .featured-programs-section {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WIDE PROMO BANNER (MAL PELAYANAN PUBLIK DIGITAL)
   ========================================================================== */
.jabar-promo-banner {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #022c22 100%);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    margin-bottom: 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 10px 25px -4px rgba(4, 120, 87, 0.35);
    position: relative;
    overflow: hidden;
}

.jabar-promo-banner::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 8px;
}

.promo-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.promo-desc {
    font-size: 13.5px;
    color: #d1fae5;
    margin-top: 6px;
    max-width: 540px;
}

.promo-btn {
    background: #ffffff;
    color: #065f46;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.promo-btn:hover {
    background: #ecfdf5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 720px) {
    .jabar-promo-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
}

/* ==========================================================================
   DETIKCOM 2024-2026 PIXEL-PERFECT DESIGN SYSTEM
   ========================================================================== */

/* Top Navigation Bar */
.detik-nav-wrapper {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.detik-top-row {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.detik-menu-pill {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-full);
    padding: 5px 14px 5px 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    font-family: inherit;
}

.detik-menu-pill:hover {
    border-color: #0047ba;
    color: #0047ba;
}

.detik-menu-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1d3c87;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Detik Pill Search */
.detik-search-pill-form {
    flex: 1;
    max-width: 520px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    padding: 3px 4px 3px 18px;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.detik-search-pill-form:focus-within {
    border-color: #0047ba;
    box-shadow: 0 0 0 3px rgba(0, 71, 186, 0.12);
}

.detik-search-pill-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13.5px;
    font-family: inherit;
    color: #111827;
}

.detik-search-pill-input::placeholder {
    color: #9ca3af;
}

.detik-search-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1d3c87;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s;
}

.detik-search-circle-btn:hover {
    background: #0047ba;
}

/* Detik Auth Buttons */
.detik-auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-detik-mpc {
    background: #1d3c87;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-detik-mpc:hover {
    background: #0047ba;
    color: #ffffff;
}

.btn-detik-login {
    background: #ffffff;
    border: 1px solid #0047ba;
    color: #0047ba;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-detik-login:hover {
    background: #eff6ff;
    color: #0047ba;
}

/* Detik Channel Strip */
.detik-channel-strip {
    border-top: 1px solid var(--border-subtle);
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.detik-channel-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
}

.detik-channel-inner::-webkit-scrollbar {
    display: none;
}

.detik-brand-logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
    color: #0047ba;
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.detik-brand-logo span {
    color: #e11d48;
}

.detik-channel-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.detik-channel-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: color 0.15s;
}

.detik-channel-link:hover, .detik-channel-link.active {
    color: #0047ba;
}

/* Sub-Headlines Top 5 Strip */
.detik-subheadlines-row {
    max-width: var(--container-width);
    margin: 16px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.detik-sub-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border-radius: 4px;
    transition: transform 0.2s;
}

.detik-sub-card:hover {
    transform: translateY(-2px);
}

.detik-sub-thumb {
    width: 100%;
    height: 110px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
    background: #e2e8f0;
}

.detik-sub-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.detik-sub-card:hover .detik-sub-title {
    color: #0047ba;
}

/* Main Detik Grid (Left Content + 300px Sidebar) */
.detik-portal-grid {
    max-width: var(--container-width);
    margin: 0 auto 36px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

/* Today's Recap Main Headline Box */
.detik-recap-box {
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.recap-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    background: #111827;
    overflow: hidden;
}

.recap-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.detik-recap-box:hover .recap-hero-img {
    transform: scale(1.02);
}

.recap-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.92) 100%);
    pointer-events: none;
}

/* Top Badges (Today's Recap + jam 9 malam) */
.recap-top-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.badge-recap-title {
    background: #e11d48;
    color: #ffffff;
    padding: 6px 14px;
    letter-spacing: 0.5px;
}

.badge-recap-time {
    background: #1d3c87;
    color: #ffffff;
    padding: 6px 14px;
}

/* Top-Right Update Counter */
.recap-update-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 6px 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.update-counter-text {
    font-size: 12px;
    font-weight: 800;
    color: #1d3c87;
}

.btn-update-orange {
    background: #ea580c;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.update-close-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
}

/* Caption on bottom of image */
.recap-hero-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    color: #ffffff;
    z-index: 2;
}

.recap-hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 6px;
}

.recap-hero-meta {
    font-size: 12.5px;
    color: #cbd5e1;
    font-weight: 600;
}

/* Bottom Blue Strip (Berita Terkait) */
.recap-related-strip {
    background: #1d3c87;
    padding: 14px 20px 16px;
    color: #ffffff;
}

.related-strip-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.related-strip-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.related-strip-link:hover {
    color: #fbbf24;
    text-decoration: underline;
}

/* Multimedia Strip (Videos & Photos) */
.detik-multimedia-strip {
    margin: 24px 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 18px;
}

.multimedia-strip-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.multimedia-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.multimedia-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.multimedia-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    background: #1e293b;
}

.multimedia-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multimedia-duration-pill {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.multimedia-card-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Detik Sidebar 300x600 Display Ad */
.detik-halfpage-ad {
    width: 300px;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: #ffffff;
}

.detik-ad-corner-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.5);
    color: #cbd5e1;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.detik-ad-brand-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detik-ad-body {
    margin-top: 100px;
}

.detik-ad-title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
}

.detik-ad-subtitle {
    font-size: 12.5px;
    margin-top: 8px;
    color: #e0f2fe;
}

.detik-ad-price-box {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detik-ad-btn {
    margin-top: 8px;
    background: #ea580c;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    width: 100%;
}

/* ==========================================================================
   DETIKCOM DARK MODE THEME SUPPORT
   ========================================================================== */
[data-theme="dark"] .detik-nav-wrapper {
    background: var(--bg-surface);
    border-bottom-color: var(--border-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .detik-menu-pill {
    background: var(--bg-surface-alt);
    border-color: var(--border-color);
    color: var(--text-main);
}

[data-theme="dark"] .detik-menu-pill:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

[data-theme="dark"] .detik-search-pill-form {
    background: var(--bg-surface-alt);
    border-color: var(--border-color);
}

[data-theme="dark"] .detik-search-pill-form:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

[data-theme="dark"] .detik-search-pill-input {
    color: var(--text-main);
}

[data-theme="dark"] .detik-search-pill-input::placeholder {
    color: var(--text-dim);
}

[data-theme="dark"] .detik-channel-strip {
    background: var(--bg-surface);
    border-top-color: var(--border-subtle);
}

[data-theme="dark"] .detik-channel-link {
    color: var(--text-muted);
}

[data-theme="dark"] .detik-channel-link:hover,
[data-theme="dark"] .detik-channel-link.active {
    color: #38bdf8;
}

[data-theme="dark"] .btn-detik-login {
    background: transparent;
    border-color: #38bdf8;
    color: #38bdf8;
}

[data-theme="dark"] .btn-detik-login:hover {
    background: rgba(56, 189, 248, 0.12);
}

[data-theme="dark"] .detik-sub-card {
    background: var(--bg-surface);
}

[data-theme="dark"] .detik-sub-title {
    color: var(--text-main);
}

[data-theme="dark"] .detik-sub-card:hover .detik-sub-title {
    color: #38bdf8;
}

[data-theme="dark"] .detik-multimedia-strip {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

[data-theme="dark"] .multimedia-strip-title {
    color: var(--text-main);
}

[data-theme="dark"] .multimedia-card-title {
    color: var(--text-main);
}

/* ==========================================================================
   DETIKCOM RESPONSIVE SYSTEM (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .detik-portal-grid {
        grid-template-columns: 1fr;
    }
    .detik-subheadlines-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .multimedia-strip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .main-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    /* Detik Navigation Header Mobile */
    .detik-nav-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .detik-top-row {
        width: 100% !important;
        padding: 8px 12px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .detik-menu-pill {
        padding: 4px 10px 4px 4px !important;
        font-size: 11.5px !important;
    }

    .detik-menu-circle {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }

    .detik-search-pill-form {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 38px !important;
        margin-top: 4px !important;
    }

    .detik-search-pill-input {
        font-size: 12.5px !important;
    }

    .detik-search-circle-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    .detik-auth-actions {
        gap: 6px !important;
    }

    .btn-detik-mpc {
        padding: 5px 12px !important;
        font-size: 11.5px !important;
    }

    .btn-detik-login {
        padding: 5px 12px !important;
        font-size: 11.5px !important;
    }

    .detik-channel-strip {
        width: 100% !important;
    }

    .detik-channel-inner {
        width: 100% !important;
        padding: 0 12px !important;
        height: 40px !important;
        gap: 14px !important;
    }

    .detik-brand-logo {
        font-size: 18px !important;
    }

    .detik-brand-logo img {
        width: 22px !important;
        height: 22px !important;
    }

    .detik-channel-link {
        font-size: 12.5px !important;
    }

    /* Sub-headlines 5 cards horizontal swipe */
    .detik-subheadlines-row {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 10px 0 14px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    .detik-subheadlines-row::-webkit-scrollbar {
        display: none !important;
    }

    .detik-sub-card {
        min-width: 175px !important;
        width: 175px !important;
        max-width: 175px !important;
        flex: 0 0 175px !important;
        scroll-snap-align: start !important;
    }

    .detik-sub-thumb {
        width: 100% !important;
        height: 95px !important;
        max-height: 95px !important;
        aspect-ratio: 16 / 10 !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }

    .detik-sub-title {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }

    /* Grid layout single column */
    .detik-portal-grid {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Multimedia video swipe */
    .multimedia-strip-grid {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important;
        padding-bottom: 8px !important;
        scrollbar-width: none !important;
    }

    .multimedia-strip-grid::-webkit-scrollbar {
        display: none !important;
    }

    .multimedia-card {
        min-width: 155px !important;
        width: 155px !important;
        flex: 0 0 155px !important;
        scroll-snap-align: start !important;
    }

    .recap-hero-title {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    .recap-top-badges {
        top: 10px !important;
        left: 10px !important;
        font-size: 10.5px !important;
    }

    .badge-recap-title, .badge-recap-time {
        padding: 4px 10px !important;
    }

    .recap-update-counter {
        top: 10px !important;
        right: 10px !important;
        padding: 3px 5px 3px 8px !important;
    }

    .update-counter-text {
        font-size: 10.5px !important;
    }

    .btn-update-orange {
        padding: 3px 7px !important;
        font-size: 10px !important;
    }

    .related-strip-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

#userDropdown.active {
    display: flex !important;
}

/* ==========================================================================
   STRUKTUR REDAKSI & MANAJEMEN DESIGN SYSTEM
   ========================================================================== */
.redaksi-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-family: inherit;
    color: var(--text-main);
}

.redaksi-legal-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    border-left: 5px solid #0047ba;
    box-shadow: var(--shadow-md);
}

.redaksi-legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.redaksi-legal-badge {
    background: #0047ba;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.redaksi-legal-law {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.redaksi-company-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.redaksi-company-sub {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0 0 16px 0;
}

.redaksi-legal-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 12px;
}

.redaksi-section-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

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

.redaksi-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.redaksi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.redaksi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #0047ba;
}

.redaksi-role-pill {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.founder-pill {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.pembina-pill {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.3);
}

.penasihat-pill {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.direktur-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pemred-pill {
    background: rgba(0, 71, 186, 0.1);
    color: #0047ba;
    border: 1px solid rgba(0, 71, 186, 0.3);
}

.redaksi-avatar-box {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0047ba, #0284c7);
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,71,186,0.25);
}

.redaksi-avatar-box.large {
    width: 72px;
    height: 72px;
    font-size: 24px;
}

.pemred-bg {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 10px rgba(220,38,38,0.25);
}

.redaksi-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.redaksi-name.large {
    font-size: 18px;
}

.redaksi-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

.redaksi-card-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dim);
    width: 100%;
}

.redaksi-table-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.redaksi-table {
    width: 100%;
    border-collapse: collapse;
}

.redaksi-table tr {
    border-bottom: 1px solid var(--border-subtle);
}

.redaksi-table tr:last-child {
    border-bottom: none;
}

.redaksi-table tr:hover {
    background: var(--bg-hover);
}

.redaksi-table td {
    padding: 12px 18px;
    font-size: 13.5px;
}

.td-role {
    font-weight: 600;
    color: var(--text-muted);
    width: 38%;
}

.td-sep {
    width: 4%;
    color: var(--text-dim);
    text-align: center;
}

.td-name {
    color: var(--text-main);
    width: 58%;
}

.redaksi-contact-banner {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .redaksi-contact-banner {
    background: linear-gradient(135deg, #064e3b 0%, #0c4a6e 100%);
    border-color: rgba(255,255,255,0.12);
}

.contact-badge {
    background: #0284c7;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.contact-phone {
    font-size: 26px;
    font-weight: 900;
    color: #0047ba;
    margin: 4px 0 8px 0;
    letter-spacing: 1px;
}

[data-theme="dark"] .contact-phone {
    color: #38bdf8;
}

.contact-desc {
    font-size: 13px;
    color: var(--text-main);
    margin: 0 0 12px 0;
    max-width: 520px;
    line-height: 1.5;
}

.contact-links-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-main);
}

.contact-banner-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.btn-whatsapp-redaksi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: #16a34a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(22,163,74,0.3);
    transition: background 0.2s, transform 0.15s;
}

.btn-whatsapp-redaksi:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.btn-call-redaksi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: #0047ba;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-call-redaksi:hover {
    background: #003791;
}

.redaksi-notice-box {
    background: var(--bg-hover);
    border-left: 4px solid #dc2626;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .redaksi-grid-cards,
    .redaksi-grid-two {
        grid-template-columns: 1fr;
    }
    .redaksi-contact-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-banner-action {
        width: 100%;
    }
    .td-role {
        width: 45%;
    }
}




