/* 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: 240px;
}

.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 {
    font-size: 1rem;
    height: 45px;
    color: #0566fd;
    background-color: #afdbed;
    border: 4px solid #0566fd;
    border-radius: 4px;
    padding: 0 15px;
    border-top: 0;
    border-bottom: 0;
    margin-bottom: 20px !important;
    justify-content: center;
}

.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;
}

.header-button-2 a,
.header-button-1 a {
    background: linear-gradient(to bottom, #20acdd 50%, #1ad5e7);
}

.header-button-2 a:hover,
.header-button-1 a:hover {
    color: #e1ed02;
    background: linear-gradient(to bottom, #0e6ab5 50%, #57a2df);
}

.header-button-2::before,
.header-button-1::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #1ceb00;
    transition: all .5s;
    animation: clippath 3s infinite linear;
    border-radius: 7px;
}

.header-button-2::after,
.header-button-1::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #d75c08;
    transition: all .5s;
    animation: clippath 3s infinite -1.5s linear;
    border-radius: 7px;
}

@keyframes clippath {
    0%, 100% {
        clip-path: inset(0 0 98% 0);
    }

    25% {
        clip-path: inset(0 98% 0 0);
    }

    50% {
        clip-path: inset(98% 0 0 0);
    }

    75% {
        clip-path: inset(0 0 0 98%);
    }
}

figure:has(img){
    text-align: center;
}

.linear-bg{
    background: linear-gradient(to top, #00a8f3, #4ec5fb);
}

.a-footer a{
    color: #faff38;
}

.a-footer a:hover{
    color: var(--fs-experimental-link-color-hover);
}