.category-title {
    background-color: rgba(0,0,0,.7);
    color: #fff;
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    line-height: 13px;
    padding: 3px 7px;
    pointer-events: auto;
    vertical-align: top;
    border-radius: 4px;
}

    .category-title:hover {
        background-color: #f02c2c;
        border-color: #f02c2c;
        color: #fff;
    }

.header {
    top: 0
}

.post-category {
    color: #111;
    margin: 0 0 10px 0
}

.post-category__title {
    
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    margin: -9px 0 19px;
    text-transform: uppercase
}

.post-category__list {
    display: inline-block;
    line-height: 1;
    list-style: none;
    margin-bottom: 10px;
    margin-top: 0;
    max-width: 100%;
    overflow-x: auto;
    vertical-align: top;
    white-space: nowrap;
}

.post-category__list--item {
    display: inline-block;
    line-height: 1;
    margin: 0 5px 5px 0;
    opacity: 1;
    transition: opacity .2s ease 0s
}

    .post-category__list--item a {
        background-color: transparent;
        border: 1px solid #eaeaea;
        color: #222;
        display: inline-block;
        padding: 6px 10px;
        white-space: nowrap;
        border-radius:4px;
    }

        .post-category__list--item a.active, .post-category__list--item a:hover {
            background-color: #f02c2c;
            border-color: #f02c2c;
            color: #fff
        }

.post-hot {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 48px
}

    .post-hot .block {
        max-height: 451px;
        overflow: hidden;
        width: calc(50% - 5px)
    }

.post-hot__left {
    flex: 0 0 calc(50% - 30px);
    margin-right: 30px;
    border-radius:12px;
    overflow:hidden;
}

.post-hot__left--item, .post-hot__left--item img {
    height: 100%
}

.post-hot .item {
    display: flex;
    position: relative
}

    .post-hot .item .thumbnail {
        flex: 0 0 100%;
        max-height: 462px;
        overflow: hidden;
    }

        .post-hot .item .thumbnail a {
            display: block;
            height: 100%;
            line-height: 0
        }

            .post-hot .item .thumbnail a .image {
                height: 100%;
                width: 100%
            }

    .post-hot .item .infor {
        bottom: 0;
        pointer-events: none;
        position: absolute;
        width: 100%;
        z-index: 1;
        background:rgba(0,0,0,0.3)
    }

    .post-hot .item .infor__content {
        color: #fff;
        font-size: 27px;
        margin: 0 20px 11px;
        pointer-events: none;
        width: auto
    }

    .post-hot .item .infor__content--category {
        text-transform: uppercase
    }

        .post-hot .item .infor__content--category:hover {
            background-color: #f02c2c
        }

    .post-hot .item .infor__content--meta {
        margin: 11px 0 20px;
        min-height: 0;
        z-index: 1
    }

        .post-hot .item .infor__content--meta .date {
            display: inline-block;
            font-size: 11px;
            position: relative;
            text-shadow: 1px 1px 1px rgba(0,0,0,.3)
        }

            .post-hot .item .infor__content--meta .date span {
                color: #fff
            }

    .post-hot .item .infor__content h3 {
        font-size: 24px
    }

        .post-hot .item .infor__content h3 a {
            color: #fff
        }

    .post-hot .item:hover .image {
        transform: scale3d(1.1,1.1,1);
        transition: transform .3s ease,opacity .3s
    }

.post-hot__right {
    flex: calc(50% - 10px) 0 0
}

    .post-hot__right .item {
        overflow: hidden;
        border-radius:12px;
    }

        .post-hot__right .item .thumbnail {
            max-height: 226px
        }

        .post-hot__right .item .thumbnail__image {
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
            width: 100%
        }

        .post-hot__right .item:last-child {
            margin-top: 10px
        }

.post-list {
    display: flex;
    flex-wrap: wrap;
    min-height: 1px;
    position: relative
}

.post-list__item {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    font-family: Open Sans,arial,sans-serif;
    padding-bottom: 40px
}

.post-list__item--thumbnail {
    flex: 0 0 250px;
    height: 150px;
    border-radius:8px;
    overflow:hidden;
}

    .post-list__item--thumbnail a {
        display: block;
        height: 100%;
        line-height: 0
    }

        .post-list__item--thumbnail a .image {
            height: 100%;
            width: 100%;
            object-fit:cover;
        }

