/* faculty-detail.css — module faculty-detail-page (trang chi tiết khoa).
   PORT verbatim từ design (tokens-and-header + static-ui + page-hero-shared + pages-about-org-faculty).
   Bỏ phần Header/Mega của design (theme dùng mega-menu.css). Enqueue guard is_singular('khoa'). */

/* ===== tokens + base + buttons (tokens-and-header.css 1-73) ===== */
/* ============ HUFLIT — Design tokens ============ */
:root {
  --blue: #17479D;
  --orange: #EE6823;
  --blue-700: #0f3270;
  --blue-50: #eef3fb;
  --blue-100: #dde7f6;
  --orange-50: #fdf0e7;
  --ink: #14213d;
  --ink-soft: #4a5a76;
  --muted: #7a879c;
  --line: #e4eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-sm: 3px;
  --shadow-sm: 0 1px 3px rgba(20,33,61,.05);
  --shadow-md: 0 4px 14px rgba(20,33,61,.07);
  --shadow-lg: 0 10px 28px rgba(20,33,61,.10);
  --maxw: 1360px;
  --gut: 32px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
/* Mobile ≤600px: design giảm gutter 32→18px (site.css @media 600 :root{--gut:18px}). Thiếu rule này
 * thì mọi .hf-shell ở mobile bị thụt 14px/bên → TOÀN BỘ text lệch ngang so design → đỏ đồng loạt.
 * ĐẶT TRÊN .hf-khoa (KHÔNG :root): footer-new.css load SAU faculty-detail.css cũng khai
 * :root{--gut:32px} → đè mất override :root ở đây (cùng specificity, file sau thắng). .hf-khoa là
 * ancestor GẦN .hf-shell hơn :root nên custom-property của nó thắng bất kể thứ tự file. */
@media (max-width: 600px) {
  .hf-khoa { --gut: 18px; }
}
/* footer-new.css (load SAU) khai :root{--shadow-md:0 10px 30px} — ĐẬM hơn design (0 4px 14px) →
 * mọi card trong trang khoa đổ bóng to/đậm hơn design (halo quanh card lệch, cộng dồn ở mobile khi
 * card xếp dọc). Ghi đè trên .hf-khoa (ancestor gần) để thắng, khớp token design. */
.hf-khoa { --shadow-md: 0 4px 14px rgba(20, 33, 61, .07); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Mulish', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
/* Full-bleed đã xử lý GLOBAL ở main.css (body{max-width:none}) — mọi trang full-bleed + content căn giữa. */
/* Base element reset SCOPE trong :where(.hf-khoa) — chỉ áp content khoa, KHÔNG leak sang header/mega
 * theme (nằm ngoài .hf-khoa). :where() giữ specificity = element (0,0,1) nên class content vẫn override. */
:where(.hf-khoa) button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:where(.hf-khoa) a { color: inherit; text-decoration: none; }
:where(.hf-khoa) img { display: block; max-width: 100%; }
:where(.hf-khoa) ul { margin: 0; padding: 0; list-style: none; }
:where(.hf-khoa) h1, :where(.hf-khoa) h2, :where(.hf-khoa) h3, :where(.hf-khoa) h4 { margin: 0; line-height: 1.16; letter-spacing: -.01em; font-weight: 700; }
.hf-head h2, .hf-hero h1, .hf-phero h1, .hf-pd-hero h1, .hf-cta-copy h2, .hf-reg-copy h2, .hf-about-copy h2, .hf-why-copy h2 { font-weight: var(--hw, 700); }
:where(.hf-khoa) p { margin: 0; }

/* .hf-shell SCOPE :where(.hf-khoa) — tránh collision với header/mega theme (mega dùng
 * <div class="hf-shell hf-mega">; .hf-shell{padding:0} của ta load sau sẽ đè .hf-mega{padding:26px}).
 * :where giữ specificity (0,1,0) như bare .hf-shell; chỉ áp shell TRONG content khoa. */
:where(.hf-khoa) .hf-shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); width: 100%; }

/* ============ Buttons ============ */
.hf-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 4px; font-weight: 800; font-size: 15px;
  transition: transform .16s var(--ease), box-shadow .2s, background .2s;
  white-space: nowrap;
}
.hf-btn:hover { transform: translateY(-2px); }
.hf-btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(238,104,35,.32); }
.hf-btn-orange:hover { box-shadow: 0 12px 26px rgba(238,104,35,.42); }
.hf-btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(23,71,157,.28); }
.hf-btn-ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue-100); }
.hf-btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); }
/* Ghost button TRÊN NỀN TỐI (hero): design override inline sang trong suốt + chữ/viền TRẮNG.
 * Class mặc định là nền trắng/chữ xanh (cho nền sáng) → trong hero sẽ trắng đặc, lệch hẳn design. */
.hf-khoa-hero .hf-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
.hf-khoa-hero .hf-btn-ghost:hover { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.hf-btn-white { background: #fff; color: var(--blue); }
.hf-btn-lg { padding: 16px 30px; font-size: 16.5px; }

.hf-link-arrow {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--blue);
  font-size: 15px; transition: gap .18s var(--ease);
}
.hf-link-arrow:hover { gap: 12px; }

.hf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}
.hf-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }
.hf-eyebrow.center { justify-content: center; }

/* ===== generic section + tag + page-enter (tokens-and-header.css 193-211) ===== */
/* ============ Generic section ============ */
.hf-section { padding: 84px 0; }
.hf-section.soft { background: var(--bg-soft); }
.hf-section.blue { background: var(--blue); color: #fff; }
/* Design giảm padding section 84→56px ở ≤720 (site.css @media 720). Thiếu → mỗi .hf-section cao
 * hơn 56px ở 599/375 → dồn lệch dọc. Khớp để giữ nhịp dọc mobile. */
@media (max-width: 720px) { .hf-section { padding: 56px 0; } }
/* ≤600px: theme Mulish rộng hơn design ~vài px ở phần latin ("huflit.edu.vn") + ↗ → 2 nút hero
 * vượt container 3px → WRAP 2 hàng → hero-in căn đáy đẩy toàn hero lệch -18px (đỏ cả khối). Thu gap
 * 12→7px giữ 1 hàng như design (lệch 5px gap << lệch 18px cả hero). */
@media (max-width: 600px) { .hf-khoa .hf-khoa-hero-actions { gap: 7px; } }
.hf-head { max-width: 640px; margin-bottom: 40px; }
.hf-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.hf-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 14px; }
.hf-head p { font-size: 17px; color: var(--ink-soft); }
.hf-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.hf-head-row .hf-head { margin-bottom: 0; }

/* cards/tags reused */
.hf-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 4px; }
.hf-tag-blue { background: var(--blue-50); color: var(--blue); }
.hf-tag-orange { background: var(--orange-50); color: var(--orange); }

