.news-box-main-area {
    position: relative;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;

    .news-box-items {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: all 0.45s ease-in-out;

        @include breakpoint (max-xxl){
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        &::before {
            width: 100%;
            height: 100%;
            inset: 0;
            content: "";
            background: linear-gradient(
                180deg,
                rgba(2, 36, 35, 0.25) 0%,
                rgba(2, 36, 35, 0.88) 100%
            );
            border-radius: 12px;
            position: absolute;
            transition: all 0.4s ease-in-out;
            z-index: 1;
        }

        img {
            @include imgw;
            border-radius: 12px;
        }

        .post-date {
            width: 88px;
            height: 91px;
            text-align: center;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.39);
            backdrop-filter: blur(42px);
            position: absolute;
            z-index: 9;
            top: 16px;
            left: 16px;

            .date {
                color: $white;
                font-size: 36px;
                font-weight: 600;
                margin-top: 0;
                padding-top: 5px;
            }

            h4 {
                 color: $white;
                font-size: 36px;
                font-weight: 600;
                margin-top: 0;
                padding-top: 5px;
            }

            p {
                color: $white;
                font-weight: 500;
                font-size: 18px;
            }
        }

        .content {
            position: absolute;
            z-index: 9;
            bottom: 40px;
            left: 30px;
            right: 30px;

            @include breakpoint (max-xxl){
                bottom: 20px;
                left: 20px;
                right: 20px;
            }

            .post-list {
                @include flex;
                gap: 25px;

                li {
                    font-size: 15px;
                    font-weight: 500;
                    color: $white;

                    i {
                        color: $white;
                        margin-right: 4px;
                    }
                }
            }

            h3 {
                font-size: 22px;
                font-weight: 500;
                line-height: 136%;
                margin-top: 10px;

                a {
                    color: $white;
                    background-position: 0 95%;
                    background-repeat: no-repeat;
                    background-size: 0% 2px;
                    display: inline;

                    &:hover {
                        background-size: 100% 2px;
                        background-image: linear-gradient(180deg, $white 0%, $white 100%);
                    }
                }
            }
        }
    }

    .news-hover-box-items {
        position: absolute;
        inset: 0;
        background-color: $theme-color;
        border-radius: 12px;
        padding: 25px;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.45s ease-in-out;
        z-index: 5;

        @include breakpoint (max-xxl){
            opacity: 0;
            visibility: hidden;
            transform: scale(1.05);
        }

        .post-date {
            width: 88px;
            height: 91px;
            text-align: center;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.39);
            backdrop-filter: blur(42px);

            .date {
                color: $white;
                font-size: 36px;
                font-weight: 600;
                line-height: 1;
                margin-top: 0;
            }

            h4 {
                color: $white;
                font-size: 36px;
                font-weight: 600;
                line-height: 1;
                margin-top: 0;
            }

            p {
                color: $white;
                font-weight: 500;
                font-size: 18px;
            }
        }

        .post-list {
            @include flex;
            gap: 25px;
            margin-top: 35px;

            li {
                font-size: 15px;
                font-weight: 500;
                color: $white;

                i {
                    color: $white;
                    margin-right: 4px;
                }
            }
        }

        h3 {
            font-size: 22px;
            font-weight: 500;
            line-height: 136%;
            margin-top: 10px;

            a {
                color: $white;
                background-position: 0 95%;
                background-repeat: no-repeat;
                background-size: 0% 2px;
                display: inline;

                &:hover {
                    background-size: 100% 2px;
                    background-image: linear-gradient(180deg, $white 0%, $white 100%);
                }
            }
        }

        .line {
            width: 100px;
            height: 3px;
            background-color: $white;
            margin-top: 23px;
        }

        .news-text {
            color: $white;
            margin-top: 25px;
        }
    }
    
    &:hover {
        .news-box-items {
            opacity: 0;
            visibility: hidden;
            transform: scale(1.05);

            @include breakpoint (max-xxl){
                opacity: 1;
                visibility: visible;
                transform: scale(1);
            }
        }

        .news-hover-box-items {
            opacity: 1;
            visibility: visible;
            transform: scale(1);

            @include breakpoint (max-xxl){
                opacity: 0;
                visibility: hidden;
                transform: scale(1.05);
            }
        }
    }
}

