
section#header img{
    min-height: 330px;
}

h2{
    display: inline-block;
    font-size: 46px;
    line-height: 48px;
    position: relative;
    padding: 0 20px;
    font-weight: 500;
    margin: 50px 17px;
}
h2:before,
h2:after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    width: 64px;
    height: calc(100% + 16px);
    border: solid 3px #be1622;
}
h2:before{
    left: 0;
    -webkit-transform: translate(-25%, -50%);
       -moz-transform: translate(-25%, -50%);
         -o-transform: translate(-25%, -50%);
            transform: translate(-25%, -50%);
    -webkit-clip-path: polygon(0 0, 40% 0, 40% 100%, 0% 100%);
            clip-path: polygon(0 0, 40% 0, 40% 100%, 0% 100%)
}
h2:after{
    right: 0;
    -webkit-transform: translate(25%, -50%);
       -moz-transform: translate(25%, -50%);
         -o-transform: translate(25%, -50%);
            transform: translate(25%, -50%);
    -webkit-clip-path: polygon(60% 0, 100% 0, 100% 100%, 60% 100%);
            clip-path: polygon(60% 0, 100% 0, 100% 100%, 60% 100%);
}

.select,
input{
    background: #fff !important;
}

/* latest ------------------------------------------------ */

section#latest{
    margin-top: -60px;
}
section#latest .latest{
    background: #fff;
    padding: 0 40px 20px;
}
section#latest .latest:after{
    content: "";
    display: block;
    clear: both;
}

section#latest .latest h3{
    margin: 0;
    padding: 30px 0;
    font-size: 32px;
    line-height: 34px;
    font-weight: 600;
}

section#latest .latest .posts{
    margin: 0 -10px;
}

section#latest article{
    float: left;
    width: 33.333333%;
    padding: 0 10px;
    box-sizing: border-box;
}

section#latest article .post{
    display: inline-block;
    width: 100%;
    background: #e7edef;
}

section#latest article .image{
    height: 200px;
}

section#latest article .info{
    position: relative;
    background: #fff;
    margin: -45px 10px 10px;
    padding: 10px 10px 20px;
    z-index: 1;
}
section#latest article .date{
    font-size: 16px;
}
section#latest article h4{
    font-size: 30px;
    font-weight: 500;
    line-height: 32px;
    height: 70px;
    overflow: hidden;
    margin: 10px 0;
}
section#latest article p{
    font-size: 16px;
    line-height: 18px;
    height: 55px;
    overflow: hidden;
}




/* posts ------------------------------------------------ */

section#posts{
    padding-bottom: 40px;
}

section#posts .panel{
    padding-bottom: 50px;
    margin:  0 -10px;
}
section#posts .panel .block{
    float: left;
    width: 25%;
    padding:  0 10px;
    box-sizing: border-box;
}
section#posts .panel .block.search{
    float: right;
}

section#posts .posts{
    position: relative;
    min-height: 300px;
    margin:  0 -15px;
    padding-bottom: 10px;
}

section#posts article{
    position: relative;
    float: left;
    width: 25%;
    padding: 30px 15px;
}
section#posts article:nth-child(4n - 1):after{
    content: "";
    display: block;
    position: absolute;
    width: calc(400% - 30px);
    height: 1px;
    left: 15px;
    bottom: 0px;
    background: #b7c6d1;
}
section#posts article:nth-last-child(1):after,
section#posts article:nth-last-child(2):after,
section#posts article:nth-last-child(3):after,
section#posts article:nth-last-child(4):after{
    display: none;
}

section#posts .post{
    background: #fff;
}

section#posts .post .image{
    padding-bottom: 50%;
}
section#posts .post .info{
    padding: 20px;
}
section#posts .post h3{
    font-size: 20px;
    line-height: 22px;
    height: 70px;
    font-weight: 600;
}

.view-btn.red{
    margin: 0;
}


/* responsive ------------------------------------------------ */

@media (max-width: 1024px){
    section#latest article{
        width: 50%;
    }
    section#latest article:last-child{
        display: none;
    }

    section#posts .panel .block{
        width: 33.333333%;
    }
    section#posts article{
        width: 33.333333%;
    }
    section#posts article:nth-last-child(4):after{
        display: block;
    }
    section#posts article:nth-child(4n - 1):after{
        display: none;
    }
    section#posts article:nth-child(3n):after{
        content: "";
        display: block;
        position: absolute;
        width: calc(300% - 30px);
        height: 1px;
        left: 15px;
        bottom: 0px;
        background: #b7c6d1;
    }
    section#posts article:nth-last-child(1):after,
    section#posts article:nth-last-child(2):after,
    section#posts article:nth-last-child(3):after{
        display: none;
    }
}


@media (max-width: 950px){
    section#header{
        background-position: top 0 right 45%;
    }
}

@media (max-width: 800px){
    section#latest{
        margin-top: 0;
    }
    section#latest .col-full{
        margin: 0;
    }

    section#posts .panel .block{
        width: 50%;
    }
    section#posts .panel .block.search{
        width: 100%;
        margin-top: 10px;
    }
    section#posts article{
        width: 50%;
    }
    section#posts article:nth-last-child(2):after{
        display: block;
    }
    section#posts article:nth-child(3n):after{
        display: none;
    }
    section#posts article:nth-child(2n - 1):after{
        content: "";
        display: block;
        position: absolute;
        width: calc(200% - 30px);
        height: 1px;
        left: 15px;
        bottom: 0px;
        background: #b7c6d1;
    }
    section#posts article:nth-last-child(1):after,
    section#posts article:nth-last-child(2):after{
        display: none;
    }
}

@media (max-width: 568px){
    section#latest .latest{
        padding-left: 1.41575em;
        padding-right: 1.41575em;
    }
}

@media (max-width: 500px){
        section#header{
        background-position: top right;
    }
    section#header img{
        min-height: 200px;
    }
    section#latest article {
        width: 100%;
        margin-bottom: 20px;
    }
    section#latest article:last-child{
        display: block;
        margin-bottom: 0;
    }

    section#posts .panel .block{
        width: 100%;
    }
    section#posts .panel .block.date{
        margin-top: 10px;
    }
    section#posts article{
        width: 100%;
    }
    section#posts article:nth-last-child(2):after{
        display: block;
    }
    section#posts article:nth-child(1n):after{
        content: "";
        display: block;
        position: absolute;
        width: calc(100% - 30px);
        height: 1px;
        left: 15px;
        bottom: 0px;
        background: #b7c6d1;
    }
    section#posts article:nth-last-child(1):after{
        display: none;
    }
}