/* 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: 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: 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: 12px !important;
}

.a-small-img {
    max-width: 170px;
}

.a-section-3 .large-2 .box .box-text {
    padding: 10px 5px;
}

.a-section-3 .large-2 .box .box-text a.button {
    margin: 0 !important;
}

figure:has(img) {
    text-align: center;
}

.a-section-4 .large-12 .col-inner {
    max-height: 750px;
    overflow: auto;
    border: 2px solid #4c9eea;
    border-radius: 10px;
    word-wrap: break-word;
    padding: 15px;
    box-shadow: 0 4px 8px #4c9eea;
}

.a-section-4 .large-12 .col-inner::-webkit-scrollbar {
    width: 7px;
    background: transparent !important;
}

.a-section-4 .large-12 .col-inner::-webkit-scrollbar-thumb {
    background-color: #4c9eea;
    border-radius: 6px;
}

.a-footer .ux-menu-link a:hover {
    padding-left: 10px;
    color: var(--fs-experimental-link-color-hover) !important;
    text-decoration: none
}

.a-footer .ux-menu-link a {
    font-weight: 700;
    transition: all .3s
}

.header-button a {
    background: linear-gradient(90deg, #fd8c00, #c70216, #c70216, #fd8c00);
    background-size: 300% 300%;
    border: 2px solid rgba(255, 223, 0, .8);
    box-shadow: 0 8px 20px rgba(255, 215, 0, .7), 0 4px 10px rgba(255, 0, 0, .5);
    animation: royalG 6s infinite linear, gradientS 8s infinite linear;
    transition: all .3s ease-in-out;
}

@keyframes gradientS {
    0% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

@keyframes royalG {
    0% {
        box-shadow: 0 8px 20px rgba(255, 215, 0, .7), 0 4px 10px rgba(255, 0, 0, .5)
    }

    50% {
        box-shadow: 0 10px 25px rgba(255, 223, 0, .9), 0 6px 15px rgba(255, 69, 0, .6)
    }

    100% {
        box-shadow: 0 8px 20px rgba(255, 215, 0, .7), 0 4px 10px rgba(255, 0, 0, .5)
    }
}

.mobile-nav .icon-menu{
    color: #fff;
}

#wide-nav .header-bottom-nav .menu-item a.nav-top-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#wide-nav .header-bottom-nav .menu-item a.nav-top-link img{
    width: 30px;
    height: 25px;
}