/* ============ Page enter ============ */
.hf-page { animation: pageIn .35s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* [GỠ static-ui.css: tab/roadmap/slider/MEGA/filter/mobile] — trang khoa (stack, không interaction) KHÔNG dùng; phần MEGA + mobile ĐÈ header theme → header/mega do mega-menu.css lo. */
/* ===== page-hero-shared.css ===== */
/* ============ Shared page hero + breadcrumb ============ */
.hf-phero { background: var(--blue-700); color: #fff; padding: 46px 0 56px; }
.hf-phero.orange { background: #b85419; }
.hf-phero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; margin: 14px 0 14px; }
.hf-phero p { font-size: 17px; color: #dbe5f5; max-width: 620px; }
.hf-phero.orange p { color: #ffeede; }
.hf-phero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hf-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.hf-crumb button:hover { color: #fff; }
.hf-crumb svg { opacity: .5; }
.hf-crumb.light { color: rgba(255,255,255,.78); }
.hf-empty { padding: 60px; text-align: center; color: var(--muted); font-weight: 600; background: var(--bg-soft); border-radius: var(--radius); }

/* ============ Programs list ============ */
.hf-prog-wrap { display: grid; grid-template-columns: 270px 1fr; gap: 40px; padding-top: 44px; padding-bottom: 80px; align-items: start; }
.hf-prog-rail { position: sticky; top: 130px; }
.hf-prog-search { display: flex; align-items: center; gap: 9px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: 11px 14px; margin-bottom: 18px; }
.hf-prog-search svg { color: var(--muted); }
.hf-prog-search input { border: none; outline: none; background: transparent; font-size: 14.5px; font-weight: 600; width: 100%; }
.hf-rail-lab { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; }
.hf-rail-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 13px; border-radius: 4px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); transition: background .14s, color .14s; }
.hf-rail-item span:last-child { margin-left: auto; font-size: 12.5px; background: var(--bg-soft); padding: 2px 9px; border-radius: 4px; color: var(--muted); }
.hf-rail-item:hover { background: var(--blue-50); color: var(--blue); }
.hf-rail-item.on { background: var(--blue); color: #fff; }
.hf-rail-item.on span:last-child { background: rgba(255,255,255,.2); color: #fff; }
.hf-rail-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); flex-shrink: 0; }
.hf-rail-item.on .hf-rail-ic { background: rgba(255,255,255,.18); color: #fff; }

.hf-prog-count { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.hf-prog-count strong { color: var(--ink); font-size: 17px; }
.hf-prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hf-prog-card { text-align: left; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; display: flex; flex-direction: column; }
.hf-prog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-prog-card-body { padding: 18px 20px 20px; }
.hf-prog-card-body h3 { font-size: 18px; margin: 10px 0 12px; }
.hf-prog-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.hf-prog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hf-prog-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; color: var(--orange); transition: gap .16s; }
.hf-prog-card:hover .hf-prog-link { gap: 11px; }

/* ============ Program detail ============ */
.hf-pd-hero { position: relative; color: #fff; padding: 52px 0 64px; overflow: hidden; }
.hf-pd-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hf-pd-hero-bg > div { width: 100%; height: 100%; }
.hf-pd-hero-ov { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(15,50,112,.93) 0%, rgba(23,71,157,.55) 45%, rgba(23,71,157,.05) 68%, transparent 82%); }
.hf-pd-hero-in { position: relative; z-index: 1; }
.hf-pd-tags { display: flex; gap: 8px; margin: 14px 0 14px; }
.hf-pd-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; max-width: 760px; }
.hf-pd-hero p { font-size: 17px; color: #dbe5f5; max-width: 600px; margin-top: 14px; }
.hf-pd-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.hf-pd-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 22px; margin-top: -34px; position: relative; z-index: 2; }
.hf-pd-fact { display: flex; align-items: center; gap: 13px; }
.hf-pd-fact + .hf-pd-fact { border-left: 1px solid var(--line); padding-left: 16px; }
.hf-pd-fact-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); flex-shrink: 0; }
.hf-pd-fact span { font-size: 12.5px; color: var(--muted); font-weight: 700; display: block; }
.hf-pd-fact strong { font-size: 16px; }

.hf-pd-body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding: 56px 32px 80px; align-items: start; }
.hf-pd-main section { margin-bottom: 40px; }
.hf-pd-main h2 { font-size: 24px; margin-bottom: 16px; }
.hf-pd-main p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; }
.hf-pd-skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hf-pd-skill { display: flex; align-items: center; gap: 11px; background: var(--bg-soft); border-radius: 4px; padding: 14px 16px; font-weight: 700; font-size: 14.5px; }
.hf-pd-skill span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: #d8f0e0; color: #1f8a5b; flex-shrink: 0; }
.hf-pd-careers { display: flex; flex-direction: column; gap: 12px; }
.hf-pd-careers li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); font-weight: 600; }
.hf-pd-bullet { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--orange-50); color: var(--orange); flex-shrink: 0; }
.hf-pd-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hf-pd-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; font-size: 15px; transition: border-color .15s, background .15s; }
.hf-pd-method:hover { border-color: var(--blue); background: var(--blue-50); }
.hf-pd-method span { font-size: 18px; font-weight: 700; color: var(--blue); opacity: .35; }