.post-list__item--infor {
    flex: 0 0 calc(100% - 270px);
    margin-left: 20px
}

    .post-list__item--infor .post-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 5px;
        margin-top: 0
    }

    .post-list__item--infor .infor-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        font-size: 11px;
        line-height: 1;
        margin-bottom: 7px;
        min-height: 17px;
        gap:5px;
    }

    .post-list__item--infor .infor-meta__date {
        color: #aaa;
        display: flex;
        align-items:center;
        gap:3px;
        position: relative
    }

        .post-list__item--infor .infor-meta__date span {
            color: #6b7280;
            font-size: 13px;
        }

        .post-list__item--infor .infor-desc {
            color: #777;
            margin-top: 9px
        }

        .post-list__item--infor .infor-desc p {
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            line-height: 21px;
            overflow: hidden;
            text-overflow: ellipsis
        }

.post-footer {
    background-color: #222;
    color: #eaeaea;
    padding-bottom: 20px;
    padding-top: 54px;
    position: relative
}

.infor-desc p {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height:1.5;
}

.post-footer .sidebar-block {
    margin-bottom: 48px;
    max-height: 324px;
    overflow: hidden
}

.post-footer .sidebar-block__title {
    border-bottom: none;
    margin-bottom: 30px
}

    .post-footer .sidebar-block__title .title {
        background-color: unset;
        font-weight: 700;
        padding: 7px 12px 4px 0
    }

.post-footer .sidebar-block__posts--item {
    max-height: 100px;
    overflow: hidden
}

    .post-footer .sidebar-block__posts--item:first-child .thumbnail {
        flex: 0 0 100px;
        margin-bottom: 0;
        max-height: 70px
    }

        .post-footer .sidebar-block__posts--item:first-child .thumbnail .block {
            display: block;
            line-height: 0
        }

            .post-footer .sidebar-block__posts--item:first-child .thumbnail .block .image {
                height: 100%;
                width: 100%
            }

    .post-footer .sidebar-block__posts--item:first-child .details {
        margin-left: 15px;
        width: calc(100% - 115px)
    }

    .post-footer .sidebar-block__posts--item:first-child .details__title {
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .post-footer .sidebar-block__posts--item:first-child .details .infor-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        font-size: 11px;
        line-height: 1;
        min-height: 17px
    }

        .post-footer .sidebar-block__posts--item:first-child .details .infor-meta .category-title {
            background-color: rgba(0,0,0,.7);
            color: #fff;
            display: inline-block;
            font-size: 10px;
            font-weight: 500;
            line-height: 10px;
            padding: 3px 7px;
            pointer-events: auto;
            vertical-align: top
        }

            .post-footer .sidebar-block__posts--item:first-child .details .infor-meta .category-title:hover {
                background-color: #f02c2c;
                border-color: #f02c2c;
                color: #fff
            }

    .post-footer .sidebar-block__posts--item:first-child .details .infor-meta__date {
        color: #aaa;
        display: flex;
        align-items: center;
        gap: 5px;
        position: relative
    }

    .post-footer .sidebar-block__posts--item:first-child .details .infor-meta .infor-desc {
        color: #777;
        margin-top: 9px
    }

        .post-footer .sidebar-block__posts--item:first-child .details .infor-meta .infor-desc p {
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            line-height: 21px;
            overflow: hidden;
            text-overflow: ellipsis
        }

.post-footer .category-list-view .category-lists {
    font-size: 14px
}

.post-footer .category-list-view .category-lists__item {
    line-height: 30px;
    list-style: none
}

.post-footer .category-list-view .category-lists__item--right {
    float: right
}

.post-footer .category-list-view .category-lists__item:hover {
    color: #f02c2c
}

