/* Blogs page (Pages/Blogs.cshtml) and the Related Posts row on each blog post (.bd-related).
   The cards are the home page blog cards from home.css; this file only lays them out three to a row.
   The hero is in page-hero.css. */

.blogs-section {
    padding: 40px 0 100px;
    background: #fff;
}

/* Taller photo than on the home page, and the text box fills the card so "Read More" lines up across a row. */
.blogs-section .blog-card,
.bd-related .blog-card {
    display: flex;
    flex-direction: column;
}

.blogs-section .blog-thumb,
.bd-related .blog-thumb {
    flex: none;
    height: 240px;
}

.blogs-section .blog-content,
.bd-related .blog-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.blogs-section .blog-more,
.bd-related .blog-more,
.blog-soon {
    margin-top: auto;
}

/* Posts with no article page yet (.is-soon): not links, so no hover lift or photo swap. */
.blog-card.is-soon:hover {
    transform: none;
}

.blog-card.is-soon:hover .blog-thumb img:nth-child(1) {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(50%) scaleX(2);
}

.blog-card.is-soon:hover .blog-thumb img:nth-child(2) {
    opacity: 1;
    filter: none;
    transform: none;
}

.blog-soon {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 30px;
    background: #f1f6e4;
    color: rgba(26, 86, 50, 0.75);
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .blogs-section {
        padding-bottom: 70px;
    }
}

@media (max-width: 575.98px) {
    .blogs-section .blog-thumb,
    .bd-related .blog-thumb {
        height: 200px;
    }
}
