/* ============================================================
   xoso_3 — Stage (teal chu dao + cam nhan)
   Nguyen tac phoi mau: 1 mau thuong hieu (teal) dung cho khung/chrome,
   1 mau nhan (cam) CHI dung cho so ket qua, CTA, hover. Nen trung tinh.
   Khong chia header/footer thanh 2 khoi mau doi dau nhau.
   ============================================================ */
:root {
  /* brand scale */
  --xs-brand: #0e5750;
  --xs-brand-dark: #0a423d;
  --xs-brand-deep: #072e2b;
  --xs-brand-soft: #e8f1ef;

  /* accent: dung tiet che */
  --xs-accent: #e8590c;
  --xs-hot: #c2410c;
  --xs-gold: #f5b32b;

  /* framework aliases (giu ten cu de cac rule dung chung khong vo) */
  --xs-accent-dark: #0d5049;
  --xs-nav: #0a423d;

  /* surfaces */
  --xs-bg: #f2f5f4;
  --xs-card: #ffffff;
  --xs-border: #dde5e3;
  --xs-ink: #172624;
  --xs-muted: #5a6b68;

  --xs-title-bg: #e8f1ef;
  --xs-title-ink: #0b4740;

  --xs-footer-bg: #082e2b;
  --xs-footer-ink: #b9cfcb;
  --xs-footer-link: #f5c26b;

  --xs-radius: 14px;
  --xs-max: 1240px;
  --xs-font: "Be Vietnam Pro", Arial, sans-serif;
  --xs-display: "Oswald", "Be Vietnam Pro", sans-serif;
  --xs-shadow: 0 10px 26px rgba(7, 46, 43, .12);
  --xs-shadow-sm: 0 2px 8px rgba(7, 46, 43, .08);
}

/* ---------- base ---------- */
body.xs-theme-3 { font-family: var(--xs-font); background: var(--xs-bg); color: var(--xs-ink); }
body.xs-theme-3 a { color: var(--xs-brand); }
body.xs-theme-3 a:hover { color: var(--xs-hot); }
.xs-theme-3 img { max-width: 100%; height: auto; }
.xs-theme-3 .xs-hd-wrap,
.xs-theme-3 .xs-ft-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 16px; }

/* ============================================================
   HEADER 3 tang: utility -> brand bar -> nav
   base.css reset: .taskbar{bg:#fbfbfb}, .top-info{bg:#fff}
   ============================================================ */
