/* Trường THCS - THPT Duy Tân — giao diện theo màu logo: xanh #21409A · vàng #FFF200 · đỏ #EE2A27 */
:root {
  --blue: #21409A;
  --blue-600: #2a4fb5;
  --blue-800: #182f75;
  --navy: #0D1D4A;
  --navy-2: #12285F;
  --blue-50: #EEF2FB;
  --blue-100: #DCE4F6;
  --yellow: #FFE600;
  --yellow-2: #FFF200;
  --gold: #C99A00;
  --red: #EE2A27;
  --red-700: #C91F1C;
  --ink: #111C3A;
  --text: #3A4560;
  --muted: #69758F;
  --line: #E3E8F2;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FC;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -20px rgba(13, 29, 74, .35);
  --shadow-sm: 0 6px 18px -10px rgba(13, 29, 74, .3);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.center { text-align: center; margin-top: 28px; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; font-family: inherit; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(238, 42, 39, .8); }
.btn-red:hover { background: var(--red-700); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(33, 64, 154, .8); }
.btn-blue:hover { background: var(--blue-800); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 22px -10px rgba(255, 230, 0, .7); }
.btn-yellow:hover { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { border-color: var(--blue-100); color: var(--blue); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }
.link-red { color: var(--red); font-weight: 700; }
.link-yellow { color: var(--yellow); font-weight: 700; }
.link-yellow:hover { color: #fff; }

/* ---------- Thanh trên cùng ---------- */
.topbar { background: var(--navy); color: #c9d3ee; font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.tb-left, .tb-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: #c9d3ee; }
.topbar a:hover { color: var(--yellow); }
.topbar b { color: var(--yellow); font-weight: 700; }
.topbar .ic { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(13, 29, 74, .45); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand img { height: 62px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.brand-text b { font-family: var(--display); font-size: 28px; color: var(--red); letter-spacing: .02em; font-weight: 800; }
.brand-text em { display: none; font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.main-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); position: relative; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.main-nav > ul > li:hover > a, .main-nav > ul > li.is-active > a { color: var(--blue); background: var(--blue-50); }
.main-nav > ul > li.is-active > a::after, .main-nav > ul > li:hover > a::after { transform: scaleX(1); }
.caret { width: 14px; height: 14px; opacity: .6; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.sub a:hover { background: var(--blue-50); color: var(--blue); }
.nav-search, .nav-cta { display: none; }
.header-cta { flex: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; height: 2.5px; background: var(--blue); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(520px, 78vh, 700px); background: var(--navy); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 29, 74, .94) 0%, rgba(24, 47, 117, .82) 45%, rgba(33, 64, 154, .25) 100%); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-in { position: relative; padding: 80px 0 140px; max-width: 1200px; }
.slide-in > * { max-width: 680px; }
.slide-in > .slide-title { max-width: 820px; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 36px; height: 3px; background: var(--yellow); border-radius: 3px; }
.slide-title { font-family: var(--display); font-size: clamp(36px, 5.4vw, 64px); color: #fff; line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.slide p { font-size: clamp(16px, 1.6vw, 19px); color: #d7def3; margin-bottom: 30px; }
.slide.is-active .eyebrow, .slide.is-active .slide-title, .slide.is-active p, .slide.is-active .slide-actions { animation: rise .8s both; }
.slide.is-active .slide-title { animation-delay: .1s; }
.slide.is-active p { animation-delay: .2s; }
.slide.is-active .slide-actions { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 3; bottom: 104px; left: 50%; transform: translateX(-50%); width: min(1200px, 100% - 32px); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 5px; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: .3s; }
.hero-dots button.is-active { background: var(--yellow); width: 56px; }
.hero-emblem { position: absolute; z-index: 2; right: -60px; bottom: -60px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255, 230, 0, .25); pointer-events: none; }
.hero-emblem::after { content: ''; position: absolute; inset: 40px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .15); }

/* ---------- Số liệu ---------- */
.stats { position: relative; z-index: 5; margin-top: -72px; }
.stats-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-top: 5px solid var(--yellow); }
.stat { padding: 30px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); color: var(--blue); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- Khối chung ---------- */
.section { padding: 68px 0 52px; }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.kicker::before { content: ''; width: 10px; height: 10px; background: var(--yellow); border: 2px solid var(--blue); transform: rotate(45deg); }
.kicker.light { color: var(--yellow); }
.kicker.light::before { border-color: var(--yellow); background: transparent; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- Giới thiệu ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: var(--blue-50); }
.intro-media::before { content: ''; position: absolute; left: -22px; top: -22px; width: 55%; height: 60%; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--yellow) 0 2px, transparent 2px 12px); opacity: .7; z-index: -1; }
.intro-badge { position: absolute; right: -18px; bottom: 28px; background: var(--red); color: #fff; border-radius: 16px; padding: 18px 24px; box-shadow: var(--shadow); text-align: center; }
.intro-badge b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; }
.intro-badge span { font-size: 13px; opacity: .9; }
.intro-text h2 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 42px); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--yellow); color: var(--blue); stroke-width: 3; margin-top: 1px; }
.checks.light li { color: #fff; }
.row-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* ---------- Chương trình ---------- */
.programs { background: var(--bg-soft); position: relative; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program { background: #fff; border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.program::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.program:hover::after { transform: scaleX(1); }
.program-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--blue); color: var(--yellow); display: grid; place-items: center; margin-bottom: 20px; }
.program-ic .ic { width: 28px; height: 28px; }
.program .num { position: absolute; right: 22px; top: 18px; font-family: var(--display); font-size: 46px; font-weight: 800; color: var(--blue-50); line-height: 1; }
.program h3 { font-size: 19px; }
.program p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Tin tức ---------- */
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; }
.news-lead { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.news-lead .post-thumb { aspect-ratio: 16 / 9; }
.news-lead .post-body { padding: 26px 28px 30px; }
.news-lead h3 { font-size: 24px; }
.news-list { display: grid; gap: 18px; align-content: start; }
.news-item { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: inherit; transition: .2s; align-items: center; }
.news-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); color: inherit; transform: translateX(4px); }
.news-item-thumb { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.news-item-thumb img, .news-item-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.news-item h4 { font-size: 16px; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item:hover h4 { color: var(--blue); }
.post-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--blue-50); }
.post-thumb img, .post-thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img, .post-card:hover .post-thumb .ph, .news-lead:hover .post-thumb img, .news-lead:hover .post-thumb .ph { transform: scale(1.05); }
.tag { position: absolute; left: 16px; top: 16px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.tag-sm { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.post-body h3 { font-size: 19px; margin: 8px 0 10px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--blue); }
.more:hover { color: var(--red); gap: 10px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card .post-body { padding: 22px 24px 26px; }

/* Ảnh thay thế khi bài viết chưa có ảnh bìa */
.ph { display: grid; place-items: center; position: relative; overflow: hidden; color: #fff; }
.ph span { position: relative; z-index: 1; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 2vw, 24px); padding: 0 16px; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, .2); }
.ph::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 10px solid rgba(255, 230, 0, .35); right: -18%; bottom: -30%; }
.ph::after { content: ''; position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); left: -10%; top: -14%; }
.ph-0 { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); }
.ph-1 { background: linear-gradient(135deg, #2b55c4 0%, var(--blue) 60%, #13286a 100%); }
.ph-2 { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 70%, #3a5fcc 100%); }

/* ---------- Tuyển sinh (trang chủ) ---------- */
.admission { background: radial-gradient(circle at 85% 20%, rgba(255, 230, 0, .16), transparent 40%), linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #d7def3; position: relative; overflow: hidden; }
.admission::before { content: ''; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(238, 42, 39, .18); }
.admission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.admission h2 { color: #fff; font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); }
.admission-text > p { font-size: 17px; }
.admission-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); color: var(--text); border-top: 6px solid var(--red); }
.admission-form h3 { font-size: 22px; margin-bottom: 20px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; grid-template-rows: auto auto; align-content: start; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form .lbl { line-height: 1.4; }
.form input, .form select { height: 52px; }
.form label b { color: var(--red); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(33, 64, 154, .12); }
.form .invalid { border-color: var(--red); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; font-size: 14.5px; font-weight: 600; min-height: 1px; }
.form-msg.ok { color: #13804b; background: #e8f7ef; padding: 12px 14px; border-radius: 10px; }
.form-msg.err { color: var(--red-700); }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Thành tích ---------- */
.achievements { background: var(--bg-soft); }
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ach { display: flex; gap: 18px; padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); border-left: 5px solid var(--yellow); transition: .25s; }
.ach:hover { box-shadow: var(--shadow-sm); border-left-color: var(--red); }
.ach > .ic { width: 46px; height: 46px; padding: 9px; border-radius: 50%; background: var(--blue); color: var(--yellow); flex: none; }
.ach h3 { font-size: 16.5px; margin: 4px 0 4px; }
.ach p { font-size: 14px; color: var(--muted); margin: 0; }
.ach-year { font-size: 12px; font-weight: 800; color: var(--red); letter-spacing: .08em; }

/* ---------- Đội ngũ ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; justify-content: center; }
.leaders .staff-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 280px)); }
.staff-card { background: #fff; border-radius: var(--radius); padding: 32px 22px 28px; text-align: center; border: 1px solid var(--line); transition: .25s; position: relative; overflow: hidden; }
.staff-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 86px; background: linear-gradient(120deg, var(--blue), var(--navy)); }
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.avatar { position: relative; width: 116px; height: 116px; margin: 0 auto 18px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--yellow); overflow: hidden; background: var(--blue-50); display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar span { font-family: var(--display); font-size: 36px; font-weight: 800; color: var(--blue); }
.staff-card h3 { font-size: 18px; margin-bottom: 4px; }
.staff-card .role { color: var(--red); font-weight: 700; font-size: 14px; margin: 0; }
.staff-card .subject { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.staff-card .bio { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.staff-group + .staff-group { margin-top: 56px; }
.group-title { font-family: var(--display); font-size: 28px; display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.group-title::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--yellow), transparent); }

/* ---------- Hình ảnh & video ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid .g-item:nth-child(6n + 1) { grid-row: span 2; }
.gallery-grid.big { grid-auto-rows: 220px; }
.g-item { position: relative; border-radius: 14px; overflow: hidden; background: var(--blue-50); display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.07); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(13, 29, 74, .75)); opacity: 0; transition: .3s; }
.g-item:hover::after { opacity: 1; }
.g-cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: .3s; }
.g-item:hover .g-cap { opacity: 1; }
.g-item.is-hidden { display: none; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.video { margin: 0; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-sm); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video figcaption { font-weight: 600; color: var(--ink); margin-top: 12px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 16, 42, .94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: 14px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 30px; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: var(--yellow); color: var(--navy); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }

/* ---------- Đối tác ---------- */
.partners { padding: 40px 0; border-top: 1px solid var(--line); }
.partners-title { text-align: center; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner { display: flex; flex-direction: column; align-items: center; padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line); background: #fff; min-width: 170px; color: var(--ink); transition: .2s; }
.partner:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
.partner b { font-size: 15px; }
.partner img { max-height: 44px; width: auto; }
.partner span { font-size: 12.5px; color: var(--muted); }

/* ---------- Trang con ---------- */
.page-hero { background: radial-gradient(circle at 90% 10%, rgba(255, 230, 0, .18), transparent 35%), linear-gradient(120deg, var(--navy), var(--blue)); color: #d7def3; padding: 64px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: 6%; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(238, 42, 39, .25); }
.page-hero h1 { color: #fff; font-family: var(--display); font-size: clamp(30px, 4.4vw, 50px); margin: 10px 0 8px; max-width: 900px; }
.page-hero p { max-width: 720px; font-size: 17px; margin: 0; }
.crumbs { font-size: 14px; color: #aeb9dc; }
.crumbs a { color: var(--yellow); }
.crumbs a:hover { color: #fff; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.content-card { background: #fff; border-radius: var(--radius); padding: 40px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.content-cover { width: 100%; border-radius: 14px; margin-bottom: 26px; }
.aside { display: grid; gap: 24px; position: sticky; top: 108px; }
.aside-box { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.aside-box h4 { font-size: 18px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--blue-50); position: relative; }
.aside-box h4::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--red); }
.aside-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-weight: 500; }
.aside-nav a:hover { background: var(--blue-50); color: var(--blue); }
.aside-nav .is-active a { background: var(--blue); color: #fff; }
.aside-cta { background: linear-gradient(140deg, var(--blue), var(--navy)); color: #d7def3; border: 0; display: grid; gap: 10px; }
.aside-cta h4 { color: #fff; border-color: rgba(255, 255, 255, .15); }
.aside-cta h4::after { background: var(--yellow); }
.aside-cta p { margin: 0 0 6px; }
.mini-post { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; color: inherit; border-bottom: 1px dashed var(--line); }
.mini-post:last-child { border: 0; }
.mini-thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.mini-thumb img, .mini-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb .ph span { font-size: 0; }
.mini-post b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.mini-post:hover b { color: var(--blue); }
.mini-post span { font-size: 12.5px; color: var(--muted); }
.form-box { border-top: 5px solid var(--red); }

/* Nội dung soạn thảo */
.rich { color: var(--text); font-size: 16.5px; line-height: 1.8; }
.rich h2 { font-family: var(--display); font-size: 28px; margin-top: 1.4em; }
.rich h3 { font-size: 20px; margin-top: 1.4em; color: var(--blue); }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .5em; }
.rich ul li::marker { color: var(--red); }
.rich img { border-radius: 12px; margin: 1em auto; height: auto; }
.rich a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.rich blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 5px solid var(--yellow); background: var(--blue-50); border-radius: 0 12px 12px 0; font-style: italic; }
.rich table { width: 100%; border-collapse: collapse; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lede { font-size: 19px; font-weight: 500; color: var(--ink); line-height: 1.6; border-left: 4px solid var(--yellow); padding-left: 18px; }
.share { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--muted); }
.share a { display: inline-flex; gap: 6px; align-items: center; background: #1877f2; color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: 14.5px; cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; color: var(--ink); }
.pager a.is-active, .pager a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); border: 2px dashed var(--line); }

/* Bảng học phí */
.tuition-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 48px; border: 1px solid var(--line); }
.tuition-head { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; padding: 32px 36px 24px; flex-wrap: wrap; }
.tuition-head h2 { font-family: var(--display); font-size: 32px; margin: 0; }
.tuition-head p { max-width: 460px; color: var(--muted); font-size: 14.5px; margin: 0; }
.table-wrap { overflow-x: auto; }
table.tuition { width: 100%; border-collapse: collapse; min-width: 640px; }
.tuition th, .tuition td { padding: 16px 20px; text-align: right; font-variant-numeric: tabular-nums; }
.tuition thead th { background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tuition thead th:first-child, .tuition tbody th { text-align: left; }
.tuition tbody tr:nth-child(even) { background: var(--bg-soft); }
.tuition tbody tr:hover { background: #fffbd6; }
.tuition tbody th { color: var(--ink); font-weight: 700; }
.tuition td.total { font-weight: 800; color: var(--red); font-size: 17px; }
.admission-detail { margin-top: 0; }

/* Liên hệ */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .25s; }
.contact-card:hover { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.contact-card > .ic { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--yellow); color: var(--blue); margin-bottom: 14px; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.search-big { display: flex; gap: 10px; margin-bottom: 28px; max-width: 640px; }
.search-big input { flex: 1; font: inherit; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); }
.search-big input:focus { outline: none; border-color: var(--blue); background: #fff; }
.notfound { text-align: center; }
.notfound b { font-family: var(--display); font-size: 120px; color: var(--blue); line-height: 1; display: block; text-shadow: 6px 6px 0 var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aab5d6; font-size: 15px; }
.footer-cta { background: var(--red); color: #fff; }
.footer-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px 0; flex-wrap: wrap; }
.footer-cta h3 { color: #fff; font-family: var(--display); font-size: 28px; margin-bottom: 4px; }
.footer-cta p { margin: 0; color: #ffe1e0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding: 72px 0 52px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--yellow); border-radius: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #aab5d6; }
.site-footer a:hover { color: var(--yellow); }
.brand-footer { margin-bottom: 18px; }
.brand-footer img { height: 56px; border-radius: 8px; background: #fff; padding: 4px; }
.brand-footer .brand-text small { color: var(--yellow); }
.brand-footer .brand-text b { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--yellow); color: var(--navy); }
.f-contact p { display: flex; gap: 12px; margin-bottom: 14px; }
.f-contact .ic { color: var(--yellow); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 14px; text-align: center; color: #8592b8; }
.float-call { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(238, 42, 39, .8); animation: pulse 2s infinite; }
.float-call .ic { width: 24px; height: 24px; }
.float-call:hover { color: #fff; }
.float-zalo { position: fixed; left: 18px; bottom: 86px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #0068FF; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 104, 255, .8); animation: pulse-zalo 2s infinite; animation-delay: 1s; }
.float-zalo span { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.float-zalo:hover { color: #fff; transform: scale(1.06); }
@keyframes pulse-zalo { 0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, .5); } 70% { box-shadow: 0 0 0 16px rgba(0, 104, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(238, 42, 39, .55); } 70% { box-shadow: 0 0 0 16px rgba(238, 42, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(238, 42, 39, 0); } }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: var(--yellow); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .3s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; }

/* Hiệu ứng xuất hiện khi cuộn */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-cta { display: none; }
  .main-nav > ul > li > a { padding: 10px 11px; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  /* Bỏ hiệu ứng mờ nền: nó khiến menu cố định bị tính theo thanh đầu trang thay vì màn hình */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; top: var(--nav-top, 72px); left: 0; right: 0; bottom: 0; z-index: 49; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 32px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; margin: 0; gap: 16px; border-top: 1px solid var(--line); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav .sub a { padding: 10px 12px; }
  .nav-cta { display: flex; }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li > a { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > ul > li > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .nav-search { display: flex; gap: 8px; }
  .nav-search input { flex: 1; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); }
  .nav-search button { width: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; }
  body.nav-open { overflow: hidden; }
  .nav-open .float-call, .nav-open .float-zalo, .nav-open .to-top { opacity: 0; pointer-events: none; }
  .intro-grid, .admission-grid, .news-grid, .with-aside, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 56px; }
  .program-grid, .ach-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .aside { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none !important; }
  .topbar-in { justify-content: center; min-height: 36px; font-size: 12.5px; }
  .tb-left { display: none; }
  .header-in { min-height: 72px; gap: 12px; }
  .brand img { height: 50px; }
  .brand-text b { font-size: 23px; }
  .brand-text em { display: none; }
  .section { padding: 48px 0 38px; }
  .section-head { margin-bottom: 28px; }
  .head-row { margin-bottom: 24px; }
  .slide-in { padding: 56px 0 130px; }
  .hero-dots { bottom: 96px; }
  .hero-emblem { width: 220px; height: 220px; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px; }
  .program-grid, .ach-grid, .post-grid, .contact-cards, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 110px 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .content-card { padding: 24px; }
  .admission-form { padding: 24px; }
  .intro-badge { right: 8px; }
  .intro-media::before { left: -10px; top: -10px; }
  .tuition-head { padding: 24px; }
  .footer-cta h3 { font-size: 23px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; }
}

/* Định dạng từ trình soạn thảo trong trang quản trị */
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }
.rich .ql-align-justify { text-align: justify; }
.rich iframe.ql-video, .rich iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 1em 0; }
[hidden] { display: none !important; }
.page-hero .container { position: relative; z-index: 1; }

/* Ảnh trong nội dung bài viết, thơ */
.rich figure { margin: 1.4em 0; }
.rich figure img { width: 100%; margin: 0; border-radius: 14px; }
.rich figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; font-style: italic; }
.rich .photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.2em 0; }
.rich .photo-grid figure { margin: 0; }
.rich .photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
.rich .verse { font-family: var(--display); font-size: 19px; line-height: 1.85; color: var(--ink); padding-left: 22px; border-left: 3px solid var(--yellow); margin: 0 0 1.2em; }
.avatar img { object-position: center 25%; }
.content-cover { aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-grid { grid-auto-flow: dense; }
.gallery-sec .gallery-grid .g-item { grid-row: auto; }
.gallery-sec .gallery-grid .g-item:first-child { grid-column: span 2; grid-row: span 2; }

/* Thẻ lãnh đạo: mỗi hàng tối đa 2 người, ảnh giữ nguyên tỉ lệ gốc (~6:4), không cắt, không bóp */
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 32px; max-width: 832px; margin: 0 auto; }
.leader-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader-photo { position: relative; background: var(--blue-50); }
.leader-photo img { display: block; width: 100%; height: auto; }
/* Dải màu nằm dưới ảnh, không đè lên ảnh */
.leader-photo::after { content: ''; display: block; height: 6px; background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red)); }
.leader-photo.is-empty { aspect-ratio: 6 / 4; display: grid; place-items: center; background: linear-gradient(150deg, var(--blue), var(--navy)); }
.leader-photo.is-empty::after { position: absolute; left: 0; right: 0; bottom: 0; }
.leader-photo span { font-family: var(--display); font-size: 84px; font-weight: 800; color: var(--yellow); }
.leader-info { padding: 22px 24px 26px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.leader-info h3 { font-family: var(--display); font-size: 23px; margin-bottom: 6px; }
.leader-info .role { color: var(--red); font-weight: 700; font-size: 15px; margin: 0; }
.leader-info .subject { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.leader-info .bio { color: var(--text); font-size: 14.5px; margin: 12px 0 0; line-height: 1.6; }
@media (max-width: 640px) {
  .leader-grid { grid-template-columns: 1fr; gap: 18px; }
  .leader-info h3 { font-size: 21px; }
}

/* ---------- Điện thoại: tận dụng chiều ngang, bớt khoảng trống hai bên ---------- */
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  /* Khung nội dung trải hết chiều ngang, chữ cách mép 14px */
  .content-card, .aside-box, .tuition-card { margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .content-card { padding: 22px 14px; }
  .aside-box { padding: 20px 14px; }
  .with-aside, .aside { gap: 14px; }
  .tuition-head { padding: 20px 14px 14px; }
  .tuition th, .tuition td { padding: 12px 12px; }
  .admission-form { padding: 20px 16px; }
  .contact-cards { gap: 12px; }
  .contact-card { padding: 16px 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .contact-card > .ic { margin: 0; grid-row: span 2; width: 44px; height: 44px; padding: 10px; }
  .contact-card h3 { margin: 0 0 2px; }
  .program { padding: 22px 18px; }
  .program-grid, .ach-grid, .post-grid { gap: 14px; }
  .ach { padding: 16px; gap: 14px; }
  .post-card .post-body { padding: 18px 16px 20px; }
  .news-lead .post-body { padding: 18px 16px 22px; }
  .news-item { padding: 10px; gap: 12px; }
  .gallery-grid { gap: 8px; }
  /* Thẻ đội ngũ dạng ngang: ảnh tròn bên trái, tên bên phải */
  .staff-grid, .leaders .staff-grid { grid-template-columns: 1fr; gap: 12px; }
  .staff-card { display: grid; grid-template-columns: 84px 1fr; align-items: center; column-gap: 16px; text-align: left; padding: 14px 16px; }
  .staff-card::before { inset: 0 auto 0 0; width: 6px; height: auto; background: linear-gradient(180deg, var(--blue), var(--yellow)); }
  .staff-card .avatar { width: 84px; height: 84px; margin: 0; grid-row: span 4; border-width: 3px; }
  .staff-card .avatar span { font-size: 26px; }
  .staff-card h3 { font-size: 17px; margin: 0 0 2px; }
  .staff-card .bio { margin-top: 6px; }
  .leader-info { padding: 16px 16px 20px; }
}
