@import "./variables.scss";

/* //////////////////////////////////////////////////////////////////////////////////
*
*  Blog Intro  
*
/* /////////////////////////////////////////////////////////////////////////////////*/

.cteg-list{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
    .vig-unit{
        width: 24%;
        margin: 0 0.5% 1%;
    }
}

.intro-txt p{
    text-align: center;
    max-width: 980px;
    margin: auto;
    color: #808080;
}

/* //////////////////////////////////////////////////////////////////////////////////
*
*  Blog Article  
*
/* /////////////////////////////////////////////////////////////////////////////////*/

.article-list{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    top: 150px;
    z-index: 9;
    .blog-cars{
        border: none;
        box-shadow: $box-shadow;
    }
}

.blog-cars{
    width: calc(35% - 50px);
    margin: 0 1% 2%;
}

.blog-cars:nth-child(3n+2){
    position: relative;
    top: -50px;
}

.spe-sep{
    margin: 0 10px;
}

.ins-mid{
    span{
        margin-bottom: 5px;
        display: flex;
    }
}

.arc-desc{
    margin-bottom: 50px;
}

.image-floating{
    img{
        width: 100%;
        display: block;
        margin: auto;
    }
}

/* //////////////////////////////////////////////////////////////////////////////////
*
*  Responsives Styles 
*
/* /////////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 1100px){



}

@media screen and (max-width: 980px){

    .cteg-list .vig-unit {
        width: 32%;
        margin: 0 0.5% 01%;
    }
    .cards-inspi {
        width: calc(48% - 50px);
        margin: 0 1%;
    }

    .cteg-list {
        margin-bottom: 50px;
    }

    .cards-inspi:nth-child(3n+2) {
        position: relative;
        top: 0;
    }

    .home{
        .blog-cars {
            width: calc(55% - 50px);
            margin: 0 1% 2%;
        }
        .blog-cars:nth-child(3n+2) {
            position: relative;
            top: 0;
        }
    }

}

@media screen and (max-width: 700px){

    .cteg-list .vig-unit {
        width: 100%;
        margin: 0 0.5% 4%;
    }

    .cards-inspi {
        width: calc(100% - 50px);
        margin: 0 1%;
    }

    .blog-intro .title-sec {
        padding: 50px 0 50px;
    }

    .home .blog-cars {
        width: 100%;
        margin: 0 0 3% 0;
    }

    .article-list {
        top: 50px;
    }
    

}
