.card-article {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: 0.5s ease;
}

.content-article-hover-container {
    padding: 24px;
    height: 400px;
}

.card-article .img-article {
    width: 100%;
    height: 100%;
}

.card-article .img-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-article {
    padding: 24px;
    bottom: 0px;
    position: absolute;
    background-image: linear-gradient(
        to top,
        rgba(26, 28, 35, 1),
        rgba(30, 30, 30, 0) 90%
    ) !important;
}

.content-article-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.6s ease;
}

.wrapper-article:hover .content-article-hover {
    height: 100%;
    bottom: 0px;
}

@media (max-width: 576.5px) {
    .card-article {
        width: 280px;
        height: 320px;
    }
}
