/* ==========================================================================
   Trung tâm Tin học – Trường Đại học Khoa học, Đại học Huế
   Hệ thống giao diện công khai. Màu chủ đạo lấy theo nhận diện HUSC.
   ========================================================================== */

:root {
  --navy-950: #0b1a3d;
  --navy-900: #10255a;
  --navy-800: #16337a;
  --navy-700: #1b3f91;
  --navy-600: #2550b0;
  --navy-100: #e6ecf8;
  --navy-50: #f3f6fc;
  --red-600: #c8202a;
  --red-500: #d9363e;
  --red-50: #fdecec;
  --gold-500: #c9a227;
  --gold-50: #fbf6e6;
  --green-600: #1c7c4d;
  --green-50: #e8f5ee;
  --amber-600: #a86a00;
  --amber-50: #fff5df;

  --ink: #14213d;
  --text: #2c3a55;
  --muted: #5d6b84;
  --subtle: #8a96ab;
  --line: #dde3ee;
  --line-soft: #edf1f7;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 37, 90, .06);
  --shadow: 0 6px 24px rgba(16, 37, 90, .08);
  --shadow-lg: 0 18px 48px rgba(16, 37, 90, .14);
  --container: 1200px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; }
.icon { flex-shrink: 0; vertical-align: middle; }
:focus-visible { outline: 3px solid rgba(37, 80, 176, .45); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .02em; }
.muted { color: var(--muted); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--navy-800); }
.btn-accent { background: var(--red-600); color: #fff; }
.btn-accent:hover { background: #ad1a23; }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-600); color: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--navy-50); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-danger { background: var(--red-600); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; }
.btn.full { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-700); }
.link-arrow:hover { color: var(--red-600); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Nhãn, huy hiệu ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow.light { color: #ffb4b8; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--navy-50); color: var(--navy-700); white-space: nowrap; }
.tag.red { background: var(--red-50); color: var(--red-600); }
.tag.gold { background: var(--gold-50); color: #8a6b0c; }
.tag.green { background: var(--green-50); color: var(--green-600); }
.tag.gray { background: var(--bg-soft); color: var(--muted); }

/* ---------- Đầu trang ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.brandbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand img { height: 50px; width: auto; }
.brand-divider { width: 1px; height: 42px; background: var(--line); }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name strong { font-size: 19px; font-weight: 800; letter-spacing: .02em; color: var(--red-600); text-transform: uppercase; }
.brand-name span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.brandbar-actions { display: flex; align-items: center; gap: 20px; }
.hotline { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.hotline .icon { color: var(--red-600); }
.hotline small { display: block; font-size: 11.5px; color: var(--muted); }
.hotline b { font-size: 15px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy-800); cursor: pointer; }
.navbar { background: var(--navy-800); }
.main-nav { display: flex; align-items: stretch; gap: 2px; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .88); transition: background-color .15s, color .15s; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav a.active { color: #fff; background: var(--navy-900); }
.main-nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--red-500); border-radius: 3px 3px 0 0; }
.main-nav .nav-admin { margin-left: auto; }

/* ---------- Hero trang chủ ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(37, 80, 176, .55), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 20%, transparent 95%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 72px 0 84px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.hero h1 span { display: block; font-size: .5em; font-weight: 600; letter-spacing: .01em; color: #c9d6f3; margin-bottom: 10px; }
.hero-lead { max-width: 600px; font-size: 17px; color: #d3ddf2; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.credential { display: flex; gap: 12px; align-items: flex-start; }
.credential .icon { color: #ffd166; margin-top: 2px; }
.credential b { display: block; color: #fff; font-size: 14px; }
.credential span { display: block; font-size: 12.5px; color: #b3c2e2; line-height: 1.5; }

.notice-board { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.notice-board header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.notice-board header h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0; }
.notice-board header h2 .icon { color: var(--red-600); }
.notice-board header a { font-size: 13px; font-weight: 600; color: var(--navy-700); }
.notice-list { list-style: none; margin: 0; padding: 6px 0; }
.notice-list li + li { border-top: 1px solid var(--line-soft); }
.notice-list a { display: flex; gap: 14px; padding: 13px 22px; transition: background-color .15s; }
.notice-list a:hover { background: var(--navy-50); }
.date-badge { flex: 0 0 52px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--navy-50); color: var(--navy-800); line-height: 1.1; }
.date-badge b { font-size: 19px; }
.date-badge small { font-size: 11px; color: var(--muted); }
.notice-list h3 { font-size: 14.5px; font-weight: 600; line-height: 1.45; margin: 3px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-list a:hover h3 { color: var(--navy-700); }
.notice-empty { padding: 26px 22px; color: var(--muted); font-size: 14px; }

/* ---------- Truy cập nhanh ---------- */
.quick { position: relative; z-index: 2; margin-top: -36px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.quick-grid a { display: flex; gap: 14px; align-items: center; padding: 22px; border-right: 1px solid var(--line-soft); transition: background-color .15s; }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--navy-50); }
.quick-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--navy-50); color: var(--navy-700); flex-shrink: 0; }
.quick-grid a:nth-child(2) .quick-icon { background: var(--gold-50); color: #8a6b0c; }
.quick-grid a:nth-child(3) .quick-icon { background: var(--green-50); color: var(--green-600); }
.quick-grid a:nth-child(4) .quick-icon { background: var(--red-50); color: var(--red-600); }
.quick-grid b { display: block; color: var(--ink); font-size: 15px; }
.quick-grid small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* ---------- Khối nội dung ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy-900); color: #d3ddf2; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .section-head p { color: #b3c2e2; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.section-head p { max-width: 460px; margin: 0; color: var(--muted); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { max-width: 640px; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-grid h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.intro-grid .lead { font-size: 16.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: #fff; padding: 20px; }
.stats b { display: block; font-size: 30px; font-weight: 800; color: var(--navy-700); line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }
.function-list { display: grid; gap: 14px; }
.function-item { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.function-item .quick-icon { background: var(--navy-700); color: #fff; }
.function-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.function-item p { margin: 0; font-size: 14px; color: var(--muted); }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-700); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.program-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.program-card.advanced { border-top-color: var(--red-600); }
.program-card.custom { border-top-color: var(--gold-500); }
.program-card .tag { align-self: flex-start; margin-bottom: 16px; }
.program-card h3 { font-size: 20px; margin-bottom: 10px; }
.program-card p { color: var(--muted); font-size: 14.5px; }
.program-card ul { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.program-card li { display: flex; gap: 8px; align-items: flex-start; }
.program-card li .icon { color: var(--green-600); margin-top: 3px; }
.program-card .link-arrow { margin-top: auto; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: var(--navy-700); color: #fff; font-weight: 700; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 24px; left: 48px; right: 0; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.section.navy .step::before { background: var(--red-600); }
.section.navy .step::after { background: rgba(255, 255, 255, .15); }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; color: inherit; opacity: .85; }

/* ---------- Tin tức ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.news-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.news-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.03); }
.news-thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.news-thumb .tag { position: absolute; left: 14px; top: 14px; background: #fff; }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.news-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--subtle); margin-bottom: 8px; }
.news-card h3 { font-size: 17px; line-height: 1.45; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover h3 { color: var(--navy-700); }
.news-card p { font-size: 14px; color: var(--muted); margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pinned { display: inline-flex; align-items: center; gap: 4px; color: var(--red-600); font-weight: 600; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); background: #fff; }
.filter-tabs a:hover { border-color: var(--navy-600); color: var(--navy-700); }
.filter-tabs a.active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; background: #fff; }
.pager a:hover { border-color: var(--navy-600); color: var(--navy-700); }
.pager .current { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.pager .disabled { opacity: .4; }
.pager .gap { border: 0; background: none; }

/* ---------- Trang con ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #d3ddf2; padding: 44px 0 52px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 6px 0 10px; }
.page-hero p { max-width: 700px; margin: 0; font-size: 16.5px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #9fb0d4; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { opacity: .6; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; }
.side-card.navy { background: var(--navy-800); border-color: var(--navy-800); color: #d3ddf2; }
.side-card.navy h3 { color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li + li { border-top: 1px solid var(--line-soft); }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; font-size: 14.5px; font-weight: 500; }
.side-links a:hover { color: var(--navy-700); }

.prose { font-size: 16.5px; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 24px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }

.article-header { padding: 40px 0 0; }
.article-header .breadcrumb { color: var(--muted); }
.article-header .breadcrumb a:hover { color: var(--navy-700); }
.article-header h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 12px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-lead { font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.7; }
.article-image { width: 100%; border-radius: var(--radius); margin: 8px 0 30px; }
.article-actions { display: flex; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

.module-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.module-table th, .module-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.module-table th { background: var(--navy-50); color: var(--navy-800); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.module-table tr:last-child td { border-bottom: 0; }
.module-table td:first-child { width: 90px; font-weight: 700; color: var(--navy-700); }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-card .quick-icon { margin-bottom: 14px; }
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p, .info-card li { font-size: 14.5px; color: var(--muted); }
.info-card ul { padding-left: 1.1em; margin: 0; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.value b { display: block; font-size: 13px; letter-spacing: .1em; color: var(--red-600); margin-bottom: 12px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { margin: 0; font-size: 14.5px; color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--navy-600); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--navy-50); border-left: 4px solid var(--navy-600); font-size: 14.5px; }
.callout .icon { color: var(--navy-600); margin-top: 2px; }
.callout.warn { background: var(--amber-50); border-left-color: var(--amber-600); }
.callout.warn .icon { color: var(--amber-600); }

/* ---------- Tài liệu ---------- */
.resource-group + .resource-group { margin-top: 44px; }
.resource-group h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 16px; }
.resource-group h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.resource-list { display: grid; gap: 12px; }
.resource { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.resource:hover { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.file-icon { width: 46px; height: 52px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--navy-50); color: var(--navy-700); font-size: 11px; font-weight: 800; letter-spacing: .03em; flex-shrink: 0; }
.file-icon.pdf { background: var(--red-50); color: var(--red-600); }
.file-icon.doc, .file-icon.docx { background: #e7effd; color: #2557b8; }
.file-icon.xls, .file-icon.xlsx { background: var(--green-50); color: var(--green-600); }
.file-icon.ppt, .file-icon.pptx { background: #fdeee4; color: #c2511b; }
.resource-info { flex: 1; min-width: 0; }
.resource-info h3 { font-size: 16px; margin: 0 0 2px; }
.resource-info p { font-size: 14px; color: var(--muted); margin: 0; }
.resource-meta { font-size: 12.5px; color: var(--subtle); text-align: right; white-space: nowrap; }
.resource-meta .btn { margin-top: 6px; }

/* ---------- Liên hệ ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 56px; }
.staff-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.staff-top { display: flex; gap: 14px; align-items: center; }
.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-700); color: #fff; font-weight: 700; flex-shrink: 0; }
.staff-card small { display: block; font-size: 12.5px; color: var(--red-600); font-weight: 600; }
.staff-card h3 { font-size: 17px; margin: 0; }
.staff-contact { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.staff-contact span { display: flex; align-items: center; gap: 8px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin: 24px 0; }
.contact-list div { display: flex; gap: 14px; }
.contact-list .quick-icon { width: 40px; height: 40px; }
.contact-list b { display: block; color: var(--ink); font-size: 14px; }
.contact-list span, .contact-list a { font-size: 14.5px; color: var(--muted); }
.map-frame { width: 100%; height: 260px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Biểu mẫu ---------- */
.form-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field > span, .field-label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--red-600); }
.field small, .field-hint { font-size: 12.5px; color: var(--subtle); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input[type=search], input:not([type]), select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cfd7e6; border-radius: var(--radius-sm); background: #fff; font-size: 15px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(37, 80, 176, .15); }
input.input-validation-error, select.input-validation-error, textarea.input-validation-error { border-color: var(--red-500); }
.field-validation-error, .validation { color: var(--red-600); font-size: 13px; }
.validation-summary-errors, .validation-summary-errors ul { margin: 0; padding: 0; list-style: none; }
.validation-summary-errors { margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--red-50); color: var(--red-600); font-size: 14px; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--navy-700); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius-sm); font-size: 14.5px; border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert.success { background: var(--green-50); border-color: #bfe3cf; color: #155f3b; }
.alert.error { background: var(--red-50); border-color: #f4c3c5; color: #9d1820; }
.alert.warning { background: var(--amber-50); border-color: #f1d9a6; color: #7c4f00; }
.alert.info { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-800); }

/* ---------- Tra cứu chứng chỉ ---------- */
.lookup-card { margin-top: -40px; position: relative; z-index: 2; }
.lookup-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; align-items: end; }
.lookup-form .field { margin: 0; }
.cert-result { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 28px; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green-600); border-radius: var(--radius); }
.cert-result.revoked { border-left-color: var(--red-600); }
.cert-seal { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-50); color: var(--gold-500); }
.cert-result h3 { font-size: 20px; margin-bottom: 4px; }
.cert-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; margin-top: 18px; }
.cert-fields dt { font-size: 12px; color: var(--subtle); text-transform: uppercase; letter-spacing: .05em; }
.cert-fields dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #d3ddf2; padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 6px; }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Chân trang ---------- */
.site-footer { background: var(--navy-950); color: #a9b7d6; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 44px; }
/* Logo Trường giữ nguyên màu gốc, đặt trên nền trắng để nổi trên nền tối */
.logo-plate { display: inline-flex; padding: 10px 14px; background: #fff; border-radius: var(--radius-sm); }
.footer-brand .logo-plate { margin-bottom: 18px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: #ff8a90; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--red-600); }

/* ---------- Trang lỗi, đăng nhập ---------- */
.empty-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 64px 20px; }
.empty-page .code { font-size: 88px; font-weight: 800; line-height: 1; color: var(--navy-100); letter-spacing: -.04em; }
.empty-page h1 { font-size: 28px; margin: 12px 0 8px; }
.empty-page p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.empty-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-art { display: flex; flex-direction: column; justify-content: space-between; padding: 48px 56px; color: #c9d6f3; background: radial-gradient(800px 400px at 0% 100%, rgba(200, 32, 42, .25), transparent 60%), linear-gradient(150deg, var(--navy-950), var(--navy-800)); }
.login-art img { height: 44px; width: auto; }
.login-art h1 { color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin: 14px 0; }
.login-art p { max-width: 460px; }
.login-art small { color: #8ea0c8; }
.login-panel { display: grid; place-items: center; padding: 40px 24px; background: var(--bg-soft); }
.login-form { width: min(420px, 100%); padding: 40px 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.login-form .lock { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius); background: var(--navy-50); color: var(--navy-700); margin-bottom: 20px; }
.login-form h2 { font-size: 24px; margin-bottom: 4px; }
.login-form > p { color: var(--muted); margin-bottom: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.back-link:hover { color: var(--navy-700); }

/* ---------- Cổng nộp bài ---------- */
.portal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-soft); }
.portal-body main { flex: 1; }
.portal-header { background: #fff; border-bottom: 1px solid var(--line); }
.portal-header .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.portal-header img { height: 42px; width: auto; }
.portal-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--navy-800); text-transform: uppercase; }
.portal-title .icon { color: var(--green-600); }
.portal-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px max(20px, calc((100% - 860px) / 2)); font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.submit-shell { max-width: 860px; padding: 44px 0 64px; }
.submit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.submit-head h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0 0 6px; }
.submit-head p { margin: 0; color: var(--muted); }
.secure-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-600); font-size: 13px; font-weight: 600; white-space: nowrap; }
.submit-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.form-step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px; border-bottom: 1px solid var(--line-soft); }
.step-no { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-700); color: #fff; font-weight: 700; font-size: 14px; }
.form-step h3 { font-size: 17px; margin: 6px 0 4px; }
.form-step > div > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.exam-options { display: grid; gap: 10px; }
.exam-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background-color .15s; }
.exam-option:hover { border-color: var(--navy-600); }
.exam-option input { width: 18px; height: 18px; accent-color: var(--navy-700); }
.exam-option:has(input:checked) { border-color: var(--navy-700); background: var(--navy-50); }
.exam-option b { display: block; color: var(--ink); }
.exam-option small { color: var(--muted); font-size: 13px; }
.exam-option .tag { margin-left: auto; }
.access-field { margin-top: 16px; max-width: 320px; }
.drop-zone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 20px; border: 2px dashed #c4cfe3; border-radius: var(--radius); background: var(--navy-50); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--navy-600); background: #eaf0fb; }
.drop-zone .icon { color: var(--navy-600); margin-bottom: 6px; }
.drop-zone b { color: var(--ink); }
.drop-zone small { color: var(--muted); font-size: 13px; }
.file-summary { display: none; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--green-50); color: #155f3b; }
.file-summary.show { display: flex; }
.file-summary b { display: block; }
.file-summary span { font-size: 13px; }
.upload-progress { display: none; padding: 20px 28px; border-bottom: 1px solid var(--line-soft); }
.upload-progress.show { display: block; }
.upload-progress > div:first-child { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.progress-track { height: 8px; border-radius: 999px; background: var(--navy-50); overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-600), var(--navy-700)); transition: width .2s; }
.upload-error { display: none; margin: 20px 28px 0; }
.upload-error.show { display: flex; }
.submit-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; background: var(--bg-soft); font-size: 13.5px; color: var(--muted); }
.no-exam { padding: 56px 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.no-exam .icon { color: var(--subtle); margin-bottom: 12px; }
.no-exam h2 { font-size: 20px; }
.no-exam p { color: var(--muted); max-width: 480px; margin: 0 auto; }

.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(11, 26, 61, .55); }
.modal.open { display: grid; }
.modal-card { width: min(480px, 100%); padding: 32px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: center; }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.modal-card h2 { font-size: 22px; margin-bottom: 4px; }
.modal-card > p { color: var(--muted); }
.receipt-info { display: grid; gap: 0; margin: 20px 0 24px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); }
.receipt-info div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: 14px; }
.receipt-info div + div { border-top: 1px solid var(--line-soft); }
.receipt-info span { color: var(--muted); }
.receipt-info b { color: var(--ink); text-align: right; word-break: break-word; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }
.receipt-page { max-width: 560px; margin: 48px auto; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; }
.receipt-page header { display: flex; justify-content: center; margin-bottom: 20px; }
.receipt-page header img { height: 40px; width: auto; }

