/* ===== WRAPPER ===== */
.ai-slid{
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ai-slid::-webkit-scrollbar{
    display: none;
}
/* ===== ITEM ===== */
.slid-item{
    flex: 0 0 340px;
    text-decoration: none;
    color: #111;
    display: grid;
    grid-template-columns: 100px auto;
    gap: 1rem;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.slid-item:hover .slid-img{
    transform: scale(1.2);
}
.slid-img{
    width: 100px;
    height: 60px;
    object-position: center;
    object-fit: cover;
    border-radius: 10px;
    transition: ease-in-out 0.3s;
}
.slid-title{
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.boxrender-ocb{
    background: linear-gradient(180deg, #1877f2, #0f5bd3);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.ocb-boxtop{
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    color: #fff;
}
.bungkus-imag{
    overflow: hidden;
}
.ocb-img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 14/8;
    object-position: center;
    object-fit: cover;
    transition: ease-in-out 0.3s;
}
.ocb-bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: max-content;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}
.ocb-boxtop:hover .ocb-img{
    transform: scale(1.1);
}
.ocb-title{
    transition: ease-in-out 0.3s;
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
}
.ocbsdsjh{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.ocb-commak{
    padding: 10px;
}
.ocb-span{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: orange;
    margin-bottom:10px;
}
.ocb-span::after{
    content: '';
    flex: 1;
    height: 2px;
    background: orange;
    opacity: 0.6;
}
.ocbsmallgrid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.ocb-buri{
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 100px auto;
    gap: 1rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}
.ocb-curut-gambar{
    width: 100%;
    height: auto;
    aspect-ratio: 10/6;
    object-position: center;
    object-fit: cover;
    border-radius: 10px;
}
.ocb-buri:hover .ocbsmalltitle{
    color: orange;
}
.ocbsmalltitle{
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: ease-in-out 0.3s;
}

/* Grid 3 Style */
.grid3-style{
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}
.grid3-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.grid3-span{
    font-size: 16px;
    font-weight: 700;
    color: #2b4c9a;
}
.tonextview{
    font-size: 12px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}
.tonextview i{
    font-size: 12px;
}
.grid3-loop{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid3-item{
    display: block;
    text-decoration: none;
    color: inherit;
}
.grid3-img{
    width: 100%;
    height: auto;
    aspect-ratio: 12/7;
    object-position: center;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}
.gbinfo{
    font-size: 12px;
    color: #ff5a00;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.grid3-title{
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.grid3-item:hover .grid3-title{
    color: #2b4c9a;
}
.ecover-card{
    display: grid;
    grid-template-columns: 300px auto;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 1rem;
}
.ecover-link-img{
    width: 100%;
    height: auto;
    aspect-ratio: 14/8;
    overflow: hidden;
    border-radius: 10px;
}
.ecover-img{
    width: 100%;
    height: auto;
    object-position: center;
    object-fit: cover;
    transition: ease-in-out 0.3s;
}
.ecover-link-img:hover .ecover-img{
    transform: scale(1.1);
}
.ecover-link-title{
    color: #111;
    text-decoration: none;
    transition: ease-in-out 0.3s;
}
.ecover-link-title:hover{
    color: #0f5bd3;
}
.ecover-title{
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 10px;
}
.ecover-inright p{
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}
.child-ecover{
    color: #111;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: ease-in-out 0.3s;
}
a.btn-tonews{
    display: block;
    width: max-content;
    margin: 1.5rem auto;
    color: #fff;
    background-color: #ff5a00;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}

/* Media Responsive */
@media(max-width: 560px){
    .ai-slid{
        padding: 0 10px;
    }
    .slid-item{
        flex: 0 0 300px;
        box-shadow: none;
        grid-template-columns: 70px auto;
        align-items: center;
    }
    .slid-img{
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 2px solid rgba(0, 0, 0, 0.2);
    }
    .ocb-title{
        font-size: 18px;
    }
    .ocbsmallgrid{
        display: block;
    }
    .ocb-buri{
        margin-bottom: 1.5rem;
    }
    .grid3-loop{
        grid-template-columns: repeat(2, 1fr);
    }
    .ecover-card{
        display: block;
    }
    .ecover-img{
        margin-bottom: 1rem;
        border-radius: 5px;
    }
}