@media (min-width: 1199px) {
    .wrapper-blog {
        padding-bottom: 140px;
    }
}
.title-page {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}
.aside-category-blog {
    margin-bottom: 15px;
}
.aside-category-blog a {
    padding: 8px 16px;
    border: 1px solid #e2e6f2;
    border-radius: 36px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}
.aside-category-blog a:hover {
    border-color: var(--maincolor);
}
.list-blogs .item-blog {
    position: relative;
}
.list-blogs .item-blog .block-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.list-blogs .item-blog .block-thumb .thumb {
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    display: flex;
    -o-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -os-justify-content: center;
    -o-display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -os-display: flex;
    align-items: center;
    position: relative;
    height: auto !important;
    padding-bottom: 56%;
}
.list-blogs .item-blog .block-thumb .thumb img {
    border-radius: 10px;
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    will-change: opacify;
    transform: scale(1);
    transition: all 0.5s ease;
}
.list-blogs .item-blog .block-info {
    margin-top: 10px;
}
.list-blogs .item-blog .block-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}
.list-blogs .item-blog .block-info h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 2;
}
.list-blogs .col-left .item-blog .block-info h3 {
    font-size: 20px;
}
.list-blogs .col-right .item-blog {
    display: flex;
    margin-bottom: 20px;
}
.list-blogs .col-right .item-blog:last-child {
    margin-bottom: 0;
}
.list-blogs .col-right .item-blog .block-thumb {
    flex-basis: 145px;
}
.list-blogs .col-right .item-blog .block-info {
    flex: 1 1 0%;
    margin-top: 0;
    margin-left: 15px;
}
.list-blogs.noibat {
    margin-bottom: 30px;
}
.list-blogs.noibat.padding-bottom {
    padding-bottom: 70px;
}
.list-blogs.normal {
    padding: 20px 0;
}
.list-blogs.normal .col-fix {
    margin-bottom: 20px;
}
.list-blogs.normal .item-blog {
    display: flex;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    height: 100%;
    border: 1px solid #e2e6f2;
}
.list-blogs.normal .item-blog .block-thumb {
    flex-basis: 265px;
}
.list-blogs.normal .item-blog .block-info {
    flex: 1 1 0%;
    margin-top: 0;
    margin-left: 15px;
}
.list-blogs.normal .item-blog .block-info .article-content {
    margin-top: 10px;
    color: #76809b;
}
.wrapper-article {
    padding-bottom: 30px;
}
@media (min-width: 1199px) {
    .wrapper-article {
        padding-bottom: 140px;
    }
}
.position-sticky {
    position: sticky;
    top: 0;
}
.article-lienquan {
    margin-top: 30px;
}
.article-lienquan h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1;
}
.article-lienquan .relate-swiper .item-blog .block-thumb .thumb {
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    display: flex;
    -o-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -os-justify-content: center;
    -o-display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -os-display: flex;
    align-items: center;
    position: relative;
    height: auto !important;
    padding-bottom: 56%;
    border-radius: 10px;
}
.article-lienquan .relate-swiper .item-blog .block-thumb img {
    border-radius: 10px;
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    will-change: opacify;
    transform: scale(1);
    transition: all 0.5s ease;
}
.article-lienquan .relate-swiper .item-blog .block-info {
    margin-top: 10px;
}
.article-lienquan .relate-swiper .item-blog .block-info .post {
    margin-bottom: 5px;
}
.article-lienquan .relate-swiper .item-blog .block-info .post .time-post {
    display: inline-block;
    color: #76809b;
    font-family: "font-300";
}
.article-lienquan .relate-swiper .item-blog .block-info p {
    margin-bottom: 0;
    margin-top: 10px;
}
.article-lienquan .relate-swiper .item-blog .block-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}
.aside-content-article {
    border: 1px solid #e2e6f2;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
}
.aside-content-article .title-head {
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e6f2;
    padding-bottom: 10px;
}
.aside-content-article .title-head span {
    color: var(--maincolor);
    font-size: 16px;
    display: block;
    height: 40px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    justify-content: center;
    border-radius: 8px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
.aside-content-article .title-head span:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--maincolor);
    opacity: 0.05;
}
.aside-content-article .nav-category > ul > li {
    background-color: rgba(255, 255, 255, 0.1);
}
.aside-content-article .nav-category ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.aside-content-article .nav-category ul .nav-item .nav-link {
    display: block;
    font-size: 14px;
    padding: 5px 0;
}
.aside-content-article .nav-category ul .nav-item .nav-link.pr-5 {
    padding-right: 30px;
}
.aside-content-article .nav-category ul .nav-item .nav-link:hover {
    color: var(--maincolor);
}
.aside-content-article .nav-category ul .nav-item.active > .nav-link {
    color: var(--maincolor);
}
.aside-content-article .nav-category ul .nav-item.active > .down_icon:before {
    border-color: var(--maincolor) transparent transparent transparent;
}
.aside-content-article .nav-category ul .menu_down {
    padding-left: 10px !important;
}
.aside-content-article .nav-category ul .down_icon {
    width: 30px;
    height: 31px;
    top: 0;
    right: 0;
    transition: 0.5s all;
    cursor: pointer;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aside-content-article .nav-category ul .down_icon:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #59646a transparent transparent transparent;
    transition: border-color 300ms ease-in-out 0s, background-color 300ms ease-in-out 0s, background-position 300ms ease-in-out 0s;
}
.aside-content-article .nav-category ul .down_icon.cls_mn {
    transform: rotate(180deg);
}
.aside-item-search {
    margin-bottom: 20px;
}
.aside-item-search form {
    position: relative;
}
.aside-item-search form input {
    width: 100%;
    height: 52px;
    border: 1px solid #e2e6f2;
    border-radius: 12px;
    padding-right: 80px;
    padding-left: 20px;
    color: #99a2bc;
}
.aside-item-search form input::placeholder {
    color: #99a2bc;
    font-size: 14px;
}
.aside-item-search form button {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 40px;
    height: 36px;
    background: transparent;
    border: 0;
    border-radius: 12px;
    background: var(--maincolor);
}
.aside-item-search form button:hover {
    opacity: 0.7;
}
.blog_noibat {
    border: 1px solid #e2e6f2;
    border-radius: 12px;
    padding: 10px;
}
.blog_noibat h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e6f2;
    padding-bottom: 10px;
    line-height: 1;
}
.blog_noibat h2 a {
    color: var(--maincolor);
    font-size: 16px;
    display: block;
    height: 40px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    justify-content: center;
    border-radius: 8px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
.blog_noibat h2 a:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--maincolor);
    opacity: 0.05;
}
.blog_noibat h2 a:hover {
    background: var(--maincolor);
    color: var(--oldcolor);
}
.blog_noibat .blog_content {
    counter-reset: item;
}
.blog_noibat .blog_content .item {
    margin-bottom: 7px;
    padding-bottom: 7px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.blog_noibat .blog_content .item .thumb {
    width: 90px;
}
.blog_noibat .blog_content .item .thumb a {
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    display: flex;
    -o-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -os-justify-content: center;
    -o-display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -os-display: flex;
    align-items: center;
    position: relative;
    height: auto !important;
    padding-bottom: 56%;
}
.blog_noibat .blog_content .item .thumb a img {
    border-radius: 6px;
    width: auto !important;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    will-change: opacify;
    transform: scale(1);
    transition: all 0.5s ease;
}
.blog_noibat .blog_content .item h3 {
    font-size: 14px;
    margin: 0;
    min-height: 39px;
    width: calc(100% - 90px);
    padding-left: 10px;
}
.blog_noibat .blog_content .item h3 a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.blog_noibat .blog_content .item h3 a:hover {
    color: var(--maincolor);
}
.blog_noibat .blog_content .item:last-child {
    border: initial;
    margin: 0;
}
.article-top {
    padding-bottom: 20%;
    margin-bottom: 30px;
}
.article-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-top:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    z-index: 9;
}
.article-top .bread-crumb {
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
    margin: 0 !important;
    z-index: 9;
}
.article-top .bread-crumb .breadcrumb li > a,
.article-top .bread-crumb .breadcrumb li strong {
    color: #fff;
}
.article-top .bread-crumb .breadcrumb li a:hover {
    color: var(--main-color);
}
.article-top .bread-crumb .breadcrumb li path {
    fill: #fff;
}
.article-share {
    position: sticky;
    position: -wenkit-sticky;
    top: 200px;
}
.article-share .share {
    background-color: #f7f9fa;
    margin: 0 auto;
    width: 56px;
    padding: 25px 0;
    border-radius: 40px;
}
.article-main .time-post {
    font-size: 14px;
    font-weight: 400;
    color: #acacac;
    margin-bottom: 15px;
}
.article-main .time-post svg {
    width: 15px;
    height: 15px;
    margin-top: -4px;
    margin-right: 2px;
}
.article-main .time-post .mr-2 {
    margin-right: 10px;
}
.article-main .article-image {
    margin-bottom: 20px;
}
.article-main h1 {
    margin-top: 0px;
    font-size: 28px;
    font-weight: 600;
    color:#2d347d;
}
.article-main h2{
	font-size:24px;
	color:#2d347d;
	font-weight: 600;
	margin-bottom: 18px;
}
.article-main h3{
	font-size:20px;
	color:#2d347d;
	font-weight: 600;
	margin-bottom: 18px;
}
.article-main h4{
	font-size:18px;
	color:#2d347d;
	font-weight: 600;
	margin-bottom: 18px;
}
.article-main p {
	font-size:15px;
}
.article-main ul{
	font-size:15px;
	padding-left:5px;
	margin-bottom: 18px;
}

