/* ================= HEADER ================= */

.bar-menu{
    position: sticky;
    top: 0px;
    z-index: 999;

    max-width: 1000px;
    width: calc(100% - 20px);

    margin: 10px auto 0 auto;

    background: #fff;

    padding: 12px 18px;

    left: 0;
    right: 0;
}

.konten{
    max-width: 950px;
    width: calc(100% - 20px);
    margin: 15px auto;
}

/* Logo */
.bar-menu img{
    transition: .3s;
}

.bar-menu img:hover{
    transform: scale(1.03);
}

/* Search */
.bar-menu .input-group{
    width: 300px;
}

.bar-menu .form-control{
    border-radius: 12px 0 0 12px;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    box-shadow: none;
}

.bar-menu .form-control:focus{
    border-color: #dc3545;
}

.bar-menu .input-group .btn{
    border-radius: 0 12px 12px 0;
    padding: 0 18px;
}

/* Login Button */
.bar-menu .btn-danger{
    border-radius: 12px;
    font-weight: 600;
    transition: .3s;
}

.bar-menu .btn-danger:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220,53,69,.25);
}

/* ================= MENU KATEGORI ================= */

.kat{
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.kat::-webkit-scrollbar{
    display: none;
}

.kat a{
    color: rgba(255,255,255,.85);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
    white-space: nowrap;
}

.kat a:hover{
    background: rgba(255,255,255,.15);
    color: #fff;
}

.kat a.active{
    background: #fff;
    color: #dc3545;
    font-weight: 700;
}

.kat a i{
    margin-right: 5px;
}

/* ================= BREAKING NEWS ================= */

.breaking-wrapper{
    background: #fff;
    border: 1px solid #f1f5f9;
    height: 46px;
}

.breaking-label{
    background: linear-gradient(135deg,#dc3545,#ff5f6d);
    color: #fff;
    height: 100%;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.breaking-label i{
    animation: blink 1s infinite;
}

@keyframes blink{
    50%{
        opacity: .4;
    }
}

.breaking-content{
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.breaking-track{
    display: inline-block;
    padding-left: 100%;
    animation: marquee 35s linear infinite;
}

.breaking-track a{
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    margin-right: 25px;
}

.breaking-track a:hover{
    color: #dc3545;
}

.separator{
    color: #dc3545;
    margin-right: 25px;
}

@keyframes marquee{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

/* ================= MOBILE ================= */

@media(max-width:991px){

    .bar-menu{
        padding: 10px;
        position: static;
    }

    .bar-menu .input-group{
        width: 100%;
    }

    .kat{
        margin-top: 12px;
        padding: 8px 10px;
        gap: 6px !important;
    }

    .kat a{
        font-size: 13px;
        padding: 7px 12px;
    }

    .breaking-label{
        padding: 0 12px;
        font-size: 12px;
    }

    .breaking-track a{
        font-size: 13px;
    }
}








/* ================= BERITA UTAMA ================= */

#beritaUtamaCarousel{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    background:#fff;
}

/* gambar utama */
.utama{
    position:relative;
    height:520px;
    overflow:hidden;
}

.utama-img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s;
}

.carousel-item:hover .utama-img{
    transform:scale(1.05);
}

/* overlay */
.utama-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.85) 10%,
        rgba(0,0,0,.45) 45%,
        rgba(0,0,0,.1) 100%
    );
}

/* caption */
.utama-caption{
    position:absolute;
    left:40px;
    bottom:40px;
    z-index:5;
    max-width:75%;
    color:#fff;
}

/* kategori */
.utama-caption .badge{
    padding:8px 16px;
    border-radius:50px;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    letter-spacing:.5px;
}

/* judul */
.utama-judul{
    display:block;
    font-size:34px;
    line-height:1.35;
    font-weight:800;
    color:#fff;
    text-decoration:none;
    margin-top:8px;
    transition:.3s;
}

.utama-judul:hover{
    color:#ffdddd;
}

/* tags */
.utama-tag{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.utama-tag .tag{
    text-decoration:none;
    color:#fff;
    font-size:12px;
    padding:6px 12px;
    border-radius:50px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(8px);
    transition:.3s;
}

.utama-tag .tag:hover{
    background:#dc3545;
}

/* tanggal */
.utama-tanggal{
    color:rgba(255,255,255,.9);
    font-size:13px;
}

.utama-tanggal i{
    margin-right:5px;
    color:#ffc107;
}

/* ================= THUMBNAIL ================= */

.utama-thumb{
    height:150px;
    position:relative;
    transition:.4s;
}

.utama-thumb-img{
    object-fit:cover;
    transition:.5s;
}

.utama-thumb:hover .utama-thumb-img{
    transform:scale(1.08);
}

.utama-thumb-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.15)
    );
}

