/* ==========================================================================
   1. LATEST NEWS - VISIBILITY & BASE STYLES
   ========================================================================== */
.latest-news-mobile {
    display: block;
    padding: 16px 0;
}

.latest-news-desktop {
    display: none;
}

.latest-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.latest-news-item {
    cursor: pointer;
}

.latest-news-image {
    width: 100%;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-news-title {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing:-0.2;
}

.latest-news-title:hover {
    color: #f5a623;
}

.latest-news-category { display: none; }
.latest-news-time { font-size: 11px; color: #888; font-weight: 400; }
.latest-news-readtime { display: none; }
.latest-news-meta .separator { display: none; }

/* Latest Header - Hidden di Mobile */
.latest-header,
.latest-news-header {
    display: none;
}

/* ==========================================================================
   UNIFIED SEE-ALL LINK STYLES
   (Latest Header, Pilihan Redaksi, Category Grid)
   ========================================================================== */
/* ==========================================================================
   UNIFIED SEE-ALL LINK STYLES
   (Latest Header & Pilihan Redaksi only)
   ========================================================================== */
.latest-header-link,
.pilihan-redaksi-see-all {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #494949;
    text-decoration: none;
    transition: all 0.2s ease;
}

.latest-header-link:hover,
.pilihan-redaksi-see-all:hover {
    color: #1a73e8;
}

/* Arrow chevron untuk Latest & Pilihan */
.latest-header-link .latest-header-arrow,
.pilihan-redaksi-see-all .latest-header-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.latest-header-link:hover .latest-header-arrow,
.pilihan-redaksi-see-all:hover .latest-header-arrow {
    transform: translateX(4px);
}

/* Desktop: Tampilkan see-all untuk Pilihan Redaksi */
@media (min-width: 1024px) {
    .pilihan-redaksi-see-all {
        display: flex;
    }
}
/* Arrow chevron untuk semua see-all link */
.latest-header-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.latest-header-link:hover .latest-header-arrow,
.pilihan-redaksi-see-all:hover .latest-header-arrow,
.category-grid-see-all:hover .latest-header-arrow {
    transform: translateX(4px);
}

/* --- DESKTOP VERSION --- */
@media (min-width: 1024px) {
    body { max-width: 100%; }

    .latest-news-mobile { display: none !important; }
    .latest-news-desktop {
        display: block !important;
        padding: 0;
        max-width: 1024px;
        margin: 24px auto;
    }

    /* ============================================
       LATEST NEWS - HEADER (Hanya Desktop)
       Prefix: latest-header- (tidak bentrok dengan latest-news-title)
       ============================================ */
    .latest-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
              
    }

    .latest-header-title {
        font-size: 20px;
        font-weight: 800;
        color: #161616;
        margin: 0;
        line-height: 1;
    }

    /* Desktop Layout */
    .latest-news-desktop .latest-news-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #ffffff;
        border-radius: 6px;
        overflow: hidden;
    }

    .latest-news-desktop .latest-news-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
          transition: background 0.2s ease;
    }

    .latest-news-desktop .latest-news-item:last-child { border-bottom: none; }
    .latest-news-desktop .latest-news-item:hover { background: none; }

    .latest-news-desktop .latest-news-image {
        width: 210px;
        height: 120px;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .latest-news-desktop .latest-news-image img { transition: transform 0.4s ease; }
    .latest-news-desktop .latest-news-item:hover .latest-news-image img { transform: scale(1.05); }

    .latest-news-desktop .latest-news-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .latest-news-desktop .latest-news-title {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }

    .latest-news-desktop .latest-news-category {
        display: block;
        font-size: 13px;
        color: #555;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .latest-news-desktop .latest-news-time { font-size: 12px; }
    .latest-news-desktop .latest-news-readtime { display: inline; font-size: 12px; color: #888; }
    .latest-news-desktop .latest-news-meta .separator { display: inline; margin: 0 6px; color: #ccc; }
}

/* ============================================
   VIDEO BADGE - Top Right Corner
   ============================================ */

.latest-news-image {
    position: relative;
    overflow: hidden;
}

/* Badge Container - Posisi di Sudut Kanan Atas */
.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Play Icon dalam Badge */
.video-badge-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

/* Duration Text */
.video-badge-duration {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* Hover Effect (Optional) */
.latest-news-item:hover .video-badge {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .video-badge {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .video-badge-icon {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   CONTENT BADGE - Video & Gallery
   ============================================ */

.latest-news-image {
    position: relative;
    overflow: hidden;
}

/* Base Badge Style */
.content-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

/* 1. Base Style (Ukuran dan display dasar) */
.badge-icon {
    width: 14px;
    height: 14px;
    display: block;
}

/* 2. KHUSUS IKON PLAY (VIDEO) - Background Putih Bulat */
.video-badge .badge-icon {
    fill: #1a1a1a;       /* Ikon berwarna gelap */
    background: #ffffff; /* Background putih */
    border-radius: 50%;  /* Bentuk bulat sempurna */
    padding: 0px;        /* Memberi jarak agar ikon tidak mepet ke tepi */
    box-sizing: content-box; 
}

/* 3. KHUSUS IKON KAMERA (GALERI) - Kembali ke Putih Transparan */
.gallery-badge .badge-icon {
    fill: #ffffff;       /* Ikon berwarna putih */
    background: transparent; /* Tanpa background */
    border-radius: 0;    /* Tidak bulat */
    padding: 0;
}

/* Badge Text */
.badge-text {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* Hover Effect */
.latest-news-item:hover .content-badge {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.05);
}

/* Gallery Badge - Optional: Warna berbeda */
.gallery-badge {
    /* Bisa tambahkan warna berbeda jika mau */
    /* background: rgba(211, 47, 47, 0.9); */ /* Merah untuk gallery */
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .content-badge {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .badge-icon {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   LATEST NEWS 2 - CONTENT BADGE
   ============================================ */

.latest-2-news-image {
    position: relative;
    overflow: hidden;
}

/* Base Badge Style untuk Latest 2 */
.latest-2-content-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

/* Badge Icon */
.latest-2-badge-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

/* Badge Text */
.latest-2-badge-text {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* Hover Effect */
.latest-2-news-item:hover .latest-2-content-badge {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.05);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .latest-2-content-badge {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .latest-2-badge-icon {
        width: 12px;
        height: 12px;
    }
}
/* --- VIDEO PLAY ICON (Latest News 1) --- */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.video-play-icon svg { width: 20px; height: 20px; margin-left: 3px; }
.latest-news-item.has-video:hover .video-play-icon {
    background: rgba(245, 166, 35, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

@media (min-width: 1024px) {
    .video-play-icon { width: 50px; height: 50px; }
    .video-play-icon svg { width: 24px; height: 24px; }
}


/* ==========================================================================
   2. TERPOPULER MOBILE (Prefix: mob-pop)
   ========================================================================== */
.mob-pop-wrapper { display: none; }

@media (max-width: 1023px) {
    .mob-pop-wrapper {
        display: block;
        padding: 16px 0;
        background: #ffffff;
    }

    .mob-pop-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
       
    }

    .mob-pop-bar {
        width: 4px;
        height: 22px;
        background: #e60012;
        border-radius: 2px;
        flex-shrink: 0;
    }

    .mob-pop-title {
        font-size: 18px;
        font-weight: 800;
        color: #1a1a1a;
        margin: 0;
        line-height: 1;
    }

    .mob-pop-list { display: flex; flex-direction: column; gap:16px;}

    .mob-pop-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 6px 0;
        transition: background 0.2s ease;
    }

    .mob-pop-item:last-child { border-bottom: none; }
    .mob-pop-item:hover { background: none; }

    .mob-pop-number {
        width: 28px;
        height: 28px;
        background: #e5e5e5;
        color: #1a1a1a;
        font-size: 14px;
        font-weight: 800;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .mob-pop-content { flex: 1; min-width: 0; }

    .mob-pop-post-title {
        font-size: 14px;
        font-weight: 800;
        color: #1a1a1a;
        line-height: 1.4;
        margin: 0 0 4px 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        letter-spacing: -0.2px;
        overflow: hidden;
    }

    .mob-pop-post-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .mob-pop-post-title a:hover { color: #f5a623; }

    .mob-pop-category { font-size: 12px; color: #888; font-weight: 500; }

    .mob-pop-thumb {
        width: 85px;
        height: 85px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mob-pop-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

@media (min-width: 1024px) {
    .mob-pop-wrapper { display: none !important; }
}


/* ==========================================================================
   3. PILIHAN REDAKSI
   ========================================================================== */
.pilihan-redaksi {
    background: #ffffff;
    padding: 0;
    margin-bottom: 20px;
}

.pilihan-redaksi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.pilihan-redaksi-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pilihan-redaksi-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #e60012;
    border-radius: 2px;
}

.pilihan-redaksi-bookmark {
    width: 22px;
    height: 22px;
    stroke: #1a1a1a;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pilihan-redaksi-bookmark:hover {
    stroke: #f5a623;
    transform: scale(1.1);
}

.pilihan-redaksi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.pilihan-redaksi-item { cursor: pointer; }

.pilihan-redaksi-image {
    width: 100%;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pilihan-redaksi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilihan-redaksi-content { }

.pilihan-redaksi-link {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing:-0.2;
}

.pilihan-redaksi-link:hover { color: #f5a623; }
.pilihan-redaksi-category { font-size: 11px; color: #888; font-weight: 500; margin-bottom: 4px; }

/* --- DESKTOP VERSION --- */
@media (min-width: 1024px) {
    body { max-width: 100%; }

    .pilihan-redaksi {
        max-width: 1024px;
        margin: 4px auto;
        padding-bottom: 24px;
    }

    .pilihan-redaksi-header { margin-bottom: 0; }
    .pilihan-redaksi-title { font-size: 20px; }
    .pilihan-redaksi-title::before { display: none; }
    .pilihan-redaksi-bookmark { display: none; }

    /* See-all link ditampilkan di desktop (menggunakan unified style) */
    .pilihan-redaksi-see-all {
        display: flex;
    }

    .pilihan-redaksi-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .pilihan-redaksi-image {
        height: 120px;
        border-radius: 6px;
        margin-bottom: 12px;
    }

    .pilihan-redaksi-link {
        font-size: 13px;
        font-family: 'Manrope', sans-serif;
        line-height: 1.4;
        margin-bottom: 6px;
        -webkit-line-clamp: 3;
    }

    .pilihan-redaksi-category {
        font-size: 12px;
        color: #e67700;
        font-weight: 600;
        text-transform: capitalize;
        margin-bottom: 4px;
    }
}


/* ==========================================================================
   4. LATEST NEWS 2 (Prefix: latest-2-)
   ========================================================================== */
.latest-2-news-mobile {
    display: block;
    padding: 16px 0;
}

.latest-2-news-desktop {
    display: none;
}

.latest-2-news-image {
    position: relative;
}

.latest-2-news-mobile .latest-2-news-grid {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.latest-2-news-mobile .latest-2-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.latest-2-news-mobile .latest-2-news-image {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0;
    flex-shrink: 0;
}

.latest-2-news-mobile .latest-2-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-2-news-mobile .latest-2-news-content { flex: 1; min-width: 0; }

.latest-2-news-mobile .latest-2-news-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-2-news-mobile .latest-2-news-title:hover { color: #f5a623; }
.latest-2-news-mobile .latest-2-news-category { display: none; }
.latest-2-news-mobile .latest-2-news-time { font-size: 11px; color: #888; font-weight: 400; }
.latest-2-news-mobile .latest-2-news-readtime { display: none; }
.latest-2-news-mobile .latest-2-news-meta .separator { display: none; }

/* --- DESKTOP VERSION --- */
@media (min-width: 1024px) {
    body { max-width: 100%; }

    .latest-2-news-mobile { display: none !important; }

    .latest-2-news-desktop {
        display: block !important;
        padding: 0;
        max-width: 1024px;
        margin: 24px auto;
    }

    .latest-2-news-desktop .latest-2-news-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #ffffff;
        border-radius: 6px;
        overflow: hidden;
    }

    .latest-2-news-desktop .latest-2-news-item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        transition: background 0.2s ease;
    }

    .latest-2-news-desktop .latest-2-news-item:last-child { border-bottom: none; }
    .latest-2-news-desktop .latest-2-news-item:hover { background: none; }

    .latest-2-news-desktop .latest-2-news-image {
        width: 210px;
        height: 120px;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .latest-2-news-desktop .latest-2-news-image img { transition: transform 0.4s ease; }
    .latest-2-news-desktop .latest-2-news-item:hover .latest-2-news-image img { transform: scale(1.05); }

    .latest-2-news-desktop .latest-2-news-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .latest-2-news-desktop .latest-2-news-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.4;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .latest-2-news-desktop .latest-2-news-title:hover { color: #f5a623; }

    .latest-2-news-desktop .latest-2-news-category {
        display: block;
        font-size: 13px;
        color: #555;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .latest-2-news-desktop .latest-2-news-time { font-size: 12px; }
    .latest-2-news-desktop .latest-2-news-readtime { display: inline; font-size: 12px; color: #888; }
    .latest-2-news-desktop .latest-2-news-meta .separator { display: inline; margin: 0 6px; color: #ccc; }
}

/* --- VIDEO PLAY ICON (Latest News 2) --- */
.latest-2-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.latest-2-video-play-icon svg { width: 20px; height: 20px; margin-left: 3px; }

.latest-2-news-item.has-video:hover .latest-2-video-play-icon {
    background: rgba(245, 166, 35, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

@media (min-width: 1024px) {
    .latest-2-video-play-icon { width: 50px; height: 50px; }
    .latest-2-video-play-icon svg { width: 24px; height: 24px; }
}


/* ==========================================================================
   5. HEADLINE BOX
   ========================================================================== */
.headline-box {
    padding: 16px 0 10px 16px;
}

.headline-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 10px 0 0;
    scroll-snap-type: x mandatory;
}

.headline-scroll::-webkit-scrollbar { display: none; }

.headline-hilite {
    flex: 0 0 90px;
    height: 160px;
    background: linear-gradient(135deg, #1a6b8a 0%, #2a9d8f 100%);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.headline-hilite:hover { transform: scale(1.02); }

.headline-hilite-logo {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    font-style: italic;
    letter-spacing: 0.5px;
    text-align: center;
}

.headline-hilite-explore {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.headline-hilite-plus {
    width: 28px;
    height: 28px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    transition: all 0.2s ease;
}

.headline-hilite:hover .headline-hilite-plus { background: rgba(255, 255, 255, 0.2); }

.headline-hilite-text {
    font-size: 9px;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
}

.headline-news {
    flex: 0 0 140px;
    scroll-snap-align: start;
    cursor: pointer;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.headline-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.headline-news-image {
    width: 100%;
    height: 100px;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.headline-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.headline-news:hover .headline-news-image img { transform: scale(1.05); }

.headline-news-content { padding: 8px 10px 10px; }

.headline-news-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
}

.headline-news-title:hover { color: #f5a623; }

/* --- DESKTOP VERSION --- */
@media (min-width: 1024px) {
    body { max-width: 100%; }

    .headline-box {
        padding: 0;
        max-width: 1024px;
        margin: 24px auto;
    }

    .headline-scroll {
        padding: 0;
        gap: 20px;
        overflow-x: hidden;
        scroll-snap-type: none;
    }

    .headline-hilite { display: none; }

    .headline-news {
        flex: 0 0 calc((100% - 80px) / 5);
        background: transparent;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        scroll-snap-align: none;
    }

    .headline-news:hover { transform: none; box-shadow: none; }

    .headline-news-image {
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .headline-news-image img { transition: transform 0.4s ease; }
    .headline-news:hover .headline-news-image img { transform: scale(1.03); }

    .headline-news-content { padding: 0; }

    .headline-news-title {
        font-size: 13px;
        font-weight: 600;
        color: #1a1a1a;
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }

    .headline-news-title:hover { color: #e60012; }
}

/* ============================================
   VIDEO BADGE - Untuk Category Grid Video
   (Menggunakan class yang sama dengan latest-2)
   ============================================ */

.category-grid-image {
    position: relative;
    overflow: hidden;
}

/* Badge Container - Posisi di Sudut Kanan Atas */
.content-badge.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

/* Play Icon dalam Badge */
.content-badge.video-badge 
.latest-2-badge-icon {
    width: 14px;
    height: 14px;
    display: block;
}

/* 2. KHUSUS IKON PLAY (VIDEO) - Background Putih Bulat */
.latest-2-video-badge .latest-2-badge-icon {
    fill: #1a1a1a;       /* Ikon berwarna gelap */
    background: #ffffff; /* Background putih */
    border-radius: 50%;  /* Bentuk bulat sempurna */
    padding: 0px;        /* Memberi jarak agar ikon tidak mepet ke tepi (opsional) */
    box-sizing: content-box; 
}

/* 3. KHUSUS IKON KAMERA (GALERI) - Kembali ke Putih Transparan */
.latest-2-gallery-badge .latest-2-badge-icon {
    fill: #ffffff;       /* Ikon berwarna putih */
    background: transparent; /* Tanpa background */
    border-radius: 0;    /* Tidak bulat */
    padding: 0;
}

/* Duration Text */
.content-badge.video-badge .badge-text {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* Hover Effect */
.category-grid-item:hover .content-badge.video-badge {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.05);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .content-badge.video-badge {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .content-badge.video-badge .badge-icon {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   MOBILE: TERAPKAN FONT MANROPE PADA SEMUA TITLE
   ============================================ */
@media (max-width: 1023px) {
    
    /* Latest News Title */
    .latest-news-title {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Terpopuler Mobile Title */
    .mob-pop-post-title {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Pilihan Redaksi Link Title */
    .pilihan-redaksi-link {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Latest News 2 Mobile Title */
    .latest-2-news-mobile .latest-2-news-title {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Headline News Title */
    .headline-news-title {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Headline Hilite Logo (jika dianggap title) */
    .headline-hilite-logo {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Headline Hilite Text */
    .headline-hilite-text {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Mob Pop Title (Header) */
    .mob-pop-title {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Pilihan Redaksi Title (Header) */
    .pilihan-redaksi-title {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Category Title di Latest News */
    .latest-news-category {
        font-family: 'Manrope', sans-serif;
    }
    
    .latest-2-news-mobile .latest-2-news-category {
        font-family: 'Manrope', sans-serif;
    }
    
    .mob-pop-category {
        font-family: 'Manrope', sans-serif;
    }
    
    /* Meta Text (Time, Readtime) */
    .latest-news-time,
    .latest-news-readtime,
    .latest-2-news-mobile .latest-2-news-time,
    .latest-2-news-mobile .latest-2-news-readtime {
        font-family: 'Manrope', sans-serif;
    }
}

/* ============================================
   PILIHAN REDAKSI - MOBILE ADJUSTMENT
   ============================================ */
@media (max-width: 1023px) {
    
    /* Sembunyikan See-All Link di Mobile */
    .pilihan-redaksi-see-all {
        display: none !important;
    }
      }