.news-box-items-style-2 {
    background-color: $white;
    border: 1px solid rgba(217, 217, 217, 1);
    padding: 10px;
    border-radius: 12px;
    margin-top: 30px;

    .thumb {
        overflow: hidden;
        position: relative;
        border-radius: 12px;
        z-index: 99;

        img {
            @include imgw;
            border-radius: 12px;
            position: relative;
            display: block;
            object-fit: cover;
            -webkit-transition: all 500ms ease;
            transition: all 500ms ease;

            &:first-child {
                position: absolute;
                left: 0;
                top: 0;
                right: 0;
                bottom: 0;
                z-index: 1;
                -webkit-transform: translateX(50%) scaleX(2);
                transform: translate(50%) scaleX(2);
                opacity: 0;
                -webkit-filter: blur(10px);
                filter: blur(10px)
            }
        }

        .post-date {
            width: 88px;
            height: 91px;
            padding: 18px;
            text-align: center;
            background: rgba(255, 255, 255, 0.39);
            backdrop-filter: blur(42px);
            position: absolute;
            z-index: 99;
            bottom: 10px;
            left: 10px;
            border-radius: 12px;

            span {
                color: $white;
                font-size: 36px;
                font-weight: 600;
                color: $white;
            }

            p {
                color: $white;
                font-weight: 400;
            }
        }
    }

    .content {
        padding: 15px;
        margin-top: 10px;

        ul {
            display: flex;
            align-items: center;
            gap: 20px;

            li {
                i {
                    margin-right: 6px;
                    color: $theme-color;
                }
            }
        }

        h3 {
            margin-top: 10px;
            font-size: 22px;
            font-weight: 500;
            line-height: 136%;

            @include breakpoint (max-lg){
                font-size: 20px;
            }

            @include breakpoint (max-sm){
                font-size: 19px;
            }

            a {
                background-position: 0 95%;
                background-repeat: no-repeat;
                background-size: 0% 2px;
                display: inline;
                
                &:hover {
                    color: $theme-color;
                    background-size: 100% 2px;
                    background-image: linear-gradient(180deg, $theme-color 0%, $theme-color 100%);
                }
            }
        }

        .link-btn {
            color: $theme-color;
            margin-top: 25px;

            &:hover {
                color: $header-color;
            }
        }
    }

    &:hover {
        .thumb {
            img {
                &:first-child {
                    -webkit-transform: translateX(0) scaleX(1);
                    transform: translate(0) scaleX(1);
                    opacity: 1;
                    -webkit-filter: blur(0);
                    filter: blur(0);
                }

                &:nth-child(2) {
                    -webkit-transform: translateX(-50%) scaleX(2);
                    transform: translateX(-50%) scaleX(2);
                    opacity: 0;
                    -webkit-filter: blur(10px);
                    filter: blur(10px);
                }
            }
        }
    }

    &.news-box-style-9 {
        @include flex;
        gap: 30px;

        @include breakpoint (max-xl){
            gap: 20px;
        }

        @include breakpoint (max-md){
            gap: 30px;
            display: block;
        }

        @include breakpoint (max-md){
            gap: 20px;
        }

        .thumb {
            height: 261px;
            max-width: 261px;
            width: 100%;

            @include breakpoint (max-md){
                max-width: initial;
                margin-bottom: 20px;
            }
        }

        .post-date {
            @include breakpoint (max-lg){
                width: 65px;
                height: 73px;
                padding: 12px;
            }

            span {
                @include breakpoint (max-lg){
                   font-size: 30px;
                }
            }

            p {
                text-transform: uppercase;
            }
        }

        .content {
            margin-top: 0;
            padding: 0;
            padding-right: 22px;

            ul {
                @include breakpoint (max-xxl){
                    flex-wrap: wrap;
                    gap: 15px;
                }
            }

            h3 {
                @include breakpoint (max-xl){
                    font-size: 20px;
                }

                @include breakpoint (max-lg){
                    font-size: 22px;
                }

                @include breakpoint (max-md){
                    font-size: 20px;
                }
            }
        }
    }
}