.hf-pd-side { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; }
.hf-pd-cta-card { background: var(--blue-700); color: #fff; border-radius: var(--radius); padding: 26px; }
.hf-pd-cta-card h3 { font-size: 20px; }
.hf-pd-cta-card p { font-size: 14.5px; color: #c9d8f1; margin: 8px 0 18px; }
.hf-pd-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.hf-pd-contact a { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: #dbe5f5; }
.hf-pd-contact a:hover { color: #fff; }
.hf-pd-related { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.hf-pd-related h4 { font-size: 16px; margin-bottom: 12px; }
.hf-pd-related > button:not(.hf-link-arrow) { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--ink-soft); transition: color .14s; }
.hf-pd-related > button:not(.hf-link-arrow):hover { color: var(--blue); }
.hf-pd-related > button svg { color: var(--orange); }

/* ============ Admissions ============ */
.hf-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-method-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.hf-method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.hf-method-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hf-method-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); color: var(--blue); transition: transform .25s var(--ease), background .25s, color .25s; }
.hf-method-card:hover .hf-method-ic { transform: rotate(-8deg) scale(1.1); background: linear-gradient(150deg, var(--blue), var(--orange)); color: #fff; }
.hf-method-code { font-size: 22px; font-weight: 700; color: var(--blue-100); }
.hf-method-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.25; }
.hf-method-card p { font-size: 14px; color: var(--ink-soft); }

.hf-scholar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hf-scholar-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm); }
.hf-scholar-card.feat { background: var(--blue-700); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.hf-scholar-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 4px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.hf-scholar-card h3 { font-size: 18px; }
.hf-scholar-val { font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--orange); margin: 10px 0 10px; letter-spacing: -.02em; }
.hf-scholar-card.feat .hf-scholar-val { color: #ffd9bf; }
.hf-scholar-card p { font-size: 14px; color: var(--ink-soft); }
.hf-scholar-card.feat p { color: #c9d8f1; }

.hf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.hf-step { position: relative; padding-top: 8px; transition: transform .2s var(--ease); }
.hf-step:hover { transform: translateY(-4px); }
.hf-step-num { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; font-size: 22px; font-weight: 700; margin-bottom: 16px; transition: background .25s, color .25s, transform .25s var(--ease); }
.hf-step:hover .hf-step-num { background: var(--orange); color: #fff; transform: scale(1.08); }
.hf-step h4 { font-size: 17px; margin-bottom: 8px; }
.hf-step p { font-size: 14.5px; color: var(--ink-soft); }
.hf-step:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: 64px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 16px); }

.hf-reg { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hf-reg-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 14px; }
.hf-reg-copy > p { font-size: 16.5px; color: #c9d8f1; }
.hf-reg-perks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hf-reg-perks li { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15.5px; }
.hf-reg-perks svg { color: #6fe0a8; }
.hf-reg-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; color: var(--ink); box-shadow: var(--shadow-lg); }
.hf-reg-form h3 { font-size: 21px; margin-bottom: 20px; }
.hf-reg-form label { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink-soft); margin-bottom: 14px; }
.hf-reg-form input, .hf-reg-form select { width: 100%; margin-top: 7px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 4px; font-size: 15px; font-family: inherit; font-weight: 600; outline: none; transition: border-color .15s; background: #fff; }
.hf-reg-form input:focus, .hf-reg-form select:focus { border-color: var(--blue); }
.hf-reg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hf-reg-done { text-align: center; padding: 24px 0; }
.hf-reg-check { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #d8f0e0; color: #1f8a5b; margin: 0 auto 18px; }
.hf-reg-done h3 { font-size: 22px; }
.hf-reg-done p { color: var(--ink-soft); margin: 8px 0 20px; }

/* ============ News ============ */
.hf-news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding-top: 44px; padding-bottom: 80px; align-items: start; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.hf-chip { padding: 8px 16px; border-radius: 4px; font-weight: 700; font-size: 14px; background: var(--bg-soft); color: var(--ink-soft); transition: background .14s, color .14s; }
.hf-chip:hover { background: var(--blue-50); color: var(--blue); }
.hf-chip.on { background: var(--blue); color: #fff; }
.hf-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hf-newscard { text-align: left; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.hf-newscard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-newscard-body { padding: 18px 20px 22px; }
.hf-newscard-body h3 { font-size: 17.5px; margin: 10px 0 12px; line-height: 1.3; }
.hf-news-aside { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 20px; }
.hf-events-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hf-events-card > h3 { display: flex; align-items: center; gap: 9px; font-size: 18px; margin-bottom: 18px; color: var(--blue); }
.hf-events-list { display: flex; flex-direction: column; gap: 18px; }
.hf-event { display: flex; gap: 14px; }
.hf-event + .hf-event { border-top: 1px solid var(--line); padding-top: 18px; }
.hf-event-date { width: 54px; flex-shrink: 0; text-align: center; background: var(--blue-50); border-radius: 4px; padding: 8px 0; height: fit-content; }
.hf-event-date strong { display: block; font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1; }
.hf-event-date span { font-size: 11px; font-weight: 800; color: var(--blue); letter-spacing: .04em; }
.hf-event-body h4 { font-size: 15.5px; margin-bottom: 8px; line-height: 1.3; }
.hf-event-body > span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.hf-event-reg { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; font-size: 13px; color: var(--orange); }
.hf-event-reg:hover { gap: 10px; }
.hf-news-sub { background: var(--orange); color: #fff; border-radius: var(--radius); padding: 24px; }

/* ============ News — Article detail (SEO) ============ */
.hf-article-meta { display: flex; flex-wrap: wrap; gap: 18px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.hf-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hf-article-body { font-size: 16.5px; color: var(--ink-soft); line-height: 1.8; display: flex; flex-direction: column; gap: 18px; max-width: 740px; }
.hf-article-body p:first-child { font-size: 18px; color: var(--ink); font-weight: 600; }
.hf-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hf-article-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.hf-article-share a, .hf-article-share button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); transition: background .15s, color .15s; }
.hf-article-share a:hover, .hf-article-share button:hover { background: var(--blue); color: #fff; }

.hf-article-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.hf-article-nav-btn {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s, background .15s, transform .15s;
}
.hf-article-nav-btn:hover { border-color: var(--blue); background: var(--blue-50); transform: translateY(-2px); }
.hf-article-nav-btn.next { justify-content: flex-end; text-align: right; }
.hf-article-nav-btn > svg { flex-shrink: 0; color: var(--orange); }
.hf-article-nav-btn div { min-width: 0; }
.hf-article-nav-btn span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hf-article-nav-btn strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.35;
}
@media (max-width: 640px) {
  .hf-article-prevnext { grid-template-columns: 1fr; }
  .hf-article-nav-btn.next { justify-content: flex-start; text-align: left; }
}
.hf-news-sub h3 { font-size: 18px; }
.hf-news-sub p { font-size: 14px; margin: 8px 0 16px; color: #fff3ea; }

/* ============ About ============ */
.hf-about-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.hf-about-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 16px; }
.hf-about-copy p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; }
.hf-about-vals { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hf-about-vals strong { display: block; font-size: 18px; color: var(--blue); }
.hf-about-vals span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hf-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; background: #fff; padding: 7px; border: 1px solid var(--line); border-radius: 4px; width: fit-content; }
.hf-tab { padding: 11px 22px; border-radius: 4px; font-weight: 800; font-size: 14.5px; color: var(--ink-soft); transition: background .15s, color .15s; }
.hf-tab:hover { color: var(--blue); }
.hf-tab.on { background: var(--blue); color: #fff; }
.hf-reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-reason-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.hf-reason-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: var(--bg-soft); color: var(--orange); margin-bottom: 16px; }
.hf-reason-card h3 { font-size: 17px; margin-bottom: 8px; }
.hf-reason-card p { font-size: 14px; color: var(--ink-soft); }
.hf-leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hf-leader { text-align: center; }
.hf-leader strong { display: block; font-size: 16px; margin-top: 14px; }
.hf-leader span { font-size: 13px; color: var(--muted); font-weight: 700; }
.hf-org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hf-org-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hf-org-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); flex-shrink: 0; }
.hf-org-card h3 { font-size: 17px; margin-bottom: 6px; }
.hf-org-card p { font-size: 14px; color: var(--ink-soft); }
.hf-quality { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hf-quality-copy h3 { font-size: 24px; margin-bottom: 14px; }
.hf-quality-copy p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.hf-quality-stats { display: flex; flex-direction: column; gap: 16px; }
.hf-quality-stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.hf-quality-stats strong { display: block; font-size: 34px; font-weight: 700; color: var(--blue); letter-spacing: -.02em; }
.hf-quality-stats span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ============ Footer ============ */
.hf-footer { background: var(--blue-700); color: #c5d3ec; }
.hf-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1.2fr; gap: 30px; padding: 60px 32px 44px; }
.hf-foot-logo { width: 58px; height: 58px; object-fit: contain; margin-bottom: 14px; }
.hf-foot-name { font-size: 15px; font-weight: 800; color: #fff; max-width: 260px; line-height: 1.4; }
.hf-foot-contact { margin: 18px 0; display: flex; flex-direction: column; gap: 11px; }
.hf-foot-contact li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.hf-foot-contact svg { color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.hf-foot-social { display: flex; gap: 10px; }
.hf-foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.hf-foot-social a:hover { background: var(--orange); }
.hf-footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: .02em; }
.hf-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.hf-footer-col button { font-size: 13.5px; color: #c5d3ec; font-weight: 600; text-align: left; transition: color .14s; text-wrap: balance; line-height: 1.4; }
.hf-footer-col button:hover { color: #fff; }
.hf-footer-cta p { font-size: 13.5px; margin-bottom: 14px; }
.hf-foot-form { display: flex; gap: 8px; }
.hf-foot-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font-size: 14px; font-family: inherit; outline: none; }
.hf-foot-form input::placeholder { color: #93a6c8; }
.hf-foot-form.light input { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); }
.hf-foot-form.light input::placeholder { color: #fff0; }
.hf-foot-form button { width: 46px; flex-shrink: 0; border-radius: 4px; background: var(--orange); color: #fff; display: grid; place-items: center; transition: transform .15s; }
.hf-foot-form button:hover { transform: translateX(2px); }
.hf-footer-bot { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; flex-wrap: wrap; gap: 8px; }
.hf-foot-legal { opacity: .6; }

/* ============ Inner responsive ============ */
@media (max-width: 1080px) {
  .hf-prog-wrap, .hf-news-layout { grid-template-columns: 1fr; }
  .hf-prog-rail, .hf-pd-side, .hf-news-aside { position: static; }
  .hf-prog-rail { display: flex; flex-wrap: wrap; gap: 8px; }
  .hf-prog-rail .hf-prog-search { width: 100%; }
  .hf-rail-lab { width: 100%; }
  .hf-rail-item { width: auto; }
  .hf-rail-item span:last-child { margin-left: 6px; }
  .hf-pd-body { grid-template-columns: 1fr; }
  .hf-method-grid, .hf-reason-grid, .hf-leader-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-steps { grid-template-columns: repeat(2, 1fr); }
  .hf-step::after { display: none; }
  .hf-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hf-prog-grid, .hf-news-grid, .hf-pd-skills, .hf-pd-methods, .hf-org-grid { grid-template-columns: 1fr; }
  .hf-pd-facts, .hf-method-grid, .hf-scholar-grid, .hf-reg, .hf-about-intro, .hf-quality { grid-template-columns: 1fr; }
  .hf-pd-fact + .hf-pd-fact { border-left: none; padding-left: 0; }
  .hf-scholar-card.feat { transform: none; }
  .hf-reg-2 { grid-template-columns: 1fr; }
  .hf-footer-top { grid-template-columns: 1fr; }
}

/* ============ Tuyển sinh — hero ảnh ============ */
.hf-adm-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-start; overflow: hidden; color: #fff; }
.hf-adm-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hf-adm-hero-bg > div:first-child { width: 100%; height: 100%; transform: scale(1.03); }
.hf-adm-hero-ov { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(180,70,15,.92) 0%, rgba(238,104,35,.65) 45%, rgba(238,104,35,.12) 72%, transparent 90%); }
.hf-adm-hero-in { position: relative; z-index: 1; max-width: 680px; padding: 46px 0 56px; }
.hf-adm-hero-in h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; margin: 16px 0 14px; }
.hf-adm-hero-in p { font-size: 16.5px; line-height: 1.6; color: #fff0e6; max-width: 560px; }
@media (max-width: 720px) { .hf-adm-hero { min-height: 40vh; } }

/* Dải ảnh đời sống tuyển sinh */
.hf-adm-photos-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: -10px; }

/* Thanh CTA dính đáy màn hình — không che nội dung, dễ thấy, tự ẩn khi tới form thật */
.hf-adm-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20,33,61,.1);
  transform: translateY(110%); transition: transform .35s var(--ease); pointer-events: none;
}
.hf-adm-bar.show { transform: translateY(0); pointer-events: auto; }
.hf-adm-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--gut); flex-wrap: wrap; }
.hf-adm-bar-text { display: flex; flex-direction: column; }
.hf-adm-bar-text strong { font-size: 15.5px; color: var(--ink); }
.hf-adm-bar-text small { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) {
  .hf-adm-bar-text small { display: none; }
  .hf-adm-bar-in { padding: 12px var(--gut); }
  .hf-adm-bar-text strong { font-size: 14px; }
}
@media (max-width: 640px) { .hf-adm-photos-row { grid-template-columns: 1fr; } }

/* ===== pages-about-org-faculty.css ===== */
/* ============ pages4 — Giới thiệu chung, Tổ chức, Khoa, Trải nghiệm, Học thuật, Sau ĐH ============ */

/* [GỠ Header mega (Giới thiệu/Tổ chức)] — panel mega thuộc header, do theme/mega-menu.css lo; giữ ở đây gây đè khi load sau trên trang khoa. */

/* ----- Giới thiệu chung: shared section bits ----- */
.hf-gt-block { display: block; }
.hf-gt-subhead { margin: 42px 0 22px; }
.hf-gt-subhead.tight { margin: 0 0 18px; }
.hf-gt-subhead h3 { font-size: clamp(22px, 2.6vw, 28px); }
.hf-gt-subhead p { font-size: 15.5px; color: var(--ink-soft); margin-top: 8px; }

/* timeline (Lịch sử) */
.hf-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.hf-tl-item::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 4px; border-radius: 0 0 4px 4px; background: var(--orange); }
.hf-tl-year { font-size: 24px; font-weight: 700; color: var(--blue); letter-spacing: -.02em; }
.hf-tl-body strong { display: block; font-size: 16.5px; margin: 10px 0 6px; }
.hf-tl-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.hf-lead-group + .hf-lead-group { margin-top: 8px; }
.hf-quality-statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.hf-quality-statrow > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); text-align: center; }
.hf-quality-statrow strong { display: block; font-size: 36px; font-weight: 700; color: var(--blue); letter-spacing: -.02em; }
.hf-quality-statrow span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* campuses */
.hf-campus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hf-campus-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hf-campus-body { padding: 20px 22px 24px; }
.hf-campus-body h3 { font-size: 19px; margin-bottom: 10px; }
.hf-campus-addr { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.hf-campus-addr svg { flex-shrink: 0; margin-top: 1px; }
.hf-campus-note { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ----- Tổ chức: org chart ----- */
.hf-orgchart { display: flex; flex-direction: column; align-items: center; }
.hf-org-node { padding: 14px 28px; border-radius: 4px; font-weight: 800; font-size: 16px; background: #fff; border: 2px solid var(--blue-100); color: var(--ink); box-shadow: var(--shadow-sm); }
.hf-org-node.blue { background: var(--blue-700); color: #fff; border-color: transparent; }
.hf-org-conn { width: 2px; height: 26px; background: var(--blue-100); }
.hf-org-tier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; margin-top: 8px; position: relative; }
.hf-org-tier::before { content: ""; position: absolute; top: -8px; left: 16.66%; right: 16.66%; height: 2px; background: var(--blue-100); }
.hf-org-branch { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 22px 24px; text-align: center; position: relative; }
.hf-org-branch::before { content: ""; position: absolute; top: -8px; left: 50%; width: 2px; height: 8px; background: var(--blue-100); }
.hf-org-branch span { display: block; font-weight: 700; font-size: 17px; color: var(--blue); }
.hf-org-branch small { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* Khoa grid */
.hf-khoa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-khoa-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; display: flex; flex-direction: column; align-items: flex-start; }
.hf-khoa-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.hf-khoa-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); margin-bottom: 14px; transition: transform .18s var(--ease); }
.hf-khoa-card:hover .hf-khoa-ic { transform: rotate(-6deg) scale(1.05); }
.hf-khoa-card h3 { font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; }
.hf-khoa-card p { font-size: 13.5px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.hf-khoa-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; color: var(--orange); transition: gap .16s; }
.hf-khoa-card:hover .hf-khoa-link { gap: 11px; }

/* Units */
.hf-unit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hf-unit-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .15s, background .15s, transform .15s; }
.hf-unit-item:hover { border-color: var(--blue); background: var(--blue-50); transform: translateX(3px); }
.hf-unit-kind { flex-shrink: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 4px 10px; border-radius: 4px; width: 78px; text-align: center; }
.hf-unit-item:hover .hf-unit-kind { background: #fff; }
.hf-unit-name { flex: 1; font-weight: 700; font-size: 14.8px; color: var(--ink); }
.hf-unit-item > svg { color: var(--orange); opacity: 0; transition: opacity .15s, transform .15s; }
.hf-unit-item:hover > svg { opacity: 1; transform: translateX(2px); }

/* Đoàn thể */
.hf-doan-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hf-doan-chip { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 4px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 800; font-size: 15px; color: var(--ink); transition: background .15s, color .15s, transform .15s; }
.hf-doan-chip svg { color: var(--orange); }
.hf-doan-chip:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.hf-doan-chip:hover svg { color: #fff; }

/* ----- Khoa detail ----- */
.hf-khoa-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding-top: 50px; padding-bottom: 80px; align-items: start; }
.hf-khoa-sec { margin-bottom: 44px; }
.hf-khoa-prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hf-khoa-prog {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s, background .2s;
  position: relative; overflow: hidden;
}
.hf-khoa-prog::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--orange)); opacity: 0; transition: opacity .2s;
}
.hf-khoa-prog:hover { border-color: transparent; transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-md); }
.hf-khoa-prog:hover::before { opacity: 1; }
.hf-khoa-prog.hot { background: linear-gradient(180deg, #fff 0%, var(--orange-50) 130%); }
.hf-khoa-prog-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue); transition: transform .25s var(--ease), background .25s, color .25s;
}
.hf-khoa-prog:hover .hf-khoa-prog-ic { transform: rotate(-8deg) scale(1.1); background: var(--blue); color: #fff; }
.hf-khoa-prog.hot .hf-khoa-prog-ic { background: var(--orange-50); color: var(--orange); }
.hf-khoa-prog.hot:hover .hf-khoa-prog-ic { background: var(--orange); color: #fff; }
.hf-khoa-prog > div { flex: 1; min-width: 0; }
.hf-khoa-prog h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.hf-khoa-prog-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.hf-khoa-prog > svg:last-child { color: var(--orange); flex-shrink: 0; transition: transform .2s; }
.hf-khoa-prog:hover > svg:last-child { transform: translateX(3px); }
.hf-khoa-news { display: flex; flex-direction: column; gap: 4px; }
.hf-khoa-news-row { display: flex; gap: 14px; text-align: left; padding: 12px; border-radius: 4px; transition: background .15s; align-items: flex-start; }
.hf-khoa-news-row:hover { background: var(--bg-soft); }
.hf-khoa-news-row > div:last-child { min-width: 0; flex: 1; }
.hf-khoa-news-row > div:last-child > .hf-news-date {
  font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%;
}
.hf-khoa-news-row h4 {
  font-size: 14.5px; line-height: 1.35; margin-top: 5px; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hf-khoa-news-thumb { width: 80px; height: 80px; flex-shrink: 0; position: relative; }

.hf-khoa-side { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; }
.hf-khoa-contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hf-khoa-contact h4 { font-size: 16px; margin-bottom: 16px; }
.hf-khoa-contact ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.hf-khoa-contact li { display: flex; gap: 11px; font-size: 13.8px; color: var(--ink-soft); font-weight: 600; line-height: 1.45; }
.hf-khoa-contact li svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.hf-khoa-extlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13.5px; color: var(--orange); padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.hf-khoa-otherkhoa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.hf-khoa-otherkhoa h4 { font-size: 16px; margin-bottom: 10px; }
.hf-khoa-otherkhoa button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 13.8px; color: var(--ink-soft); transition: color .14s; }
.hf-khoa-otherkhoa button:last-child { border-bottom: none; }
.hf-khoa-otherkhoa button:hover { color: var(--blue); }
.hf-khoa-otherkhoa button svg { color: var(--orange); flex-shrink: 0; }

/* ----- Trải nghiệm: 5-col explore ----- */
.hf-exp5 { grid-template-columns: repeat(3, 1fr); }
.hf-exp5 .hf-explore-card { position: relative; }

/* ----- Học thuật: research cards ----- */
.hf-research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hf-research-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; display: block; }
.hf-research-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-research-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); margin-bottom: 16px; }
.hf-research-card h3 { font-size: 19px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.hf-research-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }

