/* Khối chỉ có ở trang chủ (mockup 09/10/2026). Nạp sau website.css, chỉ trên front-page. */

/* thang 4 mức */
.thang { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--vien); border-radius: 12px; overflow: hidden; }
.muc { padding: 28px 24px 32px; border-right: 1px solid var(--vien); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.muc:last-child { border-right: 0; background: var(--mag-xanh-nhat); }
/* cột tăng dần theo mức (minh hoạ, 11/10/2026) */
.vach { display: flex; gap: 6px; align-items: flex-end; height: 44px; }
.vach span { width: 14px; border-radius: 3px; background: var(--vien); }
.vach span:nth-child(1) { height: 25%; } .vach span:nth-child(2) { height: 50%; } .vach span:nth-child(3) { height: 75%; } .vach span:nth-child(4) { height: 100%; }
.vach span.bat { background: var(--chu); }
.muc:last-child .vach span.bat { background: var(--mag-xanh); }
.muc .so { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--chu-phu); }
.muc h3 { font-family: var(--font-tieu-de); font-weight: var(--dam-tieu-de); font-size: 22px; line-height: 1.2; }
.muc p { color: var(--chu-phu); font-size: 15px; }
.muc:last-child p { color: var(--chu); }
.thang-chan { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: 15px; color: var(--chu-phu); }
.thang-chan b { color: var(--chu); font-weight: 500; }

/* đội MAGi: ô ảnh sát góc dưới phải */
.magi { border: 1px solid var(--vien); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.magi-chu { padding: 28px 28px 24px; display: grid; gap: 10px; }
.magi-chu .viec { font-size: 14px; color: var(--mag-xanh); font-weight: 500; }
.magi-chu h3 { font-family: var(--font-tieu-de); font-weight: var(--dam-tieu-de); font-size: 24px; display: flex; align-items: center; gap: 10px; }
.magi-chu p { color: var(--chu-phu); font-size: 15px; }
.magi .anh-cho, .magi .anh-that { margin: 0 0 0 28px; width: auto; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.magi .anh-cho { border-style: dashed none none dashed; }

@media (max-width: 1020px) {
  .thang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .muc:nth-child(2) { border-right: 0; }
  .muc:nth-child(-n+2) { border-bottom: 1px solid var(--vien); }
}
@media (max-width: 640px) {
  .thang { grid-template-columns: minmax(0, 1fr); }
  .muc { border-right: 0 !important; border-bottom: 1px solid var(--vien); }
  .muc:last-child { border-bottom: 0; }
}
