.blog-item {
    &:hover {
        .tx-item {
            &--image a img {
                @include transform(scale(1.06));
            }    
        }        
    }
    .tx-item {
        &--image {
            position: relative;
            height: 320px;
            @include border-radius(150px 0 0 0 );
            overflow: hidden;
            @include border-radius(80px 0 0 0);
            @include respond(lg) {
                height: 260px;
            }
            @include respond(md) {
                height: 190px;
            }
            &::before {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 4px;
                background-color: var(--color-primary);
                content: "";
                z-index: 1;
            }
            a img {
                height: 100%;
                object-fit: cover;
                width: 100%;
                @include transform(scale(1));
                @include transition(.5s);
            }
            &--2 {
                @include border-radius(0 150px 0 0 );
                @include respond(md) {
                    @include border-radius(0 80px 0 0);
                }
            }
        }
        &--author {
            position: absolute;
            bottom: 0;
            left: 27px;
            z-index: 1;
            flex-wrap: nowrap;
        }
        &--avatar {
            width: 73px;
            height: 68px;
        }
        &--author-text {
            font-size: 14px;
            color: var(--color-white);
            text-transform: uppercase;
            line-height: 20px;
            padding-left: 19px;
            a {
                color: var(--color-white);
            }
        }
        &--holder {
            padding: 20px 0 0 24px;
        }
        &--date {
            font-size: 12px;
            text-transform: uppercase;
            color: var(--color-primary);
            display: inline-block;
            font-weight: 700;
        }
        &--title {
            font-size: 26px;
            @include border-radius(21px);
            @include respond(md) {
                font-size: 21px;
            }
            a {
                color: var(--color-heading);
            }
        }
    }
}
.blog {
    .pl-30 {
        @include respond(lg) {
            padding-left: 0;
        }
    }
    .pr-30 {
        @include respond(lg) {
            padding-right: 0;
        }
    }
    &__shape {
        position: absolute;
        bottom: -150px;
        left: 0;
    }
    &__pb {
        padding-bottom: 265px;
    }
    &__post-wrap {
        margin-right: -25px;
        @include respond(md) {
            margin-right: 0;
        }
    }
    &__post-item {
        padding: 30px;
        background-color: #F7F7F7;
        @include border-radius(10px);
        @include respond(xs) {
            padding: 25px 15px;
        }
        &:hover {
            .post-thumb img {
                @include transform(scale(1));
            }
            .post-title a {
                background-size: 100% 100%;
            }
        }
        .post-thumb {
            overflow: hidden;
            margin-bottom: 30px;
            position: relative;
            img {
                width: 100%;
                @include transition(.3s);
                @include transform(scale(1.04));
            }
        }
        .post-meta {
            a {
                font-size: 16px;
                color: var(--color-black);
                position: relative;
                &:not(:last-child) {
                    margin-right: 16px;
                    padding-right: 20px;
                    &::before {
                        position: absolute;
                        top: 50%;
                        right: 0;
                        @include transform(translate(-50%, -50%));
                        content: "";
                        width: 1px;
                        height: 20px;
                        background-color: #E6E6E6;
                    }
                }
                i {
                    margin-right: 10px;
                    color: var(--color-primary);
                }
            }
        }
        .post-title {
            font-size: 30px;
            color: var(--color-black);
            margin-bottom: 20px;
            @include respond(xs) {
                font-size: 24px;
            }
            a {
                color: inherit;
            }
        }
        .post-btn {
            font-size: 16px;
            margin-top: 15px;
            display: inline-block;
            color: var(--color-primary);
            text-transform: uppercase;
            font-weight: 600;
            &:hover i {
                margin-left: 12px;
            }
            i {
                margin-left: 10px;
               @include transition(.3s);
               display: inline-block;
               @include transform(translateY(1px));
            }
        }
    }
}
.blog__slide {
    margin: 0 -20px;
    padding: 0 20px;
    margin-bottom: -50px;
    .swiper-slide {
        opacity: 0;
        @include transition(.3s);
        &.swiper-slide-active,
        &.swiper-slide-next {
            opacity: 1;
        }
    }
}
.blog-single {
    .tx-item {
        &--inner {
            box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.06);
            background-color: var(--color-white);
            margin-bottom: 50px;

        }
        &--image {

        }
        &--holder {
            padding: 50px;
            padding-right: 30px;
        }
        &--meta {
            li {
                font-size: 16px;
                color: #8799a3;
                &:not(:last-child) {
                    margin-right: 22px;
                }
                a {
                    color: inherit;
                    &:hover {
                        color: var(--color-primary-2);
                    }
                }
                i {
                    margin-right: 7px;
                    font-size: 14px;
                }
            }
        }
        &--title {
            font-size: 32px;
            font-weight: 500;
            color: #252525;
            line-height: 35px;
            margin-bottom: 7px;
            a {
                color: inherit;
            }
        }
        &--content {
            
        }
       
    }
}