/* ----- Sau Đại học ----- */
.hf-grad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hf-grad-card { display: flex; align-items: center; gap: 16px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.hf-grad-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.hf-grad-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); flex-shrink: 0; }
.hf-grad-ic.orange { background: var(--orange-50); color: var(--orange); }
.hf-grad-card > div { flex: 1; }
.hf-grad-card h3 { font-size: 18px; margin-top: 8px; }
.hf-grad-card > svg { color: var(--orange); flex-shrink: 0; }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .hf-khoa-wrap { grid-template-columns: 1fr; }
  .hf-khoa-side { position: static; }
}
@media (max-width: 960px) {
  .hf-khoa-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-timeline { grid-template-columns: repeat(2, 1fr); }
  .hf-grad-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-org-tier { grid-template-columns: 1fr; }
  .hf-org-tier::before { display: none; }
  .hf-org-branch::before { display: none; }
  .hf-exp5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hf-khoa-grid, .hf-unit-grid, .hf-campus-grid, .hf-research-grid, .hf-khoa-prog-grid, .hf-grad-grid, .hf-quality-statrow, .hf-exp5, .hf-timeline { grid-template-columns: 1fr; }
}

/* ============ Giới thiệu chung — hero lớn kiểu editorial ============ */
.hf-about-hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hf-about-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hf-about-hero-bg > div:first-child { width: 100%; height: 100%; transform: scale(1.04); }
.hf-about-hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,44,.55) 0%, rgba(8,20,44,.45) 45%, rgba(8,20,44,.92) 100%);
}
.hf-about-hero-in { position: relative; z-index: 1; max-width: 760px; padding: 120px 0 90px; }
.hf-about-hero-in h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 18px 0 18px; }
.hf-about-hero-in p { font-size: clamp(16px, 1.6vw, 19px); color: #dbe5f5; max-width: 600px; }
.hf-about-hero-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 1; }
.hf-about-hero-scroll span {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; position: relative;
}
.hf-about-hero-scroll span::before {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 999px; background: #fff; animation: hfScrollCue 1.8s ease-in-out infinite;
}
@keyframes hfScrollCue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: .3; } }

