
/**
 * CONTENTS
 *
 * 1. Styling Reset 
 *
 * 2. News list
 *
 * 3. News View
 *
 */



/*------------------------------------*\
    #1. Styling Reset 
\*------------------------------------*/

.news-list,
.news,
.news__wrapper,
.news__image__link,
.news__image,
.news__title,
.news__date { 
    display: block;
    padding: 0; 
    margin: 0; 
    list-style: none;  
}

/*------------------------------------*\
    #2. Click through
\*------------------------------------*/

.casestudy__single--title{
    text-align:center;
    padding:20px 0 40px 0;
}



@media screen and (max-width:720px){
    
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    
}
 
@media screen and (min-width:1281px){
    
}



/*------------------------------------*\
    #3. List
\*------------------------------------*/

.news-list {
    overflow: auto;
    position: relative;
    margin-bottom: 40px;
}

.news {
    position: relative;
    padding: 0;
    min-height: 260px;
    margin-bottom: 20px;
}


.news--image{
    margin:0 auto;
    width:100%;
}

.news--info{
    padding:20px;
}

.news--title{
   
    font-size:30px;
    line-height:38px;
    margin-bottom:10px;
}

.news--course{
    font-size:22px;
    line-height:28px;
    font-weight:700;
    margin-bottom:20px;
}

.news__wrapper{
    padding:20px;
}

.news__title{
    margin-bottom:5px;
}

.news__date{
    margin-bottom:15px;
}

.btn--back{
    position:relative;
    min-width: 100px;
    padding-left:50px;
}


@media screen and (max-width:720px){
    .news{
        float:none;
        margin:0 auto 20px auto;
        width:100%;
        max-width:400px;
    }

}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .news{
        float:left;
        margin-right:20px;
        width:calc((100% - 40px) /2 - 0.1px);
    }
    .news:nth-child(2n+2){
        margin-right:0;
    }
    
    .news:nth-child(2n+3){
        clear:left;
    }
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    .news{
        float:left;
        margin-right:20px;
        width:calc((100% - 40px) /3 - 0.1px);
    }
    .news:nth-child(3n+3){
        margin-right:0;
    }
    
    .news:nth-child(3n+4){
        clear:left;
    }
}
 
@media screen and (min-width:1281px){
    .news{
        float:left;
        margin-right:20px;
        width:calc((100% - 40px) /3 - 0.1px);
    }
    .news:nth-child(3n+3){
        margin-right:0;
    }
    
    .news:nth-child(3n+4){
        clear:left;
    }
}