.news-thumb-box-style-3 {
    position: relative;
    z-index: 9;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 12px;
    height: 638px;

    @include breakpoint (max-xxl){
        height: 573px;
    }

    &::before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        content: "";
        background: linear-gradient(180deg, rgba(2, 36, 35, 0.25) 0%, rgba(2, 36, 35, 0.88) 100%);
        border-radius: 12px;
        z-index: 11;
    }

    img {
        @include imgw;
        border-radius: 12px;
        position: relative;
        display: block;
        object-fit: cover;
        -webkit-transition: all 500ms ease;
        transition: all 500ms ease;


        &:first-child {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
            -webkit-transform: translateX(50%) scaleX(2);
            transform: translate(50%) scaleX(2);
            opacity: 0;
            -webkit-filter: blur(10px);
            filter: blur(10px)
        }
    }

    .news-content-area {
        position: absolute;
        z-index: 11;
        bottom: 35px;
        left: 30px;
        display: flex;
        gap: 22px;
        right: 30px;

        @include breakpoint (max-xl){
            flex-wrap: wrap;
        }

        .post-date {
            max-width: 88px;
            width: 100%;
            height: 91px;
            padding: 18px;
            text-align: center;
            background: rgba(255, 255, 255, 0.39);
            backdrop-filter: blur(42px);
            border-radius: 12px;

            span {
                color: $white;
                font-size: 36px;
                font-weight: 600;
                color: $white;
            }

            p {
                color: $white;
                font-weight: 400;
            }
        }

        .content {

            ul {
                display: flex;
                align-items: center;
                gap: 20px;

                li {
                    color: $white;

                    i {
                        margin-right: 6px;
                        color: $white;
                    }
                }
            }

            h3 {
                margin-top: 15px;
                font-size: 28px;

                @include breakpoint (max-sm){
                    font-size: 22px;
                }

                a {
                    color: $white;
                    background-position: 0 95%;
                    background-repeat: no-repeat;
                    background-size: 0% 2px;
                    display: inline;
                    
                    &:hover {
                        color: $white;
                        background-size: 100% 2px;
                        background-image: linear-gradient(180deg, $white 0%, $white 100%);
                    }
                }
            }

            p {
                margin-top: 13px;
                max-width: 420px;
                color: $white;
            }
        }
    }

    &:hover {
        img {
            &:first-child {
                -webkit-transform: translateX(0) scaleX(1);
                transform: translate(0) scaleX(1);
                opacity: 1;
                -webkit-filter: blur(0);
                filter: blur(0);
            }

            &:nth-child(2) {
                -webkit-transform: translateX(-50%) scaleX(2);
                transform: translateX(-50%) scaleX(2);
                opacity: 0;
                -webkit-filter: blur(10px);
                filter: blur(10px);
            }
        }
    }
}

