/* 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;
}


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 {
    font-size: 1rem;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb span {
    font-weight: bold;
}

.searchform-wrapper {
    z-index: 999;
}

/*  */
.button.primary,
.button.primary span {
    color: #000;
}

.header-top {
    border-bottom: 1px solid #E5E5E5;
}

/* a-banner */
.a-banner p {
    font-size: 20px;
}

.a-banner p,
.a-banner h1 {
    margin: unset !important;
}

.a-banner h1 {
    font-size: 70px;
    text-transform: uppercase;
    color: #FAB408;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.a-banner p:nth-child(1) {
    font-size: 50px;
}

.a-van-chuyen {
    display: flex;
    list-style: none;
    counter-reset: section;
    /* Khởi tạo counter */
    justify-content: flex-start;
    gap: 40px;
    padding: 0;
    margin: unset !important;
}

.a-van-chuyen li {
    counter-increment: section;
    /* Tăng counter */
    position: relative;
    padding: 0 20px;
    text-align: center;
    color: white;
    font-family: sans-serif;
    margin: unset !important;
}

.a-van-chuyen li::before {
    content: "0" counter(section);
    display: block;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 4px;
    text-align: left;
}

.a-van-chuyen li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    /* đường kẻ dọc */
}

/* a-icon */
.a-icon .col-inner {
    background: #FFFBF2;
    border: 2px dashed #FBB404;
    border-radius: 6px;
    padding: 50px 30px 5px 30px;
    height: 100%;
}

.a-icon .box-image img {
    min-height: 110px;
    object-fit: contain;
}

/* a-dv */
.a-dv.row {
    max-width: 1380px !important;
}

.a-dv .box .overlay {
    display: none;
}

.a-dv .box-text {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    margin-bottom: 1rem;
}
.a-dv-item .box{
    border-radius: 10px;
    overflow: hidden;
}
.a-thumb img{
    border-radius: 8px;
}
/* a-qt */
.a-qt .row {
    counter-reset: col-b;
    /* Khởi tạo bộ đếm tại mỗi .row */
}

.a-qt .row .col {
    counter-increment: col-b;
    /* Tăng bộ đếm mỗi lần gặp .col */
}

.a-qt .row .col-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.a-qt .row .col-inner::before {
    content: counter(col-b, decimal-leading-zero);
    /* Hiển thị 01, 02, 03,... */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #EBA700;
    border-radius: 99px;
    width: 78px;
    height: 78px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}

.a-qt .row .col .text::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 0.5px;
    border: 1px dashed rgba(0, 0, 0, 0.5);
    top: 50%;
    right: 0;
    transform: translate(100%, -50%);
    z-index: -1;
}

.a-qt .row .col:nth-child(odd) .text::after {
    top: 50%;
    right: 0;
    transform: translate(100%, -50%);
}

.a-qt .row .col:nth-child(even) .text::after {
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
}

.a-qt .row .text {
    max-width: 40%;
    width: 40%;
    background: #F3F3F3;
    position: relative;
}

.a-qt .row .text h3 {
    color: #000;
    margin: unset;
    background: #FAB408;
    padding: 12px 40px;
    text-align: left;
    text-transform: uppercase;
}

.a-qt .row .text ul {
    padding: 1rem;
    margin: unset !important;
}

.a-qt .row .text ul li {
    text-align: left;
}

/* a-ket-noi */
.a-ket-noi .stack .button {
    background: rgba(0, 0, 0, 0.5);
}

.a-ket-noi .stack .button span {
    color: #fff;
}

.form-dang-ky-chuan {
    max-width: 1200px;
    margin: auto;
    padding: 10px;
    font-family: sans-serif;
}

.form-dang-ky-chuan .d-flex {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-dang-ky-chuan input {
    margin: unset !important;
    padding: 25px 20px;
}

.form-dang-ky-chuan input[type="text"],
.form-dang-ky-chuan input[type="email"] {
    padding: 25px 20px;
    font-size: 16px;
    border: none;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-dang-ky-chuan button {
    font-size: 16px;
    font-weight: bold;
    background-color: #111;
    color: white;
    border: none;
    border-radius: 16px;
    white-space: nowrap;
    padding: 16px;
    margin: unset !important;
    line-height: 1
}

/* Column width control */
.two-thirds {
    flex: 2;
}

.one-third {
    flex: 1;
}

.three-fourths {
    flex: 3;
}

.one-fourth {
    flex: 1;
}

/* Footer */
.email-section {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', sans-serif;
    text-align: left;
}

.email-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #ddd;
}

.email-form input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    font-size: 18px;
    background-color: #eeeeee;
    outline: none;
    margin: unset !important;
}

.email-form button {
    padding: 0 24px;
    background-color: #FFBB00;
    color: #000;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    margin: unset !important;
}

.email-form button:hover {
    background-color: #e6a800;
}

.social-icons span {
    display: block;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
    font-size: 1rem;
}

