@use "../utilities" as *;

/**----------------------------------------
START: Blog Details CSS
----------------------------------------*/

.blog-details-wrap{}

.blog-details-img{
    width: 100%;
    height: 450px;
    img{
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: top;
    }
    @include breakpoint(md){
        height: 400px;
    }
    @include breakpoint(sm){
        height: 300px;
    }
}

.blog-details-content{
    @include breakpoint(md){
        margin-bottom: 40px;
    }
    .details-title{
        font-size: 30px;
        font-weight: 700;
        text-transform: capitalize;
        @include breakpoint(md){
            font-size: 24px;
        }
    }
    .details-img-wrap{
        @include flex-vertical-center;
        column-gap: 15px;
        flex-wrap: wrap;
        row-gap: 24px;
        img{
            max-width: 430px;
            width: 100%;
            @include breakpoint(lg){
                max-width: 280px;
            }
            @include breakpoint(md){
                max-width: 350px;
            }
        }
    }
    .blog-details-thumb{
        height: 350px;
        width: 100%;
        border-radius: 15px;
        img{
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
        @include breakpoint(sm){
            height: 300px;
        }
    }
}

// Blockquote

blockquote{
    background-color: var(--bz-color-grey-4);
    padding: 60px 50px;
    border-radius: 15px;
    @include breakpoint(sm){
        padding: 40px 20px;
    }
    .icon{
        background-color: var(--bz-color-theme-primary);
        color: var(--bz-color-common-white);
        font-size: 40px;
        height: 80px;
        width: 80px;
        @include flex-center;
        border-radius: 50%;
        margin-bottom: 30px;
        @include breakpoint(sm){
            padding: 30px 0;
        }
    }
    .content{
        p{
            font-family: var(--bz-ff-heading);
            color: var(--bz-color-heading-primary);
            font-size: 24px;
            font-weight: 500;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        .author{
            color: var(--bz-color-theme-primary);
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 0;
            position: relative;
            line-height: 1;
            margin-top: 30px;
            span{
                display: block;
                font-size: 16px;
                color: var(--bz-color-text-body);
                font-weight: 400;
                margin-top: 10px;
            }
        }
    }
}

.tags{
    @include flex-vertical-center;
    justify-content: space-between;
    column-gap: 30px;
    flex-wrap: wrap;
    row-gap: 30px;
    margin-bottom: 50px;
    .tag-left{
        @include flex-vertical-center;
        .follow{
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 0;
            margin-right: 20px;
        }
        .tag-list{
            list-style: none;
            @include flex-vertical-center;
            column-gap: 10px;
            flex-wrap: wrap;
            row-gap: 15px;
            li{
                a{
                    font-family: var(--bz-ff-heading);
                    color: var(--bz-color-text-body);
                    display: block;
                    font-size: 16px;
                    font-weight: 400;
                    &:hover{
                        color: var(--bz-color-theme-primary);
                    }
                }
            }
        }
    }
    .social-list-wrap{
        @include flex-vertical-center;
        column-gap: 20px;
        .follow{
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 0;
        }
        .social-list{
            @include flex-vertical-center;
            column-gap: 15px;
            list-style: none;
            li{
                &:not(:last-of-type){
                    margin-right: 0px;
                }
                a{
                    color: var(--bz-color-text-body);
                    font-size: 15px;
                    &:hover{
                        color: var(--bz-color-theme-primary);
                    }
                }
            }
        }
    }
}

.next-prev-wrap{
    @include flex-vertical-center;
    justify-content: space-between;
    column-gap: 30px;
    flex-wrap: wrap;
    row-gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--bz-color-border-1);
    border-bottom: 1px solid var(--bz-color-border-1);
    margin: 50px 0 0 0;
    .post-btn{
        margin-bottom: 0;
        a{
            color: var(--bz-color-text-body);
            font-size: 16px;
            font-weight: 600;
            column-gap: 10px;
            text-transform: uppercase;
            @include flex-vertical-center;
            column-gap: 20px;
            &:hover{
                color: var(--bz-color-theme-primary);
            }
            .icon{
                background-color: var(--bz-color-bg-1);
                color: var(--bz-color-common-white);
                height: 55px;
                width: 55px;
                @include flex-center;
                border-radius: 50%;
                border: 1px solid var(--bz-color-border-1);
                @include transition(all 0.3s ease-in-out);
                &:hover{
                    background-color: var(--bz-color-theme-primary);
                    color: var(--bz-color-common-white);
                    border: 1px solid var(--bz-color-theme-primary);
                }
            }
        }
    }
}

// Blog Auhtor

.blog-author-wrap{
    margin-bottom: 50px;
}

.blog-author-item{
    background-color: var(--bz-color-grey-4);
    padding: 30px;
    display: grid;
    align-items: center;
    grid-template-columns: 189px 1fr;
    grid-gap: 35px;
    border-radius: 15px;
    @include breakpoint(sm){
        grid-template-columns: 1fr;
        grid-gap: 25px;
        padding: 25px;
    }
    .author-img{
        max-width: 189px;
        height: 189px;
        width: 100%;
        border-radius: 15px;
        overflow: hidden;
        @include breakpoint(sm){
            max-width: 100%;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .content{
        .name{
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 20px;
            span{
                color: var(--bz-color-theme-primary);
                font-size: 16px;
                font-weight: 400;
                display: block;
                margin-top: 10px;
            }
        }
        p{
            margin-bottom: 0;
        }
        .social-list {
            @include flex-vertical-center;
            list-style: none;
            li {
                a {
                    background-color: var(--bz-color-common-white);
                    color: var(--bz-color-bg-1);
                    font-size: 13px;
                    height: 35px;
                    width: 35px;
                    border-radius: 50%;
                    display: block;
                    @include flex-center;
                    &:hover {
                        background-color: var(--bz-color-theme-primary);
                        color: var(--bz-color-common-white);
                    }
                }
                &:not(:last-of-type) {
                    margin-right: 10px;
                }
            }
        }
    }
}

// Comments Area

.comments-area{
    .section-heading{
        .section-title{
            font-size: 30px;
            @include breakpoint(md){
                font-size: 30px;
            }
            @include breakpoint(sm){
                font-size: 26px;
            }
        }
    }
}

.comment-item{
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 110px 1fr;
    grid-gap: 25px;
    @include breakpoint(sm){
        grid-template-columns: 1fr;
    }
    .reply{
        color: var(--bz-color-theme-primary);
        font-size: 16px;
        @include flex-vertical-center;
        column-gap: 10px;
        position: absolute;
        top: 0;
        right: 0;
        @include breakpoint(sm){
            position: inherit;
            top: 0;
            left: 0;
            margin-top: 20px;
        }
    }
    .comment-thumb{
        img{
            height: 100%;
            width: 110px;
            object-fit: cover;
            object-position: top;
        }
    }
    .comment-info{
        .comments-meta{
            margin-bottom: 10px;
            span{
                @include flex-vertical-center;
                column-gap: 10px;
            }
        }
        .author{
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        p{
            font-size: 16px;
            margin-bottom: 0;
        }
    }
    &.item-2{
        padding-left: 135px;
        @include breakpoint(sm){
            padding-left: 0;
        }
    }
    &:not(:last-of-type){
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--bz-color-border-1);
    }
}

// Blog Form

.blog-contact-form{
    background-color: var(--bz-color-grey-4);
    padding: 35px 40px;
    border-radius: 15px;
    @include breakpoint(sm){
        padding: 30px 20px;
    }
    .title{
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 25px;
        @include breakpoint(md){
            font-size: 24px;
        }
    }
    .request-form{
        .form-item{
            position: relative;
            .form-control{
                background-color: var(--bz-color-common-white);
                color: var(--bz-color-text-body);
                font-size: 16px;
                font-weight: 400;
                box-shadow: none;
                border: none;
                padding: 15.5px 30px;
                border-radius: 0;
                margin-bottom: 25px;
                width: 100%;    
                @include tp-placeholder{
                    color: var(--bz-color-text-body);
                    font-size: 16px;
                    font-weight: 400;
                }
                &.nice-select{
                    height: auto;
                    line-height: inherit;
                    padding: 15.5px 30px;
                    &:after{
                        top: 46%;
                        width: 10px;
                        height: 10px;
                        border-color: var(--bz-color-text-body);
                        border-bottom: 1px solid var(--bz-color-text-body);
                        border-right: 1px solid var(--bz-color-text-body);
                        right: 35px;
                    }
                    .list{
                        background-color: var(--bz-color-common-white);
                        width: 100%;
                        li{
                            padding-left: 30px;
                        }
                    }
                }
            }
            .icon{
                position: absolute;
                top: 50%;
                right: 30px;
                transform: translateY(-50%);
            }
            &.message-item{
                .icon{
                    top: 25px;
                }
            }
        }
    }
    .bz-primary-btn{
        width: 100%;
        justify-content: center;
    }
}

.sidebar-widget{
    &:not(:last-of-type){
        margin-bottom: 40px;
    }
    background-color: var(--bz-color-grey-4);
    padding: 40px;
    border-radius: 15px;
    @include breakpoint(sm){
        padding: 30px 20px;
    }
    .search-form{
        position: relative;
        border-radius: 5px;
        overflow: hidden;
        .form-control{
            background-color: var(--bz-color-common-white);
            color: var(--bz-color-text-body);
            font-size: 16px;
            border: none;
            border-radius: 0;
            box-shadow: none;
            padding: 15px 0;
            padding-left: 20px;
            padding-right: 72px;
            @include tp-placeholder{
                color: var(--bz-color-text-body);
                font-size: 16px;
            }
        }
        .search-btn{
            background-color: var(--bz-color-theme-primary);
            color: var(--bz-color-common-white);
            height: 100%;
            width: 55px;
            position: absolute;
            right: 0px;
            top: 50%;
            transform: translateY(-50%);
            display: block;
            border-radius: 5px;
        }
    }
    .widget-title{
        color: var(--bz-color-heading-primary);
        font-size: 24px;
        font-weight: 600;
        display: inline-block;
        margin-bottom: 30px;
    }
    .category-list{
        list-style: none;
        li{
            &:not(:last-of-type){
                margin-bottom: 20px;
                padding-bottom: 20px;
                border-bottom: 1px solid #DADFEC;
            }
            a{
                color: var(--bz-color-heading-primary);
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: 16px;
                &:not(:last-of-type){
                    margin-bottom: 20px;
                    border-bottom: 1px solid var(--bz-color-border-1);
                }
                i{
                    color: var(--bz-color-theme-primary);
                }
                &:hover{
                    color: var(--bz-color-theme-primary);
                    i{
                        color: var(--bz-color-theme-primary);
                    }
                }
            }
        }
    }
    .blog-gallery-wrap{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-gap: 10px;
        @include breakpoint(xl){
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(3, 1fr);
        }
        @include breakpoint(md){
            display: flex;
            align-items: center;
            column-gap: 10px;
            row-gap: 10px;
            flex-wrap: wrap;
        }
        .gallary-img{
            height: 95px;
            width: 95px;
        }
    }
    .tags{
        display: flex;
        align-items: center;
        justify-content: start;
        flex-wrap: wrap;
        row-gap: 20px;
        list-style: none;
        column-gap: 0;
        margin: 0;
        li{
            &:not(:last-of-type){
                margin-right: 10px;
            }
            a{
                background-color: var(--bz-color-common-white);
                font-family: var(--bz-ff-body);
                color: var(--bz-color-heading-primary);
                font-size: 14px;
                font-weight: 600;
                padding: 10px 20px;
                border-radius: 30px;
                &:hover{
                    background-color: var(--bz-color-theme-primary);
                    color: var(--bz-color-common-white);
                }
            }
        }
    }
    .sidebar-post{
        display: grid;
        align-items: center;
        grid-template-columns: 77px 1fr;
        grid-gap: 0px;
        &:not(:last-of-type){
            margin-bottom: 20px;
        }
        img{
            width: 77px;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }
        .post-content{
            padding-left: 20px;
            @include breakpoint(sm){
                padding-left: 10px;
            }
            .post-meta{
                @include flex-vertical-center;
                column-gap: 20px;
                flex-wrap: wrap;
                row-gap: 5px;
                margin-bottom: 5px;
                @include breakpoint(sm){
                    column-gap: 5px;
                }
                li{
                    font-size: 14px;
                    font-weight: 500;
                    display: flex;
                    align-items: center;
                    column-gap: 10px;
                    text-transform: capitalize;
                    @include breakpoint(sm){
                        font-size: 13px;
                    }
                }
            }
            .title{
                font-size: 16px;
                margin-bottom: 0px;
                font-weight: 600;
                text-transform: capitalize;
                line-height: 1.4;
                @include breakpoint(sm){
                    font-size: 14px;
                }
                a{
                    &:hover{
                        color: var(--bz-color-theme-primary);
                    }
                }
            }
        }
    }
}

/* !END: Theme Blog Details CSS */