.blog-nav {
    display: flex;
    align-items: center;
    position: absolute;
    right: 8px;
    top: -56px;
    .blog-nav-item {
        position: relative;
        z-index: 1;
        width: 32px;
        height: 32px;
        background-color: #eeefef;
        display: flex;
        align-items: center;
        justify-content: center;
        @include border-radius(50%);
        font-size: 25px;
        color: var(--color-black);
        i {
            @include transition(.3s);
        }
        &.blog-button-prev {
            margin-right: 12px;
            i {
                @include transform(translateX(-13px));
            }
            &:hover i {
                @include transform(translateX(-17px)); 
            }
        }
        &.blog-button-next {
            i {
                @include transform(translateX(13px));
            }
            &:hover i {
                @include transform(translateX(17px));
            }
        }
    }
}
.blog-swiper-pagination {
    left: 50%;
    @include transform(translateX(-50%));
    bottom: 0;
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        @include border-radius(0);
        background-color: #626262;
        opacity: 1;
        &.swiper-pagination-bullet-active {
            background-color: var(--color-primary-2);
        }
        &:not(:last-child) {
            margin-right: 5px;
        }
    }
}

blockquote {
    background-color: rgba(44, 26, 78, 0.05);
    padding: 40px;
    padding-right: 130px;
    border-left: 3px solid var(--color-primary);
    font-size: 20px;
    font-weight: 500;
    line-height: 38px;
    color: var(--color-black);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    @include respond(lg) {
        font-size: 18px;
        line-height: 30px;
        padding-right: 120px;
    }
    @include respond(xs) {
        font-size: 17px;
        padding: 30px;
    }
    .quote {
        position: absolute;
        right: 40px;
        bottom: 34px;
        z-index: -1;
        max-width: 100px;
        @include respond(lg) {
            width: 60px;
        }
        @include respond(xs) {
            width: 50px;
        }
    }
    span {
        font-size: 16px;
        color: #332D2D;
        padding-left: 30px;
        position: relative;
        font-family: var(--font-body);
        display: block;
        margin-top: 6px;
        @include respond(xs) {
            font-size: 15px;
            margin-top: 10px;
        }
        &::before {
            position: absolute;
            top: 50%;
            @include transform(translateY(-50%));
            left: 0;
            width: 20px;
            height: 2px;
            background-color: currentColor;
            content: "";
        }
    }
}
.post-details {
    h2 {
        font-size: 32px;
        margin-bottom: 25px;
        @include respond(xs) {
            font-size: 24px;
        }
    }
    h3 {
        font-size: 28px;
        margin-bottom: 20px;
        @include respond(xs) {
            font-size: 22px;
        }
    }
    p {
        &:not(:last-child) {
            margin-bottom: 25px;
        }
    }
}
.video {
    .caption {
        text-align: center;
        font-style: italic;
        font-size: 16px;
        color: #807A7A;
        margin-top: 15px;
        display: block;
        font-weight: 500;
    }
}


.post-tags-share {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .title {
        font-size: 20px;
        font-weight: 500;
        margin-right: 20px;
        font-family: var(--font-body);
        margin-top: 20px;
    }
    .tags {
        ul {
            margin-top: 10px;
            li {
                margin-top: 10px;
                &:not(:last-child) {
                    margin-right: 16px;
                }
                a {
                    @include border-radius(3px);
                    padding: 3px 18px;
                    display: inline-block;
                    border: 1px solid rgba(44, 26, 78, 0.05);
                    color: var(--color-default);
                    font-size: 12px;
                    font-weight: 500;
                    color: #949392;
                    line-height: 26px;
                    position: relative;
                    &:hover {
                        color: #fff;
                        background-color: var(--color-primary);
                        border-color: var(--color-primary);
                    }
                }   
            }
        }
    }
    .social-share {
        ul {
            margin-top: 10px;
            li {
                margin-top: 10px;
                &:not(:last-child) {
                    margin-right: 12px;
                }
                a {
                    @include border-radius(3px);
                    width: 40px;
                    height: 38px;
                    color: #4A4C51;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    position: relative;
                    &::before {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background-color: rgba(44, 26, 78, 0.05);
                        content: "";
                        z-index: -2;
                        @include border-radius(3px);
                    }
                    &:hover {
                        color:var(--color-primary);
                        
                    }
                }
            }
        }
    }
}

