.post.layout-1{
    height: calc( 100% - 30px );
}
.post.layout-1 .featured-image .category{
    top: 15px;
    left: 15px;
    z-index: 1;
    min-width: 75px;
}
.post.layout-1 .featured-image .category:hover{
    background-color: #eee;
    color: var(--color-headings);
}
.post.layout-1 .entry-excerpt p{
    margin: 0 0 10px;
}
.post.layout-2:hover,
.post.layout-1:hover{
    background-color: #F4F0EC;
}

.site-header.stuck {
    background-color: #000;
}

.service-list .service-column:nth-child(4),
.service-list .service-column{
    flex: 0 0 50%;
}
.service-list .service-column:last-child{
    flex: 0 0 100%;
}

.module-call-to-action{
    z-index: 1;
}
.module-call-to-action .center-image{
    max-width: 200px;
    margin: 20px auto;
}
.module-call-to-action .btn{
    width: 100%;
}
.module-call-to-action.cta-custom{
    background-position: 50% 0% !important;
    background-size: 40%;
}
.module-call-to-action.cta-custom-2{
    background-position: 50% 130% !important;
}
.module-call-to-action.cta-custom div .my-20{
    margin: 0;
}

.close {
    width: 30px;
    height: 30px;
    outline: none;
}
.close span {
    position: absolute;
    width: 2px;
    background-color: #000;
    height: 20px;
    opacity: 0.6;
    transform-origin: center;
    transform: rotate(45deg);
    opacity: 0.4;
    transition: 0.3s;
}
.close span:nth-child(2) {
    transform: rotate(-45deg);
}
.close:hover span {
    transform: rotate(90deg);
}
.close:hover span:nth-child(2) {
    transform: rotate(-90deg);
}
.controls .count {
    position: absolute;
    top: -10px;
    right: -10px;
}
.service-list .service-column .service{
    z-index: 1;
}
.service-list .service-column .service::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient( to top, rgba(0,0,0,.6), transparent );
}
.service .service-body{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.module-compare{
    z-index: 1;
}
.module-compare,
.module-compare .before_after{
    height: 400px;
}

.module-compare > .container{
    pointer-events: none;
}

.module-compare .before_after_wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.module-infographics .infographic-img{
    height: 135px;
    display: flex;
    align-items: center;
}
.module-brands .brand-img{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 130px;
    text-align: center;
    margin: 0 auto 30px;
}

@media(min-width: 768px){

    .module-compare,
    .module-compare .before_after{
        height: 700px;
    }

    .cta_2{
        min-height: 60vh;
    }
    .module-about .entry-content{
        max-width: 80%;
    }

    .module-call-to-action .center-image{
        max-width: 100%;
        margin: 0;
    }
    .module-call-to-action .btn{
        width: auto;
    }
   
    .service-list .service-column:last-child,
    .service-list .service-column:nth-child(4){
        flex: 0 0 50%;
    }
    .service-list .service-column{
        flex: 0 0 33.33%;
    }

    .service-list .service .service-body{
        transform: translateY(20px);
        transition: .3s;
    }
    .service-list .service .service-body div{
        transition: .3s;
        opacity: 0;
    }
    .service-list .service:hover .service-body{
        transform: translateY(0);
    }
    .service-list .service:hover .service-body div{
        opacity: 1;
    }

}

@media(min-width: 992px){

    .service-list .service-column:nth-child(4),
    .service-list .service-column:last-child,
    .service-list .service-column{
        flex: 0 0 20%;
    }
}