.berita-section{
    padding: 80px 100px 100px 100px;
}

.berita-section .title{
    font-weight: bold;
    font-size: 48px;
    color: var(--primaryNeutral900);
    margin-bottom: 64px;
}

/* berita first */
.row-flex {
    align-items: stretch !important;
}

.col-card{
    flex: 1;
    display: flex;
    margin-bottom: 24px;
}


.berita-section .berita-big{
    border-radius: 4px;
    height: 100%;
    width: 100%;
    padding: 24px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.berita-section .berita-big::after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 30%;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.3s;
}

.berita-section .berita-big:hover:after{
    opacity: 0;
}

.berita-section .berita-big .card-glass-big{
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
    border-radius: 4px;
    color: white;
    padding: 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.berita-section .card-glass-big .top-card{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.berita-section .card-glass-big .top-card .dot{
    margin: auto 12px;
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 100%;
}

.berita-section .card-glass-big .top-card p{
    margin-bottom: 0;
}

.berita-section .card-glass-big .mid-card .title{
    font-weight: bold;
    color: white;
    margin: 0;
    margin-bottom: 16px;
    font-size: 24px;
}

.berita-section .card-glass-big .bottom-card{
    font-size: 16px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 90%;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .berita-section{
        padding: 40px 60px 60px 60px;
    }

    .berita-section .title{
        font-size: 32px;
        margin-bottom: 52px;
    }
}

@media (max-width: 576px) {
    .berita-section{
        padding: 20px;
    }

    .berita-section .title{
        font-size: 28px;
        margin-bottom: 32px;
    }
}

/* berita normal */
.berita-section .berita{
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100% !important;
}

.berita-section .berita .berita-img{
    width: 100%;
    height: 292px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: 4px 4px 0 0;
    position: relative;
    overflow: hidden;
}

.berita-section .berita .berita-img::after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 30%;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.3s;
}

.berita-section .berita:hover .berita-img::after{
    opacity: 0;
}



.berita-section .berita .content{
    padding: 16px;
    border-radius: 0 0 4px 4px;
    border: 1.5px solid var(--primaryNeutral200);
    height: auto;
    flex: 1 1 auto;
}


.berita-section .berita .content .top-card{
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primaryNeutral900);
}


.berita-section .berita .top-card .dot{
    margin: auto 8px;
    width: 4px;
    height: 4px;
    background-color: var(--primaryNeutral900);
    border-radius: 100%;
}

.berita-section .berita .top-card p{
    margin-bottom: 0;
    width: fit-content;
}

.berita-section .berita .mid-card .title{
    font-weight: bold;
    color: var(--primaryNeutral900);
    margin: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.berita-section .berita .bottom-card{
    font-size: 16px;
    color: var(--primaryNeutral900);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 90%;
    margin-bottom: 0;
}

/* loading */
.berita-section .loadier-wrap{
    margin-top: 64px;
}
.berita-section .loading{
    width: 50px;
    height: 50px;
    background: conic-gradient(from 180deg at 50% 50%, #999999 0deg, rgba(153, 153, 153, 0) 360deg);
    border-radius: 100%;
    transform: rotate(360deg);
    position: relative;
    animation: loading 1s linear infinite;
}

.berita-section .loading::after{
    content: '';
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 100%;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    

}

@keyframes loading {
    from{
        transform: rotate(360deg);
    }
    to{
        transform: rotate(0deg);
    }
}

.berita-section .no-content p {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primaryNeutral500);
}