.posts-detail {
    margin-top:10px;
}

    .posts-detail .post-category {
        margin-top:20px;
        flex-direction:column;
    }

    .posts-detail .post-category__title {
        word-wrap: break-word;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: .02em;
        line-height: 32px;
        margin-bottom: 15px;
        margin-top: 0;
        text-transform: unset
    }

    .posts-detail .post-category__meta-info {
        font-size: 14px;
        justify-content: start;
        margin-bottom: 15px
    }

        .posts-detail .post-category__meta-info .author-by {margin-right:10px}

        .posts-detail .post-category__meta-info--post-views {
            display: flex;
            margin-left: 22px;
            margin-right: 0;
            vertical-align: top
        }

        .posts-detail .post-category__meta-info--post-views .views {
            margin-left: 5px
        }

    .posts-detail .post-category__meta-info--post-comments {
        display: flex;
        margin-left: 22px;
        margin-right: 0;
        vertical-align: top
    }

        .posts-detail .post-category__meta-info--post-comments .comment {
            margin-left: 5px
        }

    .posts-detail .post-category__list--item {
        background-color: #222
    }

        .posts-detail .post-category__list--item a {
            color: #fff
        }

    .posts-detail .post-single .post-media {
        margin-bottom: 26px;
        border-radius:12px;overflow:hidden;
    }

        .posts-detail .post-single .post-media img {width:100% !important}

        .posts-detail .post-single .post-details .post-tags {
            margin-top: 26px
        }

        .posts-detail .post-single .post-details .post-tags .title {
            background-color: #222;
            border: 1px solid #eaeaea;
            color: #fff;
            display: block;
            font-size: 11px;
            height: 20px;
            line-height: 10px;
            padding: 5px 9px;
            text-transform: uppercase;
            white-space: nowrap
        }

    .posts-detail .social-icons {
        align-items: center;
        display: flex;
        justify-content: center;
        margin-left: auto
    }

        .posts-detail .social-icons .social-icon {
            color: #fff;
            cursor: point;
            display: inline-block;
            font-size: 1.5rem;
            line-height: 40px;
            margin: 0 3px 7px 0;
            width: 40px
        }

            .posts-detail .social-icons .social-icon svg {
                fill: #fff;
                height: 15px
            }

            .posts-detail .social-icons .social-icon:hover {
                opacity: .8 !important
            }

            .posts-detail .social-icons .social-icon.social-facebook {
                background-color: #516eab
            }

        .posts-detail .social-icons .social-twitter {
            background-color: #29c5f6
        }

        .posts-detail .social-icons .social-icon.social-pinterest {
            background-color: #ca212a
        }

    .posts-detail .post-sharing {
        border-bottom: 1px solid #ededed;
        border-top: 1px solid #ededed;
        margin-bottom: 42px;
        padding: 21px 0
    }

        .posts-detail .post-sharing .social-icons {
            justify-content: unset;
            margin-top: 15px;
            text-align: center
        }

        .posts-detail .post-sharing .product-relates__title {
            background: #d00;
            color: #fff;
            font-family: inherit;
            font-size: 16px;
            margin: 10px 0;
            overflow: hidden;
            position: relative;
            width: 360px
        }

            .posts-detail .post-sharing .product-relates__title h3 {
                display: block;
                padding-left: 90px;
                position: relative;
                text-transform: uppercase;
                z-index: 2;
                margin:6px 0;
                color:#fff;
                font-weight:400;
            }

            .posts-detail .post-sharing .product-relates__title:after {
                border-left: 33px solid #d00;
                border-top: 33px solid #f02c2c;
                content: " ";
                margin-left: 40px;
                position: absolute;
                top: 0;
                width: 290px;
                z-index: 1
            }