/* ============ Số liệu nổi bật ============ */
.hf-about-stats { background: var(--blue-700); padding: 36px 0; }
.hf-about-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.hf-about-stat { text-align: center; color: #fff; position: relative; }
.hf-about-stat + .hf-about-stat::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.18); }
.hf-about-stat-val { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.hf-about-stat-lab { font-size: 13.5px; color: #b9cae8; font-weight: 600; margin-top: 4px; }

/* ============ Timeline dọc ============ */
.hf-vtimeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 2px; }
.hf-vtimeline::before { content: ""; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-100); }
.hf-vt-item { position: relative; display: flex; gap: 26px; padding-left: 0; margin-bottom: 30px; }
.hf-vt-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); flex-shrink: 0; position: relative; z-index: 1; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg-soft); }
.hf-vt-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.hf-vt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); flex: 1; transition: transform .2s var(--ease), box-shadow .2s; }
.hf-vt-item:hover .hf-vt-card { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hf-vt-year { display: inline-block; font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: .04em; margin-bottom: 6px; }
.hf-vt-card strong { display: block; font-size: 17px; margin-bottom: 6px; }
.hf-vt-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ============ Tab content — entrance animation khi đổi tab ============ */
.hf-tabpanel { animation: hfTabIn .45s var(--ease); }
@keyframes hfTabIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============ Reason cards — hiệu ứng nổi khi hover ============ */
.hf-reason-card { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.hf-reason-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.hf-reason-ic { transition: transform .25s var(--ease); }
.hf-reason-card:hover .hf-reason-ic { transform: rotate(-8deg) scale(1.1); }

/* ============ Campus card — zoom ảnh khi hover ============ */
.hf-campus-media { overflow: hidden; }
.hf-campus-media img { transition: transform .5s var(--ease); }
.hf-campus-card:hover .hf-campus-media img { transform: scale(1.08); }

@media (max-width: 960px) {
  .hf-about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hf-about-stat:nth-child(3)::before { display: none; }
}
@media (max-width: 720px) {
  .hf-about-hero { min-height: 70vh; }
  .hf-about-hero-in { padding: 90px 0 60px; }
}

/* ============ Khoa — hero ảnh ============ */
.hf-khoa-hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hf-khoa-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hf-khoa-hero-bg > div:first-child { width: 100%; height: 100%; transform: scale(1.03); }
.hf-khoa-hero-ov { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(11,24,52,.95) 0%, rgba(23,71,157,.72) 42%, rgba(23,71,157,.18) 70%, transparent 90%); }
.hf-khoa-hero-in { position: relative; z-index: 1; max-width: 700px; padding: 110px 0 70px; display: flex; flex-direction: column; gap: 4px; }
.hf-khoa-hero-in .hf-crumb { margin-bottom: 18px; }
.hf-khoa-hero-in .hf-tag { width: fit-content; margin-bottom: 4px; }
.hf-khoa-hero-in h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.12; margin: 18px 0 18px; }
.hf-khoa-hero-in p { font-size: 17px; line-height: 1.6; color: #dbe5f5; max-width: 600px; }
.hf-khoa-hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
@media (max-width: 720px) { .hf-khoa-hero { min-height: 60vh; } .hf-khoa-hero-in { padding: 90px 0 50px; } }

/* ============ Khoa — Cựu sinh viên ============ */
.hf-alumni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hf-alumni-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s;
}
.hf-alumni-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-alumni-card .hf-fade-in, .hf-alumni-card > div:first-child { width: 76px; height: 76px; margin: 0 auto 14px; }
.hf-alumni-card > svg { color: var(--orange-50); margin-bottom: 8px; }
.hf-alumni-card p { font-size: 14px; color: var(--ink-soft); font-style: italic; line-height: 1.6; margin-bottom: 16px; min-height: 88px; }
.hf-alumni-card strong { display: block; font-size: 15.5px; }
.hf-alumni-card span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .hf-alumni-grid { grid-template-columns: 1fr; } }