.article-main ul li {
    margin-bottom: 0.5em;
    line-height: inherit;
	list-style: inside;
}
.article-main figure{
	text-align:center;	
}


@media (max-width: 767px) {
    .article-main .rte iframe {
        width: 100%;
    }
}
.product-article {
    margin-bottom: 30px;
}
.product-article .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1;
    color: var(--maincolor);
}
.product-article .product-article-swiper {
    position: relative;
}
.product-article .product-article-swiper .swiper-slide {
    height: auto;
}
.toc-wrapper {
    background: #dbedf9;
    border: 1px solid #c7e4f4;
    border-radius: 4px;
    padding: 1.5%;
    font-size: 16px;
    display: none;
    margin: 15px 0;
}
@media (min-width: 991px) {
    .toc-wrapper {
        width: 65%;
    }
}
.toc-wrapper .js-toc {
    margin-top: 5px;
}
.toc-title {
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    line-height: 28px;
    font-size: 16px;
}

.js-toc > .toc-list {
    padding: 0;
}
.toc-list {
    padding: 0 15px;
    counter-reset: section;
    list-style-type: none;
    margin: 0;
}
.toc-list li {
    color: #2f80ed;
}
.toc-list li a {
    line-height: 20px;
    padding: 5px 0;
    color: #2f80ed;
    font-size: 15px;
    position: relative;
}
.toc-list .toc-link::before {
    display: none;
}
.is-active-link {
    font-weight: initial !important;
}
.title-form-coment {
    font-size: 20px;
}
.article-comment-module {
    margin: 30px 0;
}
form#article_comments {
    max-width: 100%;
}
form#article_comments label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}
form#article_comments label .required {
    color: #ff0000;
}
form#article_comments .form-group input {
    height: 40px;
    border: solid 1px #e4e4e4;
    padding: 0 15px;
    outline: none;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
}
form#article_comments .form-group input::placeholder {
    color: #7c7c7c;
}
form#article_comments .form-group input:-ms-input-placeholder {
    color: #7c7c7c;
}
form#article_comments .form-group input::-ms-input-placeholder {
    color: #7c7c7c;
}
form#article_comments .form-group textarea {
    border: solid 1px #e4e4e4;
    padding: 10px;
    outline: none;
    width: 100%;
    border-radius: 8px;
}
form#article_comments .form-group textarea::placeholder {
    color: #7c7c7c;
    opacity: 1;
}
form#article_comments .form-group textarea:-ms-input-placeholder {
    color: #7c7c7c;
}
form#article_comments .form-group textarea::-ms-input-placeholder {
    color: #7c7c7c;
}
form#article_comments .button_45 {
    height: 40px;
    line-height: 40px;
    padding: 0 25px;
    background: #363636;
    font-size: 14px;
    color: #fff;
    border: initial;
    font-weight: 400;
    margin-top: 10px;
    background: var(--maincolor);
    border-radius: 8px;
}
form#article_comments .button_45:hover {
    opacity: 0.6;
}
#article-comments {
    margin-top: 30px;
}
#article-comments .alert {
    margin-bottom: 20px;
}
.article-comment-content .article-comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dotted #c9c8c5;
}
.article-comment-content .article-comment:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.article-comment-user-image {
    margin: 0;
    float: left;
    width: 80px;
    margin-right: 12px;
    height: 80px;
    border-radius: 0;
    display: block;
}
.article-comment-user-comment {
    display: block;
    float: left;
    width: calc(100% - 95px);
    -webkit-width: calc(100% - 95px);
    -moz-width: calc(100% - 95px);
    -o-width: calc(100% - 95px);
    -os-width: calc(100% - 95px);
    word-break: break-word;
}
.article-comment-user-comment p {
    margin-bottom: 0;
}
.article-comment-date-bull {
    padding: 5px 0;
    display: block;
    color: #b0b0b0;
    font-size: 12px;
}
.cm {
    font-size: 14px;
    color: #707070;
}
.social-sharing {
    border-top: solid 1px #e4e4e4;
    padding: 20px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
}
.social-sharing span {
    margin-right: 10px;
}
.social-sharing .addthis_inline_share_toolbox {
    margin-top: 3px;
}
.fixed-toc {
    position: fixed;
    right: 0;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
}
.fixed-toc button.btn.toc-toggle-btn {
    border: 1px solid;
    padding: 5px;
    width: 32px;
    height: 32px;
    line-height: 1;
    margin-right: 10px;
    background: white;
    opacity: 0.6;
}
.fixed-toc button.btn.toc-toggle-btn:hover {
    opacity: 1;
}
.fixed-toc .fixed-toc-content {
    width: 300px;
    background: #fff;
    position: absolute;
    top: 0 !important;
    z-index: 9999;
    padding: 15px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 14px;
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(-50%) translateX(100%);
    transition: transform 0.3s ease-out;
}
.fixed-toc .fixed-toc-content .toc-title:before {
    display: none;
}
.fixed-toc.open .fixed-toc-content {
    transform: translateY(-50%) translateX(calc(-100% + 40px));
}
.fixed-toc .toc-toggle-btn {
    cursor: pointer;
}
.fixed-toc .toc-toggle-btn svg {
    width: 14px;
    height: 14px;
}
.fixed-toc .toc-list li a {
    line-height: 1.2;
    padding: 4px 0;
    display: block;
    color: #2f80ed;
    font-size: 13px;
    position: relative;
}
.fixed-toc .fixed-toc-content .toc-toggle-btn {
    right: 15px;
    top: 13px;
    position: absolute;
}
.fixed-toc .fixed-toc-content > .toc-list {
    padding: 0;
}
@media (max-width: 991px) {
    .aside-content-blog {
        margin-top: 30px;
    }
}
@media (max-width: 1199px) and (min-width: 991px) {
    .list-blogs.normal .item-blog .block-thumb {
        flex-basis: 180px;
    }
}
@media (max-width: 991px) and (min-width: 767px) {
    .list-blogs.normal .item-blog .block-thumb {
        flex-basis: 115px;
    }
    .list-blogs .col-right {
        margin-top: 30px;
    }
}
@media (max-width: 767px) {
    .list-blogs.normal .item-blog .block-thumb {
        flex-basis: 115px;
    }
    .list-blogs .col-right {
        margin-top: 30px;
    }
    .list-blogs .col-right .item-blog .block-thumb {
        flex-basis: 115px;
    }
}
.popup-video {
    position: fixed;
    z-index: 99999;
    top: 0 !important;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.89);
    display: none;
}
.popup-video .close-popup-video {
    background: #fff;
    color: #000;
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.popup-video .close-popup-video:hover {
    opacity: 0.8;
}
.popup-video iframe {
    height: calc(100vh - 200px);
    width: 1100px;
}
.popup-video.active {
    display: flex;
}
@media (max-width: 1100px) {
    .popup-video iframe {
        width: 700px;
    }
}
@media (max-width: 767px) {
    .popup-video .body-popup {
        padding: 0 5px;
        width: 100%;
    }
    .popup-video .body-popup iframe {
        width: 100%;
        height: 300px;
    }
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption, .gallery-caption {
    color: #666;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 1.5em;
    max-width: 100%;
    text-align: center;
    padding: 1px;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* =================================================================== */
/* == CSS CHO MỤC LỤC TỰ ĐỘNG (CUSTOM TOC) == */
/* =================================================================== */

/* Khung bao ngoài */
.toc-wrapper {
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* Tiêu đề "Nội dung bài viết" */
.toc-title {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}
.toc-title::after { /* Tạo mũi tên chỉ xuống */
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.3s ease;
}
.toc-title.active::after { /* Xoay mũi tên lên trên khi mở */
    transform: translateY(-50%) rotate(180deg);
}


/* Khung chứa danh sách mục lục */
.js-toc {
    padding: 0 15px 15px 15px;
    border-top: 1px solid #e0e0e0;
}

/* Danh sách cấp 1 (H2) */
.js-toc .toc-list {
    list-style: none;
    padding-left: 0;
}

/* Danh sách cấp 2 (H3) */
.js-toc .toc-list-sub {
    list-style: none;
    padding-left: 20px; /* Thụt vào so với cấp 1 */
    margin-top: 8px;
}

/* Các mục trong danh sách */
.js-toc .toc-list-item {
    margin-bottom: 8px;
}
.js-toc .toc-list-item:last-child {
    margin-bottom: 0;
}

/* Các đường link */
.js-toc .toc-link {
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.js-toc .toc-link:hover {
    color: var(--maincolor);
    text-decoration: underline;
}