
/*** 

====================================================================
    News Section
====================================================================

***/

.news-section {
    position: relative;
    padding: 120px 0 90px;
    overflow: hidden;
    background-color: #fff;
    .bg{
        max-height: 485px;
    }
}

.news-block {
    position: relative;
    margin-bottom: 30px;
    .inner-box {
        position: relative;
        transition: all 300ms ease;
        &:hover{
            .image-box {
                .image a:after {
                    left: 0;
                    right: 0;
                    opacity: 0;
                    transition: all 400ms linear;
                    
                }   
                img {
                    transform: scale(1.1);
                }
            }
            .content-box{
                box-shadow: 0 10px 60px rgba(0, 0, 0, .10);
            }
        }
    }
    .image-box {
        position: relative;
        .image {
            position: relative;
            overflow: hidden;
            border-radius: 14px;
            margin-bottom: 0;
            img {
                display: block;
                width: 100%;
                transition: all 400ms ease;
            }
            a:after {
                background: rgba(255, 255, 255, .3);
                bottom: 0;
                content: "";
                left: 50%;
                position: absolute;
                right: 51%;
                top: 0;
                opacity: 1;
                pointer-events: none;
                transition: all 400ms linear;
            }
        }
    }
    .content-box{
        position: relative;
        margin-top: -65px;
        margin-left: 30px;
        padding: 30px 40px 35px;
        background-color: #fff;
        border-radius: 10px 0 10px 10px;
        transition: all 300ms ease;
        .date {
            position: relative;
            display: inline-flex;
            flex-wrap: wrap;
            background-color: var(--theme-color2);
            line-height: 20px;
            font-size: 12px;
            color: #fff;
            padding: 5px 20px;
            font-weight: 700;
            border-radius: 10px;
            margin-right: 10px;
            z-index: 1;
        }
        .post-info {
            position: relative;
            font-size: 14px;
            color: #6a6a6a;
            i{
                color: var(--theme-color2);
                margin-right: 5px;
            }
        }
        .title{
            margin-top: 15px;
            margin-bottom: 7px;
            font-weight: 800;
            &:hover {
                color: var(--theme-color2);
            }
        }
        .text{
            margin-bottom: 15px;
        }
        .read-more {
            position: relative;
            display: inline-block;
            font-size: 12px;
            line-height: 25px;
            color: #0f0f0f;
            font-weight: 700;
            display: flex;
            text-transform: uppercase;
            letter-spacing: .1em;
            transition: all 100ms linear;    
            i {
                margin-right: 10px;
                font-size: 16px;
                transition: all 100ms linear;
            }
            &:hover{
                color: var(--theme-color2);
                transform: translateX(-25px);
                i{
                    opacity: 0;
                    transform: translateX(15px);
                }
            }
        }
    }
}

/*** 

====================================================================
    News Section Two
====================================================================

***/

.news-section-two{
    position: relative;
    padding: 120px 0 90px;
    overflow: hidden;
    .icon-object-1{
        right: -300px;
        top: 0;
    }

    .icon-shape-4{
        left: -330px;
        bottom: 80px;
    }
}

.news-block-two{
    position: relative;
    margin-bottom: 30px;
    .inner-box {
        position: relative;
        transition: all 300ms ease;
        box-shadow: 0 10px 60px rgba(0, 0, 0, .07);
        &:hover {
            .image-box .image a:after {
                height: 40%;
            }

            .image img {
                transform: scale(1.1);
            }
            .date{
                color: var(--theme-color2);
                &:before{
                    background-color: #fff;
                }
            }
        }
    }

    .image-box {
        position: relative;
        .image {
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
            img {
                display: block;
                width: 100%;
                transition: all 400ms ease;
            }
            a:after {
                @include absolute-bottom;
                height: 100%;
                width: 100%;
                content: "";
                background: linear-gradient(transparent, var(--bg-theme-color1));
                pointer-events: none;
                transition: all 300ms ease;
            }
        }
        .date {
            position: absolute;
            right: 0px;
            top: 0px;
            z-index: 1;
            width: 106px;
            height: 77px;
            padding-top: 15px;
            padding-left: 45px;
            display: flex;
            flex-direction: column;
            font-size: 14px;
            color: #fff;
            font-weight: 500;
            line-height: 16px;
            letter-spacing: .1em;
            text-transform: uppercase;
            overflow: hidden;
            transition: all 300ms ease;
            b {
                color: inherit;
                font-weight: 500;
            }
            &:before {
                position: absolute;
                left: 0px;
                bottom: 0;
                height: 170px;
                width: 170px;
                background-color: var(--bg-theme-color2);
                border-radius: 50%;
                content: "";
                transition: all 300ms ease;
                z-index: -1;
            }
        }
    }

    .content-box {
        position: absolute;
        left:0;
        bottom: 0;
        padding: 25px 40px 40px;
        border-bottom: 0;
        .post-info {
            position: relative;
            display: inline-flex;
            flex-wrap: wrap;
            margin-bottom: 10px;
            li {
                position: relative;
                font-size: 14px;
                line-height: 25px;
                color: #fff;
                font-weight: 400;
                margin-right: 14px;
                i {
                    margin-right: 2px;
                    color: var(--theme-color2);
                    font-size: 14px;
                }
            }
        }

        .title {
            margin-bottom: 0;
            color: #fff;
            &:hover {
                color: var(--theme-color2);
            }
        }
    }
}