/* comment css */
.post-comments {
    padding-bottom: 55px;
    .title {
        font-size: 26px;
        margin-bottom: 25;
        font-weight: 500;
        font-family: var(--font-body);
    }
}
.latest__comments {
    .comments-box {
        border-top: 1px solid var(--color-border-2);
        padding: 30px 0;
    }
    .comments-text {
        overflow: hidden;
    }
    .comments-avatar {
        border-radius: 50%;
        float: left;
        @include respond(xs) {
            float: none;
            margin-bottom: 10px;
        }
        @include respond(sm) {
            float: left;
            margin-bottom: 0px
        }
        img {
            border-radius: 50%;
            width: 100px !important;
            margin-right: 30px;
        }
    }
    li {
        &:last-child .comments-box {
            padding-bottom: 0px;
        }
        &:first-child .comments-box {
            border-top: 0;
            padding-top: 0;
        }
        &.children {
            margin-left: 100px;
            @include respond(xs) {
                margin-left: 0px;
            }
            @include respond(sm) {
                margin-left: 50px;
            }
        }
    }

    .avatar-name {
        margin-bottom: 15px;
        overflow: hidden;
        position: relative;
        h5 {
            font-size: 18px;
            margin-bottom: 0px;
            font-weight: 500;
            font-family: var(--font-body);
        }
        span {
            font-size: 15px;
            color: var(--color-default);
        }
    }
    p {
        font-size: 18px;
        line-height: 30px;
    }
    .reply {
        color: var(--color-black);
        display: inline-block;
        font-size: 14px;
        font-weight: 400;
        @include transition(.3s);
        line-height: 1;
        position: absolute;
        right: 0;
        margin-top: 0;
        top: 0;
        text-decoration: none;
        i {
            margin-right: 5px;
        }
        &:hover {
            color: var(--color-primary);
        }
    }
    &--2 {
        p {
            font-size: 14px;
            line-height: 24px;
            color: var(--color-black);
        }
    }
}
.comments-form {
    padding: 30px;
    @include border-radius(40px);
    background-color: #F7F7F7;
    @include respond(lg) {
        padding: 30px;
    }
    @include respond(xs) {
        padding: 15px;
    }
   
    .title {
        font-size: 26px;
        margin-bottom: 30px;
        font-weight: 500;
        font-family: var(--font-body);
    }
    .contact-form__comments {
        input, textarea {
            background-color: var(--color-white);
        }
    }
}
.blog-single2 {
    border: 2px solid #f6f6f6;
    &:hover {
        .tx-item {
            &--thumb img {
                @include transform(scale(1.06));
            }
        }
    }
    .tx-item {
        &--thumb {
            overflow: hidden;
            img {
                width: 100%;
                @include transition(.3s);
            }
        }
        &--holder {
            padding: 0 45px;
        }
        &--date {
            background-color: var(--color-primary);
            display: inline-block;
            font-size: 30px;
            font-weight: 800;
            color: var(--color-white);
            padding: 13px 17px;
            z-index: 1;
            position: relative;
            line-height: 23px;
            clip-path: polygon(13% 0, 100% 0, 92% 100%, 0% 100%);
            top: -8px;
            margin-top: -48px;
            margin-bottom: 14px;
            span {
                font-size: 13px;
            }
        }
        &--title {
            font-size: 25px;
            color: #182022;
            margin-bottom: 24px;
            &:hover {
                color: var(--color-primary);
            }
            a {
                color: inherit;
            }
        }
        &--author {
            background-color: #eaeaea;
            padding: 4px 17px;
            display: inline-block;
            font-size: 13px;
            color: #2d2a2a;
            font-weight: 700;
            clip-path: polygon(6% 0, 100% 0, 94% 100%, 0% 100%);

        }
    }
}