.xs-theme-3 header.xs-hd { background: var(--xs-brand); color: #fff; box-shadow: var(--xs-shadow-sm); }
.xs-theme-3 .taskbar,
.xs-theme-3 header .taskbar,
.xs-theme-3 .top-info,
.xs-theme-3 header .top-info {
  background: transparent !important; border: 0 !important;
  margin: 0; padding: 0; color: #fff !important;
}

.xs-theme-3 .xs-hd3-top { background: var(--xs-brand-deep); font-size: 12.5px; }
.xs-theme-3 .xs-hd3-top .xs-hd-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 7px 16px; flex-wrap: wrap;
}
.xs-theme-3 .xs-hd3-today { color: rgba(255, 255, 255, .72); }
.xs-theme-3 .xs-hd3-today strong { color: #fff; }
.xs-theme-3 .xs-hd3-toplinks { display: flex; gap: 18px; flex-wrap: wrap; }
.xs-theme-3 .xs-hd3-toplinks a { color: rgba(255, 255, 255, .82) !important; text-decoration: none; }
.xs-theme-3 .xs-hd3-toplinks a:hover { color: var(--xs-gold) !important; }

.xs-theme-3 .xs-hd3-bar { background: var(--xs-brand); }
.xs-theme-3 .xs-hd3-bar .xs-hd-wrap {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
}
.xs-theme-3 .logo { margin: 0; flex: none; }
.xs-theme-3 .txtlogo { display: block; color: #fff !important; }
.xs-theme-3 .txtlogo img { max-height: 46px; width: auto; display: block; }
.xs-theme-3 .xs-hd3-id {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
  padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); margin-right: auto;
}
.xs-theme-3 .xs-hd3-name {
  font-family: var(--xs-display); font-size: 20px; line-height: 1.15;
  letter-spacing: .4px; text-transform: uppercase; color: #fff;
}
.xs-theme-3 .xs-hd3-tag { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.xs-theme-3 .xs-hd3-cta { display: flex; gap: 10px; flex: none; }
.xs-theme-3 .xs-hd3-btn {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.xs-theme-3 .xs-hd3-btn.ghost {
  color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); background: transparent;
}
.xs-theme-3 .xs-hd3-btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.xs-theme-3 .xs-hd3-btn.solid { background: var(--xs-accent); color: #fff !important; }
.xs-theme-3 .xs-hd3-btn.solid:hover { background: var(--xs-hot); }

.xs-theme-3 .navbar-toggle {
  background: rgba(255, 255, 255, .14); border: 0; border-radius: 10px;
  padding: 9px 10px; float: none; flex: none;
}
.xs-theme-3 .navbar-toggle .icon-bar {
  background: #fff !important; display: block; height: 2px; width: 22px; margin: 4px 0;
}

/* ---------- NAV ---------- */
.xs-theme-3 nav#nav { background: var(--xs-brand-dark); border-top: 1px solid rgba(255, 255, 255, .08); }
.xs-theme-3 nav#nav > ul > li > a,
.xs-theme-3 nav#nav .nav-pc > li > a,
.xs-theme-3 nav#nav #nav-horizontal-list > li > a { color: #fff; }
.xs-theme-3 nav#nav > ul > li:hover > a,
.xs-theme-3 nav#nav > ul > li.active > a,
.xs-theme-3 nav#nav .nav-pc > li:hover > a,
.xs-theme-3 nav#nav .nav-pc > li.active > a,
.xs-theme-3 nav#nav #nav-horizontal-list > li:hover > a,
.xs-theme-3 nav#nav #nav-horizontal-list > li.active > a {
  background: var(--xs-brand-deep); color: var(--xs-gold);
  box-shadow: inset 0 -3px 0 var(--xs-accent);
}

/* submenu desktop: base co nav#nav li>a{color:#fff} de len .menu-c2 li a{color:#333} */
.xs-theme-3 nav#nav .menu-c2 {
  background: #fff !important; border: 1px solid var(--xs-border);
  box-shadow: var(--xs-shadow); border-radius: 10px; padding: 6px 0 !important; z-index: 9999;
}
.xs-theme-3 nav#nav .menu-c2 li { padding: 0 !important; border-bottom: 1px dashed #eef2f1; }
.xs-theme-3 nav#nav .menu-c2 li:last-child { border-bottom: 0; }
.xs-theme-3 nav#nav .menu-c2 li a,
.xs-theme-3 nav#nav .menu-c2 li:not(.active) a,
.xs-theme-3 nav#nav li:hover .menu-c2 li a,
.xs-theme-3 nav#nav li.active .menu-c2 li a,
.xs-theme-3 nav#nav li:hover .menu-c2 a {
  color: #1f2a29 !important; background: transparent !important; box-shadow: none;
  display: block; padding: 9px 16px !important; line-height: 1.4;
  text-transform: none; white-space: nowrap;
}
.xs-theme-3 nav#nav .menu-c2 li a:hover,
.xs-theme-3 nav#nav .menu-c2 li:hover > a,
.xs-theme-3 nav#nav .menu-c2 li.active > a {
  background: var(--xs-brand-soft) !important; color: var(--xs-brand) !important;
}

