@font-face {
    font-family: "ShopeeDisplay";
    src: url(../fonts/ShopeeDisplay-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "ShopeeDisplay";
    src: url(../fonts/ShopeeDisplay-Bold.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Shopee2021";
    src: url(../fonts/shopee2021-bold.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Shopee2021";
    src: url(../fonts/shopee2021-black.ttf) format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Shopee2021";
    src: url(../fonts/shopee2021-regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    position: relative;
    margin: 0;
    width: 100%;
}

.high-light:hover {
    filter: brightness(1.2);
}

a {
    text-decoration: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #013832;
}

::-webkit-scrollbar-thumb:hover {
    background: #028d7d;
}

.wrap {
    position: relative;
    width: 100%;
    height: fit-content;
    max-width: 1920px;
    overflow: hidden;
    margin: 0 auto;
    background: url(/home_assets/statics/assets/home/main_wrapper_bg.jpg) top center no-repeat #6e2a27;
}

.main-nav {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: visible;
}

.main-nav .navbar-nav {
    align-items: center;
    height: 100%;
}
.main-nav .navbar-nav .nav-item{
    padding: 16px 16px;
}
.main-nav .navbar-nav .nav-link {
    position: relative;
    color: #f6fbd2;
    font-size: 22px;
    font-family: ShopeeDisplay;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.main-nav .navbar-nav .nav-icon {
    font-size: 26px;
    color: #f6fbd2;
    margin-right: 5px;
}
.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-item.active > .nav-link,
.main-nav .navbar-nav .nav-link:hover > .nav-icon,
.main-nav .navbar-nav .dropdown-menu .dropdown-item:hover {
    color: #e9c683;
}
/*.main-nav .navbar-nav .dropdown-menu .dropdown-item {*/
/*    color: #f6fbd2;*/
/*}*/
.main-nav .navbar-nav .dropdown-menu{
    top: unset;
}
.main-nav .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
}
.main-nav .navbar-nav .dropdown-menu:hover {
    display: block;
}

#posts-by-category,
#posts-by-category li{
    list-style-type: none;
    padding-left: 0;
}

#posts-by-category .has-sub > .category-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    padding: 12px;
    background-color: #e9c683;
    border-bottom: 1px solid #f2a801;
    font-size: 16px;
}

#posts-by-category .sub-item li{
    font-size: 16px;
    padding: 8px;
    border-bottom: #ffe6b1 1px solid;
}
#posts-by-category .sub-item li a {
    color: #212529;
}

#posts-by-category .arrow::before {
    content: "▼"; /* Mặc định là mở */
    transition: transform 0.3s ease;
}

#posts-by-category .collapsed .arrow::before {
    content: "▶"; /* Đóng */
}

#posts-by-category .sub-item {
    padding-left: 20px;
    display: block;
}

#posts-by-category .collapsed + .sub-item {
    display: none;
}

.nav-right {
    position: fixed;
    top: 100px;
    right: 0;
    z-index: 99;
    width: 262px;
    height: 676px;
    background: url(/home_assets/statics/assets/home/bg-nav-right.png) top center no-repeat;
    padding: 202px 40px 0 60px;
    box-sizing: border-box;
    transform: translateX(216px);
    transition: all 0.3s ease-in-out;
}

.nav-right a img {
    display: block;
}

.nav-right .btn-toggle {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 215px;
    left: 0px;
    width: 50px;
}

.nav-right .btn-open {
    display: block;
}

.nav-right ul {
    display: block;
    position: relative;
    list-style: none;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
}

.nav-right ul li {
    width: 162px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.nav-right ul li img {
    max-width: unset;
    width: 182px;
    height: 65px;
}

.nav-right .to-top {
    cursor: pointer;
    width: 40px;
    margin: 20px auto 0;
}

.nav-right.active {
    transform: translateX(0);
}

.nav-right.active .btn-open {
    display: none;
}

.banner {
    width: 100%;
    height: auto;
}
.section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 450px auto 0 auto;
    background: #f4f7ca;
    min-height: 80vh;
    font-size: 16px;
}

.section-content .head-cont {
    display: flex;
    width: 100%;
    height: 106px;
    background: url(/home_assets/statics/assets/post/bg-post-head.jpg) 100% 100% no-repeat;
    align-items: center;
    justify-content: center;
    font-family: Shopee2021;
    font-weight: 800;
    font-size: 36px;
}
.section-content .DataList {
    list-style-type: none;
}
.section-content .DataList li{
    border-bottom: 1px solid;
    padding: 16px 0px;
}
.section-content .DataList .news-wrapper .news-item {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.section-content .DataList .news-wrapper .thumbnail {
    width: 200px;
    height: 90px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
    margin: unset !important;
}

.section-content .DataList .news-wrapper .news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
}

.section-content .DataList .news-wrapper .news-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.section-content .DataList .news-wrapper .news-text .date {
    color: #c99400;
    font-weight: 600;
}

.section-content .DataList .news-wrapper .short-content {
    font-size: 16px;
    color: #555;
    margin-top: 6px;
    line-height: 1.4;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.section-content .DataList .news-wrapper .news-item.second .news-text{
    font-weight: 500;
}
.section-content .pagination-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.list-cont {
    padding: 50px 45px;
    box-sizing: border-box;
}

.list-cont .news-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.list-cont .news-tabs .nav-item {
    background: #00642b;
    height: 49px;
    width: 22.5%;
    border-radius: 25px;
    font-family: ShopeeDisplay;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    line-height: 49px;
    padding: 0;
    color: #fff;
}

.list-cont .news-list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.list-cont .news-list li {
    width: 100%;
    height: 52px;
}

.list-cont .news-list li:nth-of-type(2n + 1) {
    background: #ffe6aa;
}

.list-cont .news-list li:hover {
    background: #f5d896;
}

.list-cont .news-list li a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: Shopee2021;
    font-size: 18px;
    font-weight: normal;
    border-bottom: 1px solid #ffe6aa;
    padding: 0 14px 0 25px;
}