/* ---------- Đáp ứng ---------- */
@media (max-width: 1080px) {
  .hotline { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 72px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a:nth-child(2) { border-right: 0; }
  .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .program-grid, .info-cards { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .lookup-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .navbar { display: none; }
  .navbar.open { display: block; }
  .main-nav { flex-direction: column; padding: 8px 0; }
  .main-nav a.active::after { display: none; }
  .main-nav .nav-admin { margin-left: 0; }
  .brandbar-actions .btn { display: none; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step::after { display: none; }
  .credentials { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-art { padding: 32px 24px; gap: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cert-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .brand img { height: 38px; }
  .brand-divider, .brand-name span { display: none; }
  .brand-name strong { font-size: 14px; }
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .quick-grid, .program-grid, .info-cards, .values, .news-grid, .steps, .footer-grid, .form-row, .form-row.three, .lookup-form, .cert-fields { grid-template-columns: 1fr; }
  .quick-grid a { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stats b { font-size: 24px; }
  .stats div { padding: 14px; }
  .resource { flex-wrap: wrap; }
  .resource-meta { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .form-card, .login-form { padding: 24px 20px; }
  .form-step { grid-template-columns: 1fr; padding: 22px 18px; gap: 10px; }
  .submit-head { flex-direction: column; align-items: flex-start; }
  .submit-bottom { flex-direction: column; align-items: stretch; }
  .cert-result { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column; }
}

/* ---------- In ấn ---------- */
@media print {
  .site-header, .site-footer, .cta, .article-actions, .no-print, .skip-link { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .page-hero { background: none; color: #000; padding: 0 0 12pt; }
  .page-hero h1 { color: #000; }
  .receipt-page { box-shadow: none; border: 0; margin: 0 auto; }
}

/* ---------- Bổ sung ---------- */
.block-title { margin: 48px 0 16px; font-size: 24px; }
.content-grid h2 { font-size: clamp(22px, 2.6vw, 28px); }
.content-grid .info-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.callout .link-arrow { display: inline; }
.field > span.field-validation-error, .field > span.field-validation-valid { font-weight: 400; }
.field-validation-valid { display: none; }

/* Đầu trang trên điện thoại: thu gọn nhận diện để nút menu luôn hiển thị */
@media (max-width: 640px) {
  .brandbar { gap: 12px; padding: 10px 0; }
  .brand { gap: 10px; }
  .brand img { height: 32px; }
  .brand-name strong { font-size: 12px; line-height: 1.15; max-width: 82px; white-space: normal; }
  .menu-toggle { flex-shrink: 0; }
}
html, body { overflow-x: clip; }
.login-art .logo-plate { align-self: flex-start; }

/* ---------- Cụm nút chat nổi (Zalo, Messenger) ---------- */
.chat-dock { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-fab { display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 52px rgba(16, 37, 90, .22); }
.chat-fab-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; flex-shrink: 0; font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.chat-fab.messenger .chat-fab-icon { background: linear-gradient(135deg, #0866ff, #a033ff); }
.chat-fab.zalo .chat-fab-icon, .zalo-badge { background: #0068ff; color: #fff !important; font-size: 12px; font-weight: 800; }
.chat-fab-label { line-height: 1.25; min-width: 118px; }
.chat-fab-label b { display: block; font-size: 14px; }
.chat-fab-label small { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .chat-dock { right: 14px; bottom: 14px; }
  .chat-fab { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .chat-fab-icon { width: 52px; height: 52px; box-shadow: var(--shadow-lg); }
  .chat-fab-label { display: none; }
}
@media print { .chat-dock { display: none !important; } }

/* ---------- Nội dung bài viết soạn bằng trình soạn thảo ---------- */
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.2em 0; }
.prose a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-600); }
.prose blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 4px solid var(--navy-600); background: var(--navy-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose ol li[data-list="bullet"] { list-style-type: disc; }
.prose li .ql-ui { display: none; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose img.ql-align-center, .prose .ql-align-center img { margin-inline: auto; }
.prose .ql-indent-1 { padding-left: 2em; }
.prose .ql-indent-2 { padding-left: 4em; }
.prose .ql-indent-3 { padding-left: 6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--navy-50); }
.prose pre { background: var(--navy-950); color: #e6ecf8; padding: 14px 18px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 14px; }

/* ---------- Lịch thi định kỳ ---------- */
.schedule-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 16px 10px 10px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .15s; }
.schedule-pill:hover { background: rgba(255, 255, 255, .16); }
.schedule-pill-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); background: #ffd166; color: var(--navy-950); }
.schedule-pill b { display: block; font-size: 14.5px; }
.schedule-pill small { display: block; font-size: 12.5px; color: #c9d6f3; }
.schedule-card { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding: 26px; margin-bottom: 28px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red-600); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.schedule-card-date { text-align: center; padding: 16px 10px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); color: #fff; }
.schedule-card-date small { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #c9d6f3; }
.schedule-card-date b { display: block; font-size: 48px; line-height: 1.1; }
.schedule-card-date span { font-size: 13px; color: #c9d6f3; }
.schedule-card h3 { font-size: 19px; margin-bottom: 6px; }
.schedule-card p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 640px) { .schedule-card { grid-template-columns: 1fr; } }

/* ---------- Chương trình chưa triển khai ---------- */
.program-card.upcoming { border-top-color: var(--subtle); background: #fbfcfe; }
.program-card.upcoming h3, .program-card.upcoming p, .program-card.upcoming ul { opacity: .7; }
.program-card.upcoming li .icon { color: var(--subtle); }
.program-upcoming .eyebrow .tag { margin-left: 6px; letter-spacing: 0; text-transform: none; }
.program-upcoming .callout { margin-bottom: 16px; }
.program-upcoming .module-table { opacity: .75; }

/* ---------- Cơ cấu tổ chức ---------- */
.org-group-title { display: flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); margin: 8px 0 18px; }
.org-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.org-leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin-bottom: 40px; }
.org-staff { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.org-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.org-leaders .org-card { padding: 26px; border-top: 4px solid var(--navy-700); }
.org-photo { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: #fff; font-size: 26px; font-weight: 700; }
.org-leaders .org-photo { width: 96px; height: 96px; font-size: 34px; }
.org-photo img { width: 100%; height: 100%; object-fit: cover; }
.org-info { min-width: 0; }
.org-position { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red-600); margin-bottom: 4px; }
.org-info h4 { font-size: 17px; margin: 0 0 4px; }
.org-leaders .org-info h4 { font-size: 19px; }
.org-univ { font-size: 14px; color: var(--navy-700); margin: 0 0 6px; }
.org-duty { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.org-contact { display: grid; gap: 4px; font-size: 13.5px; }
.org-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); overflow-wrap: anywhere; }
.org-contact a:hover { color: var(--navy-700); }
@media (max-width: 640px) { .org-leaders, .org-staff { grid-template-columns: 1fr; } }

/* ---------- Đầu mối liên hệ ---------- */
.contact-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px; margin-bottom: 56px; }
.contact-point { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-700); border-radius: var(--radius); overflow: hidden; }
.contact-point header { padding: 20px 22px 14px; }
.contact-point h3 { font-size: 17px; margin: 0 0 4px; }
.contact-point header p { margin: 0; font-size: 14px; color: var(--muted); }
.contact-people { list-style: none; margin: 0; padding: 0; }
.contact-people li { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line-soft); }
.contact-avatar { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--navy-700); color: #fff; font-weight: 700; }
.contact-avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-person { flex: 1; min-width: 0; line-height: 1.4; }
.contact-person b { display: block; color: var(--ink); font-size: 15px; }
.contact-person small { display: block; font-size: 12.5px; color: var(--red-600); font-weight: 600; }
.contact-person a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.contact-person a:hover { color: var(--navy-700); }
@media (max-width: 640px) {
  .contact-points { grid-template-columns: 1fr; }
  .contact-people li { flex-wrap: wrap; }
  .contact-people .btn { width: 100%; }
}