.utama-thumb-caption{
    position:absolute;
    left:15px;
    right:15px;
    bottom:12px;
    z-index:2;
}

.utama-thumb-judul{
    color:#fff;
    font-size:14px;
    line-height:1.4;
    margin:0;
    font-weight:700;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* hover */
.utama-thumb:hover{
    z-index:10;
}

/* ================= INDICATOR ================= */

.carousel-indicators button{
    width:10px !important;
    height:10px !important;
    border-radius:50%;
}

/* ================= ARROW ================= */

.carousel-control-prev,
.carousel-control-next{
    width:55px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    width:45px;
    height:45px;
    border-radius:50%;
    background-color:rgba(0,0,0,.45);
    backdrop-filter:blur(5px);
}

/* ================= MOBILE ================= */

@media(max-width:991px){

    .utama{
        height:380px;
    }

    .utama-caption{
        left:20px;
        right:20px;
        bottom:20px;
        max-width:100%;
    }

    .utama-judul{
        font-size:24px;
        line-height:1.4;
    }

    .utama-thumb{
        height:95px;
    }

    .utama-thumb-judul{
        font-size:11px;
        -webkit-line-clamp:3;
    }

    .utama-caption .badge{
        font-size:11px;
        padding:6px 12px;
    }

}

@media(max-width:576px){

    .utama{
        height:300px;
    }

    .utama-caption{
        left:15px;
        right:15px;
        bottom:15px;
    }

    .utama-judul{
        font-size:20px;
        font-weight:700;
    }

    .utama-tag{
        gap:5px;
    }

    .utama-tag .tag{
        font-size:10px;
        padding:5px 10px;
    }

    .utama-tanggal{
        font-size:11px;
    }

    .utama-thumb{
        height:85px;
    }

    .utama-thumb-caption{
        left:10px;
        right:10px;
        bottom:8px;
    }

    .utama-thumb-judul{
        font-size:10px;
    }

}



/* ================= BUTTON LAINNYA ================= */
.btn-more-news{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    background:linear-gradient(135deg,#dc3545,#ef4444);
    color:#fff;
    text-decoration:none;

    border-radius:12px;

    font-size:14px;
    font-weight:600;

    box-shadow:0 6px 18px rgba(220,53,69,.25);

    transition:.3s;
}

.btn-more-news:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(220,53,69,.35);
    color:#fff;
}

.btn-more-news i{
    font-size:18px;
    transition:.3s;
}

.btn-more-news:hover i{
    transform:translateX(6px);
}






/* ================= BERITA TERKINI ================= */

.section-title{
    margin-bottom:20px;
}

.section-label{
    background: linear-gradient(135deg,#dc3545,#ff5b6a);
    color:#fff;
    padding:10px 18px;
    border-radius:12px;
    font-weight:700;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px;
    box-shadow:0 5px 15px rgba(220,53,69,.15);
}

.section-line{
    height:2px;
    background:#e5e7eb;
    margin-left:15px;
}

/* CARD */

.berita-item{
    display:flex;
    gap:15px;
    padding:12px;
    text-decoration:none;
    transition:.3s;
}

.berita-thumb{
    position:relative;
    width:140px;
    min-width:140px;
    height:95px;
    border-radius:12px;
    overflow:hidden;
}

.berita-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.berita-kategori{
    position:absolute;
    top:8px;
    left:8px;
    background:#dc3545;
    color:#fff;
    font-size:10px;
    padding:4px 8px;
    border-radius:20px;
    font-weight:600;
}

.berita-content{
    flex:1;
}

.berita-judul{
    font-size:15px;
    font-weight:700;
    color:#1e293b;
    line-height:1.5;
    margin-bottom:8px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.berita-item:hover .berita-judul{
    color:#dc3545;
}

.berita-meta{
    display:flex;
    gap:15px;
    color:#94a3b8;
    font-size:12px;
    margin-bottom:8px;
}

.berita-meta span{
    display:flex;
    align-items:center;
    gap:5px;
}

.berita-ringkas{
    color:#64748b;
    font-size:13px;
    line-height:1.6;
    margin:0;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .berita-item{
        padding:10px;
        gap:10px;
    }

    .berita-thumb{
        width:100px;
        min-width:100px;
        height:75px;
    }

    .berita-judul{
        font-size:14px;
    }

    .berita-ringkas{
        display:none;
    }

    .berita-meta{
        font-size:11px;
        gap:10px;
    }
}








/* ================= POPULER SECTION ================= */

.bg-populer-dark{
    background: linear-gradient(180deg,#0f172a,#1e293b);
    border-radius: 24px;
    padding: 35px 25px;
    overflow: hidden;
}

/* Title */
.section-title-populer span{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 22px;

    background:rgba(255,255,255,.08);
    color:#fff;

    border:1px solid rgba(255,255,255,.08);

    border-radius:50px;

    font-size:18px;
    font-weight:700;
}

.section-title-populer i{
    color:#facc15;
    animation:pulsePopuler 1.5s infinite;
}

@keyframes pulsePopuler{
    50%{
        opacity:.5;
        transform:scale(1.2);
    }
}

/* Card */
/* ================= POPULER CARD ================= */

.populer-card{
    border:none;
    border-radius:16px;
    overflow:hidden;

    background:#fff;

    box-shadow:0 4px 18px rgba(0,0,0,.06);

    transition:.3s;
}

.populer-card:hover{
    transform:translateY(-5px);

    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* IMAGE */

.populer-img-wrapper{
    position:relative;
    overflow:hidden;
}

.populer-card img{
    width:100%;
    height:170px;
    object-fit:cover;

    transition:.4s;
}

.populer-card:hover img{
    transform:scale(1.08);
}

/* CATEGORY */

.populer-kategori{
    position:absolute;
    top:12px;
    left:12px;

    display:inline-flex;
    align-items:center;
    gap:5px;

    padding:5px 12px;

    background:rgba(220,53,69,.92);
    color:#fff;

    font-size:11px;
    font-weight:600;

    border-radius:50px;

    backdrop-filter:blur(8px);
}

/* BODY */

.populer-card .card-body{
    padding:15px;
}

/* TITLE */

.populer-link{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;

    text-decoration:none;

    color:#1e293b;

    font-size:15px;
    font-weight:700;
    line-height:1.5;

    transition:.3s;
}

.populer-link:hover{
    color:#dc3545;
}

/* META */

.populer-meta{
    margin-top:12px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    font-size:12px;
    color:#94a3b8;
}

.populer-meta span{
    display:flex;
    align-items:center;
    gap:5px;
}

.populer-meta i{
    color:#dc3545;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .populer-card img{
        height:120px;
    }

    .populer-link{
        font-size:13px;
        line-height:1.4;
        -webkit-line-clamp:3;
    }

    .populer-meta{
        font-size:11px;
        gap:10px;
        flex-wrap:wrap;
    }

    .populer-kategori{
        font-size:10px;
        padding:4px 10px;
    }
}

/* Carousel button */
.carousel-control-prev,
.carousel-control-next{
    width:48px;
    height:48px;

    top:50%;
    transform:translateY(-50%);

    background:rgba(255,255,255,.12);

    border-radius:50%;

    backdrop-filter:blur(10px);

    opacity:1;
}

.carousel-control-prev{
    left:-20px;
}

.carousel-control-next{
    right:-20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover{
    background:#dc3545;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    width:18px;
    height:18px;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .bg-populer-dark{
        padding:20px 15px;
        border-radius:18px;
    }

    .section-title-populer span{
        font-size:15px;
        padding:8px 16px;
    }

    .carousel-control-prev,
    .carousel-control-next{
        display:none;
    }
}







/* ITEM */

.kategori-item{
    display:flex;
    gap:14px;

    padding:12px 0;

    border-bottom:1px solid #edf2f7;
}

.kategori-item:last-child{
    border-bottom:none;
}

/* IMAGE */

.kategori-thumb{
    flex-shrink:0;
}

.kategori-thumb img{
    width:120px;
    height:85px;

    object-fit:cover;

    border-radius:12px;

    transition:.3s;
}

.kategori-item:hover img{
    transform:scale(1.03);
}

/* CONTENT */

.kategori-content{
    flex:1;
    min-width:0;
}

.kategori-top{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:6px;
}

.kategori-label{
    font-size:11px;
    color:#dc3545;
    font-weight:700;

    display:flex;
    align-items:center;
    gap:5px;
}

.kategori-time{
    font-size:11px;
    color:#94a3b8;
}

/* TITLE */

.kategori-title{
    display:block;

    color:#1e293b;
    text-decoration:none;

    font-size:15px;
    font-weight:700;

    line-height:1.5;

    transition:.3s;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.kategori-title:hover{
    color:#dc3545;
}

/* FOOTER */

.kategori-bottom{
    margin-top:8px;

    display:flex;
    gap:18px;

    font-size:12px;
    color:#94a3b8;
}

.kategori-bottom span{
    display:flex;
    align-items:center;
    gap:5px;
}

/* MOBILE */

@media(max-width:768px){

    .kategori-thumb img{
        width:95px;
        height:70px;
    }

    .kategori-title{
        font-size:13px;
        line-height:1.4;
    }

    .kategori-bottom{
        font-size:11px;
        gap:12px;
    }

    .kategori-time{
        display:none;
    }
}


/* ================= EMPTY NEWS ================= */

.empty-news{
    background:#fff;

    border:1px solid #eef2f7;
    border-radius:18px;

    padding:40px 25px;

    text-align:center;

    box-shadow:0 4px 20px rgba(0,0,0,.04);
}

.empty-icon{
    width:70px;
    height:70px;

    margin:0 auto 18px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff5f5;

    color:#dc3545;

    font-size:30px;
}

.empty-news h6{
    font-size:18px;
    font-weight:700;
    color:#1e293b;

    margin-bottom:10px;
}

.empty-news p{
    color:#94a3b8;
    font-size:14px;
    line-height:1.6;

    max-width:320px;
    margin:0 auto 20px;
}

.empty-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 18px;

    border:1px solid #dc3545;
    border-radius:50px;

    color:#dc3545;
    text-decoration:none;
    font-weight:600;
    font-size:14px;

    transition:.3s;
}

.empty-btn:hover{
    background:#dc3545;
    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(220,53,69,.2);
}

/* MOBILE */

@media(max-width:768px){

    .empty-news{
        padding:30px 20px;
    }

    .empty-icon{
        width:60px;
        height:60px;
        font-size:26px;
    }

    .empty-news h6{
        font-size:16px;
    }

    .empty-news p{
        font-size:13px;
    }
}






/* ================= KATEGORI HORIZONTAL ================= */

.kategori-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.kategori-horizontal{
    display:flex;
    gap:18px;
    padding:14px;
    border-radius:18px;
    transition:.3s;
}

/* IMAGE */

.kategori-horizontal-img{
    flex-shrink:0;
}

.kategori-horizontal-img img{
    width:180px;
    height:120px;

    object-fit:cover;

    border-radius:14px;

    transition:.4s;
}

.kategori-horizontal:hover img{
    transform:scale(1.05);
}

/* CONTENT */

.kategori-horizontal-body{
    flex:1;
    min-width:0;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* CATEGORY */

.kategori-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;

    background:#fff1f2;
    color:#dc3545;

    padding:5px 12px;

    font-size:11px;
    font-weight:700;
}

/* TITLE */

.kategori-horizontal-title{
    display:block;

    margin:10px 0 8px;

    color:#1e293b;
    text-decoration:none;

    font-size:19px;
    font-weight:700;
    line-height:1.5;

    transition:.3s;
}

.kategori-horizontal-title:hover{
    color:#dc3545;
}

/* DESCRIPTION */

.kategori-horizontal-desc{
    color:#64748b;
    font-size:14px;
    line-height:1.7;

    margin-bottom:12px;
}

/* META */

.kategori-horizontal-meta{
    display:flex;
    gap:20px;

    color:#94a3b8;
    font-size:13px;
}

.kategori-horizontal-meta span{
    display:flex;
    align-items:center;
    gap:6px;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .kategori-horizontal{
        gap:12px;
        padding:12px;
    }

    .kategori-horizontal-img img{
        width:110px;
        height:90px;
    }

    .kategori-horizontal-title{
        font-size:14px;

        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;

        overflow:hidden;
    }

    .kategori-horizontal-desc{
        display:none;
    }

    .kategori-horizontal-meta{
        gap:12px;
        font-size:11px;
        flex-wrap:wrap;
    }

    .kategori-chip{
        font-size:10px;
        padding:4px 10px;
    }
}









/* ================= KATEGORI TERAKHIR ================= */

.kategori-right-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.kategori-right-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px;
    transition:.3s;
}

/* CONTENT */

.kategori-right-content{
    flex:1;
    min-width:0;
}

/* TOP */

.kategori-right-top{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:12px;
}

/* BADGE */

.kategori-right-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;

    padding:5px 12px;

    background:#fff5f5;
    color:#dc3545;

    border-radius:30px;

    font-size:11px;
    font-weight:700;
}

/* TIME */

.kategori-right-time{
    font-size:12px;
    color:#94a3b8;
}

/* TITLE */

.kategori-right-title{
    display:block;

    text-decoration:none;

    color:#1e293b;

    font-size:20px;
    font-weight:700;
    line-height:1.5;

    margin-bottom:10px;

    transition:.3s;
}

.kategori-right-title:hover{
    color:#dc3545;
}

/* DESCRIPTION */

.kategori-right-desc{
    color:#64748b;
    font-size:14px;
    line-height:1.7;

    margin-bottom:12px;
}

/* META */

.kategori-right-meta{
    display:flex;
    gap:20px;

    color:#94a3b8;
    font-size:13px;
}

.kategori-right-meta span{
    display:flex;
    align-items:center;
    gap:5px;
}

/* IMAGE */

.kategori-right-image{
    flex-shrink:0;
}

.kategori-right-image img{
    width:220px;
    height:150px;

    object-fit:cover;

    border-radius:16px;

    transition:.4s;
}

.kategori-right-item:hover img{
    transform:scale(1.05);
}

/* MOBILE */

@media(max-width:768px){

    .kategori-right-item{
        gap:14px;
        padding:14px;
    }

    .kategori-right-image img{
        width:110px;
        height:85px;
    }

    .kategori-right-title{
        font-size:14px;

        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .kategori-right-desc{
        display:none;
    }

    .kategori-right-meta{
        font-size:11px;
        gap:12px;
    }

    .kategori-right-time{
        display:none;
    }

    .kategori-right-badge{
        font-size:10px;
        padding:4px 10px;
    }
}







/* ================= CATEGORY SLIDER ================= */

.kategori-slide-card{
    background:#fff;
    border-radius:18px;

    overflow:hidden;

    border:1px solid #edf2f7;

    transition:.3s;

    height:100%;

    box-shadow:0 3px 15px rgba(0,0,0,.04);
}

.kategori-slide-card:hover{
    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

/* IMAGE */

.kategori-slide-image{
    display:block;
    position:relative;
    overflow:hidden;
}

.kategori-slide-image img{
    width:100%;
    height:190px;

    object-fit:cover;

    transition:.4s;
}

.kategori-slide-card:hover img{
    transform:scale(1.06);
}

/* BADGE */

.kategori-slide-badge{
    position:absolute;
    left:12px;
    top:12px;

    background:rgba(220,53,69,.95);
    color:#fff;

    padding:6px 12px;

    border-radius:30px;

    font-size:11px;
    font-weight:700;

    display:flex;
    align-items:center;
    gap:5px;

    backdrop-filter:blur(8px);
}

/* BODY */

.kategori-slide-body{
    padding:14px;
}

/* TITLE */

.kategori-slide-title{
    display:block;

    text-decoration:none;

    color:#1e293b;

    font-size:15px;
    font-weight:700;

    line-height:1.5;

    margin-bottom:12px;

    transition:.3s;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;
}

.kategori-slide-title:hover{
    color:#dc3545;
}

/* META */

.kategori-slide-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;

    color:#94a3b8;
    font-size:12px;
}

.kategori-slide-meta span{
    display:flex;
    align-items:center;
    gap:5px;
}


/* MOBILE */

@media(max-width:768px){

    .kategori-slide-image img{
        height:120px;
    }

    .kategori-slide-title{
        font-size:13px;
        line-height:1.4;
    }

    .kategori-slide-meta{
        flex-direction:column;
        align-items:flex-start;
        gap:5px;

        font-size:11px;
    }

    .kategori-slide-badge{
        font-size:10px;
        padding:4px 10px;
    }

    .carousel-control-prev,
    .carousel-control-next{
        display:none;
    }
}




/* ================= SIDEBAR STICKY ================= */

.sticky-iklan{
    position: sticky;
    top: 220px;
}

/* ================= SECTION TITLE ================= */

.section-label{
    background: #111827;
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.section-line{
    height: 2px;
    background: linear-gradient(to right,#11182720,#11182705);
    margin-left: 10px;
    border-radius: 20px;
}

/* ================= IKLAN ================= */

.iklan-box{
    background: #fff;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
    overflow: hidden;
    margin-bottom: 25px;
}

.iklan-box img{
    width: 100%;
    border-radius: 14px;
    transition: .35s;
}

.iklan-box:hover img{
    transform: scale(1.03);
}

/* ================= EMPTY ADS ================= */

.ads-placeholder{
    background: linear-gradient(135deg,#fafafa,#f5f5f5);
    border: 2px dashed #d1d5db;
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    color: #6b7280;
}

.ads-placeholder i{
    font-size: 34px;
    color: #dc3545;
    display: block;
    margin-bottom: 12px;
}

.ads-placeholder span{
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #374151;
}

.ads-placeholder small{
    display: block;
    margin-top: 5px;
}

/* ================= TRENDING ================= */

.trending-box{
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
    margin-top: 25px;
}

.trending-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.trending-list li{
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.trending-list li:last-child{
    border: none;
}

.trending-no{
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg,#dc3545,#ff6b6b);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-list a{
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: .2s;
}

.trending-list a:hover{
    color: #dc3545;
}

/* ================= TRENDING TOPIK ================= */

.trending-topic-box{
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

.trending-topic-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-item{
    text-decoration: none;
    background: #f8fafc;
    color: #475569;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: .25s;
}

.topic-item span{
    color: #dc3545;
    margin-left: 5px;
    font-weight: 700;
}

.topic-item:hover{
    background: #dc3545;
    color: #fff;
}

.topic-item:hover span{
    color: #fff;
}

/* ================= POPULAR SEARCH ================= */

.popular-search-box{
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

/* berita utama */

.popular-main{
    overflow: hidden;
    border-radius: 16px;
}

.popular-main img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: .35s;
}

.popular-main:hover img{
    transform: scale(1.05);
}

.popular-main-title{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        transparent
    );
}

.badge-paling-dicari{
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #dc3545;
    color: #fff;
    padding: 7px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

/* list */

.popular-list-item{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: .2s;
}

.popular-list-item:last-child{
    border: none;
}

.popular-list-item span{
    min-width: 30px;
    height: 30px;
    background: #f1f5f9;
    color: #dc3545;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.popular-list-item:hover{
    color: #dc3545;
}

/* ================= MOBILE ================= */

@media(max-width:991px){

    .sticky-iklan{
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .section-label{
        font-size: 12px;
        padding: 7px 12px;
    }

    .trending-box,
    .trending-topic-box,
    .popular-search-box{
        padding: 16px;
    }

    .popular-main img{
        height: 180px;
    }

    .popular-main-title{
        font-size: 14px;
    }

    .trending-list a,
    .popular-list-item{
        font-size: 13px;
    }
}





/* ================= FOOTER ================= */

.footer{
    background: linear-gradient(180deg,#0f172a,#020617);
    color: #cbd5e1;
    margin-top: 70px;
    border-top: 4px solid #dc3545;
}

/* Logo */
.footer-logo{
    height: 55px;
    width: auto;
}

.footer-text{
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

/* Judul */
.footer-title{
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    border-radius: 20px;
    background: #dc3545;
}

/* List */
.footer-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li{
    margin-bottom: 10px;
}

.footer-list a{
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-list a::before{
    content: "›";
    color: #dc3545;
    font-size: 16px;
    font-weight: bold;
}

.footer-list a:hover{
    color: #fff;
    transform: translateX(5px);
}

/* Social */
.footer-social{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: .3s;
    border: 1px solid rgba(255,255,255,.05);
}

.footer-social a:hover{
    background: #dc3545;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220,53,69,.35);
}

/* Bottom */
.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.08);
    color: #94a3b8;
    font-size: 13px;
}

.footer-bottom strong{
    color: #fff;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .footer{
        text-align: center;
    }

    .footer-logo{
        height: 50px;
    }

    .footer-text{
        margin: auto;
    }

    .footer-title{
        margin-top: 20px;
    }

    .footer-title::after{
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-list a{
        justify-content: center;
    }

    .footer-social{
        justify-content: center;
    }
}