.article-blog-item {
    .image-wrap {
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        margin-bottom: 25px;
        a {
            width: 100%;
            height: 100%;
        }
        img {
            width: 100%;
            object-fit: cover;
        }
    }
    .date-time {
        background-color: var(--Primary);
        text-align: center;
        position: absolute;
        z-index: 1;
        top: 0;
        padding: 10px 13.5px;
        border-radius: 0px 0px 12px 0px;
        p {
            color: var(--White);
            font-size: 16px;
            line-height: 24px;
            font-weight: 600;
        }
    }
    .sub {
        text-transform: uppercase;
        letter-spacing: 0.8px;
        font-weight: 600;
        font-size: 14px;
        line-height: 22px;

        margin-bottom: 8px;
        a {
            color: var(--Color-3);
            &:hover {
                color: var(--Secondary);
            }
        }
    }
    .title {
        margin-bottom: 8px;
        a {
            display: inline;
            @include transition3();
            background-image: -webkit-gradient(
                linear,
                left top,
                left bottom,
                from(currentColor),
                color-stop(98%, currentColor)
            );
            background-image: linear-gradient(
                to bottom,
                currentColor 0%,
                currentColor 98%
            );
            background-size: 0 1px;
            background-repeat: no-repeat;
            background-position: left 100%;
        }
    }
    .tf-btn-link {
        margin-top: 24px;
    }
    &.h-400 {
        .image-wrap {
            img {
                height: 400px;
                object-fit: cover;
            }
        }
    }
    &.style-2 {
        height: 100%;
        padding: 20px 20px 10px;
        border-radius: 16px;
        border: 1px solid var(--Outline);
        text-align: center;
        @include transition3();
        &:hover {
            box-shadow: 0px 10px 25px rgba(54, 95, 104, 0.1);
        }
    }
    &:hover {
        .title {
            a {
                background-size: 100% 1px;
            }
        }
    }
}
/*section-blog-grid
------------------------------------------------------------------------------*/
.section-blog-grid {
    .grid-layout-3 {
        gap: 39px 30px;
        margin-bottom: 39px;
    }
}
/*section-blog-details
------------------------------------------------------------------------------*/
.section-blog-post {
    .heading-blog {
        margin-bottom: 42px;
        .tag {
            display: inline-block;
            padding: 5px 20px;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            font-weight: 600;
            background-color: var(--Color-1);
            border-radius: 40px;
            margin-bottom: 16px;
        }
        .title {
            margin-bottom: 16px;
        }
        .meta {
            @include d-flex();
            gap: 33px;
            .meta-item {
                @include d-flex();
                align-items: center;
                gap: 8px;
                i {
                    font-size: 20px;
                }
                &:not(:last-child) {
                    position: relative;
                    &::after {
                        position: absolute;
                        content: "";
                        width: 1px;
                        height: 16px;
                        background-color: var(--Outline);
                        right: -17px;
                    }
                }
            }
        }
    }
    .content-inner {
        margin-bottom: 40px;
    }
    .main-image {
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 40px;
        width: 100%;
    }
    .wrap-paragrahp {
        margin-bottom: 40px;
    }
    .group-image {
        @include d-flex();
        gap: 19px;
        margin-bottom: 40px;
        .image-wrap {
            border-radius: 8px;
            overflow: hidden;
            width: 100%;
        }
    }
    .content-list {
        margin-bottom: 16px;
        padding-left: 28px;
        li {
            font-size: 18px;
            line-height: 30px;
            position: relative;
            &::before {
                position: absolute;
                content: "•";
                left: -19px;
            }
            &:not(:last-child) {
                margin-bottom: 12px;
            }
        }
    }
    .wrap-tag {
        @include flex(center, space-between);
        margin-bottom: 40px;
        flex-wrap: wrap;
        gap: 10px 25px;
        .tags {
            p {
                display: inline;
                margin-right: 1px;
            }
            a {
                font-size: 14px;
                line-height: 22px;
            }
        }
        .wrap-social {
            @include d-flex();
            align-items: center;
            gap: 16px;
        }
    }
    .next-blog {
        @include d-flex();
        justify-content: space-between;
        position: relative;
        padding: 28px 0 25px;
        border-top: 1px solid var(--Outline);
        border-bottom: 1px solid var(--Outline);
        margin-bottom: 40px;
        &::after {
            position: absolute;
            content: "";
            width: 1px;
            height: 90px;
            background-color: var(--Outline);
            left: 50%;
            transform: translateX(-50%);
        }
        a {
            text-transform: uppercase;
            color: var(--Four);
            font-weight: 600;
            margin-bottom: 10px;
            &:hover {
                color: var(--Primary);
            }
        }
        .previous,
        .next {
            max-width: 385px;
        }
        .next {
            text-align: end;
        }
        .title {
            a {
                color: var(--Primary);
                &:hover {
                    color: var(--Secondary);
                }
            }
        }
    }

    &.blog-details-2 {
        position: relative;
        max-width: 970px;
        margin: -63px auto 0;
        padding: 60px 44px 0 46px;
        border-radius: 16px;
        position: relative;
        z-index: 1;
        background-color: var(--White);
        .heading-blog {
            text-align: center;
            .meta {
                justify-content: center;
            }
        }
    }
}
.comment-list-wrap {
    margin-bottom: 40px;
    .comment-list {
        > li {
            &:not(:last-child) {
                margin-bottom: 24px;
            }
        }
    }
    .title {
        margin-bottom: 24px;
    }
    .comment-blog {
        .author {
            @include d-flex();
            align-items: center;
            gap: 16px;
            margin-bottom: 12px;
        }
        .avatar {
            height: 52px;
            width: 52px;
            overflow: hidden;
            border-radius: 999px;
            flex: none;
            img {
                object-fit: cover;
            }
        }
        .meta {
            @include d-flex();
            align-items: center;
            gap: 25px;
            li {
                &:not(:last-child) {
                    position: relative;
                    &::after {
                        position: absolute;
                        content: "";
                        width: 8px;
                        height: 1px;
                        top: 50%;
                        right: -16px;
                        background-color: var(--Outline);
                    }
                }
            }
        }
        .name {
            letter-spacing: 0.3px;
        }
        .time {
            color: var(--Color-3);
        }
        .comments {
            margin-bottom: 12px;
            line-height: 26px;
        }
        .comment-reply {
            @include d-flex();
            align-items: center;
            gap: 4px;
            font-weight: 600;
            font-size: 16px;
            line-height: 24px;
        }
    }
    .parent {
        margin-bottom: 24px;
    }
    .children {
        padding: 20px 24px;
        margin-top: 24px;
        background-color: var(--Color-1);
        border-radius: 8px;
    }
}
.section-blog-news {
    .heading-blog {
        margin-bottom: 40px;
        .title {
            margin-bottom: 12px;
        }
    }
    .grid-layout-3 {
        gap: 30px;
    }
    &.blog-details-2 {
        .heading-blog {
            text-align: center;
            .meta {
                justify-content: center;
            }
        }
    }
}
.tf-siderbar {
    max-width: 360px;
    margin-left: auto;
    position: sticky;
    top: 20px;
    .sidebar-title {
        margin-bottom: 20px;
    }
    .article-blog-item {
        margin-bottom: 20px;
        .image-wrap {
            img {
                width: 100%;
                height: 240px;
                object-fit: cover;
            }
        }
        .sub {
            margin-bottom: 7px;
        }
    }
    .list-post {
        .box-listings {
            padding-top: 19px;
            border-top: 1px solid var(--Outline);
            &:not(:last-child) {
                margin-bottom: 19px;
            }
        }
    }
}
.box-listings {
    @include d-flex();
    align-items: center;
    gap: 28px;
    .image-wrap {
        flex: none;
        max-width: 112px;
        border-radius: 8px;
        overflow: hidden;
        a {
            width: 100%;
            height: 100%;
        }
    }
    .meta {
        @include d-flex();
        align-items: center;
        gap: 21px;
        margin-bottom: 8px;
        li {
            text-transform: uppercase;
            letter-spacing: 0.08rem;
            color: var(--Color-3);
            font-weight: 600;
            font-size: 14px;
            line-height: 22px;
            a {
                color: var(--Color-3);
                &:hover {
                    color: var(--Secondary);
                }
            }
            &:not(:last-child) {
                position: relative;
                &::after {
                    position: absolute;
                    content: "";
                    width: 1px;
                    height: 12px;
                    background-color: var(--Outline);
                    top: 50%;
                    transform: translateY(-50%);
                    right: -12px;
                }
            }
        }
    }
}
.wrap-share {
    position: absolute;
    top: 295px;
    left: -43px;
    p {
        margin-bottom: 14px;
        font-weight: 600;
    }
    .tf-social {
        flex-direction: column;
    }
}
