body.site-frontend {
    --home-green: #246c49;
    --home-border: #d9e7df;
    --home-gutter: 16px;
    background: #f5f8f6;
}

.site-frontend .container {
    padding-inline: var(--home-gutter);
}

.site-frontend header.header {
    position: static !important;
    inset: auto;
    height: auto !important;
    min-height: 0;
    overflow: visible;
}

.site-frontend .header .header-wrapper {
    overflow: visible;
    margin: 0;
}

.site-frontend .header .header-wrapper .logo-box {
    float: none;
    width: 100%;
    border-bottom: 1px solid var(--home-border);
    text-align: center;
}

.site-frontend .header .header-wrapper .logo-box .logo {
    padding: max(12px, env(safe-area-inset-top, 0px)) 0 12px;
}

.site-frontend .header .header-wrapper .logo-box .logo a {
    display: block;
    width: 100%;
    max-width: 410px;
    margin: auto;
}

.site-frontend .header .header-wrapper .logo-box .logo a img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    max-height: none;
    aspect-ratio: 2166 / 324;
    object-fit: contain;
    transform: none;
    margin: 0;
}

.site-frontend .header .head-top {
    position: relative;
    float: none;
    width: 100%;
    min-height: 56px;
    padding: 6px 56px 6px 0;
}

.site-frontend .header .top-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 8px;
    font-size: 14px;
}

.site-frontend .header .top-link > li:first-child {
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-frontend .header .top-link > li:nth-child(2) {
    margin-left: auto;
    padding: 0;
}

.site-frontend .header .head-top .top-link li .search-box-main {
    position: static;
    display: block !important;
    padding: 0 !important;
}

.site-frontend .header .head-top .top-link li .head-search {
    width: 44px;
    height: 44px;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    background: #f5f8f6;
}

.site-frontend .header .head-search::before {
    color: var(--home-green);
}

.site-frontend .header .head-top .top-link li .search-main {
    inset: 100% 0 auto;
    min-width: 0;
    padding: 10px !important;
    border-radius: 10px;
}

.site-frontend .header .head-top .top-link li .searchform {
    padding: 0 !important;
}

.site-frontend .header .search-main::before {
    display: none;
}

.site-frontend .header .top-link .loginbtn {
    width: auto;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    line-height: 44px;
    background: var(--home-green);
    border-color: var(--home-green) !important;
}

.site-frontend .header .top-link .loginbtn span:not(.fa) {
    display: inline !important;
}

.site-frontend .header .header-wrapper .primary .navbar .navbar-toggler {
    top: -50px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--home-green);
}

.site-home #banner_section {
    padding-top: 14px;
}

.site-home #banner_section .banner_main {
    padding-top: 0;
}

.site-home #home_banner {
    margin-top: 0 !important;
    border-radius: 14px;
    overflow: hidden;
}

.site-home #home_banner:not(.owl-loaded),
.site-home #home_banner .item > a {
    display: block;
}

.site-home #home_banner:not(.owl-loaded) .item:not(:first-child) {
    display: none;
}

.site-home #home_banner.owl-carousel .item img {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0;
}

.site-home .home-news {
    padding-top: 22px;
}

.site-home .home-news .hh30 {
    display: none;
}

.site-home .home-news .home-news-heading {
    padding: 0 var(--home-gutter) 12px !important;
}

