/* Card principal */
.card-blog {
    height: 100%;
    background: #FFFFFF;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
}
.card-blog:hover img {
    transform: scale(1.2);
}

/* Imagem */
.card-blog .image {
    height: 300px;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.card-blog .image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    transition: transform .3s ease-in-out;
}

/* Conteúdo de texto */
.card-blog .box-text {
    padding: 30px 15px 0;
}
.card-blog h3 {
    margin: 30px 0;
    color: var(--primary-color);
    text-transform: initial;
    font-weight: 700;
    font-size: 20px;
}
.card-blog a h3:hover {
    color: var(--secondary-color);
}

/* Informações do post */
.card-blog .infos-post {
    display: flex;
    justify-content: space-between;
}
.card-blog .infos-post i {
    background: #1A1A1A;
    width: 16px;
    min-height: 14px;
    height: 14px;
    position: relative;
    top: 2px;
}
.card-blog .box-text .infos-post time {
    font-weight: 400;
    font-size: 14px;
    color: #998C8C;
    display: flex;
    gap: 8px;
}

/* Categorias (badge) */
.card-blog .infos-post .list-cat a {
    color: var(--white-color);
    font-size: 12px;
    font-weight: 700;
    background: var(--secondary-color);
    border-radius: 100px;
    padding: 4px 15px;
}
.card-blog .infos-post .list-cat a:hover {
    background: var(--color-white);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/* Rodapé (leia mais) */
.card-blog .box-read {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}
.card-blog .box-read i {
    height: 16px;
    width: 16px;
    background: #0764E3;
    position: relative;
    top: 5px;
    margin-right: 5px;
}
.card-blog .box-read :is(a, span) {
    font-size: 14px;
    color: #0764E3;
}
.card-blog .box-read span:last-of-type {
    display: none;
}
.card-blog .box-read a {
    min-width: 55px;
    line-height: 26px;
}
.card-blog .box-read a:hover {
    color: #1A1A1A;
}

/* Responsivo */
@media (max-width: 768px) {
    .card-blog .image {
        height: auto;
        aspect-ratio: 1 / .6;
    }
}