@media(min-width:768px) {

    .posts-detail {margin-top:20px;}

    .posts-detail .post-sharing .product-relates .list-products__item {
        max-width: calc(33.33333% - 6.66667px);
        width: calc(33.33333% - 6.66667px)
    }

        .posts-detail .post-sharing .product-relates .list-products__item:nth-child(3n+1) {
            margin-left: 0
        }

        .posts-detail .post-sharing .product-relates .list-products__item:nth-child(3n) {
            margin-right: 0
        }

        .posts-detail .post-sharing .product-relates .list-products__item .block-rate__star {
            flex: unset
        }
}

    .posts-detail .post-next-prev {
        align-items: unset;
        margin-bottom: 30px;
        margin-top: 30px
    }

    .posts-detail .post-next-prev__content span {
        color: #c1c1c1;
        display: block;
        font-size: 12px;
        margin-bottom: 7px
    }

    .posts-detail .post-next-prev__content a {
        color: #222;
        display: block;
        font-size: 15px;
        line-height: 21px
    }

        .posts-detail .post-next-prev__content a:hover {
            color: #f02c2c
        }

    .posts-detail .post-next-prev .post-next-post {
        text-align: right
    }

    .posts-detail .relate_posts {
        margin-bottom: 48px
    }

    .posts-detail .relate_posts__title {
        border-bottom: 2px solid #f02c2c;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 27px
    }

        .posts-detail .relate_posts__title .title {
            color: #111;
            display: inline-block;
            line-height: 17px;
            padding: 7px 12px 4px
        }

            .posts-detail .relate_posts__title .title.active {
                background-color: #f02c2c;
                color: #fff
            }

    .posts-detail .relate_posts__list {
        display: flex;
        flex: 100%;
        flex-wrap: wrap
    }

    .posts-detail .relate_posts__list--item {
        display: flex;
        flex: 0 0 calc(33.33333% - 13.33333px);
        flex-wrap: wrap;
        margin-bottom: 17px;
        margin-right: 20px
    }

        .posts-detail .relate_posts__list--item .thumbnail {
            flex: 100%;
            max-height: 150px;
            overflow:hidden;
             border-radius:8px;
        }

            .posts-detail .relate_posts__list--item .thumbnail .block {
                height: 100%
            }

            .posts-detail .relate_posts__list--item .thumbnail .image {
                height: 100%;
                width: 100%
            }

        .posts-detail .relate_posts__list--item:nth-child(3n) {
            margin-right: 0
        }

        .posts-detail .relate_posts__list--item .detail {
            margin-top: 10px
        }

            .posts-detail .relate_posts__list--item .detail h3 {
                font-size: 13px;
                font-weight: 600;
                line-height: 20px;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                display: -webkit-box;
                overflow:hidden;
            }

    .posts-detail .relate_posts .prev-next {
        display: flex
    }

        .posts-detail .relate_posts .prev-next a {
            align-items: center;
            border: 1px solid #b7b7b7;
            display: flex;
            height: 25px;
            justify-content: center;
            width: 25px
        }

            .posts-detail .relate_posts .prev-next a svg {
                fill: #b7b7b7;
                height: 7px;
                width: 7px
            }

            .posts-detail .relate_posts .prev-next a:hover {
                background-color: #f02c2c
            }

                .posts-detail .relate_posts .prev-next a:hover svg {
                    fill: #fff
                }

        .posts-detail .relate_posts .prev-next .disabled {
            opacity: .5;
            pointer-events: none
        }

        .posts-detail .relate_posts .prev-next .prev {
            margin-right: 7px
        }

    .posts-detail .relate_posts .active {
        display: flex !important;
        flex-wrap: wrap
    }

    .posts-detail .relate_posts .content {
        display: none
    }

.more_button {
    border-radius: 40px;
    height: 45px;
    margin: 2em auto 4em;
    max-width: 205px
}

    .more_button a, .more_button p {
        height: 100%;
        justify-content: center;
        width: 100%
    }