.site-home .home-news .home-news-heading .two_box_title {
    position: static !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.site-home .home-news .home-news-heading span,
.site-home .home-resources .home-section-title {
    color: #173b2f !important;
    font: 700 20px/1.3 myfont2, system-ui, sans-serif !important;
}

.site-home .home-news .row.filtering {
    display: block;
    margin: 0 -6px;
}

.site-home .home-news .filtering > div:not(.slick-list),
.site-home .home-news .slick-slide {
    padding-inline: 6px;
}

.site-home .home-news .filtering:not(.slick-initialized) > div + div {
    margin-top: 12px;
}

.site-home .home-news .filtering.slick-slider:has(.slick-arrow) {
    padding-bottom: 52px;
}

.site-home .home-news .slick-arrow {
    top: auto;
    bottom: 0;
    width: 44px;
    height: 44px;
    transform: none;
    border-radius: 10px;
    background: var(--home-green);
    z-index: 1;
}

.site-home .home-news .slick-prev { left: calc(50% - 49px); }
.site-home .home-news .slick-next { right: calc(50% - 49px); }
.site-home .home-news .slick-arrow::before { color: #fff; }

.site-home .home-news .bg-news-spec {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: #fff;
}

.site-home .home-news .box-hdh {
    margin: 0;
}

.site-home .home-news .box-img img {
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.site-home .home-news .box-title {
    padding: 12px 12px 0;
}

.site-home .home-news .box-title a {
    height: auto;
    color: #173b2f;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.site-home .home-news .box-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: auto;
    margin: 0;
    padding: 8px 12px 12px;
    line-height: 1.3;
}

.site-home .home-news .box-detail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: auto;
    padding: 0 10px;
    border-color: var(--home-green) !important;
    background: var(--home-green) !important;
    font-size: 13px;
}

.site-home .home-news .box-time span {
    color: #50645a;
    font-size: 13px;
}

.site-home .two_box_section .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.site-home .two_box_section .row > div {
    max-width: none;
    padding: 0;
}

.site-home .two_box_main {
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.site-home .two_box_main > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: #fff;
}

.site-home .two_box_img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 570 / 330;
    object-fit: cover;
}

.site-home .two_box_main .two_box_title {
    position: static;
    display: grid;
    flex: 1;
    place-items: center;
    width: 100%;
    min-height: 48px !important;
    margin: 0;
    padding: 8px !important;
    border-radius: 0;
    background: #fff;
}

.site-home .two_box_main .two_box_title span {
    color: var(--home-green);
    font-size: 14px;
    line-height: 1.3;
}

.site-home .home-resources #single-wrapper {
    display: none;
}

.site-home .home-resources .home-resource-links {
    display: grid;
    gap: 8px;
    padding-block: 16px 24px;
}

.site-home .home-resources .home-section-title {
    margin: 0 0 4px;
}

.site-home .home-resource-links > a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    background: #fff;
    color: #173b2f;
    font: 600 15px/1.4 myfont2, system-ui, sans-serif;
}

.site-home .home-resource-links > a i {
    width: 20px;
    color: var(--home-green);
    text-align: center;
}

.site-home .member_section {
    padding: 26px 0;
    background-attachment: scroll;
    background-size: cover;
}

.site-home .member_detail_main .main_title {
    font-size: 23px !important;
    line-height: 1.25;
}

.site-home .member_detail_main .membersubtitle {
    padding: 0;
}

.site-home .member_detail_main .member_btnmain {
    margin-top: 14px !important;
}

.site-frontend .footer_top_main {
    margin-top: 0;
}

.site-frontend .footer_top_main .contact_info_box {
    word-break: normal;
    overflow-wrap: anywhere;
}

/* Inner pages */
.site-inner #inner_banner {
    position: relative;
    margin: 14px var(--home-gutter) 0 !important;
    overflow: hidden;
    border-radius: 14px;
}

.site-inner #inner_banner .inner-banner_img_main > img {
    display: block;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    margin: 0;
    transform: none;
}

.site-inner .space_top,
.site-inner .waptintucpage .hh25,
.site-inner .waptintucpage .hh30 {
    height: 12px;
}

.site-inner #inner_banner + .hh25,
.site-inner #inner_banner + .hh30 {
    height: 14px;
}

.site-inner .waptintucpage > .container > .row {
    margin-inline: -8px;
}

.site-inner .waptintucpage > .container > .row > [class*="col-"] {
    padding-inline: 8px;
    min-width: 0;
}

.site-inner .waptintucpage > .container > .row > :is(.col-sm-3.col-md-3, .col-sm-9.col-md-9),
.site-inner .waptintucpage > .container > .row > :is(.col-sm-4.col-md-4, .col-sm-6.col-md-6) {
    flex: 0 0 100%;
    max-width: 100%;
}

