/* ============================================================
   xoso_9 — Overlapping Portal (Horizontal Nav)
   Layout: Tall Gradient Header + Overlapping Content Cards.
   ============================================================ */
:root {
  --xs-nav: var(--xs-accent-dark);
  --xs-primary: #4f46e5;
  --xs-primary-dark: #312e81;
  --xs-primary-light: #e0e7ff;
  
  --xs-accent: #e11d48;
  --xs-accent-dark: #be123c;
  --xs-accent-light: #ffe4e6;
  
  --xs-gold: #f59e0b;
  
  --xs-bg: #f3f4f6;
  --xs-card: #ffffff;
  --xs-border: #e5e7eb;
  
  --xs-ink: #1f2937;
  --xs-muted: #6b7280;
  
  --xs-radius: 16px;
  --xs-max: 1200px;
  
  --xs-font: "Inter", "Be Vietnam Pro", system-ui, sans-serif;
  --xs-display: "Inter", "Be Vietnam Pro", system-ui, sans-serif;
  
  --xs-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --xs-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* ---------- Base ---------- */
body.xs-theme-9 {
  --xs-footer-bg: #111827;
  --xs-footer-ink: #d1d5db;
  --xs-footer-link: #e5e7eb;
 
  font-family: var(--xs-font); 
  background: var(--xs-bg); 
  color: var(--xs-ink); 
  line-height: 1.6;
}
body.xs-theme-9 a { color: var(--xs-primary); text-decoration: none; transition: color 0.2s; }
body.xs-theme-9 a:hover { color: var(--xs-accent); }
.xs-theme-9 img { max-width: 100%; height: auto; }
.xs-theme-9 .xs-hd-wrap,
.xs-theme-9 .xs-layout-wrap,
.xs-theme-9 .xs-ft-wrap { 
  max-width: var(--xs-max); 
  margin: 0 auto; 
  padding: 0 16px; 
}

/* Reset base.css */
.xs-theme-9 .taskbar,
.xs-theme-9 header .taskbar,
.xs-theme-9 .top-info,
.xs-theme-9 header .top-info {
  background: transparent !important; border: 0 !important;
  margin: 0; padding: 0;
}

/* ============================================================
   HEADER OVERLAP DESIGN
   ============================================================ */
.xs-theme-9 header.xs-hd {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
  color: #fff;
  padding-bottom: 100px; /* Space for overlap */
  position: relative;
  box-shadow: var(--xs-shadow-sm);
}

/* Top Row */
.xs-theme-9 .xs-hd9-row {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 20px 0; 
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.xs-theme-9 .xs-hd9-brand { display: flex; align-items: center; gap: 16px; }
.xs-theme-9 .logo { margin: 0; }
.xs-theme-9 .txtlogo img { max-height: 48px; width: auto; display: block; filter: brightness(0) invert(1); }

.xs-theme-9 .xs-hd9-actions { display: flex; align-items: center; gap: 20px; }
.xs-theme-9 .xs-hd9-date { color: #cbd5e1; font-size: 14px; font-weight: 500; }
.xs-theme-9 .xs-btn-glass {
  display: inline-block;
  background: rgba(255,255,255,0.1); 
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2); 
  border-radius: 999px;
  padding: 8px 24px; 
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.xs-theme-9 .xs-btn-glass:hover { 
  background: rgba(255,255,255,0.2); 
  transform: translateY(-1px);
}

/* Nav Row */
.xs-theme-9 .xs-hd9-nav-row { padding: 12px 0; }
.xs-theme-9 nav#nav { background: transparent; }
.xs-theme-9 nav#nav > ul,
.xs-theme-9 nav#nav .nav-pc { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap;
}
.xs-theme-9 nav#nav > ul > li > a,
.xs-theme-9 nav#nav .nav-pc > li > a {
  color: #e2e8f0; 
  font-weight: 500; 
  padding: 10px 16px; 
  border-radius: 8px;
  transition: all 0.2s;
}
.xs-theme-9 nav#nav > ul > li:hover > a,
.xs-theme-9 nav#nav > ul > li.active > a,
.xs-theme-9 nav#nav .nav-pc > li:hover > a,
.xs-theme-9 nav#nav .nav-pc > li.active > a {
  background: rgba(255,255,255,0.15); 
  color: #fff;
}

