.wrap-services-post {
    --tf-services-gap: 30px;
    margin-left: calc(0px - (var(--tf-services-gap) / 2));
    margin-right: calc(0px - (var(--tf-services-gap) / 2));
    
    .slick-slide {
        padding: 0;
    }
    
    .item {
        padding-left: calc((var(--tf-services-gap) / 2));
        padding-right: calc((var(--tf-services-gap) / 2));
        margin-bottom: var(--tf-services-gap);
    }
    
}

.tf-services-post {
    .title {
        font-size: 20px;
        line-height: 30px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .tf-service-icon {
        i {
            color: inherit;
        }
        
        svg {
            fill: currentColor;
            
            path {
                fill: currentColor;
            }
        }
    }
}

.tf-services-style1 {
    text-align: center;
    border: 1px solid var(--theme-color-border);
    padding: 30px;
    transition: all 0.5s;
    
    .tf-service-icon {
        width: 80px;
        height: 80px;
        @include d-inline-flex();
        @include align-items-center();
        @include justify-content-center();
        border-radius: 50%;
        border: 1px solid var(--theme-color-border);
        margin-bottom: 25px;
        transition: all 0.2s;
        line-height: 1;
        
        i {
            font-size: 40px;
        }
    }
    
    .desc {
        margin-bottom: 20px;
        transition: all 0.2s;
    }
    
    .services-view-more {
        font-size: 14px;
        line-height: 24px;
        font-family: var(--theme-font-primary);
        text-transform: uppercase;
        font-weight: 600;
        
        .text {
            text-decoration: underline;
            display: inline-block;
            margin-right: 15px;
        }
        
        .icon {
            display: inline-block;
            @include transform(translateX(0));
            transition: all 0.2s;
        }
        
        &:hover {
            .icon {
                @include transform(translateX(5px));
            }
        }
        
    }
    
    .title a {
        &:hover {
            color: var(--theme-secondary-color);
        }
    }
    
    &:hover {
        background-color: var(--theme-accent-color);
        
        .tf-service-icon {
            background-color: var(--theme-secondary-color);
            border-color: var(--theme-secondary-color);
        }
        
        .services-view-more {
            color: var(--theme-secondary-color);
        }
        
        .title a, .desc {
            color: #fff;
        }
    }
}

.tf-services-style2 {
    @include d-flex();
    background-color: var(--theme-accent-color);
    padding: 80px 50px;
    height: 100%;
    
    .tf-service-icon {
        @include flex(0 0 80px);
        height: 80px;
        margin-right: 30px;
        @include d-inline-flex();
        @include align-items-center();
        @include justify-content-center();
        border-radius: 50%;
        border: 1px solid #FFFFFF;
        margin-bottom: 25px;
        transition: all 0.5s;
        color: var(--theme-secondary-color);
        line-height: 1;
        
        i {
            font-size: 40px;
        }
    }
    
    .title {
        a {
            color: #fff;
        }
    }
    
    .desc {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 20px;
        transition: all 0.2s;
        color: #fff;
    }
    
    .services-view-more {
        font-size: 14px;
        line-height: 24px;
        font-family: var(--theme-font-primary);
        text-transform: uppercase;
        font-weight: 600;
        color: #fff;
        
        .text {
            text-decoration: underline;
            display: inline-block;
            margin-right: 15px;
        }
        
        .icon {
            display: inline-block;
            @include transform(translateX(0));
            transition: all 0.2s;
        }
        
        &:hover {
            .icon {
                @include transform(translateX(5px));
            }
        }
        
    }
    
    .title a {
        &:hover {
            color: var(--theme-secondary-color) !important;
        }
    }
    
    &:hover {
        
        .tf-service-icon {
            background-color: var(--theme-secondary-color);
            border-color: var(--theme-secondary-color);
            color: #000;
        }
        
        .services-view-more {
            color: var(--theme-secondary-color);
        }
        
        .title a, .desc {
            color: #fff;
        }
    }
}

.tf-services-style3 {
    text-align: center;
    border: 1px solid var(--theme-color-border);
    padding: 50px 40px 58px 40px;
    transition: all 0.5s;
    position: relative;
    
    &::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: var(--theme-secondary-color);
        z-index: 6;
        transition: all 0.6s;
    }
    
    &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, rgba(20, 28, 33, 0), rgba(20, 28, 33, 0.6), rgba(20, 28, 33, 0));
        opacity: 0;
        transition: all 0.6s;
        
    }
    
    .tf-service-icon {
        margin-bottom: 30px;
        transition: all 0.2s;
        
        i {
            font-size: 60px;
        }
    }
    
    .title {
        margin-bottom: 15px;
    }
    
    .desc {
        margin-bottom: 0;
        transition: all 0.2s;
    }
    
    .services-view-more {
        width: 50px;
        height: 50px;
        @include d-inline-flex();
        @include align-items-center();
        @include justify-content-center();
        font-size: 20px;
        background-color: var(--theme-secondary-color);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        bottom: -25px;
        @include transform(translateX(-50%));
        color: var(--theme-accent-color);
        opacity: 0;
        transition: all 0.5s;
        z-index: 7;
        
        &:hover {
            background-color: var(--theme-accent-color);
            color: #fff;
        }
    }
    
    &:hover {
        
        &::after {
            width: 100%;
        }
        
        &::before {
            opacity: 1;
        }
        
        .services-view-more {
            opacity: 1;
            
        }
        
    }
}

.single-services {
    .featured-post {
        margin-bottom: 40px;
    }
    
    .post-title {
        font-size: 45px;
        line-height: 55px;
        font-weight: 700;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 1199px) {
    .services-post-col-xl-6 .wrap-services-post .item {
        @include flex(0 0 50%);
        max-width: 50%;
        
        div.tf-services-post {
            border-width: 1px 1px 1px 1px;
        }
    }
}