.news-right-thumb-style-3 {
    margin-top: 30px;

    li {
        .news-thumb-items {
            @include flex;
            gap: 30px;
            background: $white;
            border: 1px solid #D9D9D9;
            border-radius: 12px;
            padding: 10px;

            @include breakpoint (max-xl){
                display: block;
            }

            .thumb {
                overflow: hidden;
                position: relative;
                border-radius: 12px;
                z-index: 99;

                 @include breakpoint (max-xl){
                    height: 260px;
                }

                img {
                    @include imgw;
                    border-radius: 12px;
                    position: relative;
                    display: block;
                    object-fit: cover;
                    -webkit-transition: all 500ms ease;
                    transition: all 500ms ease;

                    &:first-child {
                        position: absolute;
                        left: 0;
                        top: 0;
                        right: 0;
                        bottom: 0;
                        z-index: 1;
                        -webkit-transform: translateX(50%) scaleX(2);
                        transform: translate(50%) scaleX(2);
                        opacity: 0;
                        -webkit-filter: blur(10px);
                        filter: blur(10px)
                    }
                }
            }

            .content {
                max-width: 275px;

                 @include breakpoint (max-xl){
                    padding: 25px 20px;
                    max-width: initial;
                }

                ul {
                    display: flex;
                    align-items: center;
                    gap: 20px;

                     @include breakpoint (max-xl){
                        flex-wrap: wrap;
                        gap: 10px;
                    }

                    li {
                        &:not(:last-child) {
                            margin-bottom: 0;
                        }

                        i {
                            margin-right: 6px;
                            color: $theme-color;
                            font-size: 22px;
                        }
                    }
                }

                h3 {
                    margin-top: 10px;
                    font-size: 20px;
                    font-weight: 500;
                    line-height: 170%;

                    a {
                        background-position: 0 95%;
                        background-repeat: no-repeat;
                        background-size: 0% 2px;
                        display: inline;
                        
                        &:hover {
                            color: $theme-color;
                            background-size: 100% 2px;
                            background-image: linear-gradient(180deg, $theme-color 0%, $theme-color 100%);
                        }
                    }
                }

                p {
                    margin-top: 10px;
                }

                .link-btn {
                    color: $theme-color;
                    margin-top: 30px;

                    &:hover {
                        color: $header-color;
                    }
                }
            }

            &:hover {
                .thumb {
                    img {
                        &:first-child {
                            -webkit-transform: translateX(0) scaleX(1);
                            transform: translate(0) scaleX(1);
                            opacity: 1;
                            -webkit-filter: blur(0);
                            filter: blur(0);
                        }

                        &:nth-child(2) {
                            -webkit-transform: translateX(-50%) scaleX(2);
                            transform: translateX(-50%) scaleX(2);
                            opacity: 0;
                            -webkit-filter: blur(10px);
                            filter: blur(10px);
                        }
                    }
                }
            }
        }

        &:not(:last-child) {
            margin-bottom: 20px;
        }
    }
}

.news-section-3 {
    @include breakpoint (max-lg){
        padding-top: 0 !important;
    }


    &.style-6 {
        @include breakpoint (max-lg){
            padding-top: 80px !important;
        }
    }
}

