.card-post {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 16px;
}

.card-post__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}

.card-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.card-post:hover .card-post__media img {
    transform: scale(1.04);
}

.card-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-cate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    justify-content: space-between;
}

.date-update {
    color: #9E9E9E;
    font-weight: 400;
    font-size: 12px;
    line-height: 137%;
    letter-spacing: 1%;
}

.card-post-content-category {
    color: #9E9E9E;
    font-weight: 500;
    font-size: 12px;
    line-height: 137%;
    letter-spacing: 1%;
    text-decoration: none;
}

.card-post-content-category:hover {
    color: #C40F0F;
}

.title__post {
    margin: 0;
    color: #212121;
    font-weight: 600;
    font-size: 18px;
    line-height: 146%;
    letter-spacing: 1%;
    cursor: pointer;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-post:hover .title__post {
    color: #C40F0F;
}

.des__post {
    margin: 0;
    color: #616161;
    font-weight: 300;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 1%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .title__post {
        font-size: 16px;
    }

    .des__post {
        font-size: 13px;
    }
}
