/* Website công khai của trung tâm đào tạo và sát hạch lái xe.
   Màu sắc và kiểu chữ CỐ ĐỊNH tại đây (quản trị không chỉnh): xanh lá của logo, chữ đậm trên nền sáng, chữ trắng trên nền xanh,
   mọi cặp chữ và nền đều đạt tương phản tối thiểu 4,5:1. Website chỉ có một giao diện sáng, không đổi theo chế độ tối của máy khách.
   Điểm nhớ của thiết kế: đầu trang con và khối đăng ký tư vấn làm như biển chỉ đường xanh có viền trắng mảnh bên trong;
   vạch kẻ đường vàng nét đứt chỉ dùng làm gạch chân tiêu đề và gạch đầu dòng. Phần còn lại giữ yên tĩnh, thoáng, bo góc lớn. */

@font-face { font-family: "Site Sans"; src: url("/fonts/site-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Site Sans"; src: url("/fonts/site-sans-600.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Site Display"; src: url("/fonts/site-display-700.woff") format("woff"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Site Display"; src: url("/fonts/site-display-800.woff") format("woff"); font-weight: 800 900; font-display: swap; }

:root:has(.site) { color-scheme: light; background: #dde7e0; }  /* nền hai bên khung trang */

.site {
  /* Bảng màu cố định */
  --accent: #00853f;        /* xanh biển chỉ đường: nút bấm, nền khối xanh */
  --accent-ink: #ffffff;
  --accent-deep: #006f35;   /* khi rê chuột lên nút */
  --accent-soft: #e4f3ea;   /* nền nhạt của biểu tượng, nhãn */
  --bright: #03a859;        /* xanh sáng của logo: chỉ dùng trang trí */
  --deep: #063b22;          /* xanh đậm: số liệu, chân trang */
  --deeper: #04301b;
  --tint: #f2f8f4;          /* nền xen kẽ giữa các khối */
  --link: #00753a;
  --head: #10241a;          /* chữ tiêu đề */
  --ink: #243529;           /* chữ nội dung */
  --muted: #526459;         /* chữ phụ */
  --line: #d9e6de;
  --card: #ffffff;
  --surface: #ffffff;
  --lane: #f5b800;          /* vạch kẻ đường vàng */
  --danger: #b42318; --danger-soft: #fdeceb;
  --ok: #14602d; --ok-soft: #e3f4ea;
  --warn-soft: #fff4cf;
  --hero-bg: var(--accent); --hero-ink: #ffffff;

  --box: 1180px;            /* bề rộng khung trang: màn hình rộng hơn thì hai bên hiện nền trang */
  --wrap: 1180px;
  --gutter: clamp(1rem, 3.5vw, 2rem);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgb(6 59 34 / .06), 0 8px 24px -12px rgb(6 59 34 / .18);
  --shadow-lg: 0 2px 4px rgb(6 59 34 / .06), 0 24px 48px -24px rgb(6 59 34 / .32);
  --display: "Site Display", "Segoe UI", system-ui, sans-serif;
  --menu-h: 3.5rem;

  max-width: var(--box);
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgb(6 59 34 / .1), 0 0 56px -8px rgb(6 59 34 / .22);
  background: var(--surface);
  color: var(--ink);
  font-family: "Site Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site h1, .site h2, .site h3 { font-family: var(--display); font-weight: 700; line-height: 1.14; margin: 0; letter-spacing: -0.025em; color: var(--head); }
.site h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.site h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.site h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.015em; }
:where(.site) p { margin: 0 0 1rem; }
:where(.site) a { color: var(--link); }
.site main { flex: 1 0 auto; max-width: none; margin: 0; padding: 0; }
.site img { max-width: 100%; }
:where(.site) ul { margin: 0; padding: 0; list-style: none; }
.site .ic { width: 1.25em; height: 1.25em; flex: none; }
.site [id] { scroll-margin-top: calc(var(--menu-h) + 1rem); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 80; background: var(--card); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; }
.site a:focus-visible, .site button:focus-visible, .site summary:focus-visible, .site input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 8px; }

/* ---------- Đầu trang ---------- */
.site-head { position: relative; z-index: 46; background: var(--card); }
.head-in { display: flex; align-items: center; gap: .75rem 1.5rem; min-height: 88px; padding-top: .7rem; padding-bottom: .7rem; }
.brand-link { display: flex; align-items: center; gap: .9rem; margin-right: auto; min-width: 0; max-width: 30rem; text-decoration: none; color: var(--head); font: 700 1.12rem/1.25 var(--display); letter-spacing: -0.02em; }
.brand-link span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brand-link .logo { height: 60px; width: auto; max-width: 190px; object-fit: contain; flex: none; }
.head-tools { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.head-btns { display: flex; gap: .6rem; }

.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menu-btn { display: none; place-items: center; flex: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--link); cursor: pointer; }
.menu-btn .ic { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.nav-toggle:checked ~ .site-head .menu-btn .i-open { display: none; }
.nav-toggle:checked ~ .site-head .menu-btn .i-close { display: inline; }
.nav-toggle:focus-visible ~ .site-head .menu-btn { outline: 3px solid var(--link); outline-offset: 2px; }

/* ---------- Nút ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.5rem; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 1rem/1.2 "Site Sans", "Segoe UI", system-ui, sans-serif; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.site a.cta { color: var(--accent-ink); }
.cta:hover { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 10px 22px -12px var(--accent); }
.cta.outline, .cta.ghost { background: var(--card); color: var(--link); }
.site a.cta.outline, .site a.cta.ghost { color: var(--link); }
.cta.outline:hover, .cta.ghost:hover { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; }
.cta[aria-current] { box-shadow: 0 0 0 4px var(--accent-soft); }
.cta.sm { min-height: 44px; padding: 0 1.2rem; font-size: .95rem; }
.cta.block { display: flex; width: 100%; }
.cta:disabled { opacity: .6; cursor: progress; box-shadow: none; }
.cta .ic { width: 1.2em; height: 1.2em; }

/* ---------- Menu chính ---------- */
.menu-bar { position: sticky; top: 0; z-index: 45; background: rgb(255 255 255 / .9); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
.menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .15rem .35rem; min-height: var(--menu-h); padding: .35rem 0; }
.menu > li { position: relative; display: flex; }
.menu > li > a, .menu > li > .m-lbl { display: flex; align-items: center; gap: .3rem; min-height: 42px; padding: 0 1.05rem; border-radius: 999px; color: var(--head); font-weight: 600; font-size: .97rem; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.menu > li > a .ic, .menu > li > .m-lbl .ic { width: .95em; height: .95em; opacity: .6; transition: transform .2s ease; }
.menu > li > a:hover, .menu > li:focus-within > a, .menu > li > .m-lbl:hover, .menu > li:focus-within > .m-lbl { background: var(--tint); color: var(--link); }
.menu > li > .m-lbl { cursor: default; }
.menu > li:hover > a .ic, .menu > li:focus-within > a .ic, .menu > li:hover > .m-lbl .ic, .menu > li:focus-within > .m-lbl .ic { transform: rotate(180deg); }
.menu > li > a[aria-current="page"] { background: var(--accent-soft); color: var(--link); }
.m-home > a { padding: 0 .3rem; }
.menu > .m-home > a .ic { width: 2.3rem; height: 2.3rem; padding: .55rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); opacity: 1; }
.menu > .m-home > a, .menu > .m-home > a:hover { background: transparent; }
.menu > .m-home > a:hover .ic { transform: none; background: var(--accent-deep); }
.m-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sub { position: absolute; left: 0; top: calc(100% + .35rem); z-index: 5; margin: 0; min-width: 16rem; max-width: 22rem; padding: .45rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility 0s .16s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu > li:last-child .sub, .menu > li:nth-last-child(2) .sub { left: auto; right: 0; }
.sub a { display: block; padding: .6rem .85rem; border-radius: 10px; color: var(--ink); font-size: .95rem; font-weight: 400; text-decoration: none; line-height: 1.4; }
.sub a:hover { background: var(--tint); color: var(--link); }
.sub-lbl { display: block; padding: .6rem .85rem .3rem; color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- Ảnh bìa trượt ---------- */
.hero { position: relative; overflow: hidden; background: var(--tint); }
/* Ảnh bìa hiện ĐỦ, không bị cắt: khung cao đúng theo ảnh đầu tiên (rộng hết trang), ảnh sau căn giữa trong cùng khung.
   Ảnh khác tỉ lệ thì có dải màu hai bên hoặc trên dưới. Màn hình thấp thì ảnh thu nhỏ cho vừa 82% chiều cao màn hình. */
.slides { position: relative; width: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slides > .slide:first-child { position: relative; inset: auto; }
.slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide > img, .slide > .art { display: block; width: 100%; height: 100%; }
.slide > img { object-fit: contain; object-position: center; }
.slides > .slide:first-child > img { height: auto; max-height: 82vh; aspect-ratio: auto 5 / 2; }
.slides > .slide:first-child > .art { height: auto; max-height: 82vh; aspect-ratio: 32 / 13; }
.slide-cap { position: absolute; left: var(--gutter); bottom: 3.8rem; max-width: min(34rem, 80%); margin: 0; padding: .55rem 1.1rem; border-radius: var(--r-sm); background: rgb(6 59 34 / .78); color: #fff; font-weight: 600; line-height: 1.4; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--deep); box-shadow: 0 8px 20px -8px rgb(0 0 0 / .5); cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.arrow:hover { background: #fff; transform: scale(1.06); }
.arrow .ic { width: 22px; height: 22px; }
.arrow.prev { left: clamp(.6rem, 2vw, 1.5rem); }
.arrow.prev .ic { transform: rotate(180deg); }
.arrow.next { right: clamp(.6rem, 2vw, 1.5rem); }
.slider-ctl { position: absolute; left: 50%; bottom: .9rem; z-index: 3; display: flex; align-items: center; gap: .7rem; transform: translateX(-50%); padding: .3rem .85rem .3rem .35rem; border-radius: 999px; background: rgb(6 59 34 / .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pause { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .94); color: var(--deep); cursor: pointer; }
.pause .ic { width: 16px; height: 16px; }
.pause .i-play { display: none; }
.hero.paused .pause .i-play { display: inline; }
.hero.paused .pause .i-pause { display: none; }
.dots { display: flex; gap: .45rem; }
.dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .55); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.dot.is-on { width: 26px; background: #fff; }
[data-slider]:not(.live) .arrow, [data-slider]:not(.live) .slider-ctl { display: none; }

/* ---------- Tiêu đề khối: căn trái, gạch chân bằng vạch kẻ đường vàng ---------- */
.sec { padding: clamp(3.25rem, 6.5vw, 5.5rem) 0; }
.sec.tint { background: var(--tint); }
.sec-title { max-width: 46rem; margin: 0 0 clamp(1.75rem, 4vw, 2.75rem); text-align: left; }
.sec-title h2 { color: var(--head); }
.sec-title p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.orn { display: block; width: 3.6rem; height: 4px; margin: 1.1rem 0 0; background: repeating-linear-gradient(90deg, var(--lane) 0 .9rem, transparent .9rem 1.3rem); }
.blank { margin: 0; padding: .5rem 0; color: var(--muted); max-width: 60ch; }
.prose p { max-width: 68ch; }
.lead-in p { color: var(--muted); font-size: 1.05rem; }
.lead-in p:first-child { color: var(--head); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; }
.more-row { margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; text-align: left; }

/* ---------- Dải tiêu chí ---------- */
.criteria { background: var(--tint); padding: clamp(3rem, 6vw, 4.75rem) 0; }
.criteria .sec-title { margin-bottom: 2.25rem; }
.crit { display: grid; gap: 2rem 1.75rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crit.n1 { grid-template-columns: minmax(0, 28rem); }
.crit.n2 { grid-template-columns: repeat(2, minmax(0, 24rem)); }
.crit.n3, .crit.n5, .crit.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.crit-item { text-align: left; }
.crit-ico { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin: 0 0 1.1rem; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); color: var(--link); }
.crit-ico .ic { width: 1.9rem; height: 1.9rem; stroke-width: 1.6; }
.crit-item h3 { color: var(--head); font-size: 1.15rem; }
.crit-item p { max-width: 26rem; margin: .6rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }

/* ---------- Giới thiệu trang chủ ---------- */
.intro-sec { position: relative; overflow: hidden; }
.vlabel { display: none; }
.intro { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.intro-media { grid-column: 5 / 13; grid-row: 1; aspect-ratio: 1.5 / 1; border-radius: var(--r-xl); overflow: hidden; background: var(--accent-soft); box-shadow: var(--shadow); }
.intro-media img, .intro-media .art { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-card { position: relative; z-index: 2; grid-column: 1 / 7; grid-row: 1; padding: clamp(1.6rem, 3.5vw, 2.9rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-lg); text-align: left; }
.intro-card h1 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); color: var(--head); }
.intro-sub { margin: .9rem 0 0; color: var(--link); font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
.intro-text { margin: 1rem 0 0; color: var(--muted); }
.intro-btn { margin: 1.6rem 0 0; }

/* ---------- Số liệu nổi bật ---------- */
.stats { background: var(--deep); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.stats-in.n1 { grid-template-columns: 1fr; }
.stats-in.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-in.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figure { padding: .4rem clamp(.75rem, 2.5vw, 2rem); text-align: left; border-left: 1px solid rgb(255 255 255 / .22); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure b { display: block; color: #fff; font: 800 clamp(2.2rem, 4.8vw, 3.5rem)/1.05 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figure span { display: block; margin-top: .5rem; color: #d3e6da; font-size: .98rem; line-height: 1.4; }

/* ---------- Khóa đào tạo ---------- */
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.class { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 1px 2px rgb(6 59 34 / .05); transition: box-shadow .22s ease, border-color .22s ease; }
.class:hover { border-color: #b9d4c4; box-shadow: var(--shadow-lg); }
.class-media { position: relative; margin: .6rem .6rem 0; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--accent-soft); }
.class-media img, .class-media .art { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.class:hover .class-media img { transform: scale(1.03); }
/* Chữ hạng bằng làm như biển số xe: khung trắng viền đậm */
.plate { position: absolute; left: .7rem; top: .7rem; display: grid; place-items: center; min-width: 2.8rem; height: 2.5rem; padding: 0 .75rem; border: 2px solid var(--head); border-radius: 10px; background: #fff; color: var(--head); font: 800 1.15rem/1 var(--display); letter-spacing: -0.01em; box-shadow: 0 0 0 3px rgb(255 255 255 / .6); }
.class-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 1.2rem 1.4rem 1.5rem; text-align: left; }
.class-body h3 { color: var(--head); font-size: 1.25rem; }
.class-note { margin: .7rem 0 0; color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.facts { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: .6rem; text-align: left; }
.fact .ic { color: var(--link); width: 1.45rem; height: 1.45rem; }
.fact dt { color: var(--muted); font-size: .8rem; line-height: 1.2; }
.fact dd { margin: .1rem 0 0; color: var(--head); font-weight: 700; line-height: 1.3; font-size: 1rem; }
.class-link { display: flex; align-items: center; justify-content: center; margin-top: auto; padding: .7rem 1.4rem; border-radius: 999px; background: var(--tint); color: var(--link); font-weight: 600; font-size: .97rem; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.class-body > :nth-last-child(2) { margin-bottom: 1.3rem; }
.site a.class-link { color: var(--link); }
.class-link:hover { background: var(--accent); }
.site a.class-link:hover { color: var(--accent-ink); }
.req { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.req .sec-title { margin: 0; }
.ticks { display: grid; gap: .75rem; }
.ticks li { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.ticks .ic { margin-top: .15rem; width: 1.45rem; height: 1.45rem; padding: .25rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.8; }

/* ---------- Lịch sắp tới (trang chủ) và dòng thời gian ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.ev { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.ev time { display: grid; place-items: center; align-content: center; height: 4.9rem; border-radius: var(--r-md); background: var(--accent-soft); color: var(--link); text-align: center; line-height: 1; }
.ev time b { font: 800 1.75rem/1 var(--display); letter-spacing: -0.02em; }
.ev time span { margin-top: .35rem; font-size: .72rem; font-weight: 600; }
.ev-body h3 { margin: .4rem 0 0; }
.ev-body p { margin: .45rem 0 0; color: var(--muted); font-size: .96rem; }
.chip { display: inline-block; padding: .1rem .75rem; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: .82rem; font-weight: 600; }
.timeline { display: grid; gap: .9rem; margin: 0; }
.timeline { gap: 0; }
.timeline .ev { padding: 1.1rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.timeline .ev:first-child { border-top: 0; padding-top: .25rem; }
.past { margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.past summary { cursor: pointer; font-weight: 600; padding: .5rem 0; }
.past .timeline { margin-top: .75rem; }
.faded { opacity: .75; }

/* ---------- Đăng ký tư vấn: biển chỉ đường xanh ---------- */
.cta-sec { position: relative; overflow: hidden; padding: clamp(3.25rem, 6.5vw, 5.5rem) 0; background: var(--accent); color: #fff; }
.cta-sec::after { content: ""; position: absolute; inset: 0; background: rgb(0 90 42 / .9); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-sec::before, .page-head::before { content: ""; position: absolute; inset: clamp(8px, 1.4vw, 14px); z-index: 1; border: 2px solid rgb(255 255 255 / .7); border-radius: clamp(16px, 2.4vw, 26px); pointer-events: none; }
.cta-sec .wrap { position: relative; z-index: 2; }
.band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: 0 clamp(.75rem, 2.5vw, 2rem); }
.cta-sec .eyebrow { margin: 0 0 .7rem; font-size: 1rem; font-weight: 600; color: #fff; }
.cta-sec h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.band-lede { margin: 1rem 0 0; max-width: 40ch; font-size: 1.1rem; color: #fff; }
.band-phone { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.6rem; color: #fff; text-decoration: none; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--display); letter-spacing: -0.02em; }
.site a.band-phone { color: #fff; }
.band-phone .ic { width: 3.5rem; height: 3.5rem; padding: .95rem; border-radius: 50%; background: #fff; color: var(--accent); }
.band-phone small { display: block; font: 400 .95rem/1.3 "Site Sans", sans-serif; letter-spacing: 0; }
.form-card { padding: clamp(1.3rem, 3vw, 2.1rem); border-radius: var(--r-xl); background: var(--card); color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .55); }
.form-card.tall { box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); color: var(--head); }
.form-lede { margin: .5rem 0 1.25rem; color: var(--muted); }
.field { margin-bottom: 1rem; }
.site .field label { display: block; margin: 0 0 .4rem; color: var(--head); font-size: .93rem; font-weight: 600; }
.site .field .opt { color: var(--muted); font-weight: 400; }
.site .field input, .site .field select, .site .field textarea, .site .search-row input { display: block; width: 100%; min-height: 52px; padding: .65rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease; }
.site .field textarea { min-height: 96px; resize: vertical; }
.site .field input:focus, .site .field select:focus, .site .field textarea:focus, .site .search-row input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.site .field input[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: .9rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form-msg:empty { display: none; }
.form-msg { margin-top: 1rem; padding: .8rem 1.05rem; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: .95rem; }
.form-msg.ok { background: var(--ok-soft); color: var(--ok); }
.form-done { padding: 1rem 0; text-align: center; }
.form-done .ic { width: 4rem; height: 4rem; padding: 1rem; margin-bottom: 1rem; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 2.4; }
.form-done h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.form-done p { margin: 0; color: var(--muted); }

/* ---------- Album hoạt động ---------- */
.album { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(8.5rem, 16vw, 14rem); gap: .9rem; }
.album li { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--accent-soft); }
.album a { display: block; width: 100%; height: 100%; }
.album img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album li:hover img { transform: scale(1.04); }
.album span { position: absolute; inset: auto 0 0 0; padding: 2.8rem 1rem .85rem; background: linear-gradient(transparent, rgb(4 48 27 / .85)); color: #fff; font-weight: 600; text-align: left; line-height: 1.35; pointer-events: none; }
.album li.w2 { grid-column: span 2; }
.album li.w4 { grid-column: 1 / -1; }
.album.n1 li { grid-column: 1 / -1; grid-row: span 2; }
.album.n2 li { grid-column: span 2; grid-row: span 2; }
.album.n3 li:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.album.n3 li:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.album.n3 li:nth-child(3) { grid-column: 3 / 5; grid-row: 2; }
.album.n4 li:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.album.n4 li:nth-child(2) { grid-column: 1; grid-row: 2; }
.album.n4 li:nth-child(3) { grid-column: 2; grid-row: 2; }
.album.n4 li:nth-child(4) { grid-column: 3 / 5; grid-row: 1 / 3; }

/* ---------- Tin tức ---------- */
.newslist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.news { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: box-shadow .22s ease, border-color .22s ease; }
.news:hover { border-color: #b9d4c4; box-shadow: var(--shadow-lg); }
.news-in { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.site a.news-in { color: var(--ink); }
.news-img { margin: .6rem .6rem 0; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--accent-soft); }
.news-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news:hover .news-img img { transform: scale(1.03); }
.news-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--link); opacity: .55; }
.news-ph .ic { width: 3.5rem; height: 3.5rem; stroke-width: 1.3; }
.news-body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.4rem 1.4rem; }
.news-body time { color: var(--muted); font-size: .86rem; font-weight: 600; }
.news-body h3 { margin: .35rem 0 0; font-size: 1.15rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { margin: .6rem 0 0; color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; padding-top: 1rem; color: var(--link); font-weight: 600; font-size: .96rem; }
.news:hover .news-more { text-decoration: underline; }

/* ---------- Đội ngũ giáo viên ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 16rem)); justify-content: start; gap: 1.5rem; }
.person { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); text-align: left; }
.person .ph { margin: .6rem .6rem 0; aspect-ratio: 4 / 4.4; border-radius: var(--r-md); overflow: hidden; background: var(--accent-soft); }
.person .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person:hover .ph img { transform: scale(1.03); }
.person .ph.init { display: grid; place-items: center; background: var(--accent-soft); color: var(--link); font: 800 clamp(2.5rem, 5vw, 3.5rem)/1 var(--display); }
.person h3 { margin: 1rem 1.2rem .15rem; color: var(--head); font-size: 1.08rem; }
.person p { margin: 0 1.2rem 1.3rem; color: var(--muted); font-size: .94rem; line-height: 1.45; }

/* ---------- Đầu các trang con: dải biển chỉ đường xanh mỏng ---------- */
.page-head { position: relative; overflow: hidden; background: var(--accent); color: #fff; }
.page-head::before { inset: 6px; border-radius: 14px; border-width: 1.5px; }
.page-head .wrap { position: relative; z-index: 2; padding-top: clamp(1rem, 2vw, 1.2rem); padding-bottom: clamp(1.05rem, 2.2vw, 1.25rem); }
.head-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .05rem .6rem; }
.page-head h1 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.25; letter-spacing: -0.015em; }
.lede { margin: .3rem 0 0; max-width: 72ch; font-size: .95rem; line-height: 1.45; color: #fff; }
.crumbs { display: inline-flex; align-items: baseline; gap: .6rem; font-size: .9rem; color: #fff; }
.site .crumbs a { color: #fff; text-decoration: none; }
.site .crumbs a:hover { text-decoration: underline; }
.page-head + .sec { padding-top: clamp(1.75rem, 4vw, 2.75rem); }

/* ---------- Giới thiệu (trang riêng) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-media { position: sticky; top: calc(var(--menu-h) + 1.5rem); aspect-ratio: 1.2 / 1; border-radius: var(--r-xl); overflow: hidden; background: var(--accent-soft); box-shadow: var(--shadow); }
.about-media img, .about-media .art { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lịch và thông báo ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.two.one { grid-template-columns: minmax(0, 820px); justify-content: center; }
.x-cover { margin: 0 0 1.25rem; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--accent-soft); }
.x-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.panel { padding: clamp(1.3rem, 3vw, 2.1rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.panel h2 { margin-bottom: 1.2rem; color: var(--head); font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
.notes { margin: 0; }
.note { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.note:first-child { border-top: 0; padding-top: 0; }
.note-img { margin-bottom: .9rem; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--accent-soft); }
.note-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.note time { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.note-text p { margin: .45rem 0 0; color: var(--muted); }

/* ---------- Liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-grid.single { grid-template-columns: minmax(0, 40rem); }
.infos { display: grid; gap: .9rem; }
.info { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.ico { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--link); }
.ico .ic { width: 1.5rem; height: 1.5rem; }
.info h3 { margin-bottom: .25rem; color: var(--muted); font: 600 .88rem/1.3 "Site Sans", sans-serif; letter-spacing: 0; }
.info p { margin: 0 0 .15rem; color: var(--head); font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* ---------- Tra cứu ---------- */
.lookup-sec { background: var(--tint); }
.lookup-card { max-width: 44rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-lg); }
.site .lookup-card label { display: block; margin: 0 0 .6rem; color: var(--head); font-weight: 600; }
.site .lookup-card input[type="text"], .site .lookup-card input:not([type]) { width: 100%; min-height: 58px; margin: 0 0 1.1rem; font-size: 1.25rem; letter-spacing: .06em; }
.seg { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.4rem; padding: 0; border: 0; }
.seg legend { margin: 0 0 .6rem; padding: 0; color: var(--head); font-weight: 600; }
.seg-opt { position: relative; flex: 1 1 14rem; margin: 0 !important; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-opt span { display: block; padding: .95rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--card); color: var(--head); text-align: center; font-weight: 600; transition: border-color .15s, background-color .15s, color .15s; }
.seg-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--link); box-shadow: inset 0 0 0 1px var(--accent); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 2px; }
.cap-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 .75rem; }
.cap-img { display: block; width: 210px; max-width: 100%; height: auto; aspect-ratio: 3 / 1; border: 1px solid var(--line); border-radius: var(--r-sm); background: #f3f6f4; }
.cap-hint { margin: -.4rem 0 1.25rem; color: var(--muted); font-size: .92rem; }
.lookup-go { min-height: 58px; padding: 0 2.2rem; }
.site .search-row { display: flex; gap: .75rem; }
.site .search-row input { min-height: 58px; font-size: 1.25rem; letter-spacing: .06em; }
.site .search-row .cta { flex: none; min-height: 58px; padding: 0 1.8rem; }
.site .notice { margin: 1.25rem 0 0; padding: .9rem 1.2rem; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--ink); }
.site .notice.error { background: var(--danger-soft); color: var(--danger); }
.site .result { margin-top: 1.25rem; padding: clamp(1.1rem, 3vw, 1.6rem); border: 0; border-radius: var(--r-lg); background: var(--tint); }
.site .result .name { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--display); letter-spacing: -0.02em; color: var(--head); }
.site .result .res-cccd { margin: .35rem 0 0; color: var(--muted); font-weight: 600; }
.site .result .res-none { margin: 1rem 0 0; }
.res-group { margin-top: 1.25rem; padding: 1.1rem 1.15rem; border-radius: var(--r-md); background: var(--card); }
.res-group h3 { margin: 0 0 .75rem; color: var(--head); font: 700 1.08rem/1.3 var(--display); }
.res-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.res-item { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; padding: .65rem .85rem; border-left: 4px solid var(--line); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--tint); }
.res-item.dat { border-left-color: #1b7a3a; }
.res-item.rot { border-left-color: #b42318; }
.res-no { min-width: 3.4rem; color: var(--head); font-weight: 700; }
.res-badge { padding: .12rem .7rem; border-radius: 999px; font-size: .92rem; font-weight: 600; background: var(--line); color: var(--ink); }
.res-badge.ok { background: #dff3e6; color: #14602d; }
.res-badge.bad { background: #fde7e4; color: #9a1f15; }
.res-note { color: var(--ink); }
.res-date { margin-left: auto; color: var(--muted); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .res-date { margin-left: 0; width: 100%; } }
.site .result dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.1rem 0 0; }
.site .result dl > div { padding: .9rem 1.05rem; border-radius: var(--r-md); background: var(--card); }
.site .result dt { margin: 0; color: var(--muted); font-size: .84rem; }
.site .result dd { margin: .2rem 0 0; color: var(--head); font: 700 1.15rem/1.3 var(--display); }

/* ---------- Chân trang ---------- */
.site-foot { background: var(--deep); color: #d3e6da; font-size: .97rem; line-height: 1.7; }
.site-foot .wrap { padding-top: clamp(2.75rem, 6vw, 4.25rem); padding-bottom: 2rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.25rem clamp(1.5rem, 4vw, 3.5rem); }
.site-foot h3 { margin-bottom: 1.1rem; color: #fff; font: 700 1.1rem/1.3 var(--display); letter-spacing: -0.01em; }
.foot-info p { margin: 0 0 .6rem; }
.foot-info b { color: #fff; font-weight: 600; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: grid; gap: .6rem; }
.foot-links li { position: relative; padding-left: 1.4rem; }
.foot-links li::before { content: ""; position: absolute; left: 0; top: .82em; width: 10px; height: 3px; border-radius: 2px; background: var(--lane); }
.foot-social { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .75rem; margin: 2.25rem 0 0; }
.foot-social .cta { min-height: 44px; background: transparent; border-color: rgb(255 255 255 / .4); color: #fff; }
.site a.foot-social .cta, .site .foot-social a.cta { color: #fff; }
.foot-social .cta:hover { background: rgb(255 255 255 / .12); border-color: #fff; box-shadow: none; }
.foot-bottom { background: var(--deeper); color: #b8d0c1; font-size: .9rem; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.foot-bottom strong { color: #fff; font-weight: 600; }
.site-foot .foot-bottom a { color: inherit; }
.site-foot .foot-bottom a:hover { color: #fff; }

/* ---------- Nút liên hệ nổi ---------- */
.fabs { position: fixed; right: .9rem; bottom: 1.1rem; z-index: 48; display: flex; flex-direction: column; gap: .6rem; }
.fab { --c: var(--accent); position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 10px 22px -8px rgb(6 59 34 / .55), 0 0 0 3px rgb(255 255 255 / .92); text-decoration: none; transition: transform .18s ease; }
.site a.fab { color: #fff; }
.fab:hover { transform: scale(1.08); }
.fab .ic { width: 24px; height: 24px; }
.fab.f-reg { --c: var(--deep); }
.fab.f-tel { --c: #00853f; }
.fab.f-zalo { --c: #0068ff; }
.fab.f-fb { --c: #1877f2; }
.fab.f-map { --c: #d93025; }
.fab-tip { position: absolute; right: calc(100% + .7rem); top: 50%; padding: .35rem .8rem; border-radius: 8px; background: var(--deep); color: #fff; font-size: .86rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(6px, -50%); transition: opacity .15s ease, transform .15s ease; }
.fab:hover .fab-tip, .fab:focus-visible .fab-tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Hiệu ứng xuất hiện khi cuộn (nhẹ) ---------- */
.reveal-pre { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal-pre.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-pre { opacity: 1; transform: none; transition: none; }
  .site *, .site *::before, .site *::after { transition-duration: .01ms !important; }
}

/* ---------- Hình minh họa tự vẽ ---------- */
.art { display: block; width: 100%; height: 100%; }
.art {
  --art-grass: #dcebd9; --art-grass2: #cfe3cb; --art-tree: #4d9660; --art-tree2: #5fae73; --art-tree3: #86c997;
  --art-road: #323a43; --art-roadline: #3a434d; --art-kerb: #ecebe6; --art-lane: #f2b705; --art-line: #f4f4f0;
  --art-cone: #f06a2a; --art-cone-ring: #fff7ee; --art-car: var(--accent, #00853f); --art-car-alt: #e9edf1;
  --art-glass: #26323d; --art-roof: rgba(255, 255, 255, .28); --art-sign: #ffffff;
  --art-sky: #e3effa; --art-cloud: #ffffff; --art-pole: #8b96a1;
  --art-red: #d5322c; --art-yellow: #f7c51b; --art-blue: #1f6fc7; --art-ink: #1b232b;
}
.a-grass { fill: var(--art-grass); } .a-grass2 { fill: var(--art-grass2); }
.a-road { fill: var(--art-road); } .a-roadline { stroke: var(--art-roadline); } .a-kerb { stroke: var(--art-kerb); fill: var(--art-kerb); }
.art-yard .a-kerb { fill: none; }
.a-dash { stroke: var(--art-lane); } .a-line { stroke: var(--art-line); stroke-width: 3; stroke-linecap: round; fill: none; }
.a-shadow { fill: #000; opacity: .16; }
.a-tree { fill: var(--art-tree); } .a-tree2 { fill: var(--art-tree2); } .a-tree3 { fill: var(--art-tree3); }
.a-cone { fill: var(--art-cone); } .a-cone-ring { fill: var(--art-cone-ring); }
.a-car { fill: var(--art-car); } .a-car-alt { fill: var(--art-car-alt); }
.a-glass { fill: var(--art-glass); } .a-roof { fill: var(--art-roof); } .a-sign { fill: var(--art-sign); opacity: .95; }
.a-lamp { fill: #ffe9a6; } .a-tail { fill: #e5372f; }
.a-sky { fill: var(--art-sky); } .a-cloud { fill: var(--art-cloud); opacity: .85; } .a-pole { fill: var(--art-pole); }
.a-wheel { fill: #1d242b; } .a-hub { fill: #c9d1d9; } .a-wheel-s { stroke: #1d242b; } .a-frame { fill: #3a4550; stroke: #3a4550; } .a-seat { fill: #1d242b; } .a-box { fill: var(--art-car-alt); }
.a-frame[fill="none"] { fill: none; }
.a-s-warn { fill: var(--art-yellow); stroke: var(--art-red); }
.a-s-ban { fill: #fff; stroke: var(--art-red); } .a-s-ink { fill: var(--art-ink); }
.a-s-text { fill: #1b232b; font-family: var(--display); font-weight: 800; }
.a-s-textw { fill: #fff; font-family: var(--display); font-weight: 800; }
.a-s-blue { fill: var(--art-blue); } .a-s-white { fill: #fff; } .a-s-edge { stroke: #fff; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1100px) {
  .head-in { flex-wrap: wrap; min-height: 0; }
  .menu-btn { display: grid; }
  .brand-link { flex: 1; max-width: none; }
  .brand-link .logo { height: 48px; max-width: 150px; }
  .head-tools { flex: 1 1 100%; flex-direction: column-reverse; align-items: stretch; }
  .head-btns .cta { flex: 1; }
  .menu-bar { display: none; position: static; background: var(--tint); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle:checked ~ .menu-bar { display: block; }
  .menu { flex-direction: column; align-items: stretch; justify-content: flex-start; flex-wrap: nowrap; gap: 0; padding: 0 0 .5rem; }
  .menu > li { display: block; border-top: 1px solid var(--line); }
  .menu > li:first-child { border-top: 0; }
  .menu > li > a, .menu > li > .m-lbl { min-height: 2.9rem; padding: 0 .25rem; border-radius: 0; }
  .menu > li > a:hover, .menu > li:focus-within > a, .menu > li > a[aria-current="page"] { background: transparent; }
  .menu > li > a .ic, .menu > li > .m-lbl .ic { display: none; }
  .m-home > a { padding: 0 .25rem; gap: .7rem; }
  .menu > .m-home > a .ic { display: block; width: 2rem; height: 2rem; padding: .4rem; }
  .m-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .sub, .menu > li:last-child .sub, .menu > li:nth-last-child(2) .sub { position: static; left: auto; right: auto; min-width: 0; max-width: none; padding: 0 0 .5rem 1rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .sub::before { display: none; }
  .sub li { margin: 0; }
  .sub a { padding: .4rem .5rem; color: var(--muted); }
  .crit, .crit.n3, .crit.n5, .crit.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classes, .newslist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .intro { display: block; }
  .intro-media { aspect-ratio: 1.6 / 1; }
  .intro-card { width: calc(100% - 2rem); margin: -3rem auto 0; }
  .band-in, .contact-grid, .req, .two, .about { grid-template-columns: 1fr; }
  .contact-grid.single { grid-template-columns: 1fr; }
  .about-media { position: static; order: -1; aspect-ratio: 1.6 / 1; }
  .stats-in, .stats-in.n3, .stats-in.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .stats-in.n1 { grid-template-columns: 1fr; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .site .result dl { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .album, .album.n1, .album.n2, .album.n3, .album.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.5rem; }
  .album li, .album li.w2, .album li.w4, .album.n1 li, .album.n2 li, .album.n3 li:nth-child(n), .album.n4 li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .album li:first-child, .album.n3 li:nth-child(1), .album.n4 li:nth-child(1), .album.n4 li:nth-child(4) { grid-column: 1 / -1; }
  .album li:first-child, .album.n4 li:nth-child(4) { grid-row: span 2; }
  .classes, .newslist { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site { font-size: 1rem; }
  .brand-link { font-size: 1rem; }
  .brand-link .logo { height: 42px; max-width: 120px; }
  .page-head .wrap { padding-left: calc(var(--gutter) + 10px); padding-right: calc(var(--gutter) + 10px); }
  .head-btns .cta { padding: 0 .7rem; font-size: .92rem; white-space: nowrap; }
  .head-btns .cta .ic { display: none; }
  .crit, .crit.n2, .crit.n3, .crit.n5, .crit.n6 { grid-template-columns: 1fr; }
  .arrow { width: 40px; height: 40px; margin-top: -20px; }
  .slide-cap { bottom: 3.4rem; font-size: .9rem; }
  .site .search-row { flex-direction: column; }
  .site .search-row .cta { width: 100%; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
  .ev { grid-template-columns: 3.8rem minmax(0, 1fr); gap: .8rem; }
  .ev time { height: 4.2rem; }
  .has-fabs { padding-bottom: 4.6rem; }
  .fabs { left: 0; right: 0; bottom: 0; flex-direction: row; justify-content: space-evenly; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 18px -12px rgb(6 59 34 / .4); }
  .fab { width: 44px; height: 44px; box-shadow: none; }
  .fab .ic { width: 22px; height: 22px; }
  .fab-tip { display: none; }
  .foot-bottom .wrap { flex-direction: column; }
}

/* ---------- Trang liệt kê bài viết: thẻ ảnh đại diện + tiêu đề ---------- */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.art-card { display: flex; }
.art-in { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--ink); text-decoration: none; transition: box-shadow .22s ease, border-color .22s ease; }
.art-in:hover { border-color: #b9d4c4; box-shadow: var(--shadow-lg); }
.art-img { position: relative; margin: .6rem .6rem 0; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--accent-soft); }
.art-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--link); }
.art-ph .ic { width: 3rem; height: 3rem; opacity: .6; }
.art-body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1rem 1.25rem 1.25rem; }
.art-body h3 { margin: 0; color: var(--head); font: 700 1.12rem/1.35 var(--display); letter-spacing: -0.015em; }
.art-date { color: var(--muted); font-size: .86rem; line-height: 1; }
.art-date + h3 { margin-top: -.25rem; }
.art-more { margin-top: auto; color: var(--link); font-weight: 600; font-size: .96rem; }
.art-in:hover .art-more { text-decoration: underline; }

/* Chữ màu chọn sẵn trong bài viết: website chỉ có giao diện sáng nên giữ bảng màu đậm, không đổi theo chế độ tối của máy khách */
.site .rich .tc-1 { color: #b42318; }
.site .rich .tc-2 { color: #b54708; }
.site .rich .tc-3 { color: #1b7a3a; }
.site .rich .tc-4 { color: #0b5cad; }
.site .rich .tc-5 { color: #6941c6; }
.site .rich .tc-6 { color: #5d6b7a; }
.site .rich .tc-7 { color: var(--link); }

/* ---------- Trang một bài viết: khung đọc hẹp hơn, chữ gọn; gợi ý bài viết khác ở cuối ---------- */
.sec.art-sec { padding: clamp(1rem, 2.2vw, 1.5rem) 0 clamp(2rem, 4.5vw, 3.25rem); }
.wrap.read { max-width: 900px; }
.panel.article { padding: clamp(1.1rem, 2.6vw, 1.8rem) clamp(1.1rem, 3vw, 2.1rem); border-radius: var(--r-lg); }

/* Thẻ đường dẫn ở đầu bài: biểu tượng nhà + tên mục, cạnh phải vát chéo, đường kẻ chạy hết khung đọc */
.trail-tab { display: flex; margin-bottom: clamp(.9rem, 2vw, 1.25rem); border-bottom: 1px solid var(--line); }
.trail-label { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; max-width: 100%; padding: .65rem 2.6rem .65rem 1.05rem; background: var(--accent-soft); border-top: 3px solid var(--accent); border-radius: 10px 0 0 0; clip-path: polygon(0 0, calc(100% - 1.4rem) 0, 100% 100%, 0 100%); color: var(--deep); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.site .trail-label a { color: inherit; text-decoration: none; }
.site .trail-label a:hover { text-decoration: underline; text-underline-offset: 3px; }
.trail-home { display: inline-flex; flex: none; }
.trail-home .ic { width: 1.25rem; height: 1.25rem; }

/* Tiêu đề, ngày đăng và công cụ nằm trong khung bài */
.post-head { margin-bottom: 1.15rem; }
.site .article .post-head h1 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.32; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.post-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .85rem; color: var(--muted); font-size: .92rem; }
.post-date { display: inline-flex; align-items: center; gap: .4rem; }
.post-date .ic { width: 1.05rem; height: 1.05rem; }
.post-tools { display: inline-flex; align-items: center; gap: .2rem; margin-left: auto; }
.tool-msg { margin-right: .5rem; color: var(--ok); font-size: .88rem; font-weight: 600; }
.tool-msg:empty { display: none; }
.site .tool-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--head); cursor: pointer; text-decoration: none; }
.site .tool-btn .ic { width: 1.4rem; height: 1.4rem; }
.site .tool-btn:hover { background: var(--accent-soft); color: var(--deep); }
.copy-tmp { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; }
@media (pointer: coarse) { .site .tool-btn { width: 2.75rem; height: 2.75rem; } }
.article .rich { font-size: 1rem; line-height: 1.72; }
.article .rich h2 { font-size: 1.35rem; margin-top: 1.5rem; }
.article .rich h3 { font-size: 1.15rem; }
.article .rich h4 { font-size: 1.02rem; }
.back-row { margin: 1.1rem 0 0; }
.site .back-link { color: var(--link); font-weight: 600; text-decoration: none; }
.site .back-link:hover { text-decoration: underline; }
/* Bài viết khác: danh sách dòng chữ, không ảnh. Mọi dòng cùng một cỡ chữ; ngày đăng nằm dòng riêng bên dưới tiêu đề */
.panel.more-posts { margin-top: 1rem; padding: clamp(1.1rem, 2.6vw, 1.5rem) clamp(1.1rem, 3vw, 2.1rem); border-radius: var(--r-lg); }
.more-posts h2 { margin: 0 0 .6rem; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }
.more-posts h3 { margin: 1.1rem 0 .1rem; color: var(--muted); font-family: inherit; font-size: .85rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.more-posts h2 + h3 { margin-top: .3rem; }
.more-list li { padding: .7rem 0; border-top: 1px solid var(--line); }
.more-list li:first-child { border-top: 0; }
.site .more-list a { display: block; color: var(--head); font-size: .96rem; font-weight: 600; line-height: 1.4; text-decoration: none; text-wrap: pretty; overflow-wrap: anywhere; }
.site .more-list a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.more-list time { display: block; margin-top: .2rem; color: var(--muted); font-size: .82rem; line-height: 1.3; }

/* Phân trang danh sách bài viết */
.list-count { margin: 0 0 1.25rem; color: var(--muted); font-size: .95rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin: clamp(1.75rem, 4vw, 2.5rem) 0 0; }
.site .pg { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--head); font-weight: 600; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.site a.pg:hover { border-color: var(--accent); background: var(--accent-soft); }
.site .pg.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.site .pg.wide { padding: 0 1rem; }
.pg-gap { padding: 0 .2rem; color: var(--muted); }

/* ---------- Tin nổi bật ở trang chủ: một bài lớn bên trái, các bài nhỏ bên phải ---------- */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sec.feat-sec { padding: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(1.25rem, 3vw, 2rem); }
.feat { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.feat-bar { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .7rem clamp(1rem, 2.4vw, 1.5rem); background: var(--accent); color: var(--accent-ink); font-size: 1.1rem; line-height: 1.3; letter-spacing: -0.01em; }
.site .feat-bar { color: var(--accent-ink); }
.feat-bar::before { content: ""; flex: none; width: 1.6rem; height: 4px; border-radius: 2px; background: var(--lane); }
.feat-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1rem, 2.6vw, 1.75rem); padding: clamp(1rem, 2.4vw, 1.5rem); }
.feat.solo .feat-in { grid-template-columns: minmax(0, 1fr); }
.feat-main, .feat-list a { color: inherit; text-decoration: none; }
.site .feat-main, .site .feat-list a { color: inherit; }
.feat-main { display: flex; flex-direction: column; gap: .85rem; }
.feat-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: var(--accent-soft); }
.feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat-body h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; }
.feat-body p { margin: .5rem 0 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat-main:hover h3, .feat-list a:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.feat-date { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .86rem; line-height: 1.2; }
.feat-list { display: flex; flex-direction: column; }
.feat-list li + li { border-top: 1px solid var(--line); }
.feat-list li:first-child a { padding-top: 0; }
.feat-list li:last-child a { padding-bottom: 0; }
.feat-list a { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: .9rem; align-items: start; padding: .85rem 0; }
.feat-txt strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--head); font-weight: 600; line-height: 1.4; }
.feat-th { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-sm); background: var(--accent-soft); }
.feat-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat-th .art-ph .ic { width: 1.6rem; height: 1.6rem; }
@media (max-width: 860px) { .feat-in { grid-template-columns: minmax(0, 1fr); } .feat-list li:first-child a { padding-top: .85rem; } .feat-list li:last-child a { padding-bottom: .1rem; } }

/* ---------- In bài viết: chỉ in khung bài ---------- */
@media print {
  :root:has(.site) { background: #fff; }
  .site { max-width: none; box-shadow: none; }
  .skip, .site-head, .menu-bar, .site-foot, .fabs, .cta-sec, .trail-tab, .post-tools, .more-posts, .back-row { display: none !important; }
  .sec.art-sec { padding: 0; }
  .panel.article { padding: 0; border: 0; box-shadow: none; }
  .reveal-pre { opacity: 1 !important; transform: none !important; }
  .site .article .post-head h1 { font-size: 1.6rem; }
}

/* Lời nhắc quyền riêng tư dưới khung tra cứu */
.privacy-note { margin: 1rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ---------- Máy tính: giao diện gọn hơn để nhìn bao quát được nhiều nội dung trên một màn hình ----------
   Chỉ áp dụng khi màn hình rộng từ 900px trở lên; điện thoại và máy tính bảng giữ nguyên cỡ chữ và khoảng cách.
   Cỡ chữ gốc 15px (thay vì 16px), khung trang hẹp hơn, khoảng cách giữa các khối và cỡ tiêu đề nhỏ lại, ảnh bìa thấp hơn. */
@media screen and (min-width: 900px) {
  :root:has(.site) { font-size: 15px; }
  .site { --box: 1100px; --wrap: 1100px; --menu-h: 3rem; --r-xl: 24px; --r-lg: 18px; --r-md: 14px; line-height: 1.6; }

  .site h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
  .site h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
  .site h3 { font-size: 1.08rem; }

  /* Đầu trang và menu */
  .head-in { min-height: 68px; padding-top: .45rem; padding-bottom: .45rem; }
  .brand-link .logo { height: 48px; }
  .cta { min-height: 42px; padding: 0 1.25rem; }
  .cta.sm { min-height: 38px; }
  .menu { padding: .2rem 0; }
  .menu > li > a, .menu > li > .m-lbl { min-height: 38px; padding: 0 .9rem; }
  .menu > .m-home > a .ic { width: 2.1rem; height: 2.1rem; padding: .5rem; }

  /* Ảnh bìa: thấp hơn một chút để thấy luôn khối bên dưới */
  .slides > .slide:first-child > img, .slides > .slide:first-child > .art { max-height: 66vh; }

  /* Khoảng cách giữa các khối */
  .sec { padding: clamp(2.25rem, 4.2vw, 3.25rem) 0; }
  .sec-title { margin-bottom: clamp(1.25rem, 2.6vw, 1.75rem); }
  .sec-title p { margin-top: .6rem; font-size: 1rem; }
  .more-row { margin-top: clamp(1.25rem, 2.6vw, 1.75rem); }
  .criteria { padding: clamp(1.75rem, 3.6vw, 2.75rem) 0; }
  .criteria .sec-title { margin-bottom: 1.5rem; }
  .crit { gap: 1.5rem 1.5rem; }
  .crit-ico { width: 3rem; height: 3rem; margin-bottom: .8rem; }
  .crit-ico .ic { width: 1.6rem; height: 1.6rem; }
  .stats-in { padding: clamp(1.4rem, 3vw, 2.1rem) 0; }
  .figure b { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
  .cta-sec { padding: clamp(2.25rem, 4.2vw, 3.25rem) 0; }
  .cta-sec h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  .band-phone { margin-top: 1.1rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
  .site-foot .wrap { padding-top: clamp(1.75rem, 3.6vw, 2.5rem); padding-bottom: 1.5rem; }

  /* Thẻ và ảnh trong các khối */
  .classes, .newslist, .team { gap: 1.2rem; }
  .class-media, .news-img { aspect-ratio: 16 / 9; }
  .class-body { padding: 1rem 1.2rem 1.25rem; }
  .news-body { padding: .9rem 1.2rem 1.2rem; }
  .team { grid-template-columns: repeat(auto-fit, minmax(11.5rem, 14rem)); }
  .person .ph { aspect-ratio: 4 / 3.4; }
  .album { grid-auto-rows: clamp(7rem, 12vw, 10.5rem); gap: .75rem; }
  .feat-img { aspect-ratio: 16 / 9; }
  .feat-in { gap: clamp(.9rem, 2.2vw, 1.4rem); padding: clamp(.9rem, 2.2vw, 1.25rem); }
  .sec.feat-sec { padding: clamp(1.25rem, 2.8vw, 2rem) 0 clamp(1rem, 2.4vw, 1.5rem); }

  /* Trang bài viết */
  .wrap.read { max-width: 840px; }
}