.news-details-area {
    .blog-post-details {
        .single-blog-post {
            .post-featured-thumb {
                border-radius: 8px;
                
               img {
                    @include imgw;
                    border-radius: 8px;
               }
            }

            .post-content {
                margin-top: 30px;
    
                .post-list {
                    gap: 30px;
                    margin-bottom: 10px;
        
                    li {
                        font-size: 14px;
                        font-weight: 500;
        
                        i {
                            color: $theme-color;
                            margin-right: 5px;
                        }
                    }
                }
        
                h2 {
                    margin-bottom: 20px;
                    font-size: 42px;
        
                    @include breakpoint (max-sm){
                        font-size: 24px;
                    }
        
                    a {
                        &:hover {
                            color: $theme-color;
                        }
                    }
                }

                .hilight-text {
                    border-left: 4px solid $theme-color;
                    padding: 40px;
                    background-color: $bg-color;
                    border-radius: 8px;

                    p {
                        max-width: 650px;
                        font-weight: 500;
                        text-transform: capitalize;
                        font-style: italic;
                        line-height: 26px;
                    }

                    svg {
                        float: right;
                        margin-top: -30px;
                    }
                }

                .details-image {
                    img {
                        @include imgw;
                        border-radius: 8px;
                    }
                }
            }
        }

        .tag-share-wrap {
            border-top: 1px solid $border-color;
            border-bottom: 1px solid $border-color;
            padding: 30px 0;

            .tagcloud {
                a {
                    display: inline-block;
                    padding: 12px 26px;
                    line-height: 1;
                    background: $bg-color;
                    margin-right: 8px;
                    text-transform: capitalize;
                    font-weight: 500;
                    -webkit-transition: all 0.4s ease-in-out;
                    transition: all 0.4s ease-in-out;
                    border-radius: 4px;

                    @include breakpoint (max-sm){
                        margin-bottom: 5px;
                    }

                    &:hover {
                        background-color: $theme-color;
                        color: $white;
                    }
                }
            }

            .social-share {
                span {
                    font-size: 18px;
                    color: $header-color;
                    font-weight: 600;
                }

                a {
                    font-size: 18px;
                    color: $header-color;

                    &:not(:last-child){
                        margin-right: 10px;
                    }

                    &:hover {
                        color: $theme-color;
                    }
                }
            }
        }

        .comments-area {
            margin-top: 40px;
            padding: 50px 40px;
            background-color: $bg-color;
            border-radius: 8px;

            .comments-heading {
                margin-bottom: 30px;

                @include breakpoint (max-sm){
                   margin-bottom: 20px;
                }

                h3 {
                    font-size: 32px;
                    font-weight: 600;

                    @include breakpoint (max-sm){
                        font-size: 28px;
                    }
                }
            }

            .blog-single-comment {
                border-bottom: 1px solid rgba(5, 54, 53, 0.16);

                &.bb-none {
                    border: none;
                }

                @include breakpoint (max-sm){
                    flex-wrap: wrap;
                    gap: 20px;
                }

                .content {
                    .head {
                        .con {
                            h3 {
                                margin-bottom: 5px;
                                font-weight: 600;
                                font-size: 20px;
                            }
                        }
                        .star {
                            i {
                                color: $theme-color;
                                font-size: 14px;
                            }
                        }
                    }

                    .reply {
                        border-radius: 30px;
                        padding: 5px 15px;
                        font-weight: 400;
                        background-color: $white;
                        color: $theme-color;
                    }
                }
            }
            
        }

        .comment-form-wrap {
            background-color: $bg-color;
            border-radius: 8px;
             padding: 50px 40px;
             margin-top: 40px;
            h3 {
                font-size: 32px;
                margin-bottom: 30px;
                font-weight: 600;

                @include breakpoint (max-sm){
                    font-size: 28px;
                    margin-bottom: 20px;
                }
            }

            .form-clt {
                input,textarea {
                    width: 100%;
                    outline: none;
                    border: none;
                    background-color: $white;
                    border: none;
                    padding: 16px 20px;
                    font-weight: 500;
                    border-radius: 5px;

                    &::placeholder {
                        color: $text-color;
                    }

                }

                textarea {
                    padding-bottom: 100px;
                }
            }
        }
    }
}

