/* SCOPE_ID:blog_cards_css_file | SCOPE_TYPE:FILE | START | INDENT:0 */
/* Public blog listing + homepage latest posts — readable text, bounded thumbnails */

.homepage-blog-section.content-card,
.blog-list-section.content-card {
    overflow: visible;
}

.blog-post-card {
    overflow: hidden;
    border-radius: var(--border-radius, 15px);
}

.blog-post-card .card-body {
    padding: 1rem 1.1rem 1.15rem;
}

.blog-post-card-title {
    color: var(--bc-purple-dark, #5b21b6);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.blog-post-card-title a {
    color: inherit;
}

.blog-post-card-title a:hover,
.blog-post-card-title a:focus {
    color: var(--primary-color, #ff6b6b);
}

.blog-post-card-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 0.35rem;
    line-height: 1.45;
}

.blog-post-card-media {
    position: relative;
    height: 200px;
    max-height: 220px;
    overflow: hidden;
    background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-post-card-media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.blog-post-card-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-post-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-post-card-footer {
    margin-top: 0.35rem;
}

@media (max-width: 575.98px) {
    .blog-post-card-media {
        height: 180px;
        max-height: 200px;
    }

    .blog-post-card .card-body {
        padding: 0.85rem 0.9rem 1rem;
    }
}
/* SCOPE_ID:blog_cards_css_file | SCOPE_TYPE:FILE | END */
