/* font */
:root {
    --main-font: "Inter", sans-serif;
    /* --primary-color: #1890FF; */
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 24px;
}

h3,
h3.is-large {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

p,
ul,
ol,
li {
    font-size: 16px;
    line-height: 1.4;
}

body {
    font-family: var(--main-font);
    font-style: normal;
}

.nav>li>a {
    font-family: var(--main-font);
    font-size: 0.9rem;
    font-weight: bold;
}

.mobile-sidebar-levels-2 .nav>li>ul>li>a {
    font-family: var(--main-font);
}

.mobile-sidebar-levels-2 .nav>li>ul>li>a {
    font-weight: 500;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical>li>a {
    font-family: var(--main-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
    font-weight: 700;
    font-style: normal;
}

/* common */
.absolute-footer {
    display: none;
}

html,
.mfp-content {
    background-color: #000 !important;
}

figure {
    margin: 1rem auto !important;
    max-width: 100%;
}

figcaption {
    text-align: center;
    line-height: 2;
}

.a-logo {
    max-width: 200px;
}

.menu-item .nav-dropdown {
    padding: 0 !important;
}

/* .a-search */
.a-search h1 {
    justify-content: center;
}

.rank-math-breadcrumb p {
    margin-bottom: 0;
}

/* .a-heading */
.a-heading b,
.a-heading-left b {
    display: none;
}

.a-heading .section-title,
.a-heading-left .section-title {
    border: unset;
}

.a-heading .section-title {
    justify-content: center;
}

.a-heading-left .section-title {
    justify-content: flex-start;
}

.a-heading .section-title span,
.a-heading-left .section-title span {
    border: unset;
    margin: unset;
    padding: unset;
}

.a-heading-left .section-title span {
    text-align: left;
}

.a-heading .section-title span {
    text-align: center;
}

/* .a-sidebar */

.a-sidebar .is-divider {
    display: none;
}

.a-sidebar>.col-inner .is-divider {
    display: none;
}

.col-inner:has(.a-sidebar) {
    position: sticky;
    top: 90px;
}

.a-sidebar .a-heading {
    margin-bottom: 0.5rem;
}

.a-sidebar .a-heading .section-title {
    margin-bottom: unset;
    font-size: 20px;
}

.a-sidebar .post-item .box {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    align-items: center;
}

.a-sidebar .post-item:first-child .box {
    border-top: unset;
}

.a-sidebar .post-item .box-text {
    padding: unset;
}

.a-sidebar .post-item .post-title {
    font-size: 16px;
}

.a-sidebar .post-item .box-image {
    width: 40% !important;
}

/* .a-cate */
.a-cate .category-page-title .page-title-inner .flex-col:first-child,
.a-cate .category-page-title .page-title-inner .flex-col:last-child {
    display: none;
}

.a-cate .category-page-title .page-title-inner .flex-col {
    margin: unset;
}

.a-cate .category-page-title .page-title-inner {
    padding: unset;
}

/* at_posts_related */
#at_posts_related .text-center {
    text-align: left;
}

#at_posts_related .row {
    margin-left: -5px;
    margin-right: -5px;
}

#at_posts_related .col {
    padding-left: 5px;
    padding-right: 5px;
}

#at_posts_related .is-divider,
#at_posts_related .badge {
    display: none;
}

/* .a-footer */
.a-footer .ux-menu .ux-menu-title {
    color: var(--fs-experimental-link-color);
    font-size: 1rem;
}

.a-footer .ux-menu .ux-menu-link__link {
    color: #fff;
}

.a-footer .ux-menu .ux-menu-link__link:hover {
    color: var(--fs-experimental-link-color);
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
    font-weight: bold;
}


.mb-half {
    margin-bottom: 10px !important;
}

.a-title {
    background: #650000;
    padding: 15px;
    border-radius: 8px 8px 0 0;
}

