/* Blog Section Equal Height Cards */
.blog-section .row {
    display: flex;
    flex-wrap: wrap;
}

.blog-section .col-lg-4,
.blog-section .col-md-6,
.blog-section .col-sm-12 {
    display: flex;
}

.blog-section .single-blog-post-three {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.blog-section .single-blog-post-three .post-thumbnail {
    flex-shrink: 0;
}

.blog-section .single-blog-post-three .post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.blog-section .single-blog-post-three .entry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 15px 0;
}

.blog-section .single-blog-post-three .entry-content .post-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-section .single-blog-post-three .entry-content h3.title {
    font-weight: 500;
    margin-bottom: 23px;
    line-height: 31px;
    min-height: 62px; /* 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-section .single-blog-post-three .entry-content .main-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .blog-section .single-blog-post-three .post-thumbnail img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .blog-section .single-blog-post-three .post-thumbnail img {
        height: 200px;
    }
    
    .blog-section .single-blog-post-three .entry-content h3.title {
        font-size: 18px;
        min-height: 54px;
    }
}
