/* Khối giá dùng chung – includes/khoi-gia.php (Phần 81c, 14/11/2026 – bố cục C: nút "Chọn" trên từng gói). Tiền tố kg-.
 * Màu ghi thẳng (không dùng biến của trang-nganh.css / trangchu.css) để chạy được ở cả trang chủ và các trang kn-. */
.kg{background:#fff;border-radius:24px;padding:32px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#16213a}
.kg *,.kg *::before,.kg *::after{box-sizing:border-box}
.kg-tren{display:flex;gap:40px;align-items:flex-start}
.kg-l{flex:0 0 340px;min-width:0}
.kg-h2{margin:0;font-size:28px;line-height:1.25;font-weight:800;color:#0b3a82;letter-spacing:0}
.kg-ds{margin:14px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.kg-ds li{position:relative;padding-left:30px;font-size:16px;line-height:1.5;color:#1f2a44}
.kg-ds li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:#15803d
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat}
.kg-goi-ds{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.kg-goi{display:flex;flex-direction:column;border:1.5px solid #dfe5ef;border-radius:18px;padding:20px;background:#fff}
.kg-goi.hot{border:2px solid #f2b705;background:#fffbea}
.kg-goi-t{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:16px}
.kg-tag{background:#f2b705;color:#3d2c00;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px;white-space:nowrap}
.kg-gia{margin:6px 0 2px;font-size:32px;line-height:1.2;font-weight:800;color:#0b3a82;font-variant-numeric:tabular-nums}
.kg-thang{font-size:15px;color:#64708a}
.kg .kg-chon{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px;border-radius:12px;
  border:1.5px solid #c9d2df;background:#fff;color:#0b3a82;font-weight:700;font-size:16px;text-decoration:none}
.kg .kg-chon:hover{border-color:#0b3a82;color:#0b3a82}
.kg .kg-chon.do{background:#d62839;border-color:#d62839;color:#fff}
.kg .kg-chon.do:hover{background:#b81f2f;border-color:#b81f2f;color:#fff}
.kg-goi .kg-chon{margin-top:auto}
.kg-goi .kg-thang{margin-bottom:16px}
.kg-duoi{margin:20px 0 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;font-size:15px;color:#64708a}
.kg-duoi a{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#1557c0;text-decoration:none}
.kg-duoi a:hover{color:#0b3a82}
/* Phần 82: số gói theo tháng 1–4 + dải "Sắp thi?" (gói qua kỳ thi) */
.kg-goi-ds.kg-n1{grid-template-columns:minmax(0,1fr)}
.kg-goi-ds.kg-n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.kg-goi-ds.kg-n4{grid-template-columns:repeat(4,minmax(0,1fr))}
.kg .kg-thi{margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:12px 16px;border:1.5px solid #dfe5ef;border-radius:14px;
  color:#1f2a44;font-size:16px;text-decoration:none;background:#f8fafd}
.kg .kg-thi:hover{border-color:#0b3a82}
.kg-thi-gia{color:#0b3a82}
.kg-thi-chon{margin-left:auto;font-weight:700;color:#1557c0;white-space:nowrap}
@media (max-width:991px){
  .kg-tren{flex-direction:column;gap:18px}
  .kg-l{flex:none;width:100%}
  .kg-goi-ds{width:100%}
}
@media (max-width:640px){
  .kg{padding:20px;border-radius:20px}
  .kg-h2{font-size:24px}
  .kg-ds{gap:6px;margin-top:10px}
  .kg-ds li{padding-left:27px;font-size:15px}
  .kg-ds li::before{width:19px;height:19px;background-size:11px}
  .kg-goi-ds{gap:8px}
  .kg-goi{padding:12px 10px;border-radius:16px}
  .kg-goi-t{font-size:14px;gap:4px 6px}
  .kg-tag{font-size:11px;padding:2px 6px}
  .kg-gia{font-size:24px}
  .kg-thang{font-size:12px;margin-bottom:12px}
  .kg .kg-chon{min-height:44px;font-size:15px}
  .kg-duoi{margin-top:14px;font-size:14px}
  .kg-goi-ds.kg-n4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kg .kg-thi{font-size:14px;padding:10px 12px;margin-top:12px}
  .kg-thi-chon{margin-left:0}
}
