


body { background-color: #121212; } /* Background simulasi gelap */

        /* Header Utama */
        .bg-kompas-dark { background-color: #000 !important; }
        .bg-kompas-nav { background-color: #1a1a1a !important; border-bottom: 1px solid #333; }

        /* Styling Logo */
        .brand-text { font-style: italic; font-weight: 800; letter-spacing: -1px; }
        .brand-sub { font-size: 10px; color: #aaa; text-transform: uppercase; margin-top: -5px; }

        /* Kotak Ikon K dan K+ */
        .k-box {
            border: 1px solid #fff;
            padding: 0px 8px;
            border-radius: 4px;
            font-weight: bold;
            font-size: 0.9rem;
            display: inline-block;
        }
        .k-plus { border-color: #ff4500; color: #ff4500; }

        /* Navigasi Horizontal Scroll */
        .nav-scroller {
            position: relative;
            z-index: 2;
            height: 2.75rem;
            overflow-y: hidden;
        }
        .nav-scroller .nav {
            display: flex;
            flex-wrap: nowrap;
            padding-bottom: 1rem;
            margin-top: -1px;
            overflow-x: auto;
            text-align: center;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }
        .nav-link-kompas {
            padding: .75rem 1rem;
            color: #ccc;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
        }
        .nav-link-kompas:hover { color: #ff4500; }


        /* Widget Card Section */
    .widget-container {
        background-color: #f1f8f3; /* Warna hijau pucat sesuai gambar */
        border-radius: 30px 100px 30px 30px; /* Bentuk lengkung khas */
        padding: 20px;
        margin: 15px auto;
        position: relative;
    }

    .time-text { color: #00897b; font-weight: 800; font-size: 1.4rem; margin-bottom: 0; }
    .label-text { color: #f5a623; font-size: 0.85rem; font-weight: 600; }
    
    .news-title { color: #00897b; font-weight: bold; font-size: 0.9rem; margin-top: 10px; line-height: 1.2; }
    .news-category { color: #00897b; font-size: 0.8rem; font-weight: bold; margin-bottom: 5px; }
    .news-img { border-radius: 12px; width: 100%; object-fit: cover; height: 100px; }

    /* Trending Bar */
    .trending-bar {
        background-color: #1a1a1a;
        color: white;
        padding: 10px 20px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        overflow-x: auto;
        white-space: nowrap;
    }
    .trending-label { color: #ff4500; font-weight: 800; margin-right: 15px; }
    .trending-item { color: #fff; text-decoration: none; margin: 0 15px; }
    .divider { color: #444; }

    /* Kustomisasi Dots Carousel */
    .carousel-indicators [data-bs-target] {
        width: 8px; height: 8px; border-radius: 50%; background-color: #00897b;
    }


    /* Section Utama */
    .latest-news-section {
        background-color: #1a1a1a;
        padding: 30px 0;
    }

    /* Modifikasi Judul agar sejajar dengan container */
    .section-title {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        border-left: 4px solid #ff4500;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    /* Container pembungkus scroll agar ada space di kiri-kanan */
    .custom-container {
        max-width: 1200px; /* Batas maksimal lebar di desktop */
        margin: 0 auto;
        padding: 0 15px;
    }

    /* Area Scroll */
    .news-horizontal-scroll {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 15px;
        /* Scroll snap tetap aktif */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* Sembunyikan Scrollbar */
    .news-horizontal-scroll::-webkit-scrollbar {
        display: none;
    }

    /* Item Berita */
    .news-card-item {
        flex: 0 0 280px; /* Ukuran sedikit lebih besar */
        scroll-snap-align: start;
        text-decoration: none;
        color: white;
        transition: transform 0.2s;
    }

    .news-card-item:hover {
        transform: translateY(-5px); /* Efek angkat saat mouse di atasnya */
        color: #ff4500;
    }

    .news-card-img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .news-card-title {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-meta {
        font-size: 0.8rem;
        color: #888;
        margin-top: 8px;
    }


   /* HEADLINE */
.headline-card{
    text-decoration:none;
    color:#000;
    display:block;
}

.headline-img-wrapper{
    position:relative;
    width:100%;
    height:400px; /* tinggi tetap seperti HTML */
    overflow:hidden;
    border-radius:8px;
}

.headline-img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.badge-headline{
    position:absolute;
    top:10px;
    left:10px;
    background:red;
    color:#fff;
    padding:5px 10px;
    font-size:12px;
    border-radius:4px;
}

.headline-title{
    font-size:28px;
    font-weight:bold;
    margin-top:10px;
}

/* SUB ARTIKEL */
.sub-article-card{
    text-decoration:none;
    color:#000;
    display:block;
}

.sub-article-img{
    width:100%;
    height:160px;
    object-fit:cover;
    object-position:center;
    border-radius:6px;
}

.sub-article-title{
    font-size:14px;
    font-weight:600;
    margin-top:5px;
}


    /* Section Terpopuler */
    .popular-section {
        background-color: #1a1a1a;
        padding-top: 20px;
    }

    .popular-title {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        border-left: 4px solid #ff4500;
        padding-left: 15px;
        margin-bottom: 25px;
    }

    /* Row untuk tiap item populer */
    .popular-item {
        display: flex;
        text-decoration: none;
        margin-bottom: 25px;
        align-items: flex-start;
    }

    /* Lingkaran Nomor Urut */
    .popular-number {
        min-width: 35px;
        height: 35px;
        background-color: #333;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1rem;
        margin-right: 15px;
    }

    /* Konten Teks */
    .popular-content {
        flex-grow: 1;
        padding-right: 15px;
    }

    .popular-item-title {
        color: #eee;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .popular-category {
        color: #888;
        font-size: 0.8rem;
        text-transform: capitalize;
    }

    /* Thumbnail Gambar */
    .popular-img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Khusus untuk Iklan/Sponsored */
    .sponsored-label {
        color: #007bff;
        font-size: 0.75rem;
        font-weight: bold;
        letter-spacing: 0.5px;
    }


    /* Section Sorotan */
    .highlights-section {
       
        padding-bottom: 40px;
    }

    .highlights-title {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        border-left: 4px solid #ff4500;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    /* Grid Artikel */
    .highlight-card {
        text-decoration: none;
        display: block;
        margin-bottom: 20px;
        transition: opacity 0.2s;
    }

    .highlight-card:hover {
        opacity: 0.8;
    }

    .highlight-img {
        width: 100%;
        height: 110px; /* Sesuaikan tinggi agar proporsional di HP */
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .highlight-card-title {
        color: #eee;
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Maksimal 3 baris teks */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .highlight-meta {
        font-size: 0.75rem;
        color: #888;
        font-weight: 500;
    }


    /* Section List Berita Bawah */
    .news-list-section {
        background-color: #1a1a1a;
        padding-bottom: 50px;
    }

    .news-list-item {
        display: flex;
        text-decoration: none;
        padding: 15px 0;
        border-bottom: 1px solid #333; /* Garis pemisah antar berita */
        align-items: center;
    }

    .news-list-item:last-child {
        border-bottom: none;
    }

    /* Thumbnail Gambar (Kiri) */
    .list-img {
        width: 100px;
        height: 100px;
        min-width: 100px;
        object-fit: cover;
        border-radius: 12px;
        margin-right: 15px;
    }

    /* Konten Teks (Kanan) */
    .list-content {
        flex-grow: 1;
    }

    .list-title {
        color: #eee;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .list-meta {
        font-size: 0.8rem;
        color: #888;
    }

    .list-meta .category {
        font-weight: bold;
        color: #aaa;
        margin-right: 5px;
    }


   /* Section Kolom */
    .column-section {
       
        padding-bottom: 50px;
    }

    .column-title {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        border-left: 4px solid #ff4500;
        padding-left: 15px;
        margin-bottom: 25px;
    }

    .column-item {
        display: flex;
        text-decoration: none;
        padding: 15px 0;
        align-items: flex-start;
    }

    /* Foto Profil Penulis */
    .author-img {
        width: px;
        height: 85px;
        min-width: 85px;
        object-fit: cover;
        border-radius: 12px;
        margin-right: 15px;
    }

    /* Warna Background Foto (Meniru gaya gambar yang diunggah) */
    .bg-yellow { background-color: #f1da7a; }
    .bg-pink { background-color: #e2b4bd; }
    .bg-red { background-color: #b91d1d; }

    .column-content {
        flex-grow: 1;
    }

    .column-article-title {
        color: #eee;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .author-name {
        color: #007bff; /* Warna biru untuk nama penulis */
        font-size: 0.85rem;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .author-desc {
        color: #888;
        font-size: 0.8rem;
        line-height: 1.2;
    }


    /* Section Topik Pilihan */
    .topics-section {
        background-color: #1a1a1a;
        padding: 30px 0;
    }

    .topics-title {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        border-left: 4px solid #ff4500;
        padding-left: 15px;
        margin-bottom: 20px;
        /* Menghilangkan margin kiri agar sejajar dengan container */
        margin-left: 0; 
    }

    /* Container Scroll yang sejajar dengan judul */
    .topics-scroll {
        display: flex;
        overflow-x: auto;
        gap: 15px; /* Jarak antar kolom */
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* Sembunyikan scrollbar */
    .topics-scroll::-webkit-scrollbar {
        display: none;
    }

    /* Lebar kolom diperbaiki agar pas */
    .topic-column {
        flex: 0 0 85%; /* Di HP, tampil 1 stengah kartu */
        max-width: 300px; /* Di desktop tidak terlalu lebar */
        scroll-snap-align: start;
    }

    .topic-main-card {
        text-decoration: none;
        display: block;
        position: relative;
        margin-bottom: 10px;
    }

    .topic-img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 12px;
    }

    .topic-img-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px;
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
        border-radius: 0 0 12px 12px;
    }

    .topic-main-title {
        color: white;
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.2;
    }

    /* List Berita di Bawah */
    .topic-sub-link {
        display: block;
        text-decoration: none;
        color: #bbb;
        font-size: 0.85rem;
        font-weight: 500;
        padding: 12px 0;
        border-bottom: 1px solid #333;
        line-height: 1.4;
    }

    .topic-sub-link:last-child {
        border-bottom: none;
    }

    /* Section Footer Utama */
    .footer-section {
        background-color: #121212; /* Warna lebih gelap dari body */
        padding: 40px 0 20px 0;
        border-top: 1px solid #333;
    }

    .footer-title {
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        border-left: 4px solid #ff4500;
        padding-left: 15px;
        margin-bottom: 25px;
    }

    /* Grid Jelajahi (2 Kolom) */
    .explore-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
        margin-bottom: 40px;
    }

    .explore-link {
        color: #eee;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* Bagian Branding & Newsletter */
    .footer-branding {
        text-align: center;
        border-top: 1px solid #333;
        padding-top: 40px;
    }

    .footer-logo {
        height: 30px;
        margin-bottom: 20px;
    }

    .newsletter-box {
        background-color: #1a1a1a;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .newsletter-text {
        color: #ccc;
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.4;
        max-width: 60%;
    }

    .btn-newsletter {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 0.85rem;
    }

    /* Apps & Social Media */
    .app-stores {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .app-badge {
        height: 35px;
        border: 1px solid #444;
        border-radius: 6px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .social-circle {
        width: 35px;
        height: 35px;
        border: 1px solid #444;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 0.9rem;
    }

    .copyright {
        color: #666;
        font-size: 0.75rem;
        margin-bottom: 10px;
    }


        .app-container {
            max-width: 480px;
            /* Lebar mobile-centric */
            margin: 0 auto;
            padding: 16px;
        }
    
        /* Breadcrumb */
        .breadcrumb {
            font-size: 13px;
            margin-bottom: 15px;
        }
    
        .brand {
            font-weight: bold;
            color: #fff;
        }
    
        .separator {
            color: #888;
            margin: 0 5px;
        }
    
        .category {
            color: #aaa;
        }
    
        /* Title */
        .article-title {
            font-size: 24px;
            line-height: 1.3;
            font-weight: 700;
            margin-bottom: 20px;
            color: #f1f1f1;
        }
    
        /* Meta & Author Section */
        .meta-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }
    
        .publish-date {
            display: block;
            font-size: 13px;
            color: #ccc;
            margin-bottom: 12px;
        }
    
        .author-box {
            display: flex;
            align-items: center;
            gap: 10px;
        }
    
        .author-avatar {
            width: 35px;
            height: 35px;
            background-color: #8bc34a;
            /* Warna hijau di gambar */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
        }
    
        .author-name {
            font-size: 12px;
            line-height: 1.4;
        }
    
        .author-name span {
            color: #888;
        }
    
        /* Tombol Baca di App */
        .app-button button {
            background-color: #1a1a1a;
            border: 1px solid #444;
            color: #fff;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
        }
    
        /* Icons Bar */
        .action-bar {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
            border-top: 1px solid #222;
            padding-top: 15px;
        }
    
        .icon-btn {
            background: none;
            border: none;
            color: #aaa;
            font-size: 18px;
            cursor: pointer;
            padding: 0;
        }
    
        /* Image Wrapper */
        .image-wrapper {
            position: relative;
            width: 100%;
            border-radius: 8px;
            overflow: hidden;
        }
    
        .image-wrapper img {
            width: 100%;
            display: block;
        }
    
        .btn-view-photo {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            border: none;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
        }

                /* Styling Isi Artikel */
                .news-body {
                    padding: 20px 0;
                    line-height: 1.6;
                    font-size: 17px;
                    /* Ukuran teks berita standar mobile */
                    color: #e0e0e0;
                }
        
                .location-tag {
                    font-weight: 800;
                    color: #ffffff;
                    text-transform: uppercase;
                }
        
                .news-body p {
                    margin-bottom: 20px;
                }
        
                /* Styling Kutipan / Quote */
                .quote-text {
                    font-size: 18px;
                    color: #cccccc;
                    position: relative;
                }
        
                /* Efek garis bawah oranye pada brand seperti di gambar */
                .highlight-underline {
                    position: relative;
                    border-bottom: 2px solid #ff6600;
                    /* Warna khas oranye Kompas/Highlight */
                    padding-bottom: 1px;
                }
        
                /* Penyesuaian untuk layar kecil agar margin tidak terlalu mepet */
                @media (max-width: 480px) {
                    .news-body {
                        font-size: 16px;
                    }
                }


                                /* Container Komentar */
                                .comment-section {
                                    margin-top: 30px;
                                    padding-bottom: 20px;
                                }
                
                                .comment-box {
                                    background-color: #1a1a1a;
                                    /* Warna box sedikit abu-abu sesuai gambar */
                                    padding: 20px;
                                    border-radius: 12px;
                                }
                
                                .comment-box h3 {
                                    font-size: 16px;
                                    margin-bottom: 15px;
                                    color: #fff;
                                }
                
                                .input-wrapper {
                                    position: relative;
                                    display: flex;
                                    align-items: center;
                                }
                
                                .input-wrapper input {
                                    width: 100%;
                                    background: transparent;
                                    border: 1px solid #444;
                                    border-radius: 25px;
                                    padding: 12px 50px 12px 20px;
                                    color: #fff;
                                    font-size: 14px;
                                    outline: none;
                                }
                
                                .send-btn {
                                    position: absolute;
                                    right: 15px;
                                    background: transparent;
                                    border: none;
                                    color: #888;
                                    cursor: pointer;
                                }
                
                                .disclaimer {
                                    font-size: 11px;
                                    color: #666;
                                    margin-top: 10px;
                                    line-height: 1.4;
                                }
                
                                /* Container Tags */
                                .tags-container {
                                    margin-top: 25px;
                                }
                
                                .tag-list {
                                    display: flex;
                                    flex-wrap: wrap;
                                    gap: 10px;
                                }
                
                                .tag-item {
                                    background-color: #1a1a1a;
                                    color: #ccc;
                                    text-decoration: none;
                                    padding: 8px 18px;
                                    border-radius: 20px;
                                    font-size: 13px;
                                    transition: background 0.2s;
                                }
                
                                .tag-item:hover {
                                    background-color: #333;
                                    color: #fff;
                                }

                                                                /* Container Artikel Terkait */
                                                                .related-news {
                                                                    margin-top: 30px;
                                                                    padding-bottom: 40px;
                                                                }
                                
                                                                .related-news h3 {
                                                                    font-size: 18px;
                                                                    margin-bottom: 15px;
                                                                    color: #fff;
                                                                    padding-left: 5px;
                                                                }
                                
                                                                /* Wrapper untuk Scroll Horizontal */
                                                                .scroll-wrapper {
                                                                    display: flex;
                                                                    overflow-x: auto;
                                                                    /* Mengaktifkan scroll geser */
                                                                    gap: 15px;
                                                                    padding-bottom: 15px;
                                                                    scrollbar-width: none;
                                                                    /* Menghilangkan scrollbar di Firefox */
                                                                }
                                
                                                                .scroll-wrapper::-webkit-scrollbar {
                                                                    display: none;
                                                                    /* Menghilangkan scrollbar di Chrome/Safari */
                                                                }
                                
                                                                /* Card Artikel */
                                                                .news-card {
                                                                    min-width: 250px;
                                                                    /* Lebar tiap artikel saat digeser */
                                                                    display: flex;
                                                                    gap: 12px;
                                                                    align-items: flex-start;
                                                                }
                                
                                                                .news-card img {
                                                                    width: 80px;
                                                                    height: 80px;
                                                                    border-radius: 8px;
                                                                    object-fit: cover;
                                                                    flex-shrink: 0;
                                                                }
                                
                                                                .news-card p {
                                                                    font-size: 14px;
                                                                    line-height: 1.4;
                                                                    color: #efefef;
                                                                    margin: 0;
                                                                    font-weight: 500;
                                                                    /* Membatasi teks hanya 3 baris */
                                                                    display: -webkit-box;
                                                                    -webkit-line-clamp: 3;
                                                                    -webkit-box-orient: vertical;
                                                                    overflow: hidden;
                                                                }
   /* Section Title dengan garis oranye di samping */
   .section-title {
       font-size: 18px;
       font-weight: bold;
       color: #fff;
       border-left: 3px solid #ff6600;
       /* Garis oranye khas Kompas */
       padding-left: 10px;
       margin: 25px 0 15px 0;
   }

   /* Berita Utama Besar */
   .featured-card {
       background: #121212;
       border-radius: 12px;
       overflow: hidden;
       margin-bottom: 20px;
   }

   .image-container {
       position: relative;
       width: 100%;
       aspect-ratio: 16 / 9;
   }

   .image-container img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }

   /* Watermark KOMPAS.com pada Gambar */
   .watermark {
       position: absolute;
       bottom: 10px;
       left: 10px;
       font-style: italic;
       font-weight: 800;
       color: #fff;
       font-size: 14px;
       text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
   }

   .watermark span {
       color: #ff6600;
   }

   .card-info {
       padding: 12px;
   }

   .card-info h3 {
       font-size: 16px;
       line-height: 1.4;
       margin-bottom: 10px;
       color: #f1f1f1;
   }

   /* Grid 2 Kolom untuk Berita Kecil */
   .small-cards-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 15px;
   }

   .small-card {
       margin-bottom: 10px;
   }

   .image-container-s {
       position: relative;
       width: 100%;
       aspect-ratio: 4 / 3;
       border-radius: 8px;
       overflow: hidden;
   }

   .image-container-s img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }

   .watermark-s {
       font-size: 10px;
       position: absolute;
       bottom: 5px;
       left: 8px;
       color: #fff;
       font-weight: bold;
       font-style: italic;
   }

   .watermark-s span {
       color: #ff6600;
   }

   .small-card h4 {
       font-size: 13px;
       line-height: 1.4;
       margin: 8px 0;
       color: #efefef;
       display: -webkit-box;
       -webkit-line-clamp: 2;
       -webkit-box-orient: vertical;
       overflow: hidden;
   }

   /* Footer Card (Kategori & Icon Titik Tiga) */
   .card-footer {
       display: flex;
       justify-content: space-between;
       align-items: center;
       font-size: 11px;
       color: #888;
   }

   .brand-view {
       color: #4facfe;
       font-weight: bold;
   }

   .more-icon {
       cursor: pointer;
       letter-spacing: 1px;
   }

   /* Menyesuaikan margin antar grid agar tidak terlalu rapat */
   .small-cards-grid {
       margin-bottom: 20px;
   }

   /* Styling khusus untuk card besar di bagian bawah */
   .footer-featured {
       margin-top: 10px;
       border-top: none;
       /* Menghilangkan border jika ada */
   }

   .footer-featured h3 {
       font-size: 17px;
       font-weight: 700;
   }

   /* Optimalisasi untuk tampilan mobile agar space kiri-kanan tetap konsisten */
   .app-container {
       padding-bottom: 50px;
       /* Ruang ekstra di paling bawah halaman */
   }

   /* Memastikan teks berita grid tidak terlalu mepet dengan footer card */
   .small-card {
       display: flex;
       flex-direction: column;
       justify-content: space-between;
   }

   /* Menambahkan jarak antar grup grid agar tidak terlihat menumpuk */
   .small-cards-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 15px;
       margin-bottom: 25px;
       /* Memberi nafas antar bagian */
   }

   /* Mengatur agar teks kategori memiliki warna yang kontras */
   .card-footer .category {
       font-weight: 500;
       text-transform: capitalize;
   }

   /* Menambahkan padding bawah di kontainer utama agar tidak terpotong saat scroll terakhir */
   .app-container {
       padding-bottom: 60px;
   }

   /* Memastikan gambar tetap memiliki aspect ratio yang sama meski judul berbeda panjangnya */
   .image-container-s {
       background-color: #1a1a1a;
       /* Background placeholder sebelum gambar load */
   }

   /* Container Utama Terpopuler */
   .trending-section {
       margin-top: 30px;
       border-top: 1px solid #222;
       padding-top: 20px;
   }

   /* Judul Section dengan Border Bawah Biru khas Kompas */
   .trending-section .section-title {
       font-size: 16px;
       letter-spacing: 1px;
       border-left: none;
       /* Menghilangkan border oranye dari style sebelumnya */
       padding-left: 0;
       margin-bottom: 20px;
       display: inline-block;
       position: relative;
   }

   .trending-section .section-title::after {
       content: "";
       display: block;
       width: 100%;
       height: 4px;
       background-color: #4facfe;
       /* Warna biru untuk Terpopuler */
       margin-top: 5px;
   }

   /* Layout Tiap Baris */
   .trending-item {
       display: flex;
       align-items: flex-start;
       gap: 15px;
       padding: 15px 0;
       border-bottom: 1px solid #222;
   }

   .trending-item:last-child {
       border-bottom: none;
   }

   /* Angka Ranking */
   .trending-rank {
       font-size: 32px;
       font-weight: 900;
       color: #4facfe;
       /* Warna biru sesuai gambar */
       font-style: italic;
       min-width: 30px;
       line-height: 1;
   }

   /* Isi Judul Berita */
   .trending-content {
       flex: 1;
   }

   .trending-content p {
       font-size: 15px;
       font-weight: 600;
       line-height: 1.4;
       color: #efefef;
       margin: 0;
   }

   /* Thumbnail Gambar Kecil */
   .trending-thumb {
       width: 80px;
       height: 80px;
       flex-shrink: 0;
   }

   .trending-thumb img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       border-radius: 4px;
   }