/* 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;
}


@media (min-width: 850px) {
  #main {
    width: 100%;
    left: 2%;
  }

  .stuck {
    right: unset !important;
  }

  .header,
  .header-wrapper {
    width: 230px !important;
  }

  .header {
    position: fixed !important;
    left: 0 !important;
    z-index: 9;
    transition: 0.5s;
    width: 230px !important;
  }

  .header-bg-color {
    background: #150f0f !important;
    height: 120vh;
    filter: drop-shadow(-1px 3px 20px rgba(0, 0, 0, 0.25));
  }

  .header-wrapper ul li {
    list-style-type: none !important;
  }

  #wide-nav{
    padding: 10px 0;
  }

  .nav > .menu-item > a {
    cursor: pointer;
    color: #fff;
    border-radius: 7px;
    font-size: 13px;
    display: flex;
    gap: 10px;
    height: 50px;
    margin-bottom: 10px;
    padding: 0 8px;
    width: 200px;
  }

  .header-bottom-nav.nav > li a:hover {
    background: linear-gradient(to top, #f40000, #dd5f11);
  }

  .header-bottom-nav.nav > li.active > a {
    background: linear-gradient(to top, #f4a000, #dd5f11);
  }

  .header-wrapper .menu-item.nav-dropdown-bold {
    position: relative !important;
  }

  .header-wrapper .ux-menu-icon {
    height: 24px;
    width: 24px;
  }

  .sub-menu {
    position: absolute;
    border: 2px solid #efefef;
    border-radius: 5px;
    top: 0px;
    list-style-type: none;
    margin-left: 110%;
    padding: 8px;
    background: #31a3ff;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    color: #fff !important;
  }

  .header-wrapper .menu-item.nav-dropdown-bold:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  .header-wrapper .sub-menu > .menu-item {
    margin: 0;
  }

  .header-wrapper .sub-menu > .menu-item > a {
    cursor: pointer;
    color: #f1f1f1;
    font-size: 14px;
    display: block;
    padding: 4px 10px;
    white-space: nowrap;
  }

  .nav .sub-menu > .menu-item > a:hover {
    color: #fff;
  }

  .sidebar-switch {
    z-index: 99;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(to top, #f40000, #dd5f11);
  }

  .sidebar-switch svg {
    width: 30px;
    height: 30px;
  }

  .header .hide {
    width: 75px !important;
  }

  .header .hide .logo {
    margin-left: 0;
    margin-right: 0px;
  }

  .header-wrapper.hide ul li a {
    text-indent: -9999px !important;
    width: 50px !important;
    gap: 0;
    justify-content: center;
    margin-left: -10px;
  }

  .header-wrapper.hide .sidebar-switch {
    transform: rotate(180deg) translateY(50%); /* Lưu ý: Cần chỉnh lại vì có translateY ở trên */
  }

  .has-dropdown .icon-angle-down {
    display: none !important;
  }

  .nav {
    flex-flow: column !important;
    left: 0px !important;
    align-items: flex-start !important;
  }

  .header .hide .sub-menu {
    display: none;
  }

  .nav li:first-child {
    margin-left: 6px !important;
  }
}

#bt1, #bt2:hover {
  background: red;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  padding: 10px 20px;
}

#bt2, #bt1:hover {
  background: #33c85d;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  padding: 10px 20px;
}

.nav > .html > a {
  margin-bottom: 10px;
}