/*----------------------------------------------
    # Blog Extra style here
----------------------------------------------*/
.news-wrapper {
    padding: 0 75px;

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

.single-news-items {
    margin-top: 30px;
    padding: 40px 20px;
    border: 1px solid $border-color;
    display: flex;
    align-items: center;
    gap: 30px;

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

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

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

    .news-image {
        height: 220px;
        width: 220px;
        flex-basis: 100%;
        position: relative;

        .post-date {
            position: absolute;
            top: 25px;
            left: 25px;
            background-color: $white;
            padding: 7px 10px;

            span {
                color: $title-color;
                font-weight: 600;
            }
        }
    }

    .news-content {
        h3 {
            margin-bottom: 10px;

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

        .theme-btn-2 {
            color: $theme-color;
        }
    }
}

.news-section-3 {
    margin-bottom: -50px;
}

.news-card-items {
    margin-top: 30px;

    .news-image {
        position: relative;

        .post-date {
            padding: 12px 24px;
            background-color: $theme-color;
            position: absolute;
            bottom: 40px;
            left: 0;

            h3 {
                font-weight: 700;
                font-size: 24px;
                color: $white;

                span {
                    font-weight: 400;
                    font-size: 16px;
                    color: $white;
                }
            }
        }
    }

    .news-content {
        padding: 30px;
        background-color: $white;
        position: relative;
        z-index: 9;
        margin-right: 40px;
        margin-top: -40px;

        ul {
            display: flex;
            gap: 50px;
            margin-bottom: 15px;

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

            li {
                font-size: 14px;
                font-weight: 500;

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

        h3 {
            font-weight: bold;
            margin-bottom: 5px;

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

    &.style-2 {
        padding-bottom: 50px;

        .news-image {
            position: relative;

            .post-date {
                position: absolute;
                top: 20px;
                left: 20px;
                bottom: initial;
            }
        }

        .news-content {
            margin: 0;

            ul {
                li {
                    font-size: 16px;
                }
            }
        }
    }

    &.style-3 {
        padding-bottom: 0;
        background-color: $white;
        box-shadow: none;

        .news-image {
            padding: 15px 15px 0 15px;

            .post-date {
                left: 30px;
                top: 30px;
            }
        }

        .content {
            box-shadow: none;
        }
    }
}

.news-standard-wrapper {
    .news-standard-items {
        border: 1px solid #E3E3E3;
        padding: 30px;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
        @include breakpoint (max-md) {
            padding: 18px;
        }

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

        .news-thumb {
            position: relative;

            img {
                width: 100%;
            }

            .post-date {
                position: absolute;
                top: 20px;
                left: 20px;
                display: flex;
                width: 59px;
                padding: 12px 16px;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 6px;
                border-radius: 8px;
                background: $theme-color;
                -webkit-border-radius: 8px;
                -moz-border-radius: 8px;
                -ms-border-radius: 8px;
                -o-border-radius: 8px;

                h3 {
                    color: $white;
                    font-family: $title-font;
                    text-align: center;
                    font-size: 24px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 22px;
                    margin-bottom: 0;

                    span {
                        color: $white;
                        font-family: $title-font;
                        text-align: center;
                        font-size: 14px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 22px;
                    }
                }
            }
        }

        .news-content {
            margin-top: 20px;
            position: relative;
            z-index: 9;

            ul {
                display: flex;
                align-items: center;
                gap: 50px;
                margin-bottom: 17px;
                list-style-type: none;
                padding-left: 0;

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

                li {
                    color: $title-color;
                    font-family: $title-font;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 22px;

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

            h3 {
                margin-bottom: 15px;

                a {
                    color: $title-color;
                    font-family: $title-font;
                    font-size: 30px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 32px;

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

                    @include breakpoint (max-md) { 
                        font-size: 25px; 
                        line-height: 30px;
                    }
                }
            }

            p {
                color: $text-color; 
                font-family: $body-font;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 28px;  

                @include breakpoint (max-md) {
                    font-size: 15px;
                    line-height: 25px;
                }
            }

            a {
                i {
                    margin-left: 5px;
                }
            }
        }
    }
}


.blog-details-area {
    .blog-post-details {
        .single-blog-post {
            .post-featured-thumb {
                height: 400px;
                border-radius: 10px;
                -webkit-border-radius: 10px;
                -moz-border-radius: 10px;
                -ms-border-radius: 10px;
                -o-border-radius: 10px;
                @include breakpoint (max-lg) {
                    height: 400px;
                }
            }

            .post-content {
                margin-top: 30px;

                .post-list {
                    gap: 30px;
                    margin-bottom: 20px;
                    border-bottom: 1px solid $border-color-2;
                    padding-bottom: 20px;
                    padding-left: 0;
                    list-style-type: none;
                    @media (max-width: 330px) {
                       gap: 4px;
                    }
                    li {
                        font-size: 14px;
                        font-weight: 500;

                        i,img {
                            color: $theme-color;
                            margin-right: 5px;
                        }
                        @include breakpoint (max-md) {
                            font-size: 12px;
                        }
                    }
                }

                h3 {
                    margin-bottom: 20px;
                    font-size: 32px;

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

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

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

                    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{
                        width: 100%;
                        border-radius: 10px;
                        -webkit-border-radius: 10px;
                        -moz-border-radius: 10px;
                        -ms-border-radius: 10px;
                        -o-border-radius: 10px;
}
                }
            }
        }

        .tag-share-wrap {
            border-top: 1px solid $border-color-2;
            border-bottom: 1px solid $border-color-2;
            padding: 20px 0;
            margin-top: 40px;

            .tagcloud {
                a {
                    display: inline-flex;
                    padding: 10px 16px;
                    color: $title-color;
                    font-family: $title-font;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 14px;
                    text-transform: capitalize;
                    background: $white;
                    margin-right: 5px; 
                    border: none; 
                    border: 1px solid #E6E5E5;
                    border-radius: 4px;
                    transition: all 0.3s ease 0s;
                    -webkit-border-radius: 4px;
                    -moz-border-radius: 4px;
                    -ms-border-radius: 4px;
                    -o-border-radius: 4px;
                    @include breakpoint (max-md) {
                        margin-bottom: 5px;
                    }

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

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

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

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

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

        .comments-area {
            margin-top: 40px; 

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

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

                h3 {
                    font-size: 32px;
                    font-weight: 500;
                    color: $title-color; 
                    font-family: $title-font;
                    font-size: 24px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 37px; 
                    margin-bottom: 0;

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

            .blog-single-comment {
                border-bottom: 1px solid $border-color-2;

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

                .content {
                    .head {
                        .con {
                            h5 {
                                margin-bottom: 0;
                                a{
                                    color: $title-color;
                                    font-family: $title-font;
                                    font-size: 20px;
                                    font-style: normal;
                                    font-weight: 600;
                                    line-height: 22px; 
                                    text-transform: capitalize;
                                    @include transition;
                                    &:hover{
                                        color: $theme-color-2;
                                    }
                                }
                            }
                        }

                        .btn {
                            a {
                                display: inline-flex;
                                padding: 5px 16px;
                                justify-content: center;
                                align-items: center;
                                border-radius: 50px;
                                background: $theme-color;  
                                color: $white;
                                &:hover{
                                    background: $title-color;
                                    color: $white!important;
                                }
                            }
                        }
                    }

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

        }

        .comment-form-wrap {
            h3 {
                font-size: 32px;
                margin-bottom: 30px;

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

            .form-clt {

                input,
                textarea {
                    width: 100%;
                    outline: none;
                    border: none;
                    background-color: transparent;
                    border: 1px solid $border-color-2;
                    padding: 16px 20px;
                    font-weight: 500;

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

                }

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