.card-article {
    height: var(--height);
    min-height: var(--height);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.card-article:hover {
    transform: scale(1.01);
}

@media (max-width: 576px) {
    .card-article {
        min-height: 250px;
        height: auto;
    }
}

.card-article .overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.breaking-item {
    transition: opacity 0.5s ease;
}

.article-title {
    line-height: 1.2;
    font-size: 15px;
}

.article-picture {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.category-card {
    position: relative;
    overflow: hidden;
}

.category-card.has-bg {
    background-size: cover;
    background-position: center;
    color: white;
}

.category-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* overlay transparan */
    z-index: 1;
}

.category-card .content-on-bg {
    position: relative;
    z-index: 2;
}