/* ===== program-detail-blocks.css (khoa dùng .hf-career-flat/.hf-news-date; design load file này) ===== */
/* ============ Program Detail — 9 blocks ============ */
.hf-pd .hf-pd-code { font-size: 12.5px; font-weight: 800; color: #fff; background: rgba(255,255,255,.16); padding: 5px 11px; border-radius: 4px; }

/* sticky sub-nav */
.hf-pdnav { position: sticky; top: 134px; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 30px; }
.hf-pdnav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.hf-pdnav-in::-webkit-scrollbar { display: none; }
.hf-pdnav-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 14px 14px; font-size: 13.5px; font-weight: 800; color: var(--ink-soft); border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.hf-pdnav-item:hover { color: var(--blue); }
.hf-pdnav-item.on { color: var(--blue); border-color: var(--orange); }
.hf-pdnav-num { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 11px; font-weight: 700; }
.hf-pdnav-item.on .hf-pdnav-num { background: var(--orange); color: #fff; }

/* generic block */
.hf-blk-inner { padding: 70px 0; }
.hf-blk-inner.soft { background: var(--bg-soft); }
.hf-blk-inner.blue { background: var(--blue-700); color: #fff; }
.hf-blk-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.hf-blk-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 4px 11px; border-radius: 4px; }
.hf-blk-inner.blue .hf-blk-num { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.hf-blk-title { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 26px; max-width: 920px; }
.hf-lead { font-size: 18px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; max-width: 760px; }
.hf-lead.light { color: #d4e0f5; }
.hf-body { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; max-width: 760px; }

/* block 2 overview */
.hf-ov { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.hf-ov-listlead { font-size: 16px; font-weight: 800; color: var(--ink); margin: 6px 0 10px; }
.hf-fitlist { display: grid; gap: 10px; margin-top: 6px; }
.hf-fitlist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.hf-fit-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: #d8f0e0; color: #1f8a5b; flex-shrink: 0; margin-top: 1px; }
.hf-ov-side { position: relative; display: flex; flex-direction: column; gap: 16px; }
.hf-quote { margin: 0; background: var(--blue-50); border-left: 4px solid var(--orange); border-radius: 0 4px 4px 0; padding: 18px 20px; color: var(--blue-700); }
.hf-quote svg { color: var(--orange); opacity: .8; }
.hf-quote p { font-size: 16px; font-weight: 700; font-style: italic; margin-top: 8px; line-height: 1.45; }

/* block 3 — Lộ trình đào tạo tương tác (tham khảo FPT, điều chỉnh phong cách HUFLIT) */
.hf-roadmap2-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.hf-roadmap2-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 18px 18px 20px; background: var(--bg-soft); transition: background .2s, transform .2s var(--ease); position: relative;
}
.hf-roadmap2-tab:hover { background: #fff; }
.hf-roadmap2-tab.on { background: #fff; transform: translateY(-4px); box-shadow: 0 -6px 0 0 var(--orange) inset; z-index: 1; }
.hf-roadmap2-code {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 4px 10px;
  border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--blue-100); color: var(--blue);
  transition: background .2s, color .2s;
}
.hf-roadmap2-tab.on .hf-roadmap2-code { background: var(--orange); color: #fff; }
.hf-roadmap2-tx strong { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.hf-roadmap2-tx small { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.3; margin-top: 2px; }
.hf-roadmap2-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: #fff;
  border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md); padding: 30px 32px; animation: hfTabIn .4s var(--ease);
}
.hf-roadmap2-col h4 { display: flex; align-items: center; gap: 9px; font-size: 16px; margin-bottom: 16px; color: var(--blue); }
.hf-roadmap2-col ul { display: flex; flex-direction: column; gap: 12px; }
.hf-roadmap2-col li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.hf-roadmap2-col li svg { color: #1f8a5b; flex-shrink: 0; margin-top: 3px; }
@media (max-width: 860px) {
  .hf-roadmap2-tabs { grid-template-columns: repeat(2, 1fr); }
  .hf-roadmap2-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}
/* block 2 poster (real image instead of placeholder) */
.hf-ov-poster { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 4px; box-shadow: var(--shadow-md); border: 1px solid var(--line); position: sticky; top: 150px; }
/* block 2 poster (real image instead of placeholder) */
.hf-ov-poster { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 4px; box-shadow: var(--shadow-md); border: 1px solid var(--line); position: sticky; top: 150px; }

/* block 4 why */
.hf-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hf-why-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.hf-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hf-why-no { font-size: 28px; font-weight: 700; color: var(--blue-100); letter-spacing: -.03em; }
.hf-why-card h3 { font-size: 18px; margin: 6px 0 10px; }
.hf-why-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.hf-minilist { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.hf-minilist li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.8px; font-weight: 600; color: var(--ink); }
.hf-minilist li svg { color: #1f8a5b; flex-shrink: 0; margin-top: 3px; }

/* block 5 experience */
.hf-exp { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hf-exp-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.hf-exp-list li { display: flex; align-items: center; gap: 13px; background: var(--bg-soft); border-radius: 4px; padding: 15px 18px; font-size: 15.5px; font-weight: 700; }
.hf-exp-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: #fff; color: var(--orange); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.hf-exp-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hf-exp-media > div:first-child { transform: translateY(14px); }

/* block 6 scholarship */
.hf-fund-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.hf-fund-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px 24px; }
.hf-fund-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 4px; background: rgba(255,255,255,.16); color: #ffd9bf; margin-bottom: 16px; }
.hf-fund-val { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hf-fund-card strong { display: block; font-size: 16.5px; color: #fff; margin: 6px 0 8px; }
.hf-fund-card p { font-size: 14px; color: #c9d8f1; line-height: 1.5; }

/* block 7 outcomes */
.hf-out-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hf-out-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hf-out-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); margin-bottom: 14px; }
.hf-out-card h3 { font-size: 17.5px; margin-bottom: 9px; }
.hf-out-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* block 8 careers */
.hf-career-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hf-career-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.hf-career-card h3 { display: flex; align-items: center; gap: 11px; font-size: 17px; margin-bottom: 14px; color: var(--blue); }
.hf-career-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--bg-soft); color: var(--orange); flex-shrink: 0; }
.hf-career-card ul { display: flex; flex-direction: column; gap: 9px; }
.hf-career-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hf-career-card li svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.hf-career-flat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hf-career-flat li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; }
.hf-career-flat li svg { color: #1f8a5b; flex-shrink: 0; margin-top: 2px; }

/* block 9 admission */
.hf-adm { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.hf-adm h3 { font-size: 19px; margin-bottom: 16px; }
.hf-adm-list { display: flex; flex-direction: column; gap: 10px; }
.hf-adm-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 15px 18px; font-weight: 700; font-size: 15px; }
.hf-adm-item span { font-size: 16px; font-weight: 700; color: var(--orange); }
.hf-tuition-rows { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.hf-tuition-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px 20px; }
.hf-tuition-row strong { font-size: 15.5px; display: block; }
.hf-tuition-row span { font-size: 13px; color: var(--muted); }
.hf-tuition-val { font-size: 22px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.hf-tuition-val em { font-size: 13px; font-weight: 700; color: var(--muted); font-style: normal; }
.hf-tuition-note { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.hf-pd-ctastrip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; background: var(--orange); color: #fff; border-radius: var(--radius); padding: 22px 28px; }
.hf-pd-ctastrip span { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
.hf-pd-ctastrip .hf-btn-orange { background: #fff; color: var(--orange); }

/* Admissions — Tìm hiểu thêm */
.hf-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hf-explore-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.hf-explore-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-explore-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: var(--bg-soft); color: var(--orange); margin-bottom: 16px; }
.hf-explore-card h3 { font-size: 18px; margin-bottom: 8px; }
.hf-explore-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.hf-explore-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; color: var(--blue); transition: gap .16s; }
.hf-explore-card:hover .hf-explore-link { gap: 12px; }
@media (max-width: 860px) { .hf-explore-grid { grid-template-columns: 1fr; } }

/* related */
.hf-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-related-card { text-align: left; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.hf-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hf-related-body { padding: 16px 18px; }
.hf-related-body h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.3; }
.hf-related-body span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--orange); }
.hf-related-body .hf-news-date { display: flex; color: var(--muted); font-weight: 700; font-size: 12px; margin-bottom: 8px; }

/* Block 9 — Sổ tay sinh viên */
.hf-handbook-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hf-handbook-card {
  display: flex; align-items: flex-start; gap: 14px; text-align: left; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.hf-handbook-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.hf-handbook-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.hf-handbook-card > div { flex: 1; min-width: 0; }
.hf-handbook-card h4 { font-size: 15.5px; margin-bottom: 5px; }
.hf-handbook-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.hf-handbook-card > svg:last-child { color: var(--orange); flex-shrink: 0; margin-top: 4px; }

@media (max-width: 960px) {
  .hf-ov, .hf-road, .hf-exp, .hf-adm { grid-template-columns: 1fr; gap: 28px; }
  .hf-why-grid, .hf-out-grid, .hf-career-grid, .hf-fund-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-related-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-pdnav { top: 64px; }
}
@media (max-width: 640px) { .hf-handbook-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hf-why-grid, .hf-out-grid, .hf-career-grid, .hf-fund-grid, .hf-career-flat, .hf-related-grid, .hf-exp-media { grid-template-columns: 1fr; }
  .hf-blk-inner { padding: 48px 0; }
}


/* ═══════════════════════════════════════════════════════════════════════
 * DESIGN 260715 — port rule khoa mới (stats/choose-band/fields/testi2/team-grid/
 * int-grid/reg/aside/newscard). Rule SAU override rule 26062026 phía trên cho class
 * dùng chung; class cũ (hf-khoa-side/-sec/career-flat/alumni-*/leader-*) không còn
 * template render → dead, vô hại. Port verbatim từ _design-reference/HUFLIT-standalone-260715/assets/css/site.css.
 * ═══════════════════════════════════════════════════════════════════════ */
.hf-reg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) {
  .hf-reg-2 { grid-template-columns: 1fr; }
}
.hf-choose-band { background: var(--blue-700); color: #fff; padding: 46px 0; text-align: center; position: relative; overflow: hidden; }
.hf-choose-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hf-choose-script { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hf-choose-script em { font-style: italic; font-weight: 700; margin-right: 12px; color: #dbe5f5; }
.hf-choose-tag { margin-top: 10px; font-size: 16.5px; font-weight: 700; color: #ffd9bf; }
.hf-gt-subhead { margin: 42px 0 22px; }
.hf-gt-subhead.tight { margin: 0 0 18px; }
.hf-gt-subhead h3 { font-size: clamp(22px, 2.6vw, 28px); }
.hf-gt-subhead p { font-size: 15.5px; color: var(--ink-soft); margin-top: 8px; }
.hf-khoa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf-khoa-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; display: flex; flex-direction: column; align-items: flex-start; }
.hf-khoa-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.hf-khoa-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg-soft); color: var(--blue); margin-bottom: 14px; transition: transform .18s var(--ease); }
.hf-khoa-card:hover .hf-khoa-ic { transform: rotate(-6deg) scale(1.05); }
.hf-khoa-card h3 { font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; }
.hf-khoa-card p { font-size: 13.5px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.hf-khoa-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; color: var(--orange); transition: gap .16s; }
.hf-khoa-card:hover .hf-khoa-link { gap: 11px; }
.hf-khoa-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding-top: 50px; padding-bottom: 80px; align-items: start; }
.hf-khoa-sec { margin-bottom: 44px; }
.hf-khoa-prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hf-khoa-prog {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s, background .2s;
  position: relative; overflow: hidden;
}
.hf-khoa-prog::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--orange)); opacity: 0; transition: opacity .2s;
}
.hf-khoa-prog:hover { border-color: transparent; transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-md); }
.hf-khoa-prog:hover::before { opacity: 1; }
.hf-khoa-prog-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue); transition: transform .25s var(--ease), background .25s, color .25s;
}
.hf-khoa-prog:hover .hf-khoa-prog-ic { transform: rotate(-8deg) scale(1.1); background: var(--blue); color: #fff; }
.hf-khoa-prog > div { flex: 1; min-width: 0; }
.hf-khoa-prog h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.hf-khoa-prog-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.hf-khoa-prog > svg:last-child { color: var(--orange); flex-shrink: 0; transition: transform .2s; }
.hf-khoa-prog:hover > svg:last-child { transform: translateX(3px); }
.hf-khoa-news { display: flex; flex-direction: column; gap: 4px; }
.hf-khoa-news-row { display: flex; gap: 14px; text-align: left; padding: 12px; border-radius: 4px; transition: background .15s; align-items: flex-start; }
.hf-khoa-news-row:hover { background: var(--bg-soft); }
.hf-khoa-news-row > div:last-child { min-width: 0; flex: 1; }
.hf-khoa-news-row > div:last-child > .hf-news-date {
  font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%;
}
.hf-khoa-news-row h4 {
  font-size: 14.5px; line-height: 1.35; margin-top: 5px; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hf-khoa-news-thumb { width: 80px; height: 80px; flex-shrink: 0; position: relative; }
.hf-khoa-side { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; }
.hf-khoa-contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hf-khoa-contact h4 { font-size: 16px; margin-bottom: 16px; }
.hf-khoa-contact ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.hf-khoa-contact li { display: flex; gap: 11px; font-size: 13.8px; color: var(--ink-soft); font-weight: 600; line-height: 1.45; }
.hf-khoa-contact li svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.hf-khoa-extlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13.5px; color: var(--orange); padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.hf-khoa-otherkhoa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.hf-khoa-otherkhoa h4 { font-size: 16px; margin-bottom: 10px; }
.hf-khoa-otherkhoa button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 13.8px; color: var(--ink-soft); transition: color .14s; }
.hf-khoa-otherkhoa button:last-child { border-bottom: none; }
.hf-khoa-otherkhoa button:hover { color: var(--blue); }
.hf-khoa-otherkhoa button svg { color: var(--orange); flex-shrink: 0; }
@media (max-width: 1080px) {
  .hf-khoa-wrap { grid-template-columns: 1fr; }
  .hf-khoa-side { position: static; }
}
@media (max-width: 960px) {
  .hf-khoa-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hf-khoa-grid, .hf-unit-grid, .hf-campus-grid, .hf-research-grid, .hf-khoa-prog-grid, .hf-grad-grid, .hf-quality-statrow, .hf-exp5, .hf-timeline { grid-template-columns: 1fr; }
}
.hf-khoa-hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hf-khoa-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hf-khoa-hero-bg > div:first-child { width: 100%; height: 100%; transform: scale(1.03); }
.hf-khoa-hero-ov { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(11,24,52,.95) 0%, rgba(23,71,157,.72) 42%, rgba(23,71,157,.18) 70%, transparent 90%); }
.hf-khoa-hero-in { position: relative; z-index: 1; max-width: 700px; padding: 110px 0 70px; display: flex; flex-direction: column; gap: 4px; }
.hf-khoa-hero-in .hf-crumb { margin-bottom: 18px; }
.hf-khoa-hero-in .hf-tag { width: fit-content; margin-bottom: 4px; }
.hf-khoa-hero-in h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.12; margin: 18px 0 18px; }
.hf-khoa-hero-in p { font-size: 17px; line-height: 1.6; color: #dbe5f5; max-width: 600px; }
.hf-khoa-hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hf-khoa-hero { min-height: 60vh; }
  .hf-khoa-hero-in { padding: 90px 0 50px; }
}
.hf-khoa-stats { background: #fff; border-bottom: 1px solid var(--line); }
.hf-khoa-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 32px; }
.hf-khoa-stat { text-align: center; padding: 0 12px; }
.hf-khoa-stat strong { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.hf-khoa-stat span { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.hf-khoa-stat + .hf-khoa-stat { border-left: 1px solid var(--line); }
.hf-khoa-body { display: grid; grid-template-columns: 1fr 328px; gap: 48px; align-items: start; }
.hf-khoa-intro-copy .hf-eyebrow { color: var(--orange); }
.hf-khoa-intro-copy h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 16px; line-height: 1.25; }
.hf-khoa-intro-copy p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 12px; }
.hf-khoa-aside-sticky { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 18px; }
/* aspect-ratio:1/1 = poster design (ảnh vuông 1100×1100). Impl dùng hero landscape làm placeholder →
 * KHÔNG ép vuông thì aside thấp hơn design ~250px; ở mobile aside xếp dọc trong flow → đẩy team/choose/
 * reg lệch pha → đỏ cascade. Ép 1:1 cho khớp CHIỀU CAO aside (poster masked nên nội dung không tính). */
