#blog-posts-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

article.blog-post {
    display: flex;
    flex: 1 0 calc(33% - 32px);
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
    max-width: calc(33% - 32px);
}

img.blog-featured-image {
    object-fit: cover;
    width: 100%;
}

.blog-post-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px;
}

p.blog-title {
    font-size: var(--body-text-large) !important;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

p.blog-title a {
    color: var(--color-black);
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

p.blog-excerpt {
    color: var(--Dark-Grey);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    margin: 0;
}

.blog-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {

    article.blog-post {
        flex: 1 0 calc(50% - 32px);
        max-width: calc(50% - 32px);
        justify-content: flex-start;
    }

    .blog-post-content {
        justify-content: space-between;
        height: 100%;
    }

}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 576px) { 

    #blog-posts-wrapper {
        flex-direction: column;
    }

    article.blog-post {
        max-width: 100%;
    }

}

