/* ===== BỐ CỤC NỘI DUNG + MENU BAR BÊN PHẢI (trang lá số / phần mềm) ===== */
.tuvi-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.tuvi-layout-main {
  flex: 1 1 auto;
  min-width: 0;
}
.tuvi-sidebar {
  flex: 0 0 250px;
  position: sticky;
  top: 70px; /* chừa chỗ cho thanh menu dính của theme */
  margin-top: 20px;
  background: #3B0808;
  border-top: 2px solid #D4AF37;
  font-family: var(--tc-sans, 'Segoe UI', Arial, sans-serif);
}
.tuvi-sidebar-title {
  padding: 15px 20px;
  color: #D4AF37;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  border-bottom: 1px solid #5A1010;
}
.tuvi-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tuvi-sidebar li {
  margin: 0;
}
.tuvi-sidebar-menu > li > a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid #5A1010;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.tuvi-sidebar-sub a {
  display: block;
  padding: 9px 20px 9px 34px;
  color: #ddd;
  font-size: 14px;
  border-bottom: 1px solid #4A0C0C;
  text-decoration: none;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.tuvi-sidebar-sub a::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  background: #D4AF37;
  transform: rotate(45deg);
}
.tuvi-sidebar a:hover,
.tuvi-sidebar li.is-current > a {
  background: #5C0E0E;
  color: #D4AF37;
}
@media (max-width: 849px) {
  .tuvi-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .tuvi-sidebar {
    position: static;
    flex-basis: auto;
    width: 100%;
  }
}
