/* ============================================================
   xoso_7 — Modern Professional (Corporate Blue & Red Accent)
   Layout: 2 Columns (Main + Sidebar), Clean, Minimalist.
   ============================================================ */
:root {
  --xs-nav: var(--xs-accent-dark);
  --xs-primary: #0f4a8a;
  --xs-primary-dark: #0a3366;
  --xs-primary-light: #e6f0fa;
  
  --xs-accent: #dc2626;
  --xs-accent-dark: #b91c1c;
  --xs-accent-light: #fef2f2;
  
  --xs-gold: #f59e0b;
  
  --xs-bg: #f1f5f9;
  --xs-card: #ffffff;
  --xs-border: #cbd5e1;
  
  --xs-ink: #1e293b;
  --xs-muted: #64748b;
  
  --xs-radius: 8px;
  --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 1px 3px rgba(15, 23, 42, 0.08);
  --xs-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

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

/* ============================================================
   HEADER
   ============================================================ */
.xs-theme-7 header.xs-hd { 
  background: #fff; 
  box-shadow: var(--xs-shadow-sm); 
  position: relative;
  z-index: 100;
}

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

/* Top Bar */
.xs-theme-7 .xs-hd7-top { 
  background: var(--xs-primary-dark); 
  color: #e2e8f0; 
  font-size: 13px; 
}
.xs-theme-7 .xs-hd7-top .xs-hd-wrap {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 6px 16px;
}
.xs-theme-7 .xs-hd7-top-right a {
  color: #e2e8f0;
  margin-left: 16px;
}
.xs-theme-7 .xs-hd7-top-right a:hover { color: #fff; }

/* Main Bar */
.xs-theme-7 .xs-hd7-main { padding: 16px 0; }
.xs-theme-7 .xs-hd7-main .xs-hd-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.xs-theme-7 .logo { margin: 0; flex-shrink: 0; }
.xs-theme-7 .txtlogo img { max-height: 54px; width: auto; display: block; }

.xs-theme-7 .xs-hd7-slogan {
  flex-grow: 1;
  border-left: 1px solid var(--xs-border);
  padding-left: 20px;
}
.xs-theme-7 .xs-hd7-slogan h1.taskbar {
  font-family: var(--xs-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--xs-primary) !important;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0 0 4px 0;
}
.xs-theme-7 .xs-hd7-slogan p {
  margin: 0;
  font-size: 13px;
  color: var(--xs-muted);
}

.xs-theme-7 .xs-hd7-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.xs-theme-7 .xs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.xs-theme-7 .xs-btn-outline {
  border: 1px solid var(--xs-primary);
  color: var(--xs-primary) !important;
  background: transparent;
}
.xs-theme-7 .xs-btn-outline:hover {
  background: var(--xs-primary-light);
}
.xs-theme-7 .xs-btn-primary {
  background: var(--xs-accent);
  color: #fff !important;
  border: 1px solid var(--xs-accent);
}
.xs-theme-7 .xs-btn-primary:hover {
  background: var(--xs-accent-dark);
  border-color: var(--xs-accent-dark);
}

/* Nav Bar */
.xs-theme-7 .xs-hd7-nav {
  background: var(--xs-primary);
}
.xs-theme-7 nav#nav { background: transparent; }
.xs-theme-7 nav#nav > ul > li > a,
.xs-theme-7 nav#nav .nav-pc > li > a { 
  color: #fff; 
  font-weight: 500;
  padding: 14px 20px;
}
.xs-theme-7 nav#nav > ul > li:hover > a,
.xs-theme-7 nav#nav > ul > li.active > a,
.xs-theme-7 nav#nav .nav-pc > li:hover > a,
.xs-theme-7 nav#nav .nav-pc > li.active > a { 
  background: var(--xs-primary-dark); 
  color: #fff; 
}

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