/* Submenu Desktop */
.xs-theme-9 nav#nav .menu-c2 {
  background: #fff !important; 
  border-radius: 12px; 
  box-shadow: var(--xs-shadow);
  padding: 8px 0 !important; 
  margin-top: 8px;
  border: 1px solid var(--xs-border);
}
.xs-theme-9 nav#nav .menu-c2 li { border-bottom: 1px solid #f3f4f6; padding: 0 !important; }
.xs-theme-9 nav#nav .menu-c2 li:last-child { border-bottom: 0; }
.xs-theme-9 nav#nav .menu-c2 li a {
  color: var(--xs-ink) !important; 
  background: transparent !important; 
  padding: 10px 20px !important; 
  font-size: 14px;
}
.xs-theme-9 nav#nav .menu-c2 li a:hover {
  background: var(--xs-primary-light) !important; 
  color: var(--xs-primary) !important;
}

/* Hero */
.xs-theme-9 .xs-hd9-hero { text-align: center; padding: 40px 0 20px; }
.xs-theme-9 .xs-hd9-hero h1.taskbar { 
  font-family: var(--xs-display); 
  font-size: 32px; 
  font-weight: 700; 
  margin: 0 0 12px; 
  color: #000 !important; 
  text-transform: uppercase;
}
.xs-theme-9 .xs-hd9-hero p { color: #cbd5e1; font-size: 16px; margin: 0; }

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

/* Mobile Drawer */
.xs-theme-9 .nav-horizontal li { background: #fff; border-bottom: 1px solid #f3f4f6; }
.xs-theme-9 .nav-horizontal li > a { color: var(--xs-ink) !important; background: transparent !important; }
.xs-theme-9 .nav-horizontal li.active > a,
.xs-theme-9 .nav-horizontal li:hover > a { background: var(--xs-primary-light) !important; color: var(--xs-primary-dark) !important; }
.xs-theme-9 .nav-horizontal li.menu-header { background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%) !important; }
.xs-theme-9 .nav-horizontal li.menu-header a { color: #fff !important; }
.xs-theme-9 .nav-horizontal .menu-c2 { background: #f9fafb !important; border: 0; box-shadow: none; margin-top: 0; border-radius: 0; }
.xs-theme-9 .nav-horizontal .menu-c2 li a { padding-left: 30px !important; }


/* ============================================================
   BODY OVERLAP
   ============================================================ */
.xs-theme-9 .xs-portal-body {
  margin-top: -70px;
  position: relative;
  z-index: 20;
  padding-bottom: 60px;
}

.xs-theme-9 .xs-portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

/* Reset base.css column classes */
.xs-theme-9 .xs-portal-grid .col-l,
.xs-theme-9 .xs-portal-grid .col-center,
.xs-theme-9 .xs-portal-grid .col-right {
  width: auto !important; 
  float: none !important; 
  display: block !important; 
  margin: 0 !important; 
  padding: 0 !important;
}

/* Sidebar inner structure */
.xs-theme-9 .xs-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.xs-theme-9 .xs-sidebar-inner .col-center,
.xs-theme-9 .xs-sidebar-inner .col-right {
  display: contents !important;
}

/* ============================================================
   UI COMPONENTS (Cards, Titles, Tables)
   ============================================================ */
/* Cards */
.xs-theme-9 .box,
.xs-theme-9 .content-right {
  background: var(--xs-card); 
  border: 1px solid var(--xs-border); 
  border-radius: var(--xs-radius);
  margin-bottom: 20px; 
  box-shadow: var(--xs-shadow); 
  overflow: hidden;
}

/* Section Titles */
.xs-theme-9 .title-r,
.xs-theme-9 .content-right .title-r {
  background: linear-gradient(90deg, var(--xs-primary), #6366f1) !important; 
  color: #fff !important;
  font-family: var(--xs-display); 
  text-transform: uppercase; 
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 20px !important; 
  font-size: 14px !important; 
  border-radius: 0 !important;
}
.xs-theme-9 .title-r a, 
.xs-theme-9 .content-right .title-r a { color: #fff !important; }

.xs-theme-9 .tit-mien,
.xs-theme-9 .title-bor,
.xs-theme-9 .kq-title {
  background: var(--xs-primary-light) !important; 
  color: var(--xs-primary-dark) !important;
  font-family: var(--xs-display); 
  font-weight: 700; 
  text-transform: uppercase; 
  font-size: 16px !important;
  border-left: 4px solid var(--xs-accent); 
  padding: 14px 20px !important; 
  text-align: left;
}
.xs-theme-9 .tit-mien a, 
.xs-theme-9 .title-bor a, 
.xs-theme-9 .kq-title a { color: var(--xs-primary-dark) !important; }

/* Sidebar Lists */
.xs-theme-9 .content-right ul { list-style: none; margin: 0; padding: 0 20px 20px; }
.xs-theme-9 .content-right li {
  padding: 14px 0; 
  border-bottom: 1px solid #f3f4f6;
  display: flex; 
  align-items: center;
}
.xs-theme-9 .content-right li:last-child { border-bottom: 0; padding-bottom: 0; }
.xs-theme-9 .content-right li::before,
.xs-theme-9 .bullet ul li::before {
  content: "" !important; 
  display: inline-block;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  background: var(--xs-accent) !important;
  margin-right: 12px;
}
.xs-theme-9 .content-right li a { color: var(--xs-ink); font-size: 14px; font-weight: 500; }
.xs-theme-9 .content-right li a:hover { color: var(--xs-primary); }

/* Results Table Emphasis */
.xs-theme-9 .colgiai .gdb div,
.xs-theme-9 table.kqmb .db td.number,
.xs-theme-9 .gdb,
.xs-theme-9 .madb { 
  color: var(--xs-accent) !important; 
  font-weight: 800 !important; 
}
.xs-theme-9 .colgiai .gdb div,
.xs-theme-9 table.kqmb .db td.number { 
  font-size: 34px !important; 
  letter-spacing: 2px; 
}
.xs-theme-9 table.kqmb tr:nth-child(even) td { background: #f9fafb; }
.xs-theme-9 table.kqmb td, 
.xs-theme-9 table.kqmb th { border-color: var(--xs-border); padding: 12px 5px; }
.xs-theme-9 .txt-giai { color: var(--xs-muted); font-weight: 600; }
.xs-theme-9 table td, 
.xs-theme-9 table th { color: var(--xs-ink); }

/* Buttons & Paging */
.xs-theme-9 .btn-see-more,
.xs-theme-9 .btn-more {
  background: var(--xs-primary); 
  color: #fff !important; 
  border: 0; 
  border-radius: 999px;
  padding: 10px 24px; 
  font-weight: 600;
  display: inline-block;
}
.xs-theme-9 .btn-see-more:hover, 
.xs-theme-9 .btn-more:hover { background: var(--xs-primary-dark); }

.xs-theme-9 .paging a, 
.xs-theme-9 .paging span {
  display: inline-block; 
  padding: 8px 14px; 
  margin: 2px; 
  border-radius: 8px;
  border: 1px solid var(--xs-border); 
  background: var(--xs-card); 
  color: var(--xs-ink); 
  font-weight: 500;
}
.xs-theme-9 .paging a:hover,
.xs-theme-9 .paging .current { 
  background: var(--xs-primary); 
  color: #fff; 
  border-color: var(--xs-primary); 
}

/* Contrast Guards */
.xs-theme-9 .nav-tabs > li { background-color: #f3f4f6; }
.xs-theme-9 .nav-tabs > li > a { color: #4b5563; font-weight: 600; }
.xs-theme-9 .nav-tabs > li.active { background: linear-gradient(90deg, var(--xs-primary), var(--xs-accent)); }
.xs-theme-9 .nav-tabs > li.active > a { color: #fff; }
.xs-theme-9 .control-panel { background: var(--xs-primary-dark); color: #fff; padding: 16px; border-radius: 12px; }
.xs-theme-9 .control-panel a,
.xs-theme-9 .control-panel span,
.xs-theme-9 .control-panel label { color: #fff; }
.xs-theme-9 .cl-rl, 
.xs-theme-9 .colgiai td div.cl-rl { color: var(--xs-accent); }
.xs-theme-9 a.item_sublink { background: var(--xs-primary); color: #fff; border-radius: 6px; padding: 4px 10px; }

/* ============================================================
   WP CONTENT (Prose / Blog)
   ============================================================ */
.xs-prose {
  background: var(--xs-card); 
  color: var(--xs-ink); 
  padding: 32px; 
  font-size: 16px;
  border: 1px solid var(--xs-border); 
  border-radius: var(--xs-radius); 
  box-shadow: var(--xs-shadow);
}
.xs-prose h1, .xs-prose h2, .xs-prose h3 { 
  font-family: var(--xs-display); 
  color: var(--xs-primary-dark); 
  margin: 32px 0 16px; 
  font-weight: 700;
}
.xs-prose h1 { font-size: 28px; margin-top: 0; }
.xs-prose h2 { font-size: 22px; border-bottom: 2px solid var(--xs-primary-light); padding-bottom: 8px; }
.xs-prose h3 { font-size: 18px; }
.xs-prose p { margin: 0 0 16px; }
.xs-prose a { color: var(--xs-primary); font-weight: 500; text-decoration: underline; }
.xs-prose a:hover { color: var(--xs-accent); }
.xs-prose ul, .xs-prose ol { margin: 0 0 16px 24px; }
.xs-prose img { border-radius: 12px; margin: 16px 0; box-shadow: var(--xs-shadow-sm); }
.xs-prose table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.xs-prose table th, .xs-prose table td { border: 1px solid var(--xs-border); padding: 12px; }
.xs-prose table th { background: var(--xs-primary-light); color: var(--xs-primary-dark); }
.xs-prose blockquote {
  margin: 0 0 20px; 
  padding: 16px 20px; 
  background: #f8fafc;
  border-left: 4px solid var(--xs-accent); 
  color: var(--xs-muted);
  font-style: italic;
  border-radius: 0 12px 12px 0;
}
.post-meta { color: var(--xs-muted); font-size: 14px; margin-bottom: 20px; }

/* Blog List */
.xs-bloglist { list-style: none; margin: 0; padding: 0; }
.xs-bloglist li { padding: 24px 0; border-bottom: 1px solid var(--xs-border); display: flex; gap: 24px; }
.xs-bloglist li:last-child { border-bottom: 0; }
.xs-bloglist img { width: 220px; height: 140px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.xs-bloglist-content { flex-grow: 1; }
.xs-bloglist h3 { margin: 0 0 12px; font-size: 20px; font-family: var(--xs-display); }
.xs-bloglist h3 a { color: var(--xs-primary-dark); text-decoration: none; }
.xs-bloglist h3 a:hover { color: var(--xs-primary); }
.xs-bloglist .sapo { color: var(--xs-muted); margin: 0; }

/* 404 & Fallback */
.xs-404, .xs-fallback {
  background: var(--xs-card); 
  border: 1px solid var(--xs-border); 
  border-radius: var(--xs-radius);
  padding: 48px; 
  text-align: center; 
  box-shadow: var(--xs-shadow);
}
.xs-fallback h2 { color: var(--xs-primary-dark); font-family: var(--xs-display); margin: 0 0 12px; }
.xs-404 p, .xs-fallback p { color: var(--xs-muted); font-size: 16px; margin: 0 0 24px; }
.xs-fallback-btn {
  display: inline-block; 
  padding: 12px 32px; 
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xs-primary), var(--xs-accent)); 
  color: #fff !important; 
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.xs-theme-9 .footer.xs-footer {
  background: #111827; 
  color: #d1d5db;
  margin-top: 48px; 
  padding: 40px 0;
}
.xs-theme-9 .xs-footer p,
.xs-theme-9 .xs-footer li,
.xs-theme-9 .xs-footer span { color: #d1d5db; }
.xs-theme-9 .xs-footer strong { color: #fff; }
.xs-theme-9 .xs-footer a { color: #e5e7eb; transition: color 0.2s; }
.xs-theme-9 .xs-footer a:hover { color: var(--xs-gold); }

.xs-theme-9 .xs-ft9-grid {
  display: grid; 
  grid-template-columns: 1.5fr 1fr 1fr 1fr; 
  gap: 40px;
}
.xs-theme-9 .xs-ft-logo { max-height: 48px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.xs-theme-9 .xs-ft-desc { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.xs-theme-9 .xs-ft-title {
  color: #fff;
  font-family: var(--xs-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 24px;
}
.xs-theme-9 .xs-ft-links { list-style: none; margin: 0; padding: 0; }
.xs-theme-9 .xs-ft-links li { margin-bottom: 14px; font-size: 14px; }

.xs-theme-9 .xs-ft-seolinks {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.xs-theme-9 .xs-ft-seolinks a { margin-right: 16px; display: inline-block; margin-bottom: 8px; }

.xs-theme-9 .xs-copy { margin: 0 0 8px; font-size: 14px; }
.xs-theme-9 .xs-fine { margin: 0; font-size: 13px; opacity: 0.8; }

/* Go Top Button */
.xs-theme-9 #go-top.xs-gotop {
  position: fixed; 
  right: 24px; 
  bottom: 24px; 
  z-index: 90;
  width: 52px; 
  height: 52px; 
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--xs-primary), var(--xs-accent)); 
  color: #fff !important; 
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4); 
}
.xs-theme-9 #go-top.xs-gotop:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5); }
.xs-theme-9 #go-top.hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .xs-theme-9 .xs-portal-grid { grid-template-columns: 1fr; }
  .xs-theme-9 .xs-ft9-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .xs-theme-9 .xs-bloglist li { flex-direction: column; }
  .xs-theme-9 .xs-bloglist img { width: 100%; height: auto; aspect-ratio: 16/9; }
}

@media (max-width: 767px) {
  .xs-theme-9 .xs-hd9-actions { display: none; }
  .xs-theme-9 .xs-hd9-hero h1.taskbar { font-size: 24px; }
  .xs-theme-9 .xs-ft9-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .xs-theme-9 .colgiai .gdb div,
  .xs-theme-9 table.kqmb .db td.number { font-size: 28px !important; }
  .xs-prose { padding: 20px; }
}

/* Hamburger visibility */
@media (min-width: 1024px) {
  .xs-theme-9 .navbar-toggle,
  .xs-theme-9 #menu-mobile-backdrop { display: none !important; }
}
@media (max-width: 1023px) {
  .xs-theme-9 .navbar-toggle { display: inline-block; }
}


/* FAQ Accordion */
.xs-theme-9 .faq-accordion { margin: 24px 0; }
.xs-theme-9 .faq-item { background: var(--xs-card); border: 1px solid var(--xs-border); border-radius: var(--xs-radius); margin-bottom: 16px; box-shadow: var(--xs-shadow-sm); overflow: hidden; transition: all 0.3s ease; }
.xs-theme-9 .faq-item:hover { box-shadow: var(--xs-shadow); transform: translateY(-2px); }
.xs-theme-9 .faq-question { padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--xs-primary-dark); font-family: var(--xs-display); font-size: 16px; }
.xs-theme-9 .toggle-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--xs-primary-light); color: var(--xs-primary); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.xs-theme-9 .toggle-icon::before { content: "↓"; font-weight: bold; }
.xs-theme-9 .faq-item.active { border-color: var(--xs-primary); box-shadow: 0 0 0 1px var(--xs-primary); }
.xs-theme-9 .faq-item.active .toggle-icon { background: linear-gradient(135deg, var(--xs-primary), var(--xs-accent)); color: #fff; transform: rotate(180deg); }
.xs-theme-9 .faq-answer { border-top: 1px solid #f3f4f6; }
.xs-theme-9 .answer-content { padding: 18px 24px; 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-9 header.xs-hd { color: #fff; }
    .xs-theme-9 .xs-hd-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 12px; }
    .xs-theme-9 .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-9 .logo { margin: 0; }
    .xs-theme-9 .txtlogo { color: #fff !important; display: inline-block; }
    .xs-theme-9 .txtlogo img { max-height: 40px; width: auto; display: block; }
    .xs-theme-9 .navbar-toggle {
      background: rgba(255,255,255,.16); border: 0; border-radius: 8px; padding: 8px 9px; float: none;
    }
    .xs-theme-9 .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-9 nav#nav { background: var(--xs-nav, var(--xs-accent-dark)); }
    .xs-theme-9 nav#nav > ul > li > a,
    .xs-theme-9 nav#nav .nav-pc > li > a,
    .xs-theme-9 nav#nav #nav-horizontal-list > li > a { color: #fff; }
    .xs-theme-9 nav#nav > ul > li:hover > a,
    .xs-theme-9 nav#nav > ul > li.active > a,
    .xs-theme-9 nav#nav .nav-pc > li:hover > a,
    .xs-theme-9 nav#nav .nav-pc > li.active > a,
    .xs-theme-9 nav#nav #nav-horizontal-list > li:hover > a,
    .xs-theme-9 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-9 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-9 nav#nav .menu-c2 li { padding: 0 !important; border-bottom: 1px dashed #eee; }
    .xs-theme-9 nav#nav .menu-c2 li:last-child { border-bottom: 0; }
    .xs-theme-9 nav#nav .menu-c2 li a,
    .xs-theme-9 nav#nav .menu-c2 li:not(.active) a,
    .xs-theme-9 nav#nav li:hover .menu-c2 li a,
    .xs-theme-9 nav#nav li.active .menu-c2 li a,
    .xs-theme-9 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-9 nav#nav .menu-c2 li a:hover,
    .xs-theme-9 nav#nav .menu-c2 li:hover > a,
    .xs-theme-9 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-9 .nav-pc { background: #fff; }
    .xs-theme-9 .nav-horizontal li { background: #fff; }
    .xs-theme-9 .nav-horizontal li > a { color: #111 !important; background: transparent !important; }
    .xs-theme-9 .nav-horizontal li.active > a,
    .xs-theme-9 .nav-horizontal li:hover > a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-9 .nav-horizontal li.menu-header,
    .xs-theme-9 .nav-horizontal li.menu-header a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-9 .nav-horizontal .menu-c2 { background: #f7f7f7 !important; box-shadow: none; border: 0; border-radius: 0; }
    .xs-theme-9 .nav-horizontal .menu-c2 li a { color: #222 !important; padding-left: 28px !important; }
    .xs-theme-9 .nav-horizontal .menu-c2 li a:hover { background: #eee !important; color: var(--xs-accent-dark) !important; }
    
    /* Shared footer helpers */
    .xs-theme-9 .xs-ft-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 14px; }
    .xs-theme-9 .footer.xs-footer { background: var(--xs-footer-bg); color: var(--xs-footer-ink); margin-top: 28px; }
    .xs-theme-9 .xs-footer,
    .xs-theme-9 .xs-footer p,
    .xs-theme-9 .xs-footer li,
    .xs-theme-9 .xs-footer span,
    .xs-theme-9 .xs-footer strong,
    .xs-theme-9 .xs-footer div { color: var(--xs-footer-ink); }
    .xs-theme-9 .xs-footer a { color: var(--xs-footer-link); text-decoration: none; }
    .xs-theme-9 .xs-footer a:hover { color: #fff; text-decoration: underline; }
    .xs-theme-9 .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-9 .xs-ft-col ul { list-style: none; margin: 0; padding: 0; }
    .xs-theme-9 .xs-ft-col li { margin-bottom: 8px; font-size: 14px; }
    .xs-theme-9 .xs-ft-logo { max-height: 42px; width: auto; margin-bottom: 10px; display: block; }
    .xs-theme-9 .xs-fine { opacity: .8; font-size: 12.5px; }
    .xs-theme-9 .footer .share-social,
    .xs-theme-9 .footer .coppyr { float: none; }
    .xs-theme-9 #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-9 #go-top.hidden { display: none; }
    

    /* HEADER 9 app bar */
    .xs-theme-9 .xs-hd-9 { background: transparent; max-width: var(--xs-max); margin: 0 auto; }
    .xs-theme-9 .xs-hd9-appbar {
      display: flex; align-items: center; gap: 10px; padding: 12px 14px;
      background: linear-gradient(120deg,#e11d2e,#ff6a00); border-radius: 18px 18px 0 0;
    }
    .xs-theme-9 .xs-hd9-badge { margin-left: auto; background: rgba(255,255,255,.2); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 4px 8px; border-radius: 6px; }
    .xs-theme-9 .xs-hd-9 .taskbar { background: #fff !important; color: var(--xs-accent-dark) !important; padding: 10px 14px !important; font-size: 16px; text-align: center; }
    .xs-theme-9 .xs-hd-9 nav#nav { border-radius: 0; }
    .xs-theme-9 #go-top.xs-gotop { bottom: 96px; }
    
    /* Theme 9 Footer specific styles */
.xs-theme-9 .xs-ft9-main { padding: 48px 0 32px; }
.xs-theme-9 .xs-ft-col.brand-col { padding-right: 20px; }
.xs-theme-9 .xs-ft-seolinks { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.xs-theme-9 .xs-copy { margin-bottom: 4px; }
.xs-theme-9 .xs-ft-dmca { margin-top: 16px; }