/*** 

====================================================================
    News Section Three
====================================================================

***/

.news-section-three{
    position: relative;
    padding: 120px 0 90px;
    overflow: hidden;
    .icon-object-2{
        left: -400px;
        bottom: 0;
        transform: scaleY(-1);
    }
}

.news-block-three{
    position: relative;
    margin-bottom: 30px;
    .inner-box {
        position: relative;
        transition: all 300ms ease;
        box-shadow: 0 10px 60px rgba(0, 0, 0, .07);

        &:hover .image-box .image a:after {
            left: 0;
            right: 0;
            opacity: 0;
            transition: all 400ms linear;
        }

        &:hover .image img {
            transform: scale(1.1);
        }
    }

    .image-box {
        position: relative;

        .image {
            position: relative;
            overflow: hidden;
            margin-bottom: 0;

            img {
                display: block;
                width: 100%;
                transition: all 400ms ease;
            }

            a:after {
                background: rgba(255, 255, 255, .3);
                bottom: 0;
                content: "";
                left: 50%;
                position: absolute;
                right: 51%;
                top: 0;
                opacity: 1;
                pointer-events: none;
                transition: all 400ms linear;
            }
        }
    }

    .content-box {
        position: relative;
        padding: 35px 60px;
        background-color: var(--bg-theme-color2);
        .post-info {
            position: relative;
            display: inline-flex;
            flex-wrap: wrap;
            margin-bottom: 10px;

            li {
                position: relative;
                font-size: 14px;
                line-height: 25px;
                color: #fff;
                font-weight: 400;
                margin-right: 14px;

                i {
                    margin-right: 2px;
                    color: #fff;
                    font-size: 14px;
                }
            }
        }

        .title {
            color: #fff;
            margin-bottom: 0;
            &:hover {
                color: #fff;
            }
        }
    }
}


.news-block-four{
    position: relative;
    margin-bottom: 30px;

    .inner-box {
        position: relative;
        display: flex;
        transition: all 300ms ease;
        &:hover .image-box .image a:after {
            left: 0;
            right: 0;
            opacity: 0;
            transition: all 400ms linear;
        }

        &:hover .image img {
            transform: scale(1.1);
        }
    }

    .image-box {
        position: relative;
        .image {
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
            min-width: 270px;
            height: 100%;
            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: all 400ms ease;
            }

            a:after {
                background: rgba(255, 255, 255, .3);
                bottom: 0;
                content: "";
                left: 50%;
                position: absolute;
                right: 51%;
                top: 0;
                opacity: 1;
                pointer-events: none;
                transition: all 400ms linear;
            }
        }

    }

    .content-box {
        position: relative;
        padding: 30px 40px 30px;
        border: 1px solid #d9e0e6;
        background-color: #fff;
        .post-info {
            position: relative;
            display: inline-flex;
            flex-wrap: wrap;
            margin-bottom: 10px;

            li {
                position: relative;
                font-size: 14px;
                line-height: 25px;
                color: #767676;
                font-weight: 400;
                margin-right: 14px;

                i {
                    margin-right: 2px;
                    color: var(--theme-color2);
                    font-size: 14px;
                }
            }
        }

        .title {
            margin-bottom: 0;

            &:hover {
                color: var(--theme-color2);
            }
        }

    }
}