@import "../modules/variables";
@import "../modules/mixins";
@import "../modules/fonts";

#bannerBlog {
    padding-bottom: 140px;
    background-image: url(../../img/bg-blog.png);
    h1 {
        text-align: center;
        margin-bottom: 0;
    }
    @media (min-width: 768px) {
        padding-bottom: 182px;
        .bread-crumb {
            margin-bottom: 16px;
        }
        h1 {
            font-size: 64px;
        }
    }
}

#blog {
    position: relative;
    .blog {
        background-color: $black;
        .title-not-post {
            font-size: 40px;
            margin-top: 90px;
            text-align: center;
        }
        .card-blog {
            background-color: #fff;
            padding: 37px 20px 24px;
            border-radius: 8px;
            margin-bottom: 41px;
            &.first-post {
                margin-top: -81px;
            }
            .thumb {
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                margin-bottom: 8px;
                img {
                    max-width: unset;
                    height: 200px;
                }
            }
            .category {
                font-family: $gotham-bold;
                font-size: 12px;
                line-height: 22px;
                color: $gray;
                margin-bottom: 5px;
                text-transform: uppercase;
            }
            h2 {
                font-family: $gotham-bold;
                font-size: 24px;
                line-height: 120%;
                margin-bottom: 20px;
            }
            .date {
                font-family: $gotham-bold;
                font-size: 12px;
                line-height: 22px;
                color: $gray-light;
                margin-bottom: 2px;
            }
            .excerpt {
                font-family: $gotham;
                font-size: 14px;
                line-height: 26px;
                color: #232536;
                opacity: 0.6;
                margin-bottom: 10px;
            }
        }
        .more-posts {
            margin-top: 54px;
            margin-bottom: 73px;
        }
    }
    @media (min-width: 768px) {
        padding-bottom: 150px;
        &::before {
            content: "";
            width: 100%;
            height: 123px;
            position: absolute;
            top: 0;
            left: 0;
            background: linear-gradient(to bottom, $black, transparent);
            display: block;
            z-index: -1;
            opacity: 0.4;
        }
        .blog {
            background-color: unset;
            .card-blog {
                box-shadow: 9px 13px 44px rgba($color: #000000, $alpha: 0.15);
                padding: 30px 30px 40px;
                &.first-post {
                    h2 {
                        font-size: 32px;
                    }
                }
                .thumb {
                    margin-bottom: 10px;
                    img {
                        max-width: 100%;
                        height: auto;
                    }
                }
                .category {
                    font-size: 14px;
                    margin-bottom: 10px;
                }
                h2 {
                    font-size: 24px;
                    line-height: 140%;
                    margin-bottom: 10px;
                }
                .date {
                    font-size: 16px;
                    margin-bottom: 10px;
                }
                .excerpt {
                    font-size: 16px;
                    line-height: 28px;
                    margin-bottom: 10px;
                }
                a {
                    max-width: 181px;
                    height: 50px;
                    font-size: 22px;
                }
            }
        }
        .more-posts {
            margin: 50px auto 60px;
            max-width: 200px;
        }
    }
}

#signFooter {
    &::before {
        top: 0;
        opacity: 0.5;
    }
    @media (min-width: 768px) {
        .img {
            margin-top: -170px;
        }
    }
}