.site-inner .waptintucpage > .container > .row > .col-xs-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.site-inner .waptintucpage .nntitle {
    height: auto;
    min-height: 36px;
    margin-bottom: 8px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.site-inner .nntitle ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding-block: 8px;
}

.site-inner .nntitle ul li {
    float: none;
    width: auto;
    max-width: 100%;
    white-space: normal;
}

.site-inner .waptintucpage h1.newsh1,
.site-inner .waptintucpage .nnbody h1,
.site-inner .waptintucpage .news-content h1 {
    margin: 8px 0 14px;
    color: #173b2f !important;
    font-size: clamp(21px, 4vw, 28px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.site-inner .waptintucpage :is(.tttop1tin, .hhhlist, .boxlistnews, .ffwapalbum, .nnbody, .nnrightwapper, .boxcontact, .form-contact) {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: #fff;
    overflow-wrap: anywhere;
}

.site-inner .waptintucpage .ffwapalbum,
.site-inner .form-contact {
    margin-bottom: 12px;
}

.site-inner .waptintucpage .nnrightwapper {
    width: calc(100% - 24px);
    margin: 0 auto 12px;
}

.site-inner .waptintucpage :is(.ttimg101, .tttop2tin, .ddikh, .ddimj) {
    float: none;
    width: 100%;
    min-height: 0;
}

.site-inner .waptintucpage .boximgnews {
    height: auto;
    margin-bottom: 8px;
}

.site-inner .waptintucpage :is(.ttimg101, .ddikh, .boximgnews, .ffwimg, .ddimgs) img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
}

.site-inner .waptintucpage .tttop2tin,
.site-inner .waptintucpage .ddimj {
    padding-top: 8px;
}

.site-inner .waptintucpage :is(.tttdl, .fftalbum) {
    height: auto;
    overflow: visible;
}

.site-inner .waptintucpage .box-detail {
    display: flex;
    justify-content: flex-end;
    height: auto;
    margin: 8px 0 0;
    padding: 0;
}

.site-inner .waptintucpage .box-detail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 6px 10px;
    border-color: var(--home-green) !important;
    background: var(--home-green) !important;
    line-height: 1.25;
}

.site-inner :is(.nnbody, .news-content) {
    min-width: 0;
    overflow-x: auto;
    overflow-wrap: anywhere;
}

.site-inner :is(.nnbody, .news-content) img {
    max-width: 100%;
    height: auto !important;
}

.site-inner :is(.nnbody, .news-content) iframe {
    max-width: 100%;
}

.site-inner .nnbody iframe[src*="youtube.com/embed"] {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.site-inner .ffwthuvienanh .row {
    margin-inline: -6px !important;
}

.site-inner .ffwthuvienanh .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    padding-inline: 6px;
}

.site-inner .form-contact .form-control {
    min-height: 44px;
    font-size: 16px;
}

.site-inner .wi1th {
    width: 100%;
    min-height: 0;
    border-radius: 12px;
    box-shadow: 0 4px 18px #173b2f18;
}

.site-inner .fftmkcontents {
    width: 100%;
}

.site-inner .bgdangky {
    height: clamp(92px, 30vw, 200px);
    background-size: cover;
}

.site-inner .rredf {
    position: static;
    float: none;
    padding: 12px var(--home-gutter);
}

.site-inner .video-library-frame {
    display: block;
    width: 100%;
    height: 75vh;
    height: 75dvh;
}

.site-inner .video-library-embed .dataTables_wrapper {
    overflow-x: auto;
}

.site-inner .video-library-embed #table_id img {
    max-width: 100%;
    height: auto;
}

.site-inner .waptintucpage > .container > .row > :is(.nntitle, .newsh1, .boxfulltext) {
    margin-inline: 8px;
}

.site-inner .boxbodythongbao {
    padding-inline: 16px;
    overflow-wrap: anywhere;
}
