/* 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;
    background-color: rgb(240, 240, 240);
    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: 110px;
}

.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: #fff;
    font-size: 1.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;
}

.searchform-wrapper {
    z-index: 999;
}

blockquote,
table td,
table th {
    color: #fff;
}

.searchform input {
    border-color: #fff !important;
    color: #fff;
}

.mobile-nav .icon-menu {
    color: #fff;
}

.header-button-1 .button {
    background-image: linear-gradient(to right, #ff6920, #c61604);
    background-size: 200% auto;
    border: 0;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite;
    position: relative;
}

.header-button-2 .button{
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400% 400%;
    border: 0;
    animation: gradient 15s ease infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
} 

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 195, 53, 0.8);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(255, 226, 69, 0.06);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(233, 211, 30, 0);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.w-thong-bao {
    display: flex;
    align-items: center;
    padding: 5px 0 !important;
}

.w-thong-bao .icon-inner{
    display: flex;
    align-items: center;
}

.w-thong-bao img{
    padding-top: 0 !important;
}

.w-thong-bao .icon-box-text {
    max-width: calc(100% - 25px);
    overflow: hidden;
    margin-left: 5px;
}

.w-thong-bao .icon-box-text p {
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.sm-img1{
    max-width: 160px;
}

.sm-img{
    max-width: 90px;
}

.md-img{
    max-width: 260px;
}

.a-footer .gallery-col{
    padding: 0 5px 10px !important;
    max-width: 65px;
}

.a-footer .gallery-col img{
    object-fit: contain;
}

.bg-img{
    max-width: 570px;
}

.bg-img1{
    max-width: 470px;
}

#wide-nav a.nav-top-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#wide-nav a.nav-top-link img{
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin: 0;
    object-position: top center;
}

#wide-nav a.nav-top-link:hover img, #wide-nav .menu-item.active a img{
    object-position: bottom center;
}