.a-title p {
    color: #F3CB63;
    background: linear-gradient(295.21deg, #F4D773 30.59%, #F0BC50 42.59%, #F6DD78 54.59%, #FFDB8F 66.58%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
}

.a-nhacai {
    margin-bottom: 12px !important;
    padding: 15px;
    border: 1px solid rgba(0, 43, 149, 1);
    background: rgba(217, 214, 8, 0.13);
    border-radius: 10px;
    position: relative;
}

.a-star {
    color: gold;
}

.a-nhacai .rating{
    display: inline-block;
    font-size: 12px;
    background: var(--fs-color-secondary);
    border-radius: 5px;
    padding: 4px;
}

.a-nhacai .large-4 .box-text .text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.a-nhacai .large-4 .a-logo {
    max-width: 130px;
    margin-left: 0 !important;
}

.a-nhacai .large-4 .box-image img,
.a-nhacai .large-4 .box-image {
    max-width: 130px;
}

.decor-red{
    background: #FA2828;
    color: #fff;
    display: inline-block;
    padding: 3px;
    font-weight: 700;
    font-size: 10px;
    line-height: 16px;
}

.a-nhacai .large-6  .text p{
    font-weight: 700;
}

.a-nhacai .stack .button.primary{
    background: linear-gradient(180deg, #31FCFF 0%, #86FDFF 100%);
    color: var(--fs-color-alert);
    border: 1px solid #000;
}

.a-nhacai .stack .button.success{
    background: linear-gradient(180deg, #00FF00 0%, #42FD91 100%);
    color: #000;
    border: 1px solid #000;
}

.list-nhacai{
    counter-reset: item-counter;
    position: relative
}


.list-nhacai .a-nhacai::before{
    content: counter(item-counter);
    counter-increment: item-counter;
    color: #fff;
    z-index: 999;
    font-weight: 700;
    font-size: 16px;
    background-image: url(/wp-content/uploads/2025/06/medal-blue.webp);
    width: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2.5px;
    padding-right: 2.5px;
    height: 38px;
    background-repeat: no-repeat;
    position: absolute;
    top: -10px;
    left: 5px;
    background-size: 100% 100%;
}


.c-expander .expander-content {
    display: -webkit-box;
    -webkit-line-clamp: 40;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100% !important;
}

.c-expander {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-expander.collapsed .expander-content {
    -webkit-line-clamp: unset;
}

.read-more-btn {
    border-radius: 99px;
    margin-top: 20px !important;
    color: #000;
}

.pl-0 {
    padding-left: 0 !important;
}

.a-footer .a-logo {
    max-width: 380px;
}

.a-sidebar .large-12 .icon-box-text{
    padding-left: 8px;
}
.rank-math-breadcrumb{
    border: solid 2px transparent;
    background: linear-gradient(#420000, #420000) padding-box, var(--linear-gold-background) border-box;
    border-radius: 5px;
    padding: 8px 16px;
}

.a-section-3 .post-item > .col-inner{
    border: 2px solid var(--fs-color-primary);
}


.a-sidebar .decor-red{
    background: #8B0304;
    color: #fff;
    display: inline-block;
    padding: 3px 18px 3px 4px;
    font-weight: 700;
    font-size: 8px;
    line-height: 16px;
    position: relative;
}

.a-sidebar .decor-red::after{
    content: " ";
    width: 0;
    height: 0;
    border-right: 14px solid #DEE4F1;
    border-bottom: 12px solid transparent;
    border-top: 12px solid transparent;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-100%,-50%);
}



.a-nhacai2{
    counter-reset: item-counter;
    position: relative
}

.a-nhacai2 >.large-12:before {
    content: counter(item-counter);
    counter-increment: item-counter;
    color: #fff;
    z-index: 999;
    font-weight: 700;
    font-size: 15px;
    background-image: url(/wp-content/uploads/2025/06/medal-blue.webp);
    width: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2.5px;
    padding-right: 2.5px;
    height: 38px;
    background-repeat: no-repeat;
    position: absolute;
    top: 5%;
    left: 0.5%;
    background-size: 100% 100%;
}

.a-sidebar .post-item .col-inner{
    border: 1px solid #012887;
    border-radius: 10px;
    margin-top: 13px;
    padding: 0 5px;
}

.a-sidebar .post-item .post-title a{
    font-weight: 400;
    font-size: 15px;
}

.j-text-scroll { 
    overflow-y: auto; 
    overflow-x: hidden; 
    max-height: 700px; 
} 
 
.j-text-scroll::-webkit-scrollbar { 
    width: 7px; 
    background: transparent !important; 
} 
 
.j-text-scroll::-webkit-scrollbar-thumb { 
    background-color: var(--fs-color-primary); 
    border-radius: 6px; 
}

.post-item .is-divider{
    display: none;
}

.a-text-scroll2 .scroll-inner,
.a-text-scroll{
    margin-top: 20px;
    padding: 0 14px 0 0;
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto
}

.a-text-scroll2 .scroll-inner::-webkit-scrollbar,
.a-text-scroll::-webkit-scrollbar{
    width: 9px;
    background: #A2A2A2 !important;
    border-radius: 6px
}

.a-text-scroll2 .scroll-inner::-webkit-scrollbar-thumb,
.a-text-scroll::-webkit-scrollbar-thumb{
    background-color: var(--fs-color-primary);
    border-radius: 6px
}