/* Mobile Drawer */
.xs-theme-7 .nav-pc { background: #fff; }
.xs-theme-7 .nav-horizontal li { background: #fff; border-bottom: 1px solid #f1f5f9; }
.xs-theme-7 .nav-horizontal li > a { color: var(--xs-ink) !important; background: transparent !important; }
.xs-theme-7 .nav-horizontal li.active > a,
.xs-theme-7 .nav-horizontal li:hover > a { background: var(--xs-primary-light) !important; color: var(--xs-primary) !important; }
.xs-theme-7 .nav-horizontal li.menu-header { background: var(--xs-primary) !important; }
.xs-theme-7 .nav-horizontal li.menu-header a { color: #fff !important; }
.xs-theme-7 .nav-horizontal .menu-c2 { background: #f8fafc !important; border: 0; box-shadow: none; }
.xs-theme-7 .nav-horizontal .menu-c2 li a { padding-left: 30px !important; }

/* Toggle Button */
.xs-theme-7 .navbar-toggle {
  background: var(--xs-primary); 
  border: 0; 
  border-radius: 6px; 
  padding: 10px; 
  float: none;
}
.xs-theme-7 .navbar-toggle .icon-bar {
  background: #fff !important; 
  display: block; 
  height: 2px; 
  width: 22px; 
  margin: 4px 0;
}

/* ============================================================
   LAYOUT (2 Columns: Main + Sidebar)
   ============================================================ */
.xs-theme-7 .xs-layout-7 { padding: 24px 0 40px; }

.xs-theme-7 .xs-breadcrumb {
  font-size: 13px;
  color: var(--xs-muted);
  margin-bottom: 20px;
}
.xs-theme-7 .xs-breadcrumb a { color: var(--xs-primary); }
.xs-theme-7 .xs-breadcrumb span { color: var(--xs-ink); font-weight: 500; }

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

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

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

/* ============================================================
   UI COMPONENTS (Cards, Titles, Tables)
   ============================================================ */
/* Cards */
.xs-theme-7 .box,
.xs-theme-7 .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-7 .title-r,
.xs-theme-7 .content-right .title-r {
  background: var(--xs-primary) !important; 
  color: #fff !important;
  font-family: var(--xs-display); 
  text-transform: uppercase; 
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 16px !important; 
  font-size: 14px !important; 
  border-radius: 0 !important;
}
.xs-theme-7 .title-r a, 
.xs-theme-7 .content-right .title-r a { color: #fff !important; }

.xs-theme-7 .tit-mien,
.xs-theme-7 .title-bor,
.xs-theme-7 .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: 12px 16px !important; 
  text-align: left;
}
.xs-theme-7 .tit-mien a, 
.xs-theme-7 .title-bor a, 
.xs-theme-7 .kq-title a { color: var(--xs-primary-dark) !important; }

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

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

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

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

/* Contrast Guards */
.xs-theme-7 .nav-tabs > li { background-color: #f1f5f9; }
.xs-theme-7 .nav-tabs > li > a { color: #475569; font-weight: 600; }
.xs-theme-7 .nav-tabs > li.active { background-color: var(--xs-primary); }
.xs-theme-7 .nav-tabs > li.active > a { color: #fff; }
.xs-theme-7 .control-panel { background: var(--xs-primary-dark); color: #fff; padding: 12px; border-radius: 6px; }
.xs-theme-7 .control-panel a,
.xs-theme-7 .control-panel span,
.xs-theme-7 .control-panel label { color: #fff; }
.xs-theme-7 .cl-rl, 
.xs-theme-7 .colgiai td div.cl-rl { color: var(--xs-accent); }
.xs-theme-7 a.item_sublink { background: var(--xs-primary); color: #fff; border-radius: 4px; padding: 4px 8px; }

/* ============================================================
   WP CONTENT (Prose / Blog)
   ============================================================ */
.xs-prose {
  background: var(--xs-card); 
  color: var(--xs-ink); 
  padding: 30px; 
  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: 30px 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: 8px; 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;
}
.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: 20px 0; border-bottom: 1px solid var(--xs-border); display: flex; gap: 20px; }
.xs-bloglist li:last-child { border-bottom: 0; }
.xs-bloglist img { width: 200px; height: 130px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.xs-bloglist-content { flex-grow: 1; }
.xs-bloglist h3 { margin: 0 0 10px; 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: 40px; 
  text-align: center; 
  box-shadow: var(--xs-shadow);
}
.xs-fallback h2 { color: var(--xs-primary-dark); font-family: var(--xs-display); margin: 0 0 10px; }
.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 28px; 
  border-radius: 6px;
  background: var(--xs-primary); 
  color: #fff !important; 
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.xs-theme-7 .footer.xs-footer {
  background: var(--xs-primary-dark); 
  color: #cbd5e1;
  margin-top: 40px; 
  padding: 0;
}
.xs-theme-7 .xs-footer p,
.xs-theme-7 .xs-footer li,
.xs-theme-7 .xs-footer span { color: #cbd5e1; }
.xs-theme-7 .xs-footer strong { color: #fff; }
.xs-theme-7 .xs-footer a { color: #e2e8f0; transition: color 0.2s; }
.xs-theme-7 .xs-footer a:hover { color: var(--xs-gold); }

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

.xs-theme-7 .xs-ft7-seolinks {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
  font-size: 13px;
}
.xs-theme-7 .xs-ft7-seolinks a { margin-right: 16px; }

.xs-theme-7 .xs-ft7-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}
.xs-theme-7 .xs-ft7-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.xs-theme-7 .xs-copy { margin: 0; font-size: 14px; }
.xs-theme-7 .xs-fine { margin: 0; font-size: 13px; opacity: 0.8; }

/* Go Top Button */
.xs-theme-7 #go-top.xs-gotop {
  position: fixed; 
  right: 24px; 
  bottom: 24px; 
  z-index: 90;
  width: 48px; 
  height: 48px; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--xs-accent); 
  color: #fff !important; 
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); 
}
.xs-theme-7 #go-top.xs-gotop:hover { background-color: var(--xs-accent-dark); transform: translateY(-2px); }
.xs-theme-7 #go-top.hidden { display: none; }

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

@media (max-width: 767px) {
  .xs-theme-7 .xs-hd7-top { display: none; }
  .xs-theme-7 .xs-hd7-main .xs-hd-wrap { justify-content: space-between; gap: 16px; }
  .xs-theme-7 .xs-hd7-actions { display: none; }
  .xs-theme-7 .txtlogo img { max-height: 40px; }
  
  .xs-theme-7 .xs-ft7-grid { grid-template-columns: 1fr; gap: 24px; }
  .xs-theme-7 .xs-ft7-bottom-inner { flex-direction: column; text-align: center; }
  
  .xs-theme-7 .colgiai .gdb div,
  .xs-theme-7 table.kqmb .db td.number { font-size: 26px !important; }
  .xs-prose { padding: 20px; }
}

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


/* FAQ Accordion */
.xs-theme-7 .faq-accordion { margin: 24px 0; }
.xs-theme-7 .faq-item { border-bottom: 1px solid var(--xs-border); }
.xs-theme-7 .faq-item:first-child { border-top: 1px solid var(--xs-border); }
.xs-theme-7 .faq-question { padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--xs-primary-dark); font-size: 16px; }
.xs-theme-7 .faq-question:hover { color: var(--xs-primary); }
.xs-theme-7 .toggle-icon { color: var(--xs-primary); font-size: 20px; transition: transform 0.2s; }
.xs-theme-7 .toggle-icon::before { content: "+"; }
.xs-theme-7 .faq-item.active .toggle-icon { transform: rotate(45deg); color: var(--xs-accent); }
.xs-theme-7 .faq-item.active .faq-question { color: var(--xs-accent); }
.xs-theme-7 .answer-content { padding: 0 0 18px 0; color: var(--xs-muted); font-size: 15px; line-height: 1.6; }

    
    /* ========== 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-7 header.xs-hd { color: #fff; }
    .xs-theme-7 .xs-hd-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 12px; }
    .xs-theme-7 .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-7 .logo { margin: 0; }
    .xs-theme-7 .txtlogo { color: #fff !important; display: inline-block; }
    .xs-theme-7 .txtlogo img { max-height: 40px; width: auto; display: block; }
    .xs-theme-7 .navbar-toggle {
      background: rgba(255,255,255,.16); border: 0; border-radius: 8px; padding: 8px 9px; float: none;
    }
    .xs-theme-7 .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-7 nav#nav { background: var(--xs-nav, var(--xs-accent-dark)); }
    .xs-theme-7 nav#nav > ul > li > a,
    .xs-theme-7 nav#nav .nav-pc > li > a,
    .xs-theme-7 nav#nav #nav-horizontal-list > li > a { color: #fff; }
    .xs-theme-7 nav#nav > ul > li:hover > a,
    .xs-theme-7 nav#nav > ul > li.active > a,
    .xs-theme-7 nav#nav .nav-pc > li:hover > a,
    .xs-theme-7 nav#nav .nav-pc > li.active > a,
    .xs-theme-7 nav#nav #nav-horizontal-list > li:hover > a,
    .xs-theme-7 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-7 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-7 nav#nav .menu-c2 li { padding: 0 !important; border-bottom: 1px dashed #eee; }
    .xs-theme-7 nav#nav .menu-c2 li:last-child { border-bottom: 0; }
    .xs-theme-7 nav#nav .menu-c2 li a,
    .xs-theme-7 nav#nav .menu-c2 li:not(.active) a,
    .xs-theme-7 nav#nav li:hover .menu-c2 li a,
    .xs-theme-7 nav#nav li.active .menu-c2 li a,
    .xs-theme-7 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-7 nav#nav .menu-c2 li a:hover,
    .xs-theme-7 nav#nav .menu-c2 li:hover > a,
    .xs-theme-7 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-7 .nav-pc { background: #fff; }
    .xs-theme-7 .nav-horizontal li { background: #fff; }
    .xs-theme-7 .nav-horizontal li > a { color: #111 !important; background: transparent !important; }
    .xs-theme-7 .nav-horizontal li.active > a,
    .xs-theme-7 .nav-horizontal li:hover > a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-7 .nav-horizontal li.menu-header,
    .xs-theme-7 .nav-horizontal li.menu-header a { background: var(--xs-accent) !important; color: #fff !important; }
    .xs-theme-7 .nav-horizontal .menu-c2 { background: #f7f7f7 !important; box-shadow: none; border: 0; border-radius: 0; }
    .xs-theme-7 .nav-horizontal .menu-c2 li a { color: #222 !important; padding-left: 28px !important; }
    .xs-theme-7 .nav-horizontal .menu-c2 li a:hover { background: #eee !important; color: var(--xs-accent-dark) !important; }
    
    /* Shared footer helpers */
    .xs-theme-7 .xs-ft-wrap { max-width: var(--xs-max); margin: 0 auto; padding: 0 14px; }
    .xs-theme-7 .footer.xs-footer { background: var(--xs-footer-bg); color: var(--xs-footer-ink); margin-top: 28px; }
    .xs-theme-7 .xs-footer,
    .xs-theme-7 .xs-footer p,
    .xs-theme-7 .xs-footer li,
    .xs-theme-7 .xs-footer span,
    .xs-theme-7 .xs-footer strong,
    .xs-theme-7 .xs-footer div { color: var(--xs-footer-ink); }
    .xs-theme-7 .xs-footer a { color: var(--xs-footer-link); text-decoration: none; }
    .xs-theme-7 .xs-footer a:hover { color: #fff; text-decoration: underline; }
    .xs-theme-7 .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-7 .xs-ft-col ul { list-style: none; margin: 0; padding: 0; }
    .xs-theme-7 .xs-ft-col li { margin-bottom: 8px; font-size: 14px; }
    .xs-theme-7 .xs-ft-logo { max-height: 42px; width: auto; margin-bottom: 10px; display: block; }
    .xs-theme-7 .xs-fine { opacity: .8; font-size: 12.5px; }
    .xs-theme-7 .footer .share-social,
    .xs-theme-7 .footer .coppyr { float: none; }
    .xs-theme-7 #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-7 #go-top.hidden { display: none; }
    

    /* HEADER 7 minimal focus */
    .xs-theme-7 .xs-hd-7 { background: transparent; text-align: center; padding-top: 8px; }
    .xs-theme-7 .xs-hd7-bar { display: flex; justify-content: center; align-items: center; gap: 12px; position: relative; padding: 8px 12px; }
    .xs-theme-7 .xs-hd-7 .navbar-toggle { position: absolute; left: 12px; background: var(--xs-accent); }
    .xs-theme-7 .xs-hd-7 .taskbar { color: var(--xs-accent-dark) !important; font-size: 28px; text-transform: none; margin: 6px 0 2px; }
    .xs-theme-7 .xs-hd7-date { margin: 0 0 10px; color: var(--xs-muted); text-transform: capitalize; font-size: 13.5px; }
    .xs-theme-7 .xs-hd-7 nav#nav { max-width: var(--xs-max); margin: 0 auto; border-radius: 12px; overflow: hidden; }
    
    /* FOOTER 7 centered */
    .xs-theme-7 .xs-ft7-body { text-align: center; padding: 28px 0 24px; }
    .xs-theme-7 .xs-ft-7 .xs-ft-logo { margin: 0 auto 12px; }
    .xs-theme-7 .xs-ft7-lead { max-width: 420px; margin: 0 auto 16px; }
    .xs-theme-7 .xs-ft7-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
    .xs-theme-7 .xs-ft7-inline a { border: 1px solid rgba(255,255,255,.2); padding: 7px 12px; border-radius: 999px; color: var(--xs-footer-link) !important; text-decoration: none; font-size: 13px; }
    .xs-theme-7 .xs-ft7-copy { margin-top: 14px; }
    