.btn-orange {
    background: linear-gradient(180deg,#ffc100,#ff594c);
    border: 1px solid #ffc100
}

.btn-orange, .btn-primary {
    color: #fff;
    cursor: pointer;
    transition: all .5s
}

.fw-b {
    font-weight: 700
}

.btn-orange:hover {
    background: #fff;
    border: 1px solid #ff594c;
    box-shadow: 0 0 4px .2px #ff594c;
    color: #ff594c
}


.sidebar {
    position: sticky;
    top: 75px
}

.sidebar-block__title {
    border-bottom: 1px solid #f02c2c;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 26px;
    margin-top: 0;
    text-transform: uppercase
}

    .sidebar-block__title .title {
        background-color: #f02c2c;
        color: #fff;
        display: inline-block;
        font-size: 16px;
        font-weight: 700;
        line-height: 17px;
        padding: 7px 12px 4px
    }

.sidebar-block__posts--item {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
    width: 100%
}

    .sidebar-block__posts--item .thumbnail {
        flex: 0 0 100px;
        max-height: 70px;
        overflow:hidden;
        border-radius:8px;
    }

        .sidebar-block__posts--item .thumbnail .block {
            display: block;
            height: 100%;
            line-height: 0
        }

            .sidebar-block__posts--item .thumbnail .block .image {
                height: 100%;
                width: 100%
            }

    .sidebar-block__posts--item .details {
        flex: 0 0 calc(100% - 115px);
        margin-left: 15px
    }

    .sidebar-block__posts--item .details__title {
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 4px;
        max-height: 40px;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .sidebar-block__posts--item .details .infor-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        font-size: 11px;
        line-height: 1;
        margin-bottom: 7px;
        min-height: 17px
    }

        .sidebar-block__posts--item .details .infor-meta .category-title {
            background-color: rgba(0,0,0,.7);
            color: #fff;
            display: inline-block;
            font-size: 10px;
            font-weight: 500;
            line-height: 10px;
            padding: 3px 7px;
            pointer-events: auto;
            vertical-align: top
        }

            .sidebar-block__posts--item .details .infor-meta .category-title:hover {
                background-color: #f02c2c;
                border-color: #f02c2c;
                color: #fff
            }

    .sidebar-block__posts--item .details .infor-meta__date {
        display: flex;
        align-items: center;
        gap: 3px;
        position: relative;
    }

        .sidebar-block__posts--item .details .infor-meta__date span {
            color: #6b7280;font-size:12px;
        }

        .sidebar-block__posts--item .details .infor-meta .infor-desc {
            color: #777;
            margin-top: 9px
        }

        .sidebar-block__posts--item .details .infor-meta .infor-desc p {
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            line-height: 21px;
            overflow: hidden;
            text-overflow: ellipsis
        }

    .sidebar-block__posts--item:hover .details__title {
        color: #f02c2c
    }

    .sidebar-block__posts--item:first-child .thumbnail {
        flex: 0 0 100%;
        margin-bottom: 13px;
        max-height: unset;
        position: relative
    }

        .sidebar-block__posts--item:first-child .thumbnail .image {
            height: 100%;
            width: 100%
        }

        .sidebar-block__posts--item:first-child .thumbnail .category-title {
            bottom: 0;
            position: absolute;
            z-index: 1
        }

    .sidebar-block__posts--item:first-child .details {
        flex: 100%;
        margin-left: 0
    }

    .sidebar-block__posts--item:first-child .details__title {
        font-size: 21px;
        line-height: 25px;
        margin: 0 0 6px;
        max-height: 50px
    }

    .sidebar-block__posts--item:first-child .details .infor-meta {
        font-size: 12px
    }

    .sidebar-block__posts--item:first-child .details .infor-meta__date {
        margin-left: 0
    }

    .sidebar-block__posts--item:first-child .details .infor-desc p {
        -webkit-line-clamp: 3;
        color: #777;
        font-size: 14px
    }

@media only screen and (max-width: 480px) {
    .sidebar-block__posts--item .details__title {
        -webkit-line-clamp: 2
    }
}

@media (max-width: 768px) {

    .post-category__list--item a {font-size:14px;}

    .post-hot__left {
        margin-right: 0;
    }
    .post-hot .item .infor__content h3 {font-size:18px;}
    .post-category {
        padding: 0
    }

    .posts-detail .post-category {
        margin-top:15px;
    }

    .post-category__title {
        word-wrap: break-word;
        font-size: 24px !important;
        font-weight: 600 !important;
        line-height: 30px !important;
    }

    .posts-detail .post-category__title {
        font-size: 24px !important;
        font-weight: 600 !important;
        line-height: 32px !important;
        margin-bottom:5px;
        padding:0 !important
    }

    .post-category__meta-info, .post-category__social-icons {
       margin-bottom:10px;
    }

    .posts-detail .post-sharing {
        margin-bottom: 0;
        padding: 15px 0
    }

        .posts-detail .post-sharing .social-icons {
            margin-top: 0
        }

            .posts-detail .post-sharing .social-icons a {
                margin-bottom: 0
            }



    .posts-detail .relate_posts__list--item {
        display: flex;
        flex: 100%;
        flex-wrap: wrap;
        margin-bottom: 17px;
    }

        .posts-detail .relate_posts__list--item .thumbnail {
            flex: 100px;
            margin-right: 10px;
            max-height: 70px;
        }

        .posts-detail .relate_posts__list--item .detail {
            flex: calc(100% - 110px);
        }
}

@media (max-width: 480px) {
    .post-list__item {
        padding-bottom: 20px
    }

    .post-list__item--thumbnail {
        flex: 0 0 100px;
        max-height: 70px
    }

    .post-list__item--infor {
        flex: 0 0 calc(100% - 120px)
    }

        .post-list__item--infor .post-title {
            font-size: 16px !important;
            font-weight:600;
            line-height: 22px !important
        }

        .post-list__item--infor .infor-desc {
            font-size:14px;
        }

        .sidebar-block__posts--item {
            padding-bottom: 20px
        }
}

@media only screen and (max-width: 480px) {
    .post-hot {
        display: block;
        margin-bottom: 0
    }

    .post-hot__left {
        margin-bottom: 20px
    }

    .post-hot__left--item {
        height: auto
    }

    .post-hot__right {
        display: block
    }

        .post-hot__right .post-hot__item {
            margin-bottom: 20px;
            margin-left: 0 !important
        }
}

@media only screen and (max-width: 320px) {
    .relate_posts__title li {
        flex: 0 0 100%
    }

    .product-relates__title {
        width: 100% !important
    }

        .product-relates__title h3 {
            max-width: 100%;
            padding-left: 40px !important
        }

        .product-relates__title:after {
            margin-left: 15px !important;
            width: calc(100% - 15px) !important
        }
}