.ux-menu-link__link {
    min-height: unset;
}

.section-title {
    margin-bottom: unset;
}
/* a-banner-2 */
.a-banner-2 h1{
    margin-bottom: 0;
}
.a-banner-2 p{
    margin-bottom: 0;
}
.a-banner-2 .text{
    border-left: 5px solid #FFBB00;
    padding-left: 11px;
}
/* a-vc-text */
.a-vc-text li {
    color: #000;
    text-align: left;
}
.a-vc-text li::after{
    background: rgba(0, 0, 0, 0.5) !important;
}
.a-vc-text{
    background: rgba(249, 218, 141, 0.18);
    padding: 14px 20px;
    border-radius: 6px;
}
/*  */
.a-bang-gia {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
}

.a-bang-gia .heading {
  background-color: #ffb700;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 4px 4px 0 0;
}

.a-bang-gia .heading h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.a-bang-gia .heading p {
  margin: 5px 0;
  font-size: 14px;
}

.a-bang-gia table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 16px;
}

.a-bang-gia thead th {
  background-color: #f8e6b8;
  padding: 12px;
  font-weight: bold;
  text-align: center;
}

.a-bang-gia tbody td {
  padding: 10px 8px;
  text-align: center;
}

.a-bang-gia tbody tr:nth-child(odd) {
  background-color: #fff8e5;
}

.a-bang-gia tbody tr:nth-child(even) {
  background-color: #fff;
}
.c-expander .expander-content {
  display: -webkit-box;
  -webkit-line-clamp: 5; 
  -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; 
}
.a-cong-thuc {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  gap: 10px;
  flex-wrap: wrap;
}

.a-cong-thuc .label {
  white-space: nowrap;
}

.a-cong-thuc .fraction {
  display: inline-block;
  text-align: center;
  line-height: 1.2;
}

.a-cong-thuc .numerator {
  border-bottom: 2px solid #000;
  padding: 2px 6px;
}

.a-cong-thuc .denominator {
  margin-top: 2px;
}
/*  */
.a-form-lien-he {
  margin: 0 auto;
}

.a-form-lien-he .d-flex {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.a-form-lien-he input,
.a-form-lien-he textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fff;
}

.a-form-lien-he .d-flex input {
  flex: 1 1 48%;
  margin: unset;
}

.a-form-lien-he textarea {
  margin-bottom: 15px;
  width: 100%;
  resize: vertical;
}

.a-form-lien-he button {
  background-color: #ffbb00;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: unset;
  text-transform: unset;
}

.a-form-lien-he button:hover {
  background-color: #e5a900;
}
/* a-lienhe-icon */
.a-lienhe-icon .col-inner{
    border-radius: 12px;
    height: 130px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}
.a-lienhe-icon .col-inner p{
    margin-bottom: unset;
}
.a-lienhe-icon .col-inner .icon-box{
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.a-lienhe-icon .col-inner .icon-box-img{
    margin: unset;
}
.a-lienhe-icon .col-inner .icon-box-text{
    flex: unset;
    margin: unset;
}
.a-lienhe-icon .col-inner .icon-box-text p{
    color: rgba(164, 164, 164, 1);
}
/*  */
.post-item .is-divider{
    display: none;
}
.post-item .box .plain{
    width: 100 !important;
    display: block;
}
.post-item .box .button,
.post-item .box button{
    border-radius: 99px;
    display: block;
    margin: 10px auto;
    color: #000;
    max-width: 170px;
    text-transform: unset;
}
#ez-toc-container,
#at_posts_related,
.tac-gia-shortcode {
  background-color: rgba(253, 236, 192, 0.38) !important; 
  border: unset !important;
  border-radius: 6px;
  padding: 15px;
}
#at_posts_related .h3,
.ez-toc-title{
    font-size: 14px !important;
    text-transform: unset;
    padding-top: unset;
}
#at_posts_related .gap-element{
    display: none !important;
}
#at_posts_related .post-item .box-image{
    display: none;
}
#at_posts_related .post-item {
    padding: 10px 0 !important;
    border-bottom: 1px solid #e5a900;
}
#at_posts_related .post-title a{
    text-align: left;
    font-size: 14px;
}
#at_posts_related .box{
    padding: unset !important;
}
#at_posts_related .post-item:last-child{
    border: unset;
}
#at_posts_related .row{
    margin: unset !important;
}
/* tac-gia-shortcode */
.tac-gia-shortcode{
    margin-bottom: 1rem;
    text-align: center;
}
.tac-gia-shortcode img{
    border-radius: 99px;
    margin-bottom: 1rem;
}
.tac-gia-shortcode p{
    margin-bottom: 7px;
}
.tac-gia-shortcode .a-tac-gia{
    color: rgba(0, 0, 0, 0.52);
    font-size: 12px;
}
.tac-gia-shortcode .a-tac-gia-tt{
    font-weight: bold;
}
