.KotakArtikel{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    /* sembunyikan scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge lama */
}

.KotakArtikel::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Edge */
}
.KotakArtikel1{
    flex: 0 0 32%;
    height: auto;
    padding: 10px;
    padding-bottom: 20px;
    background-color: var(--list-article);
    text-decoration: none;
}
.KotakArtikel1 img{
    width: 100%;
}
.KotakArtikel1 h3{
    font-weight: bolder;
    color: var(--text-black);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.KotakArtikel1 h2:hover{
    color: var(--nav-color);
    text-decoration: none;
}
.KotakArtikel1 a{
    text-decoration: none;
}
.KotakArtikel1 a h3{
    text-decoration: none;
    font-size: 18pt;
}
.KotakArtikel1 p{
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ContainerPutih h2{
    color: var(--nav-color);
    font-weight: bolder;
    text-align: center;
}
/* BANNER ATAS */
.toprandarticle{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
}
.randarticle{
    width: 65%;
    height: 100%;
    display: flex;
    position: relative;
}
.randarticle img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 60%
    );
}
#titlebanner{
    position: absolute;
    bottom: 20px;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 0 20px 0 20px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
#titlebanner a{
    color: var(--text-color);
    text-decoration: none;
}
#titlebanner a:hover{
    transition: 0.5s ease all;
    color: var(--btn-warning);
}
.adsbanner{
    width: 33%;
    height: 100%;
    background-color: #fff4c6;

    display: flex;
    justify-content: center;
    align-items: center;
}
.adsbanner img{
    width: 50%;
    height: 50%;
    object-fit: contain;
}
@media screen and (max-width: 800px) {
    .KotakArtikel1{
        flex: 0 0 49%;
        height: auto;
    }
    .KotakArtikel{
        gap: 8px;
    }
    .KotakArtikel1 a h3{
        text-decoration: none;
        font-size: 13pt;
    }
    .toprandarticle{
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
        height: 500px;
    }
    .randarticle{
        width: 100%;
        height: 330px;
    }
    .adsbanner{
        width: 100%;
        height: 150px;
    }
    #titlebanner{
        padding: 0 40px 0 40px;
    }
}