/* CATEGORY PAGE */
.content a,
.viewmorBlog a{
    color: #004fc9 !important;
}
strong{
    font-weight: 600 !important;
}
.content-blog h2 {
    font-weight: 600;
}
.blog-category-title {
    padding: 10px 0 15px;
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
}

.blogs-nav {
    gap: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.blogs-nav li {
    background-color: initial;
    color: var(--black);
    padding: 0 0 10px 0;
    font-size: 16px;
    border-radius: 0;
    position: relative;
}

.blogs-nav li.active {
    font-weight: 700;
    background-color: initial;
    color: var(--black);

}

.blogs-nav li.active::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    /* background: var(--secondary-red); */
    background: var(--purple-3);
}

.blog-section{
    padding: 17px 20px;
    box-shadow: 0 1px 4px rgba(10,10,10,.15);
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.blog-top{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}
.blog-top-left{
    flex-basis: 490px;
}
.blog-top-right{
    padding-left: 20px;
    flex: 1;
}

.blog-top-left-item{

}

.btli-img{
    margin-bottom: 7px;
    aspect-ratio: 245/163;
}
.btli-img image{
    object-fit: cover;
}
.btli-detail h3{
    font-size: 20px;
    line-height: 26px;
    max-height: 52px;
    overflow: hidden;
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}
.btli-detail .btli-time{
    margin-bottom: 0;
    font-size: 14px;
    line-height: 22px;
    color: #9b9b9b;
}

.blog-top-right-list{

}

.btr-item{
    display: flex;
    position: relative;
    margin-bottom: 20px;
    align-items: center;
}

.btr-item .btr-img{
    flex: 0 0 120px;
    margin-right: 10px;
}
.btr-item .btr-img img{
    object-fit: cover;
}

.btr-item .btr-detail{

}

.btr-item .btr-detail h3{
    font-size: 14px;
    line-height: 19px;
    max-height: 60px;
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.btr-item .btr-time{
    font-size: 13px;
    line-height: 22px;
    color: #9b9b9b;
    margin-bottom: 0;
    /* position: absolute; */
    bottom: 0;
}
/* .blog-bottom-list{
    display: none;
}
.blog-bottom-list.show{
    display: block;
} */
.blog-bottom-list .blog-item{
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
    display: flex;
}

.blog-bottom-list .blog-item-img{
    flex: 0 0 300px;
    margin-right: 30px;
}
.blog-bottom-list .blog-item-img img{
    aspect-ratio: 3/2;
    object-fit: cover;
}

.blog-bottom-list .blog-item-detail h3{
    font-size: 22px;
    line-height: 26px;
    max-height: 52px;
    font-weight: 700;
    overflow: hidden;
    margin-bottom: 8px;
}
.blog-item-des{
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 400;
    overflow: hidden;
    margin-bottom: 15px;
    color: #555;
}

.blog-item-user{
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-item-user .biu-img{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
}
.blog-item-user .biu-name,
.blog-item-user .biu-time{
    font-size: 14px;
    line-height: 22px;
    margin-right: 5px;
    color: #9b9b9b;
}




.blog-mostView{
    padding: 0;
}

.blog-mostView h3{
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.mostview-blogs{
    padding: 15px;
}
.mostview-blogs li:not(:last-child) {
    margin-bottom: 24px;
}
.mostview-blogs li{
    display: flex;
    align-items: center;
}
.mostview-blogs li span{
    flex: 0 0 40px;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    border-radius: 50%;
    color: var(--white);
    /* background-color: var(--secondary-red); */
    background-color: var(--purple-2);
}
.mostview-blogs li a{
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    margin-bottom: 5px;
    max-height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blogs-loadmore button{
    display: inline-block;
    width: 170px;
    height: 30px;
    line-height: 26px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    /* background-color: #e9ecef; */
    background-color: var(--purple-3);
    font-size: 14px;
    overflow-anchor: none;
    color: var(--white);
}
.blogs-loadmore{
    text-align: center;
}
.blogs-loadmore button:hover{
    /* background-color: var(--secondary-red); */
    background-color: var(--purple-1);
    color: var(--white);
}


@media (max-width: 1025px) {
    .blog-category-title{
        font-size: 30px;
    }
    .blogs-nav{
        flex-wrap: wrap;
    }
    .blogs-nav .nav-link{
        font-size: 14px;
    }
    .blog-top-left{
        flex-basis: auto;
        width: 100%;
        margin-bottom: 20px;
    }
    .btli-img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .blog-top-right{
        padding-left: 0;
    }
    .blog-bottom{
        margin-bottom: 20px;
    }
    .blog-bottom-list .blog-item-img{
        flex: 0 0 240px;
    }
    .blog-bottom-list .blog-item-detail h3{
        font-size: 20px;
    }
}
@media (max-width: 576px) {
    .blogs-nav{
        gap: 10px;
    }
    .blogs-nav li{
        padding-bottom: 0 !important;
        font-size: 14px;
    }
    .blog-category-title{
        font-size: 24px;
    }
    .blog-section{
        padding: 10px;
    }
    .btr-item .btr-detail h3{
        -webkit-line-clamp:2;
    }
    .blog-bottom-list .blog-item-img{
        flex: 0 0 120px;
        margin-right: 10px;
    }
    .blog-bottom-list .blog-item-detail h3 {
        font-size: 15px;
        max-height: 36px;
        line-height: 18px;
    }
    .blog-item-des{
        line-height: 16px;
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
    }
}






/* BLOG DETAIL */
.blog-detail-heading h1{
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    margin-top: 16px;
}
.blog-deatail-author{
    display: flex;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.author-avt{
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    margin-right: 8px;
    overflow: hidden;
    background: var(--primary-red);
}
.author-avt>span{
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    line-height: 46px;
    font-weight: 500;
    color: var(--white);
}

.author-name{
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    margin-right: 4px;
    display: block;
}
.detail-time{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6a737a;
}

.menuBlog{
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e1e4e6;
    margin-bottom: 24px;
}
.menuBlog-title {
    padding: 16px 14px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menuBlog-title h2{
    margin: 0 !important;
}
.menuBlog-title.active{
    border-bottom: 1px solid #e1e4e6;
}
.menuBlog-title > i{
    cursor: pointer;
    transition: all .3s ease;
}
.menuBlog-title.active  > i{
    transform: rotate(-180deg);
}
.menuBlog h2{
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--black);
    text-transform: uppercase;
}
#menuList{
    padding: 12px 14px 16px;
}
#menuList li{
    margin-bottom: 10px;
    list-style: none;
    margin-left: 20px;
}
#menuList li.lv2{
    padding-left: 16px;
}
#menuList li a{
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    color: #004fc9;
    display: block;
}
#menuList li:hover a{
    color: var(--secondary-red);
}

.viewmorBlog{
    margin: 20px 0 10px;
}
.viewmorBlog span{
    font-weight: 600;
    font-style: italic;
    margin-bottom: 20px
}
.viewmorBlog li{
    font-size: 14px;
    line-height: 32px;
    position: relative;
    padding-left: 14px;
    color: var(--secondary-red);
    font-style: italic;
}
.viewmorBlog li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: #939ca3;
    border-radius: 50%;
}
@media(max-width: 769px){
    .viewmorBlog li{
        line-height: 24px;
    }
    .menuBlog h2{
        font-size: 14px;
    }
    .menuBlog-title {
        padding: 10px;
    }
}