.main-sideber {

    .single-sideber-widget {
        margin-bottom: 30px;
        background-color: #fff;
        padding: 30px;
        border-radius: 8px;

        .search-widget {
            form {
                width: 100%;
                position: relative;
        
                input {
                    background-color: #ECF0F0;
                    font-size: 18px;
                    font-weight: 400;
                    padding: 16px 20px;
                    width: 100%;
                    border: none;
                    color: $text-color;
                    border-radius: 6px;
                }
        
                button {
                    position: absolute;
                    right: -2px;
                    top: 0;
                    width: 58px;
                    border-radius: 6px;
                    font-size: 18px;
                    height: 100%;
                    background-color:$theme-color;
                    color: $white;
                    text-align: center;
                    transition: all .3s ease-in-out;
                    border-top-left-radius: 0;
                    border-bottom-left-radius: 0;
                    
                    &:hover {
                        background-color: $header-color;
                    }
                }
            }
        }

        .widget-title {
            margin-bottom: 20px;

            h3 {
                font-weight: 600;
                font-size: 22px;
            }
        }

        .amenities-list {
            li {
                @include flex;
                gap: 10px;
                font-size: 16px;
                font-weight: 500;

                &:not(:last-child){
                    margin-bottom: 20px;
                }
            }
        }
        
        .category-list {
             
            li {
                @include flex;
                justify-content: space-between;
                font-size: 16px;
                font-weight: 600;
                color: $header-color;
                @include transition;
                background-color: #ECF0F0;
                padding: 22px 25px;
                font-family: $heading-font;
                line-height: 1;
                text-transform: capitalize;
                border-radius: 8px;

                a {
                    color: $header-color;
                }

                i {
                    @include transition;
                    color: $header-color;
                }

                &:not(:last-child){
                    margin-bottom: 20px;
                }

                span {
                    b {
                        font-weight: 400;
                        color: $theme-color;
                    }
                }


                &:hover {
                    background-color: $theme-color;

                    a {
                        color: $white;
                    }

                    i,span {
                       color: $white;
                    }
                }
            }
        }

        .recent-post-area {

            .recent-items {
                @include flex;
                gap: 20px;

                .recent-thumb {
                    img {
                        border-radius: 8px;
                    }
                }

                &:not(:last-child){
                    margin-bottom: 20px;
                }

                .recent-content {

                    h4 {
                        margin-bottom: 5px;
                        font-weight: 500;
                        font-size: 17px;
                        line-height: 150%;
                        font-family: $heading-font;

                        a {
                            &:hover {
                                color: $theme-color;
                            }
                        }
                    }

                    ul {

                        li {
                            color: $text-color;
                            font-weight: 500;
                            font-size: 14px;
                        }
                    }
                }
            }
        }

        .tagcloud {
            a {
                display: inline-block;
                padding: 12px 18px;
                line-height: 1;
                font-weight: 500;
                font-size: 14px;
                background: #ECF0F0;
                font-family: $heading-font;
                margin-right: 10px;
                margin-bottom: 10px;
                text-transform: capitalize;
                border-radius: 4px;
                color: $header-color;

                &:last-child {
                margin-right: 0;
                }

                &:hover {
                    background-color: $theme-color;
                    color: $white;
                    }
                }
        }
    }
}

.news-standard-wrapper {

    .news-standard-items {

        .news-card-items-4 {
            margin-bottom: 30px;

            .news-image {
                overflow: hidden;
                border-radius: 12px;

                img {
                    @include imgw;
                    transform: scale(1.02);
                    transition: all 1.5s ease-out;
                    border-radius: 12px;
                }
            }

            .news-content {
        
                .date-list {
                    @include flex;
                    gap: 20px;
                    margin-top: 24px;
                    margin-bottom: 15px;
        
                    @include breakpoint (max-xl){
                        flex-wrap: wrap;
                        gap: 10px;
                    }
        
                    li {
                        i {
                            margin-right: 10px;
                        }
                    }
                }
        
                h2 {
                    margin-bottom: 10px;
                    font-size: 36px;
                    font-weight: 600;

                    @include breakpoint (max-xl) {
                        font-size: 30px;
                    }

                    @include breakpoint (max-sm) {
                        font-size: 25px;
                    }

                    a {
                        background-position: 0 95%;
                        background-repeat: no-repeat;
                        background-size: 0% 2px;
                        display: inline;
                        
                        &:hover {
                            color: $theme-color;
                            background-size: 100% 2px;
                            background-image: linear-gradient(180deg, $theme-color 0%, $theme-color 100%);
                        }
                    }
                }

                p {
                    max-width: 656px;
                }

                .theme-btn {
                    margin-top: 25px;
                }
            }

            &:hover {
                .news-image {
                    img {
                        -webkit-transform: scale3d(1.1, 1.1, 1);
                        transform: scale3d(1.1, 1.1, 1);
                    }
                }
            }
        }
    }
}

.style-news-22 {
    margin-top: -25px;

    @include breakpoint (max-xxl){
        margin-top: 0;
    }
}