

body {
    background-color: #f8f9fa;
    font-family: "Quicksand", sans-serif;
        font-optical-sizing: auto;
        font-weight: <weight>;
        font-style: normal;
}

/* Bagian Atas Header */
.top-header {
    background-color: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    color: #fff;
    text-decoration: none;
}

.logo-main {
    font-style: italic;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -1px;
}

.logo-dot-com {
    color: #ff4d00;
    /* Warna oranye khas Kompas */
    font-weight: 700;
}

.logo-tagline {
    font-size: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.icon-box {
    border: 1px solid #444;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 14px;
    font-weight: bold;
}

/* Bagian Navigasi (Bawah) */
.nav-container {
    background-color: #222;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-container::-webkit-scrollbar {
    display: none;
    /* Sembunyikan scrollbar */
}

.nav-link-custom {
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    /* Sesuai permintaan Anda: font weight 500 */
}

.nav-link-custom:hover {
    color: #ccc;
}

.badge-new {
    background-color: red;
    color: white;
    font-size: 8px;
    padding: 1px 3px;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    right: 0;
    font-weight: 800;
}

.nav-item-wrapper {
    position: relative;
    display: inline-block;
}





/* --- TRENDING BAR (PUTIH) --- */
.trending-bar {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
}

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

.trending-label {
    color: #ff4d00;
    font-weight: 700;
    font-size: 13px;
    margin-right: 15px;
    text-transform: uppercase;
}

.trending-item {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 0 12px;
    border-left: 1px solid #ddd;
}

.trending-item:first-of-type {
    border-left: none;
}



/* --- BERITA TERBARU (HORIZONTAL SCROLL) --- */
.news-section {
    padding: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: "";
    width: 3px;
    height: 18px;
    background: #ff4d00;
    margin-right: 10px;
    display: inline-block;
}

.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.news-card {
    min-width: 220px;
    max-width: 220px;
    background: transparent;
}

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

.news-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.news-meta {
    font-size: 11px;
    color: #777;
    font-weight: 500;
}



/* --- MAIN CONTENT --- */
.news-container {
    padding: 15px;
    background-color: #fff;
}

/* Headline Card */
.headline-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-headline {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #007bff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: bold;
}

.headline-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #000;
    padding: 15px;
    margin: 0;
}

/* Grid Berita Terbaru */
.section-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: "";
    width: 3px;
    height: 18px;
    background: #ff4d00;
    margin-right: 10px;
}

.thumb-news {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.news-grid-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
    min-height: 3.9em;
}

.news-meta {
    font-size: 11px;
    color: #777;
    font-weight: 500;
}


/* List News - Sesuai image_a7bdc5.png */
.list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.list-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.list-content .title {
    font-size: 15px;
    color: #000;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-meta {
    font-size: 11px;
    color: #777;
}


/* TERPOPULER - image_a7b207.png */
.pop-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.pop-rank {
    font-size: 20px;
    font-weight: bold;
    color: #777;
    width: 25px;
}

.pop-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.pop-cat {
    font-size: 11px;
    font-weight: bold;
    color: #007bff;
    text-transform: uppercase;
}

/* 6. Topik Pilihan */
.topik-card-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.topik-list-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.link-blue {
    color: #007bff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}