.posts-container {
    display: -ms-grid;
    display: grid;
    gap: 24px;
}

@media screen and (min-width: 771px) {
    .posts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


.post-card__thumbnail {
    max-height: 359px;
}

.post-card__image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    border-radius: 8px;
    aspect-ratio: 16 / 8;
}

/*@media only screen and (max-width: 1024px) {
    .post-card__thumbnail {
        max-height: 227px;
    }
}

@media only screen and (max-width: 770px) {
    .post-card__thumbnail {
        max-height: 174px;
    }
}

@media only screen and (max-width: 576px) {
    .post-card__thumbnail {
        max-height: 270px;
    }
}

@media only screen and (max-width: 380px) {
    .post-card__thumbnail {
        max-height: 178px;
    }
}*/

.post-card__description {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.post-card__title a {
    color: inherit;
}

.post-card__title a:hover {
    color: var(--primary-brand-color);
}

.post-card__meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 8px;
}

.post-card__excerpt {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.post-card__date {
    font-size: var(--small-font-size);
    line-height: var(--medium-line-height);
    color: var(--gray-color);
}