/* Estilo automático para o tipo de post: post */

header {
    padding: 0 !important;
}

#cabecalho {
    min-height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -170px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;

    .sombra-servico {
        background-image: linear-gradient(#00000054, black);
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 0.8;
        top: 0;
    }

    .barras{
        position: relative;

        &::after {
            background-color: #ffffff;
            background-size: auto;
            display: inline-block;
            width: 100%;
            height: 1px;
            content: "";
            right: 135px;
            position: absolute;
            z-index: 0;
            bottom: -310px;
        }
        &::before {
            background-color: #ffffff;
            background-size: auto;
            display: inline-block;
            width: 1px;
            height: 410px;
            content: "";
            right: 135px;
            position: absolute;
            z-index: 0;
            top: -15px;
        }

    }

    .cabecalho {
        display: flex;
        justify-content: center;
        margin-top: 100px;

        li{
            font-weight: 300;
            font-size: 18px;
            line-height: 160%;
            text-align: center;
            color: #fff;
            list-style-type: none;
            letter-spacing: 1px;

        }
        .destaque{
            font-weight: 600;
        }
    }

    h1{
        font-weight: 300;
        font-size: 48px;
        line-height: 66px;
        letter-spacing: 2.4px;
        vertical-align: middle;
        color: #fff;


        span{
            font-weight: 600;
        }
    }
}


#leitura{
    padding: 100px 0;

    h1{
        font-weight: 300;
        font-size: 30px;
        line-height: 31px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #2C2C2C;
    }

    .img-dest-blog {
        width: 100%;
        height: 540px;
        margin: 60px 0;
        object-fit: cover;
    }

    .the-content {
        font-weight: 400;
        font-size: 16px;
        color: #5A5A5A;
        line-height: 160%;
        letter-spacing: 0.8px;
        vertical-align: middle;
    }

    .info-not-blog {
        border: 1px solid #2C2C2C;
        background-color: #F4F3F3;
        padding: 30px 50px;
        top: 50px;
        position: sticky;

        h4{
            font-weight: 600;
            font-size: 16px;
            line-height: 160%;
            color: #2C2C2C;
        }
        
        p{
            color: #2C2C2C;
            font-weight: 400;
            font-size: 16px;
            line-height: 160%;
            letter-spacing: 0%;
        }
        
        .social-comp {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: space-between;

            li {
                list-style-type: none;

                img {
                    margin-right: 8px;
                }
            }
        }
    }
}


#blog{
    padding: 100px 0;

    h2{
        font-weight: 300;
        font-size: 30px;
        line-height: 31px;
        letter-spacing: 1.6px;
        text-transform: uppercase;
        color: #2C2C2C;
        margin-bottom: 60px;

        span{
            font-weight: 600;
        }
    }

    .btn-padrao {
        border: 1px solid #2C2C2C;
        padding: 0 0px 0 22px;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 1px;
        text-align: center;
        color: #2C2C2C;
        position: relative;
        display: inline-flex;
        align-items: center;
        transition: 300ms all ease-in-out;
        
        .moldura-seta {
            padding: 22px;
            transition: 300ms all ease-in-out;
            border-left: solid 1px #2C2C2C;
            margin-left: 22px;
            background-color: #fff;
        }
    }
    .btn-padrao:hover{
        background-color: #009651;
        color: #fff;
        border: 1px solid #fff;
    }
    .btn-padrao:hover .moldura-seta{
        border-left: solid 1px #fff;
        background-color: #DD6D34;
    }
    .btn-padrao:hover .moldura-seta img{
        transition: 300ms all ease-in-out;
        filter: invert(100%) sepia(0%) saturate(7486%) hue-rotate(296deg) brightness(109%) contrast(99%);
    }


    .card-blog{
        position: relative;
        margin: 25px;

        &::after {
            background-color: #2C2C2C;
            background-size: auto;
            display: inline-block;
            width: 56px;
            height: 56px;
            content: "";
            top: -25px;
            right: -25px;
            position: absolute;
            z-index: -1;
        }
        &::before {
            background-color: #2C2C2C;
            background-size: auto;
            display: inline-block;
            width: 56px;
            height: 56px;
            content: "";
            bottom: -25px;
            left: -25px;
            position: absolute;
            z-index: -1;
        }

        .moldura{
            overflow: hidden;

            .img-blog {
                width: 100%;
                object-fit: cover;
                height: 280px;
                transition: transform 0.5s ease-in-out; 
            }
        }

        .inf-card-blog {
            padding: 32px;
            background-color: #F4F3F3;

           .cat-data {
                display: flex;
                justify-content: space-between;

                .cat-blog {
                    font-weight: 300;
                    font-size: 15px;
                    line-height: 100%;

                    img{
                        position: relative;
                        top: -2px;
                    }
                }
                .data-blog {
                    font-weight: 300;
                    font-size: 15px;
                    line-height: 100%;
    
                    img{
                        position: relative;
                        top: -2px;
                    }
                }
            }

            h4{
                font-weight: 600;
                font-size: 22px;
                line-height: 160%;
                letter-spacing: 1.1px;
                color: #2C2C2C;
            }
            .resumo-blog {
                font-weight: 400;
                font-size: 16px;
                color: #2C2C2C;
                line-height: 160%;
                letter-spacing: 0.8px;
            }


            .btn-ler-noticia {
                display: block;
                border: 2px solid #2C2C2C;
                font-weight: 400;
                font-size: 16px;
                color: #2C2C2C;
                line-height: 100%;
                letter-spacing: 0.8px;
                text-align: center;
                padding: 22px 0;
                transition: 300ms all ease-in-out;

                &:hover{
                    background-color: #DD6D34;
                    color: #fff;
                }
            }
        }
    }

    .card-blog:hover .img-blog {
        transform: scale(1.1); 
    }
    .card-blog:hover .btn-conheça-blog {
        color: #fff;
        background-color: #DD6D34 !important;
    }
}


/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
    #cabecalho{
        h1{
            font-size: 28px;
            line-height: 42px;
        }
        .barras {
            display: none;
        }
    } 

    #leitura {
        .img-dest-blog {
            height: 380px;
        }

        .info-not-blog {
            margin-top: 40px;
        }
    }
}

/* MOBILE */
@media all and (max-width: 767px) { 
    #cabecalho{
        h1{
            font-size: 28px;
            line-height: 42px;
        }
        .barras {
            display: none;
        }
    }

    #blog {
        .card-blog {
            .inf-card-blog {
                .cat-data {
                    display: flex;
                    justify-content: space-between;
                    flex-direction: column;
                }
            }
        }

        h2 {
            margin-bottom: 30px;
        }
    }

    #leitura {
        padding: 100px 0;

        .img-dest-blog {
            height: 300px;
            margin: 30px 0;
        }

        .info-not-blog {
            margin: 30px 0;

            .social-comp {
                li {
                    list-style-type: none;
                    text-align: center;
                    margin-top: 10px;
                }
            }
        }
    }

}