﻿.blog-module {
    padding: 30px 0 10px;
    margin-bottom: 30px;
}

.blog-module:after {
    display: none;
}

.blog-posts {
    margin-bottom: 5px;
}

.blog-posts a:hover,
.blog-posts a {
    text-decoration: none;

}

.module-post {
    margin-bottom: 15px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    max-height: 340px;
}

.module-post-link {
    display: block;
    line-height: 0;
}

.module-post-image {
    display: block;    
    text-align: center;
}

.module-post-image img{
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.module-post-header {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    background: rgb(70 63 58 / 80%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0 15px;
    height: 70px;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-weight: 600;
    transition: all .2s ease-in-out;
}

.module-post:hover .module-post-header {
    color: #f8c630;
    transition: all .2s ease-in-out;
}

@media screen and (min-width: 768px){
    .module-post {
        max-height: 254px;
    }
}

@media screen and (min-width: 992px){
    .blog-module {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .blog-module .module {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .module-post {
        max-height: 340px;
        margin-bottom: 30px;
    }

    .module-post-header {
        font-size: 16px;
        line-height: 20px;
    }
}

@media screen and (min-width: 1200px){
    .module-post-header {
        font-size: 18px;
        line-height: 1
    }
}

@media screen and (min-width: 1400px){
    .module-post-header {
        line-height: 22px;
    }
}