/* RELATE BLOG */

.blog-relate-wrap{
    padding: 30px 0;
    background: #f8f9fa;
}
.blog-relate-wrap span{
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 28px;
    margin-bottom: 16px;
    color: var(--black);
}
.relate-blogs .slick-list{
    margin: 0 -12px;
}
.relate-blogs .slick-slide{
    padding: 0 12px;
}
.relate-blogs .slick-prev {
    left: -5px;
}
.relate-blogs .slick-next {
    right: -5px;
}
.relate-blog{
    box-shadow: 0 1px 4px rgba(10,10,10,.15);
    border-radius: 6px;
    background-color: var(--white);
    overflow: hidden;
}
.rblog-img img{
    aspect-ratio: 3/2;
    object-fit: cover;
}
.rblog-content{
    padding: 8px 12px 12px;
}
.rblog-content>a{
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: var(--black);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    word-break: break-word;
    height: 60px;
}
.rblog-author{
    margin-top: 3px;
    display: flex;
    gap: 5px;
}
.rblog-author span{
    font-size: 14px;
    line-height: 20px;
    color: #6a737a;
}
.rblog-author-img,
.biu-img{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    /* background-color: var(--secondary-red); */
    background-color: var(--purple-2);
    color: #fff;
    font-size: 14px;
    vertical-align: baseline;
    overflow: hidden;
    text-align: center;
    line-height: 25px;
    font-size: 14px;
}
@media(max-width: 769px){
    .blog-detail-heading h1{
        font-size: 24px;
        line-height: 30px;
    }
}

.author-wrap{
    display: flex;
    background: var(--white);
    border-radius: 6px;
    padding: 16px 16px 20px;
    margin-bottom: 24px;
}
.author-img{
    width: 72px;
    height: 72px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 50%;
    margin-right: 16px;
    background: var(--primary-red);
}
.author-img>span{
    display: block;
    height: 100%;
    width: 100%;
    font-size: 24px;
    text-align: center;
    line-height: 68px;
    font-weight: 500;
    color: var(--white);
}
.author-img img{
    width: 100%;
}
.authorDetail-name{
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #212529;
    padding-bottom: 8px;
    border-bottom: 1px solid #e1e4e6;
    margin-bottom: 8px;
}
.author-des{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #444b52;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.author-info a{
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    margin-top: 12px;
    color: #0664f9;
    display: inline-block;
}
@media(max-width:769px){
    .author-img{
        width: 56px;
        height: 56px;
    }
    .author-img>span {
        line-height: 54px;
    }
}




