main#maincontent {
    margin-bottom: 140px;
}
.posts .blog-post-card {
    position: relative;
    height: 100%;
    border: 1px solid var(--secondary-light-gray);
    display: block;
    transition: transform var(--hover-transition);
}
.posts .blog-post-card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
}
.posts .blog-post-card .text {
    padding: 24px 24px 80px 24px;
}
.posts .blog-post-card .text small {
    font-size: 14px;
    color: var(--gray);
    line-height: 18px;
    margin-bottom: 16px;
    display: block;
}
.posts .blog-post-card .text p {
    font-size: 18px;
    line-height: 28px;
    color: var(--secondary-dark);
    margin-bottom: 32px;
}
.posts .blog-post-card .text button {
    margin: 0 auto;
    width: 226px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}
.posts .blog-post-card:hover {
    transform: translateY(-2px);
}
.posts .blog-post-card:hover button {
    background-color: white;
    color: var(--primary-blue);
}
@media screen and (max-width: 768px) {
    main#maincontent {
        margin-bottom: 64px;
    }
    .posts {
        grid-template-columns: 1fr;
    }
    .posts .blog-post-card .text button {
        width: 100%;
    }
    .posts .blog-post-card .text p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 16px;
    }
    .posts .blog-post-card .text button {
        width: 100%;
    }
}