.hf-khoa-poster { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
/* 3 khoa design dùng poster PLACEHOLDER 3:4 (du-lich/luat/qtkd) thay ảnh vuông → aside cao hơn ~120px.
 * Ép impl poster 3:4 cho đúng CHIỀU CAO aside 3 khoa này (poster masked, chỉ cần height khớp → hết cascade). */
.hf-khoa--khoa-du-lich .hf-khoa-poster,
.hf-khoa--khoa-luat .hf-khoa-poster,
.hf-khoa--khoa-qtkd .hf-khoa-poster { aspect-ratio: 3 / 4; }
.hf-khoa-main .hf-khoa-blk { margin-top: 44px; }
.hf-khoa-ctacard { background: var(--blue-50); border: 1px solid var(--blue-100, #d5e2f5); border-radius: 10px; padding: 22px 20px; }
.hf-khoa-ctacard h4 { font-size: 16px; color: var(--blue); margin-bottom: 8px; }
.hf-khoa-ctacard p { font-size: 13.2px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
.hf-khoa-ctacard .hf-btn { width: 100%; justify-content: center; }
.hf-khoa-ctacontact { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(23,71,157,.14); }
.hf-khoa-ctacontact a { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--ink-soft); transition: color .14s; word-break: break-word; }
.hf-khoa-ctacontact a:hover { color: var(--blue); }
.hf-khoa-ctacontact svg { color: var(--orange); flex-shrink: 0; }
@media (max-width: 960px) {
  .hf-khoa-body { grid-template-columns: 1fr; }
  .hf-khoa-aside { max-width: 360px; }
  .hf-khoa-aside-sticky { position: static; }
}
.hf-khoa-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hf-khoa-field { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.hf-khoa-field:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100, #d5e2f5); }
.hf-khoa-field-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.hf-khoa-field:hover .hf-khoa-field-ic { background: var(--orange); color: #fff; }
.hf-khoa-field-body { min-width: 0; }
.hf-khoa-field-body h4 { font-size: 15px; color: var(--blue); margin-bottom: 6px; }
.hf-khoa-field-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.hf-khoa-field-lead { font-size: 14.5px; color: var(--ink); font-weight: 600; line-height: 1.7; }
@media (max-width: 720px) {
  .hf-khoa-fields { grid-template-columns: 1fr; }
}
.hf-team-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 46px; align-items: start; }
.hf-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hf-team-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-align: left; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.hf-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-100, #d5e2f5); }
.hf-team-avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 22px; font-weight: 800; letter-spacing: .01em; flex-shrink: 0; overflow: hidden; box-shadow: inset 0 0 0 3px rgba(255,255,255,.9), 0 0 0 1px var(--line); }
.hf-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hf-team-text { min-width: 0; }
.hf-team-card strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.35; }
.hf-team-role { display: block; font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 4px; line-height: 1.45; }
.hf-team-side { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 22px; }
.hf-khoa-newsrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.hf-khoa-newscard { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; display: flex; flex-direction: column; }
.hf-khoa-newscard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hf-khoa-newsthumb { overflow: hidden; }
/* Design đặt aspect-ratio:16/9 INLINE trên div trong (reserve box). Port qua CSS để impl giữ ĐÚNG
 * chiều cao card dù ảnh thật khác tỉ lệ / thiếu ảnh → tránh news ngắn hơn design (mobile lệch −459px
 * dồn xuống làm khối đăng ký lệch pha, đỏ giả). Ảnh phủ kín box, thiếu ảnh → nền xám giữ chiều cao. */
.hf-khoa-newsthumb > div { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f6; transition: transform .4s var(--ease); }
.hf-khoa-newsthumb > div img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Bài không có ảnh (hoặc file ảnh không tồn tại) → helper trả <span class="hf-listing-ph">.
 * Nền của box cha đã là #eef1f6; span chỉ phủ kín để khung luôn có phần tử chiếm chỗ,
 * giữ đúng aspect-ratio 16/9 như thẻ có ảnh. KHÔNG dùng <img> nên không bao giờ ảnh vỡ. */
.hf-khoa-newsthumb > div .hf-listing-ph { position: absolute; inset: 0; display: block; background: #eef1f6; }
.hf-khoa-newscard:hover .hf-khoa-newsthumb > div { transform: scale(1.05); }
.hf-khoa-newsbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.hf-khoa-newsbody h4 { font-size: 15px; line-height: 1.45; color: var(--ink); }
.hf-khoa-newsbody .hf-tag { width: fit-content; }
.hf-khoa-newsbody .hf-news-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
/* Nút "Xem tất cả tin của khoa" (iteration 4) — dùng lại .hf-link-arrow sẵn có,
 * chỉ thêm khoảng cách + căn giữa. Scope dưới .hf-khoa (class dùng chung .hf-shell/.hf-section
 * KHÔNG được khai trần — sẽ đè mega-menu/footer). */
.hf-khoa .hf-khoa-newsall { display: flex; justify-content: center; margin-top: 22px; }

@media (max-width: 900px) {
  .hf-khoa-newsrow { grid-template-columns: 1fr; }
}
.hf-team-sidebox { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 24px; box-shadow: var(--shadow-sm); }
.hf-team-sidebox h4 { font-size: 15px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hf-team-sidebox h4 svg { color: var(--orange); }
.hf-team-news { display: flex; flex-direction: column; gap: 16px; }
.hf-team-news button { text-align: left; }
.hf-team-news h5 { font-size: 13.5px; line-height: 1.45; color: var(--ink); margin-top: 8px; }
.hf-khoa-contactbox ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 16px; }
.hf-khoa-contactbox li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.hf-khoa-contactbox li svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.hf-khoa-contactbox .hf-khoa-extlink { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--blue); padding-top: 14px; border-top: 1px solid var(--line); width: 100%; transition: gap .16s, color .16s; }
.hf-khoa-contactbox .hf-khoa-extlink:hover { color: var(--orange); gap: 11px; }
@media (max-width: 960px) {
  .hf-team-wrap, .hf-khoa-intro { grid-template-columns: 1fr; }
  .hf-khoa-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hf-team-side { position: static; }
}
@media (max-width: 560px) {
  .hf-team-grid { grid-template-columns: 1fr; }
}
.hf-khoa-int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hf-khoa-int-card { text-align: center; }
.hf-khoa-int-card .hf-khoa-int-thumb { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); transition: transform .18s var(--ease), box-shadow .18s; }
.hf-khoa-int-card:hover .hf-khoa-int-thumb { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hf-khoa-int-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hf-khoa-int-fallback { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); color: #fff; }
.hf-khoa-int-card strong { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink); line-height: 1.35; }
@media (max-width: 720px) {
  .hf-khoa-int-grid { grid-template-columns: repeat(2, 1fr); }
}
.hf-khoa-reg { background: var(--orange); padding: 56px 0 64px; }
.hf-khoa-reg-in { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); color: #fff; }
.hf-khoa-reg-in > label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.hf-khoa-reg-in select { width: 100%; padding: 13px 14px; border-radius: 6px; border: none; font-size: 14.5px; font-family: inherit; color: var(--ink); outline: none; }
.hf-khoa-reg-src { margin: 20px 0 26px; }
.hf-khoa-reg-src > span { display: block; font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.hf-khoa-reg-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; }
.hf-khoa-reg-checks label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; cursor: pointer; }
.hf-khoa-reg-checks input { width: 16px; height: 16px; accent-color: #fff; }
.hf-khoa-reg-card { background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 30px 30px 34px; color: var(--ink); }
.hf-khoa-reg-card h3 { text-align: center; font-size: 20px; letter-spacing: .04em; color: var(--orange); margin-bottom: 20px; }
.hf-khoa-reg-card .hf-reg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hf-khoa-reg-card label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 12px; }
.hf-khoa-reg-card input { width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-family: inherit; outline: none; }
.hf-khoa-reg-card input:focus { border-color: var(--blue); }
@media (max-width: 640px) {
  .hf-khoa-reg-card .hf-reg-2, .hf-khoa-reg-checks { grid-template-columns: 1fr; }
}
.hf-testi { padding: 72px 0; background: #fff; }
.hf-testi.plain { background: var(--bg-soft); }
.hf-testi-panel {
  margin-top: 40px; background: var(--blue-700);
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(246,139,45,.18) 0%, transparent 45%),
                    radial-gradient(90% 80% at 0% 100%, rgba(255,255,255,.06) 0%, transparent 40%);
  border-radius: 22px; padding: 44px 40px;
}
.hf-testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hf-testi2-card {
  position: relative; overflow: hidden; border-radius: 16px; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  box-shadow: 0 18px 40px rgba(6,15,35,.4); transition: transform .25s var(--ease);
}
.hf-testi2-card:hover { transform: translateY(-6px); }
.hf-testi2-photo { position: absolute; inset: 0; z-index: -2; background: #0e1f3d; }
.hf-testi2-photo img { width: 100%; height: 100%; object-fit: cover; }
.hf-testi2-ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,24,52,.15) 0%, rgba(11,24,52,.55) 48%, rgba(11,24,52,.94) 100%); }
.hf-testi2-body { padding: 22px 22px 24px; color: #fff; }
.hf-testi2-person { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.hf-testi2-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 14px; font-weight: 800; flex-shrink: 0; overflow: hidden; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.hf-testi2-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hf-testi2-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hf-testi2-who strong { font-size: 14px; color: #fff; }
.hf-testi2-who span { font-size: 11.5px; color: #c5d3ec; font-weight: 600; }
.hf-testi2-line { font-size: 17px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
.hf-testi2-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); padding: 9px 16px; border-radius: 999px; transition: background .16s, gap .16s; }
.hf-testi2-btn:hover { background: var(--orange); border-color: var(--orange); gap: 11px; }
@media (max-width: 900px) {
  .hf-testi-row { grid-template-columns: 1fr 1fr; }
  .hf-testi2-card:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .hf-testi-row { grid-template-columns: 1fr; }
  .hf-testi2-card:nth-child(3) { display: flex; }
  .hf-testi-panel { padding: 24px 18px; }
  .hf-testi { padding: 52px 0; }
}
h1, h2, h3, h4, .hf-mega-head, .hf-mega-tier-tx strong, .hf-rail-item, .hf-fac-body h3, .hf-fac-count,
  .hf-khoa-card h3, .hf-prog-card-body h3, .hf-newscard-body h3, .hf-tag, .hf-chip, .hf-method-card h3,
  .hf-scholar-card h3, .hf-reason-card h3, .hf-explore-card h3, .hf-out-card h3, .hf-career-card h3,
  .hf-org-card h3, .hf-step h4, .hf-leader strong, .hf-related-body h4, .hf-khoa-news-row h4,
  .hf-vt-card strong, .hf-handbook-card h4, .hf-roadmap2-tx small {
    text-wrap: balance;
  }
.hf-reveal .hf-fac-card, .hf-reveal .hf-prog-card, .hf-reveal .hf-newscard, .hf-reveal .hf-khoa-card,
  .hf-reveal .hf-org-card, .hf-reveal .hf-method-card, .hf-reveal .hf-reason-card, .hf-reveal .hf-scholar-card,
  .hf-reveal .hf-why-item, .hf-reveal .hf-explore-card, .hf-reveal .hf-out-card, .hf-reveal .hf-career-card,
  .hf-reveal .hf-related-card, .hf-reveal .hf-unit-item, .hf-reveal .hf-doan-chip, .hf-reveal .hf-tl-item,
  .hf-reveal .hf-campus-card, .hf-reveal .hf-leader, .hf-reveal .hf-quality-statrow > div {
    opacity: 0; transform: translateY(26px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
  }
.hf-reveal.in .hf-fac-card, .hf-reveal.in .hf-prog-card, .hf-reveal.in .hf-newscard, .hf-reveal.in .hf-khoa-card,
  .hf-reveal.in .hf-org-card, .hf-reveal.in .hf-method-card, .hf-reveal.in .hf-reason-card, .hf-reveal.in .hf-scholar-card,
  .hf-reveal.in .hf-why-item, .hf-reveal.in .hf-explore-card, .hf-reveal.in .hf-out-card, .hf-reveal.in .hf-career-card,
  .hf-reveal.in .hf-related-card, .hf-reveal.in .hf-unit-item, .hf-reveal.in .hf-doan-chip, .hf-reveal.in .hf-tl-item,
  .hf-reveal.in .hf-campus-card, .hf-reveal.in .hf-leader, .hf-reveal.in .hf-quality-statrow > div {
    opacity: 1; transform: none;
  }
.hf-reveal :is(.hf-fac-card, .hf-prog-card, .hf-newscard, .hf-khoa-card, .hf-org-card, .hf-method-card,
    .hf-reason-card, .hf-scholar-card, .hf-why-item, .hf-explore-card, .hf-out-card, .hf-career-card,
    .hf-related-card, .hf-unit-item, .hf-doan-chip, .hf-tl-item, .hf-campus-card, .hf-leader):nth-child(1) { transition-delay: .04s; }
.hf-reveal :is(.hf-fac-card, .hf-prog-card, .hf-newscard, .hf-khoa-card, .hf-org-card, .hf-method-card,
    .hf-reason-card, .hf-scholar-card, .hf-why-item, .hf-explore-card, .hf-out-card, .hf-career-card,
    .hf-related-card, .hf-unit-item, .hf-doan-chip, .hf-tl-item, .hf-campus-card, .hf-leader):nth-child(2) { transition-delay: .10s; }
.hf-reveal :is(.hf-fac-card, .hf-prog-card, .hf-newscard, .hf-khoa-card, .hf-org-card, .hf-method-card,
    .hf-reason-card, .hf-scholar-card, .hf-why-item, .hf-explore-card, .hf-out-card, .hf-career-card,
    .hf-related-card, .hf-unit-item, .hf-doan-chip, .hf-tl-item, .hf-campus-card, .hf-leader):nth-child(3) { transition-delay: .16s; }
.hf-reveal :is(.hf-fac-card, .hf-prog-card, .hf-newscard, .hf-khoa-card, .hf-org-card, .hf-method-card,
    .hf-reason-card, .hf-scholar-card, .hf-why-item, .hf-explore-card, .hf-out-card, .hf-career-card,
    .hf-related-card, .hf-unit-item, .hf-doan-chip, .hf-tl-item, .hf-campus-card, .hf-leader):nth-child(4) { transition-delay: .22s; }
.hf-reveal :is(.hf-fac-card, .hf-prog-card, .hf-newscard, .hf-khoa-card, .hf-org-card, .hf-method-card,
    .hf-reason-card, .hf-scholar-card, .hf-why-item, .hf-explore-card, .hf-out-card, .hf-career-card,
    .hf-related-card, .hf-unit-item, .hf-doan-chip, .hf-tl-item, .hf-campus-card, .hf-leader):nth-child(5) { transition-delay: .28s; }
.hf-reveal :is(.hf-fac-card, .hf-prog-card, .hf-newscard, .hf-khoa-card, .hf-org-card, .hf-method-card,
    .hf-reason-card, .hf-scholar-card, .hf-why-item, .hf-explore-card, .hf-out-card, .hf-career-card,
    .hf-related-card, .hf-unit-item, .hf-doan-chip, .hf-tl-item, .hf-campus-card, .hf-leader):nth-child(n+6) { transition-delay: .34s; }