.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--small);
    background-color: var(--wp--preset--color--white);
    border: 1px solid #00000014;
    border-radius: var(--wp--custom--border--radius--small);
    padding: var(--wp--preset--spacing--small);
    text-decoration: none;
    transition: all .25s cubic-bezier(0.65, 0.05, 0.36, 1);
    color: inherit;
}

p.post-date {
    color: var(--wp--preset--color--primary);
}

a.card:hover {
    text-decoration: none;
    box-shadow: var(--wp--preset--shadow--subtle);
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: var(--wp--custom--border--radius--small);
    background-size: cover;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.card-thumbnail.no-thumb {
    min-height: unset;
}

.card-thumbnail img {
    width: 100%;
    vertical-align: middle;
}

.card img {
    transition: all .25s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.card:hover img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 15;
    background: white;
    padding: 5px;
    border-radius: 8px;
    font-weight: 600;
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.card-meta h2 {
    margin: 0;
    font-size: var(--wp--preset--font-size--large);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 98%;
    background-size: 0% 2px;
    background-repeat: no-repeat;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.card:hover .card-meta h2 {
    background-size: 100% 2px;
}

.card-meta .card-date {
    color: var(--wp--preset--color--primary);
    font-weight: 600;
}

.card-date-author {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.card-date-author p {
    margin: 0;
}

.card-excerpt {
    margin: 0;
    color: var(--wp--custom--color--neutral--600);
    line-height: var(--wp--custom--line-height--normal);
    font-weight: 500;
}