/* FEEDBACK */
.user-feedback h3{
    font-size: 20px;
    line-height: 28px;
    font-weight:600;
}
.user-feedback .card-title{
    padding: 16px 20px;
    box-shadow: inset 0 -1px 0 #edeeef;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}
.form-search-blog{
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #cbd1d6;
    border-radius: 4px;
    position: relative;
    min-width: 276px;
    overflow: hidden;
}
.form-search-blog input{
    border: none;
    height: 32px;
    padding: 5px 5px 5px 30px;
    font-size: 14px;
    width: 100%;
}
.form-search-blog i{
    position: absolute;
    top: 8px;
    left: 8px;
}
.user-form{
    position: relative;
}
.user-form textarea{
    height: 72px;
    border-radius: 6px;
    padding: 5px 177px 5px 16px;
    padding-right: 177px;
    width: 100%;
    font-size: 14px;
}
.feedback-btn{
    color: #fff;
    background: var(--secondary-red);
    outline: none;
    font-size: 16px;
    line-height: 16px;
    border-radius: 6px;
    padding: 0 16px;
    height: 36px;
    position: absolute;
    right: 16px;
    top: 36px;
    transform: translateY(-50%);
    border: none;
}
@media (max-width: 576px){
    .user-form textarea{
        padding: 5px;
    }
    .feedback-btn{
        position: relative;
        top: 0;
        right: 0;
        transform: none;
    }
    .form-group{
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .form-search-blog{
        min-width: 220px;
    }
}

/* COMMENT */
.detail-comment {
    background-color: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    margin-top: 15px;
    padding: 10px;
    position: relative;
}

.detail-comment h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.comment-form {
    padding: 10px;
}

.comment-form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: auto;
    margin-top: 10px;
    position: relative;
    width: 100%;
}
.cmt-info{
    display: flex;
    width: calc(100% - 80px);
    margin-bottom: 10px;
    justify-content: space-between;
}
.cmt-info input{
    font-size: 13px;
    height: 28px;
    padding: 0 10px;
    width: 32%;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.comment-form textarea {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    min-width: 0 !important;
    padding: 10px;
    width: calc(100% - 70px);
    max-height: 40em;
    min-height: 8em;
    font-size: 12px;
}

.comment-form textarea:focus {
    box-shadow: 0 0 10px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15) !important;
}

.detail-comment hr {
    margin: 10px 0 15px;
    display: block;
    height: 2px;
    background-color: #f5f5f5;

}

.button__cmt-send {
    background-color: var(--secondary-red);
    border: 0;
    border-radius: 8px;
    color: var(--white);
    gap: 5px;
    width: 86px;
    padding: 8px 16px;
    display: flex;
    height: fit-content;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 8px 0px;
}

.button__cmt-send i {}

.block-list-comment {
    padding: 10px;
}

.block-list-comment.active {
    max-height: fit-content;
    padding-bottom: 80px;
}
.reply-comment{
    display: none;
}
.item-comment .reply-comment{
    width: calc(100% - 25px);
    margin-left: auto;
    margin-top: 10px;
}
.reply-comment form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.reply-comment textarea{
    border: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    min-width: 0 !important;
    padding: 10px;
    width: calc(100% - 80px);
    max-height: 40em;
    min-height: 8em;
    font-size: 12px;
}
/* .reply-comment .cmt-info,
textarea{
    width: 100%;
} */
.item-comment {
    margin-right: 5px;
}

.icmt_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 15px;
}

.icmt_info .left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icmt_info .time {
    align-items: center;
    color: #707070;
    display: flex;
    font-size: 12px;
    gap: 5px;
    text-align: right;
}

.avt-icmt_info {
    border-radius: 50%;
    font-weight: 600;
    height: 32px;
    overflow: hidden;
    width: 32px;
    color: var(--white);
    background-color: #8c3654;
    line-height: 32px;
    text-align: center;
}

.icmt_info_name {
    font-size: 15px;
    font-weight: 600;
}

.icmt_question {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    margin-left: auto;
    overflow: hidden;
    padding: 10px;
    width: calc(100% - 25px);
}

.icmt_question .content p {
    font-size: 13px;
}

.button__cmt-rep {
    align-items: center;
    background-color: transparent;
    border: 0;
    color: var(--secondary-red);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    line-height: 1;
    margin-left: auto;
    margin-top: 10px;
    -webkit-text-decoration: none;
    text-decoration: none;
    justify-content: right;
}

.icmt_repBox {
    margin-left: auto;
    margin-top: 15px;
    width: calc(100% - 25px);
}

.item_rep .avt-icmt_info {
    background-color: var(--secondary-red);
}
