* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f8fafc; color: #1e293b; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif; line-height: 1.65; overflow-wrap: anywhere; }
header { background: #0f2444; color: white; padding: 20px max(20px, calc((100vw - 980px)/2)); }
header a { color: white; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: 0.3px; }
main { max-width: 980px; margin: 36px auto; padding: 0 22px 60px; }
.card { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 26px 30px; margin: 20px 0; box-shadow: 0 2px 12px rgba(15, 36, 68, 0.04); }
h1 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.3; margin: 20px 0 24px; color: #0f2444; font-weight: 700; }
h2 { font-size: 19px; line-height: 1.4; color: #0f2444; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; font-weight: 600; }
.note { border-left: 4px solid #d97706; background: #fffbeb; padding: 14px 18px; margin: 20px 0; border-radius: 6px; font-size: 14px; color: #92400e; }
.languages { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.languages button { background: white; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 16px; cursor: pointer; min-height: 38px; font-size: 14px; font-weight: 500; color: #334155; transition: all 0.15s ease; }
.languages button:hover { border-color: #0284c7; color: #0284c7; }
.languages button[aria-pressed=true] { background: #0f2444; border-color: #0f2444; color: white; }
a:focus-visible, button:focus-visible { outline: 3px solid #0284c7; outline-offset: 2px; }

/* Dạng văn bản thông tin hành chính / Key-Value list */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 10px 0; border-bottom: 1px dashed #e2e8f0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.info-list li:first-child { padding-top: 2px; }
.info-label { font-weight: 600; color: #334155; min-width: 220px; flex-shrink: 0; }
.info-value { color: #0f172a; flex: 1 1 300px; }

/* Danh sách gạch đầu dòng */
.bullet-list { margin: 10px 0 0; padding-left: 20px; }
.bullet-list li { margin: 8px 0; color: #334155; }
.bullet-list strong { color: #0f172a; }

/* Khung công thức / trích dẫn quy định */
.formula-box { background: #f8fafc; border: 1px solid #cbd5e1; border-left: 4px solid #0f2444; padding: 12px 18px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14.5px; font-weight: 600; color: #0f2444; margin: 14px 0; }

.tuition-list { margin: 0; }
.tuition-list dt { font-weight: 600; color: #0f2444; margin-top: 14px; }
.tuition-list dt:first-child { margin-top: 4px; }
.tuition-list dd { margin: 4px 0 12px 0; padding-bottom: 10px; border-bottom: 1px dashed #e2e8f0; color: #334155; }
.tuition-list dd:last-child { border-bottom: none; }

footer { border-top: 1px solid #e2e8f0; padding: 28px 20px; text-align: center; background: white; margin-top: 40px; }
footer a { display: inline-block; margin: 6px 12px; color: #0f2444; text-decoration: none; font-size: 14px; }
footer a:hover { color: #0284c7; text-decoration: underline; }
footer a[aria-current=page] { font-weight: 700; color: #0284c7; }

@media (max-width: 680px) {
  main { margin: 20px auto; padding: 0 16px 40px; }
  .card { padding: 20px 18px; }
  .info-list li { flex-direction: column; gap: 4px; padding: 8px 0; }
  .info-label { min-width: 100%; }
}