/* drawer mobile */
.xs-theme-3 .nav-pc { background: #fff; }
.xs-theme-3 .nav-horizontal li { background: #fff; }
.xs-theme-3 .nav-horizontal li > a { color: #172624 !important; background: transparent !important; box-shadow: none; }
.xs-theme-3 .nav-horizontal li.active > a,
.xs-theme-3 .nav-horizontal li:hover > a { background: var(--xs-brand) !important; color: #fff !important; }
.xs-theme-3 .nav-horizontal li.menu-header,
.xs-theme-3 .nav-horizontal li.menu-header a { background: var(--xs-brand) !important; color: #fff !important; }
.xs-theme-3 .nav-horizontal .menu-c2 { background: #f5f8f7 !important; box-shadow: none; border: 0; border-radius: 0; }
.xs-theme-3 .nav-horizontal .menu-c2 li a { color: #2a3a38 !important; padding-left: 28px !important; }
.xs-theme-3 .nav-horizontal .menu-c2 li a:hover { background: #eaf1ef !important; color: var(--xs-brand) !important; }

/* ============================================================
   STAGE HERO (full-bleed) — mot khoi teal duy nhat, khong ghep mau
   ============================================================ */
.xs-stage-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 160% at 88% -30%, rgba(245, 179, 43, .18), transparent 60%),
    linear-gradient(180deg, #0d5049, #0a423d);
  border-bottom: 3px solid var(--xs-accent);
}
.xs-stage-hero-inner {
  position: relative; max-width: var(--xs-max); margin: 0 auto; padding: 26px 16px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center;
}
.xs-stage-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--xs-gold);
}
.xs-stage-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #46d67f;
  box-shadow: 0 0 0 0 rgba(70, 214, 127, .6); animation: xsPulse3 1.8s infinite;
}
@keyframes xsPulse3 {
  0% { box-shadow: 0 0 0 0 rgba(70, 214, 127, .55); }
  70% { box-shadow: 0 0 0 9px rgba(70, 214, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 214, 127, 0); }
}
.xs-stage-h {
  margin: 0; color: #fff; font-family: var(--xs-display); font-weight: 600;
  font-size: 30px; line-height: 1.18; letter-spacing: .3px; text-transform: uppercase;
}
.xs-stage-meta { margin: 8px 0 0; color: rgba(255, 255, 255, .74); font-size: 13.5px; text-transform: capitalize; }
.xs-stage-quick { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.xs-stage-quick a {
  display: block; min-width: 104px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  text-decoration: none; text-align: center; transition: background .15s ease, transform .15s ease;
}
.xs-stage-quick a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.xs-stage-quick b { display: block; color: #fff; font-family: var(--xs-display); font-size: 16px; letter-spacing: .5px; }
.xs-stage-quick span { display: block; color: rgba(255, 255, 255, .68); font-size: 11.5px; margin-top: 2px; }

/* ============================================================
   STAGE BODY: main 1 cot + deck widget ben duoi
   ============================================================ */
.xs-theme-3 .content.main.xs-stage {
  max-width: var(--xs-max); margin: 22px auto 26px; padding: 0 16px; display: block;
}
.xs-theme-3 .xs-stage-main {
  width: auto !important; max-width: 980px; margin: 0 auto !important;
  float: none !important; display: block !important; padding: 0 !important;
}
.xs-theme-3 .xs-stage > [id^="banner"] { max-width: 980px; margin: 0 auto 14px; }

.xs-stage-deck { max-width: 100%; margin-top: 26px; }
.xs-stage-deck-head {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
}
.xs-stage-deck-head span {
  font-family: var(--xs-display); text-transform: uppercase; letter-spacing: .6px;
  font-size: 15px; color: #fff; background: var(--xs-brand); padding: 8px 16px; border-radius: 999px;
}
.xs-stage-deck-head::after {
  content: ""; flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--xs-accent), rgba(14, 87, 80, .12));
}
.xs-stage-deck-grid {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start;
}
/* .col-center/.col-right giu nguyen la 2 cot doc lap de cac widget ben trong xep chong len nhau gon gang */
.xs-theme-3 .xs-stage-deck-grid > .col-center,
.xs-theme-3 .xs-stage-deck-grid > .col-right {
  display: flex !important; flex-direction: column; gap: 14px;
  flex: 1; min-width: 280px;
  width: auto !important; float: none !important;
  margin: 0 !important; padding: 0 !important;
}
.xs-theme-3 .xs-stage-deck-grid > .col-center > *,
.xs-theme-3 .xs-stage-deck-grid > .col-right > * { min-width: 0; margin-bottom: 0 !important; }
.xs-theme-3 .xs-stage-deck-grid .content-right,
.xs-theme-3 .xs-stage-deck-grid .box { overflow-x: auto; }

/* ---------- boxes / cards ---------- */
.xs-theme-3 .box,
.xs-theme-3 .content-right {
  background: var(--xs-card); color: var(--xs-ink);
  border: 1px solid var(--xs-border); border-radius: var(--xs-radius);
  margin-bottom: 14px; box-shadow: var(--xs-shadow-sm); overflow: hidden;
}
.xs-theme-3 .content-right ul { list-style: none; margin: 0; padding: 0 14px 14px; }
.xs-theme-3 .content-right li {
  padding: 10px 0; border-bottom: 1px dashed var(--xs-border);
  display: flex; align-items: center;
}
.xs-theme-3 .content-right li:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-theme-3 .content-right li::before,
.xs-theme-3 .bullet ul li::before {
  content: "›" !important; color: var(--xs-accent); font-weight: bold;
  margin-right: 8px; font-size: 16px; background: none !important;
  width: auto !important; height: auto !important; display: inline-block;
}

/* ---------- titles ---------- */
.xs-theme-3 .title-r,
.xs-theme-3 .content-right .title-r {
  background: var(--xs-brand) !important; color: #fff !important;
  font-family: var(--xs-display); text-transform: uppercase; letter-spacing: .4px;
  padding: 10px 14px !important; font-size: 13px !important; border-radius: 0 !important;
}
.xs-theme-3 .title-r a, .xs-theme-3 .title-r a:hover,
.xs-theme-3 .content-right .title-r a,
.xs-theme-3 .content-right h2 a, .xs-theme-3 .content-right h3 a { color: #fff !important; text-decoration: none; }
.xs-theme-3 .tit-mien,
.xs-theme-3 .title-bor,
.xs-theme-3 .kq-title {
  background: var(--xs-brand-soft) !important; color: var(--xs-title-ink) !important;
  font-family: var(--xs-display); font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
  border-left: 4px solid var(--xs-accent); padding: 10px 14px !important; text-align: left;
}
.xs-theme-3 .tit-mien a, .xs-theme-3 .tit-mien strong, .xs-theme-3 .tit-mien span,
.xs-theme-3 .title-bor a, .xs-theme-3 .kq-title a { color: var(--xs-title-ink) !important; }
.xs-theme-3 .sub-title { color: var(--xs-brand) !important; }

/* ---------- CONTRAST GUARD (cac cap mau ratio < 3 trong base.css) ---------- */
.xs-theme-3 .nav-tabs > li { background-color: #e9eeed; color: var(--xs-brand); }
.xs-theme-3 .nav-tabs > li > a { color: var(--xs-ink); }
.xs-theme-3 .nav-tabs > li.active { background-color: var(--xs-brand); }
.xs-theme-3 .nav-tabs > li.active > a { color: #fff; }
.xs-theme-3 .control-panel { background: var(--xs-brand); color: #fff; }
.xs-theme-3 .control-panel a,
.xs-theme-3 .control-panel span,
.xs-theme-3 .control-panel label { color: #fff; }
.xs-theme-3 .cl-rl, .xs-theme-3 .colgiai td div.cl-rl { color: var(--xs-hot); }
.xs-theme-3 a.item_sublink { background: var(--xs-brand); color: #fff; }

/* ---------- ket qua: cam CHI dung o day ---------- */
.xs-theme-3 .colgiai .gdb div,
.xs-theme-3 table.kqmb .db td.number,
.xs-theme-3 .gdb,
.xs-theme-3 .madb { color: var(--xs-accent) !important; font-weight: 800 !important; }
.xs-theme-3 .colgiai .gdb div,
.xs-theme-3 table.kqmb .db td.number { font-size: 32px !important; letter-spacing: 1px; }
.xs-theme-3 table.kqmb tr:nth-child(even) td { background: #f7faf9; }
.xs-theme-3 table.kqmb td, .xs-theme-3 table.kqmb th { border-color: var(--xs-border); }
.xs-theme-3 .txt-giai { color: var(--xs-muted); }
.xs-theme-3 table td, .xs-theme-3 table th { color: inherit; }

/* ---------- buttons / paging ---------- */
.xs-theme-3 .btn-see-more,
.xs-theme-3 .btn-more {
  background: var(--xs-brand); color: #fff !important; border: 0; border-radius: 999px;
  padding: 8px 18px; text-decoration: none; display: inline-block;
}
.xs-theme-3 .btn-see-more:hover, .xs-theme-3 .btn-more:hover { background: var(--xs-brand-dark); }
.xs-theme-3 .paging a, .xs-theme-3 .paging span {
  display: inline-block; padding: 7px 12px; margin: 2px; border-radius: 8px;
  border: 1px solid var(--xs-border); background: var(--xs-card); color: var(--xs-ink); text-decoration: none;
}
.xs-theme-3 .paging a:hover,
.xs-theme-3 .paging .current { background: var(--xs-brand); color: #fff; border-color: var(--xs-brand); }

/* ---------- WP content ---------- */
.xs-prose {
  background: var(--xs-card); color: var(--xs-ink); padding: 24px 26px; line-height: 1.75; font-size: 16px;
  border: 1px solid var(--xs-border); border-radius: var(--xs-radius); box-shadow: var(--xs-shadow-sm);
}
.xs-prose > * { max-width: 74ch; }
.xs-prose h1, .xs-prose h2, .xs-prose h3 { font-family: var(--xs-display); color: var(--xs-brand); margin: 24px 0 10px; line-height: 1.25; }
.xs-prose h1 { font-size: 27px; margin-top: 0; }
.xs-prose h2 { font-size: 21px; }
.xs-prose h3 { font-size: 18px; }
.xs-prose p { margin: 0 0 14px; }
.xs-prose a { color: var(--xs-brand); text-decoration: underline; }
.xs-prose a:hover { color: var(--xs-hot); }
.xs-prose ul, .xs-prose ol { margin: 0 0 14px 22px; }
.xs-prose img { border-radius: 10px; margin: 10px 0; }
.xs-prose table { width: 100%; max-width: none; border-collapse: collapse; margin-bottom: 16px; }
.xs-prose table th, .xs-prose table td { border: 1px solid var(--xs-border); padding: 9px; }
.xs-prose table th { background: var(--xs-brand-soft); color: var(--xs-title-ink); }
.xs-prose blockquote {
  margin: 0 0 16px; padding: 12px 18px; background: var(--xs-brand-soft);
  border-left: 4px solid var(--xs-accent); border-radius: 0 8px 8px 0; color: var(--xs-ink);
}
.post-meta { color: var(--xs-muted); font-size: 13px; margin-bottom: 12px; }

.xs-bloglist { list-style: none; margin: 0; padding: 0; }
.xs-bloglist li { padding: 16px 0; border-bottom: 1px dashed var(--xs-border); }
.xs-bloglist li:last-child { border-bottom: 0; }
.xs-bloglist h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--xs-display); }
.xs-bloglist h3 a { color: var(--xs-brand); }
.xs-bloglist img { max-width: 150px; border-radius: 10px; margin: 0 14px 6px 0; }
.xs-bloglist .sapo { color: var(--xs-muted); }

/* quay thu: content-quaythu.php co .col-l long nhau -> reset */
.xs-quaythu .col-l, .xs-quaythu .col-center, .xs-quaythu .col-right {
  width: auto !important; float: none !important; display: block !important; padding: 0 !important;
}

/* 404 + fallback */
.xs-404, .xs-fallback {
  background: var(--xs-card) !important; color: var(--xs-ink);
  border: 1px solid var(--xs-border); border-radius: var(--xs-radius);
  padding: 28px; text-align: center; box-shadow: var(--xs-shadow-sm);
}
.xs-404 p, .xs-fallback p { margin: 14px 0 0; color: var(--xs-muted); }
.xs-fallback h2 { color: var(--xs-brand); font-family: var(--xs-display); margin: 0; }
.xs-fallback-btn {
  display: inline-block; margin-top: 16px; padding: 10px 20px; border-radius: 999px;
  background: var(--xs-accent); color: #fff !important; text-decoration: none; font-weight: 700;
}

/* ============================================================
   FOOTER: mot nen teal dam duy nhat + hairline cam
   ============================================================ */
.xs-theme-3 .footer.xs-footer {
  background: var(--xs-footer-bg); color: var(--xs-footer-ink);
  margin-top: 32px; border-top: 3px solid var(--xs-accent); padding: 0;
}
.xs-theme-3 .xs-footer p,
.xs-theme-3 .xs-footer li,
.xs-theme-3 .xs-footer span,
.xs-theme-3 .xs-footer div { color: var(--xs-footer-ink); }
.xs-theme-3 .xs-footer strong { color: #fff; }
.xs-theme-3 .xs-footer a { color: var(--xs-footer-link); text-decoration: none; }
.xs-theme-3 .xs-footer a:hover { color: #fff; text-decoration: underline; }

.xs-theme-3 .xs-ft3-top .xs-ft-wrap {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px;
  padding: 34px 16px 28px;
}
.xs-theme-3 .xs-ft3-brand p { font-size: 13.5px; line-height: 1.75; margin: 0 0 14px; }
.xs-theme-3 .xs-ft-logo { max-height: 44px; width: auto; margin-bottom: 14px; display: block; }
.xs-theme-3 .xs-ft-col h3 {
  margin: 0 0 14px; font-family: var(--xs-display); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px; color: #fff !important;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.xs-theme-3 .xs-ft-col ul { list-style: none; margin: 0; padding: 0; }
.xs-theme-3 .xs-ft-col li { margin-bottom: 9px; font-size: 13.5px; }
.xs-theme-3 .xs-ft-col li a::before { content: "› "; color: var(--xs-accent); }

.xs-theme-3 .xs-ft3-links {
  background: rgba(0, 0, 0, .16); font-size: 12.5px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.xs-theme-3 .xs-ft3-links .xs-ft-wrap { padding: 12px 16px; }
.xs-theme-3 .xs-ft3-links a { margin-right: 12px; }

.xs-theme-3 .xs-ft3-strip { border-top: 1px solid rgba(255, 255, 255, .08); }
.xs-theme-3 .xs-ft3-strip .xs-ft-wrap {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  align-items: center; padding: 16px 16px 22px;
}
.xs-theme-3 .xs-copy { margin: 0; font-size: 13.5px; }
.xs-theme-3 .xs-fine { margin: 0; font-size: 12.5px; opacity: .78; }
.xs-theme-3 .footer .share-social,
.xs-theme-3 .footer .coppyr { float: none; }

/* go top: base.css dung #go-top (ID) nen phai tang specificity */
.xs-theme-3 #go-top.xs-gotop {
  position: fixed; right: 14px; bottom: 84px; z-index: 40;
  width: 44px; height: 44px; line-height: 44px; padding: 0; text-align: center;
  background-color: var(--xs-accent); color: #fff !important; border-radius: 50%;
  box-shadow: var(--xs-shadow); text-decoration: none; font-size: 22px;
}
.xs-theme-3 #go-top.xs-gotop:hover { background-color: var(--xs-hot); }
.xs-theme-3 #go-top.hidden { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .xs-stage-hero-inner { grid-template-columns: 1fr; gap: 18px; }
  .xs-theme-3 .xs-hd3-cta { display: none; }
  .xs-theme-3 .xs-hd3-id { border-left: 0; padding-left: 0; }
  .xs-theme-3 .xs-ft3-top .xs-ft-wrap { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .xs-theme-3 .xs-hd3-top .xs-hd-wrap { justify-content: center; }
  .xs-theme-3 .xs-hd3-bar .xs-hd-wrap { padding: 10px 14px; gap: 10px; }
  .xs-theme-3 .xs-hd3-name { font-size: 16px; }
  .xs-theme-3 .xs-hd3-tag { display: none; }
  .xs-stage-h { font-size: 22px; }
  .xs-stage-quick { width: 100%; }
  .xs-stage-quick li { flex: 1 1 calc(50% - 10px); }
  .xs-stage-quick a { min-width: 0; }
  .xs-theme-3 .colgiai .gdb div,
  .xs-theme-3 table.kqmb .db td.number { font-size: 24px !important; }
  .xs-theme-3 .xs-ft3-top .xs-ft-wrap { grid-template-columns: 1fr; gap: 20px; padding: 26px 16px 22px; }
  .xs-prose { padding: 16px; }
}

/* ---------- hamburger: chi hien tren mobile ---------- */
@media (min-width: 1024px) {
  .xs-theme-3 .navbar-toggle,
  .xs-theme-3 header .navbar-toggle,
  .xs-theme-3 .xs-hd-3 .navbar-toggle,
  .xs-theme-3 #menu-mobile-backdrop { display: none !important; }
}
@media (max-width: 1023px) {
  .xs-theme-3 .navbar-toggle,
  .xs-theme-3 header .navbar-toggle,
  .xs-theme-3 .xs-hd-3 .navbar-toggle { display: inline-block; }
}


/* FAQ Accordion */
.xs-theme-3 .faq-accordion { margin: 24px 0; }
.xs-theme-3 .faq-item { background: var(--xs-card); border: 1px solid var(--xs-border); border-radius: var(--xs-radius); margin-bottom: 14px; box-shadow: var(--xs-shadow-sm); overflow: hidden; transition: box-shadow 0.2s; }
.xs-theme-3 .faq-item:hover { box-shadow: var(--xs-shadow); }
.xs-theme-3 .faq-question { padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--xs-brand); font-family: var(--xs-display); font-size: 17px; }
.xs-theme-3 .toggle-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--xs-brand-soft); color: var(--xs-brand); display: flex; align-items: center; justify-content: center; font-weight: bold; transition: all 0.2s; }
.xs-theme-3 .toggle-icon::before { content: "+"; }
.xs-theme-3 .faq-item.active .toggle-icon { background: var(--xs-accent); color: #fff; transform: rotate(180deg); }
.xs-theme-3 .faq-item.active .toggle-icon::before { content: "-"; }
.xs-theme-3 .faq-answer { border-top: 1px solid var(--xs-border); }
.xs-theme-3 .answer-content { padding: 16px 20px; color: var(--xs-ink); font-size: 15px; line-height: 1.7; }

    
    /* ========== SUBMENU + HEADER RESET (2026-08-16 fix) ========== */
    /* Bug: nav#nav li > a {color:#fff} thang .menu-c2 li a {color:#333} -> chu trang tren nen trang */
    .xs-theme-3 header.xs-hd { color: #fff; }
    .xs-theme-3 .xs-hd-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 12px; }
    .xs-theme-3 .taskbar {
      background: transparent !important; border: 0 !important; margin: 0; padding: 0;
      color: #fff !important; font-family: var(--xs-display); font-size: 18px;
      line-height: 1.25; letter-spacing: .3px; text-transform: uppercase;
    }
    .xs-theme-3 .logo { margin: 0; }
    .xs-theme-3 .txtlogo { color: #fff !important; display: inline-block; }
    .xs-theme-3 .txtlogo img { max-height: 40px; width: auto; display: block; }
    .xs-theme-3 .navbar-toggle {
      background: rgba(255,255,255,.16); border: 0; border-radius: 8px; padding: 8px 9px; float: none;
    }
    .xs-theme-3 .navbar-toggle .icon-bar { background: #fff !important; display: block; height: 2px; width: 22px; margin: 4px 0; }
    
    /* Top-level nav links: white on dark nav */
    .xs-theme-3 nav#nav { background: var(--xs-nav, var(--xs-accent-dark)); }
    .xs-theme-3 nav#nav > ul > li > a,
    .xs-theme-3 nav#nav .nav-pc > li > a,
    .xs-theme-3 nav#nav #nav-horizontal-list > li > a { color: #fff; }
    .xs-theme-3 nav#nav > ul > li:hover > a,
    .xs-theme-3 nav#nav > ul > li.active > a,
    .xs-theme-3 nav#nav .nav-pc > li:hover > a,
    .xs-theme-3 nav#nav .nav-pc > li.active > a,
    .xs-theme-3 nav#nav #nav-horizontal-list > li:hover > a,
    .xs-theme-3 nav#nav #nav-horizontal-list > li.active > a {
      background: var(--xs-gold); color: #1a1a1a;
    }
    
    /* Desktop submenu .menu-c2 — MUST be dark text on white */
    .xs-theme-3 nav#nav .menu-c2 {
      background: #fff !important; border: 1px solid var(--xs-border, #e2e5ea);
      box-shadow: 0 8px 24px rgba(15,20,35,.12); border-radius: 8px; padding: 6px 0 !important; z-index: 9999;
    }
    .xs-theme-3 nav#nav .menu-c2 li { padding: 0 !important; border-bottom: 1px dashed #eee; }
    .xs-theme-3 nav#nav .menu-c2 li:last-child { border-bottom: 0; }
    .xs-theme-3 nav#nav .menu-c2 li a,
    .xs-theme-3 nav#nav .menu-c2 li:not(.active) a,
    .xs-theme-3 nav#nav li:hover .menu-c2 li a,
    .xs-theme-3 nav#nav li.active .menu-c2 li a,
    .xs-theme-3 nav#nav li:hover .menu-c2 a {
      color: #1f2430 !important; background: transparent !important;
      display: block; padding: 8px 16px !important; line-height: 1.4;
      text-transform: none; white-space: nowrap;
    }
    .xs-theme-3 nav#nav .menu-c2 li a:hover,
    .xs-theme-3 nav#nav .menu-c2 li:hover > a,
    .xs-theme-3 nav#nav .menu-c2 li.active > a {
      background: var(--xs-title-bg, #fff6cf) !important;
      color: var(--xs-accent-dark, #96091f) !important;
    }
    
    /* Mobile drawer */
    .xs-theme-3 .nav-pc { background: #fff; }
    .xs-theme-3 .nav-horizontal li { background: #fff; }
    .xs-theme-3 .nav-horizontal li > a { color: #111 !important; background: transparent !important; }
    .xs-theme-3 .nav-horizontal li.active > a,
    .xs-theme-3 .nav-horizontal li:hover > a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-3 .nav-horizontal li.menu-header,
    .xs-theme-3 .nav-horizontal li.menu-header a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-3 .nav-horizontal .menu-c2 { background: #f7f7f7 !important; box-shadow: none; border: 0; border-radius: 0; }
    .xs-theme-3 .nav-horizontal .menu-c2 li a { color: #222 !important; padding-left: 28px !important; }
    .xs-theme-3 .nav-horizontal .menu-c2 li a:hover { background: #eee !important; color: var(--xs-accent-dark) !important; }
    
    /* Shared footer helpers */
    .xs-theme-3 .xs-ft-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 14px; }
    .xs-theme-3 .footer.xs-footer { background: var(--xs-footer-bg); color: var(--xs-footer-ink); margin-top: 28px; }
    .xs-theme-3 .xs-footer,
    .xs-theme-3 .xs-footer p,
    .xs-theme-3 .xs-footer li,
    .xs-theme-3 .xs-footer span,
    .xs-theme-3 .xs-footer strong,
    .xs-theme-3 .xs-footer div { color: var(--xs-footer-ink); }
    .xs-theme-3 .xs-footer a { color: var(--xs-footer-link); text-decoration: none; }
    .xs-theme-3 .xs-footer a:hover { color: #fff; text-decoration: underline; }
    .xs-theme-3 .xs-ft-col h3 {
      margin: 0 0 12px; font-family: var(--xs-display); font-size: 14px;
      text-transform: uppercase; letter-spacing: .5px; color: #fff !important;
    }
    .xs-theme-3 .xs-ft-col ul { list-style: none; margin: 0; padding: 0; }
    .xs-theme-3 .xs-ft-col li { margin-bottom: 8px; font-size: 14px; }
    .xs-theme-3 .xs-ft-logo { max-height: 42px; width: auto; margin-bottom: 10px; display: block; }
    .xs-theme-3 .xs-fine { opacity: .8; font-size: 12.5px; }
    .xs-theme-3 .footer .share-social,
    .xs-theme-3 .footer .coppyr { float: none; }
    .xs-theme-3 #go-top.xs-gotop {
      position: fixed; right: 14px; bottom: 84px; z-index: 40;
      width: 44px; height: 44px; line-height: 44px; padding: 0; text-align: center;
      background-color: var(--xs-accent); color: #fff !important; border-radius: 50%;
      box-shadow: 0 8px 24px rgba(15,20,35,.15); text-decoration: none; font-size: 22px;
    }
    .xs-theme-3 #go-top.hidden { display: none; }
    

    /* HEADER 3 two-tone split */
    .xs-theme-3 .xs-hd-3 { background: transparent; }
    .xs-theme-3 .xs-hd3-split { display: grid; grid-template-columns: 1.1fr .9fr; }
    .xs-theme-3 .xs-hd3-brand { background: linear-gradient(135deg,#0f5a56,#0a3f3c); display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
    .xs-theme-3 .xs-hd3-tools { background: linear-gradient(135deg,#e8590c,#b4430a); padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
    .xs-theme-3 .xs-hd3-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.75); }
    .xs-theme-3 .xs-hd3-toolrow { display: flex; flex-wrap: wrap; gap: 8px; }
    .xs-theme-3 .xs-hd3-toolrow a { background: rgba(255,255,255,.16); color: #fff !important; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; }
    .xs-theme-3 .xs-hd3-toolrow a:hover { background: #fff; color: var(--xs-accent-dark) !important; }
    @media (max-width:800px) { .xs-theme-3 .xs-hd3-split { grid-template-columns: 1fr; } }
    
    /* FOOTER 3 split panels */
    .xs-theme-3 .xs-ft-3 { padding: 0; }
    .xs-theme-3 .xs-ft3-split { display: grid; grid-template-columns: 1fr 1.2fr; }
    .xs-theme-3 .xs-ft3-left { background: #0a3f3c; padding: 28px 24px; }
    .xs-theme-3 .xs-ft3-right { background: #0d2b2a; padding: 28px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .xs-theme-3 .xs-ft3-strip { background: #071c1b; padding: 14px 0; border-top: 2px solid var(--xs-accent); }
    .xs-theme-3 .xs-ft3-strip .xs-ft-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
    @media (max-width:800px) {
      .xs-theme-3 .xs-ft3-split, .xs-theme-3 .xs-ft3-right { grid-template-columns: 1fr; }
    }
    