.list-cont .news-list li .news-item-title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80vw;
    color: #5a5a5a;
}

.list-cont .news-list li .news-item-date {
    width: 150px;
    text-align: right;
    margin-left: auto;
    color: #00642b;
}

.list-cont .pagination {
    display: flex;
    gap: 29px;
    justify-content: center;
}

.list-cont .pagination a {
    display: flex;
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: #ffffff;
    font-family: Shopee2021;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background-color: #00642b;
    margin-top: 30px;
}

.list-cont .pagination a.active {
    background-color: #da0008;
}

.list-cont .pagination a img {
    width: 100%;
}

.content-cont {
    padding: 15px 20px;
    box-sizing: border-box;
    display: flex;
    gap: 25px;
}

.content-cont .right {
    display: flex;
    flex-direction: column;
    width: 320px;
    gap: 22px;
}

.content-cont .right .thumb {
    aspect-ratio: 1.5;
    object-fit: fill;
}

.content-cont .right .hot-post {
    background: #ffa800;
    font-family: Shopee2021;
    color: #272727;
    height: 70px;
    padding: 10px 20px;
}

.content-cont .right .hot-post .title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.content-cont .right .hot-post .date {
    margin: 0;
}

.content-cont .left {
    font-size: 10px;
    flex-grow: 1;
    width: 100%;
}

.content-cont .left .breadcrumb {
    background: transparent;
    font-family: Shopee2021;
    font-size: 10px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 0 1.6em;
    border-bottom: 1px solid #272727;
    border-radius: 0;
    margin-bottom: 3em;
}

.content-cont .left .breadcrumb img {
    width: 2em;
}

.content-cont .left .breadcrumb-item {
    display: inline-block;
    max-width: 80%;
    color: #272727 !important;
    font-size: 1.6em;
    white-space: nowrap;
    font-weight: 600;
}

.content-cont .left .breadcrumb-item a {
    color: #272727 !important;
}

.content-cont .left .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    background: url(/home_assets/statics/assets/post/breadcrumb.png) center center no-repeat;
    width: 10px;
    height: 20px;
    padding: 0 10px;
    top: 5px;
    position: relative;
}

.content-cont .left .breadcrumb-item:last-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 70vw;
}

.content {
    font-family: Shopee2021;
    font-size: 10px;
}

.content p {
    font-size: 1.6em;
    text-align: justify;
    color: #272727;
}

.content .title {
    font-weight: bold;
    color: #024538;
    text-align: center;
    font-size: 3.6em;
}

.content .time {
    text-align: center;
}

.content .head-1 {
    font-size: 2.4em;
    color: #024538;
    font-weight: bold;
}

.content .note {
    font-size: 1.4em;
    text-align: center;
}

.content img {
    display: block;
    margin: 1em auto;
    height: auto !important;
}

.content dl, .content ol, .content ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 2em;
}

.footer {
    height: 255px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #fdfae0;
}

.footer .logo {
    width: 372px;
}

.footer .footer-col {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.footer .group-link {
    display: flex;
    gap: 50px;
}

.footer .group-link a {
    font-family: "ShopeeDisplay";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fdfae0;
}

.footer .text p {
    font-family: "ShopeeDisplay";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: left;
    margin: 0;
}

.footer .text p:first-of-type {
    margin: 26px 0;
}

@media (max-width: 1200px) {

    .wrap {
        height: 7112rem;
        background: url(/home_assets/statics/assets/home/bg-mb.jpg) top center no-repeat #f3ebde;
        background-size: 100% auto;
    }

    .section-content {
        min-height: 900px;
        font-size: 16px;
        margin: 700px auto 0 auto;
    }

    .section-content .head-cont {
        height: 50px;
        font-size: 20px;
    }
    .footer {
        height: 256rem;
    }

    .footer .logo {
        width: 396rem;
    }

    .footer .group-link {
        gap: 65rem;
    }

    .footer .group-link a {
        font-size: 20rem;
        line-height: 24rem;
    }

    .footer .text p {
        font-size: 20rem;
        line-height: 24rem;
    }

    .footer .text p:first-of-type {
        margin: 36rem 0;
    }
}

#table td, #table th, table h1 {
    border: 1px solid #000000;
    padding: 8px;
}

#table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: black;
    color: white;
    font-size: 18px;
}

#table td {
    font-size: 18px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 576px){

    .main-nav{
        height: 48px;
        background: #530505;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23e9c683' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        height: 32px;
        width: 32px;
    }
    .main-nav .navbar-collapse{
        background: #530505;
        z-index: 999;
    }
    .main-nav .nav-item{
        width: 100%;
    }
    .main-nav .dropdown-menu{
        font-size: 16px;
    }
    .main-nav .dropdown-menu li{
        padding: 8px 32px;
    }
    .main-nav .top-actions{
        width: 300px;
        height: 48px;
        display: flex !important;
        align-items: center;
        gap: 4px;
        justify-content: right;
        padding-right: 8px;
    }
    .main-nav .top-actions a{
        height: 40px;
        display: inline-block;
        width: 101px;
    }
    .main-nav .top-actions .btn-download{
        background: url(/home_assets/statics/assets/home/btn_download_top.png) top center no-repeat;
        background-size: cover;
    }

    .main-nav .top-actions .btn-charge{
        background: url(/home_assets/statics/assets/home/btn_charge.png) top center no-repeat;
        background-size: cover;
    }
    .wrap{
        height: auto;
    }
    .section-content{
        margin: 245px auto 0 auto;
    }
}
