:root {
  --font: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --navy-950: #061a33;
  --navy-900: #082b55;
  --navy-800: #0c3d72;
  --blue-600: #1769aa;
  --blue-100: #e9f3fc;
  --red-700: #a91f2b;
  --red-600: #bd2b36;
  --gold-500: #dca72f;
  --ink: #182536;
  --muted: #617084;
  --line: #dfe7f0;
  --surface: #f4f7fb;
  --white: #fff;
  --success: #187448;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(8, 43, 85, .07);
  --shadow-md: 0 18px 55px rgba(8, 43, 85, .12);
  --content: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  width: 100%; max-width: 100%; min-width: 0; margin: 0; overflow-x: hidden;
  color: var(--ink); background: var(--white); font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
main, section, header, footer, nav { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, video, iframe, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--navy-900); font-weight: 800; transform: translateY(-150%); box-shadow: var(--shadow-md); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(220,167,47,.8); outline-offset: 3px; }

/* Header */
.topbar { color: #dce8f6; background: var(--navy-950); font-size: .78rem; }
.topbar-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 22px; }
.authority { display: flex; min-width: 0; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .025em; }
.authority-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(220,167,47,.13); }
.topbar-links { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; }
.topbar-links a { color: #fff; font-weight: 700; }
.topbar-links a:hover { text-decoration: underline; }
.topbar-separator { width: 1px; height: 13px; background: rgba(255,255,255,.25); }
.site-header { position: relative; z-index: 30; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 var(--line); }
.brand-row { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; min-width: 0; align-items: center; gap: 16px; }
.brand-logo, .logo-mark { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 50%; }
.brand-logo { display: grid; place-items: center; padding: 3px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.logo-mark { position: relative; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,var(--navy-900),var(--blue-600)); border: 4px solid #fff; box-shadow: 0 0 0 1px #cbd9e8,var(--shadow-sm); }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; }
.logo-mark span { position: relative; z-index: 1; font-size: 1.12rem; font-weight: 800; letter-spacing: -.06em; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; }
.brand-overline { margin-bottom: 3px; color: var(--blue-600); font-size: .69rem; font-weight: 800; letter-spacing: .14em; }
.brand-name { color: var(--navy-900); font-size: clamp(1.22rem,2.1vw,1.7rem); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; text-transform: uppercase; }
.brand-tagline { margin-top: 6px; color: var(--red-700); font-size: .76rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.contact-chip { display: flex; align-items: center; gap: 11px; margin-right: 4px; padding-right: 18px; border-right: 1px solid var(--line); }
.contact-chip > span:last-child { display: flex; flex-direction: column; }
.contact-chip small { color: var(--muted); font-size: .7rem; }
.contact-chip strong { color: var(--navy-900); font-size: .86rem; }
.contact-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--blue-600); background: var(--blue-100); font-size: 1.05rem; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--navy-900); background: #fff; cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: #b6cae0; background: var(--blue-100); }
.search-toggle svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-toggle { display: none; align-content: center; gap: 4px; }
.menu-toggle span { width: 20px; height: 2px; border-radius: 5px; background: currentColor; transition: .2s ease; }
.search-box { display: grid; grid-template-rows: 0fr; overflow: hidden; background: var(--surface); border-top: 1px solid transparent; transition: grid-template-rows .25s ease,border-color .25s ease; }
.search-box > form { min-height: 0; visibility: hidden; display: flex; gap: 10px; padding-block: 0; transition: padding .25s ease,visibility .25s ease; }
.search-box.show { grid-template-rows: 1fr; border-top-color: var(--line); }
.search-box.show > form { visibility: visible; padding-block: 14px; }
.search-box input { min-width: 0; flex: 1; padding: 12px 15px; border: 1px solid #c8d5e4; border-radius: 11px; background: #fff; color: var(--ink); }
.search-box button { padding: 0 22px; border: 0; border-radius: 11px; color: #fff; background: var(--navy-900); font-weight: 800; cursor: pointer; }
.main-nav { color: #fff; background: linear-gradient(90deg,var(--navy-950),var(--navy-900) 58%,var(--navy-800)); }
.nav-inner > ul { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; min-width: 0; }
.main-nav > .nav-inner > ul > li > a { display: flex; min-height: 52px; align-items: center; gap: 6px; padding: 0 13px; border-bottom: 3px solid transparent; font-size: .79rem; font-weight: 700; white-space: nowrap; transition: .18s ease; }
.main-nav > .nav-inner > ul > li > a:hover, .main-nav > .nav-inner > ul > li > a.active { background: rgba(255,255,255,.085); border-bottom-color: var(--gold-500); }
.chev { width: 0; height: 0; flex: 0 0 auto; margin: 2px 0 0 2px; border-right: 4px solid transparent; border-left: 4px solid transparent; border-top: 5px solid currentColor; color: #c7d6e8; }
.submenu { position: absolute; top: 100%; left: 0; z-index: 20; display: none !important; width: max-content; min-width: 230px; max-width: 320px; margin: 0; padding: 8px !important; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; color: var(--ink); background: #fff !important; box-shadow: var(--shadow-md); list-style: none; }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .84rem; }
.submenu a:hover { color: var(--blue-600); background: var(--surface); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block !important; }
.mobile-nav-head, .nav-backdrop { display: none; }

/* Hero slider */
.hero { background: #eaf1f8; }
.school-slider { position: relative; min-height: 590px; overflow: hidden; color: #fff; background: var(--navy-900); isolation: isolate; touch-action: pan-y pinch-zoom; }
.school-slider .slide { position: absolute; inset: 0; display: block; min-height: 590px; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; background-position: center; background-size: cover; transform: scale(1.018); transition: opacity .65s ease,visibility .65s ease,transform 6.5s ease; }
.school-slider .slide::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 82% 22%,rgba(255,255,255,.12) 0 2px,transparent 2.5px),radial-gradient(circle at 74% 72%,rgba(255,255,255,.07) 0 1px,transparent 1.5px); background-size: 42px 42px,58px 58px; opacity: .55; }
.school-slider .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 62%,rgba(4,22,44,.25)); }
.school-slider .slide.active { z-index: 1; visibility: visible; opacity: 1; pointer-events: auto; transform: scale(1); }
.default-slide-1 { background: radial-gradient(circle at 86% 18%,rgba(74,164,224,.32),transparent 27%),linear-gradient(120deg,#061f3c,#0b4076 56%,#126e9f); }
.default-slide-2 { background: radial-gradient(circle at 82% 24%,rgba(235,189,87,.22),transparent 26%),linear-gradient(120deg,#072846,#15568c 54%,#167d9a); }
.default-slide-3 { background: radial-gradient(circle at 82% 24%,rgba(230,147,162,.24),transparent 27%),linear-gradient(120deg,#102f55,#334d79 54%,#753d59); }
.slide-layout { position: relative; z-index: 2; display: grid; min-height: 590px; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); align-items: center; gap: 64px; padding-block: 58px 78px; }
.slide-content { min-width: 0; max-width: 830px; opacity: .25; transform: translateY(12px); transition: opacity .6s ease .08s,transform .6s ease .08s; }
.slide.active .slide-content { opacity: 1; transform: none; }
.hero-kicker, .section-kicker { font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff1c5; background: rgba(255,255,255,.1); }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.slide-content h1 { max-width: 820px; margin: 18px 0; font-size: clamp(2.55rem,4.2vw,3.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.05em; text-wrap: balance; }
.slide-content p { max-width: 720px; margin: 0; color: #e3edf8; font-size: 1.04rem; line-height: 1.75; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; line-height: 1.25; cursor: pointer; transition: transform .18s ease,box-shadow .18s ease,background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg,var(--red-600),var(--red-700)); box-shadow: 0 12px 24px rgba(169,31,43,.2); }
.btn-light { color: var(--navy-900); background: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.1); }
.hero-mini-stats { display: grid; max-width: 620px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 28px; }
.hero-mini-stats div { min-width: 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(3,25,49,.24); backdrop-filter: blur(7px); }
.hero-mini-stats strong { display: block; color: #fff; font-size: 1.42rem; font-weight: 800; line-height: 1.15; }
.hero-mini-stats span { color: #d9e6f4; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.slide-side-card { position: relative; min-width: 0; padding: 29px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); background: linear-gradient(150deg,rgba(255,255,255,.15),rgba(255,255,255,.065)); box-shadow: 0 28px 75px rgba(0,0,0,.2); backdrop-filter: blur(12px); opacity: .2; transform: translateX(16px); transition: opacity .65s ease .18s,transform .65s ease .18s; }
.slide.active .slide-side-card { opacity: 1; transform: none; }
.slide-side-card::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.075); border-radius: 17px; pointer-events: none; }
.slide-side-label { display: inline-flex; align-items: center; gap: 8px; color: #ffeab1; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.slide-side-label::before { content: ""; width: 22px; height: 2px; border-radius: 3px; background: #ffeab1; }
.slide-side-card h3 { margin: 15px 0 11px; color: #fff; font-size: 1.58rem; font-weight: 800; line-height: 1.38; letter-spacing: -.035em; }
.slide-side-card p { margin: 0; color: #e2ecf7; font-size: .86rem; line-height: 1.72; }
.slide-side-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.slide-side-pills span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.075); font-size: .68rem; font-weight: 700; }
.education-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.12); }
.education-icon .ui-icon { width: 28px; height: 28px; }
.slider-arrow { position: absolute; top: 50%; z-index: 6; display: grid; width: 48px; height: 48px; place-items: center; margin-top: -24px; padding: 0 0 4px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(3,25,48,.42); font-size: 2rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: .18s ease; }
.slider-arrow:hover { color: var(--navy-900); background: #fff; transform: scale(1.04); }
.slider-prev { left: max(14px,calc((100vw - 1340px)/2)); }
.slider-next { right: max(14px,calc((100vw - 1340px)/2)); }
.slider-toolbar { position: absolute; bottom: 21px; left: 50%; z-index: 7; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 120px); padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(3,24,47,.42); transform: translateX(-50%); backdrop-filter: blur(8px); }
.slider-dots { display: flex; gap: 7px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.48); cursor: pointer; transition: width .22s ease,background .22s ease; }
.slider-dots button.active { width: 27px; background: #fff; }
.slider-pause { display: grid; width: 29px; height: 29px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: .68rem; font-weight: 800; cursor: pointer; }
.slider-pause:hover, .slider-pause.is-paused { color: var(--navy-900); background: #fff; }
.slider-progress { position: absolute; right: 0; bottom: 0; left: 0; z-index: 7; height: 3px; background: rgba(255,255,255,.1); }
.slider-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--gold-500),#fff); }
@keyframes schoolSliderProgress { from { width: 0; } to { width: 100%; } }

/* Shared content */
.section { padding: 74px 0; }
.section-soft { background: var(--surface); }
.section-navy { color: #fff; background: radial-gradient(circle at 12% 15%,rgba(31,111,174,.32),transparent 25%),linear-gradient(135deg,var(--navy-950),var(--navy-900)); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.section-head.compact { margin-bottom: 18px; }
.section-head.left { justify-content: flex-start; }
.section-kicker { color: var(--red-700); }
.section-head h2 { margin: 5px 0 0; color: var(--navy-900); font-size: clamp(1.7rem,2.7vw,2.12rem); font-weight: 800; line-height: 1.22; letter-spacing: -.04em; text-wrap: balance; }
.section-head > a { flex: 0 0 auto; color: var(--blue-600); font-size: .82rem; font-weight: 800; }
.section-head > a:hover { text-decoration: underline; }
.section-desc { max-width: 760px; color: var(--muted); font-size: 1rem; }
.ui-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.empty-state { grid-column: 1/-1; padding: 30px; border: 1px dashed #bdcada; border-radius: var(--radius-md); color: var(--muted); background: #fff; text-align: center; }
.span-all { grid-column: 1/-1; }

/* Quick links */
.quick-links { position: relative; z-index: 5; margin-top: -32px; }
.quick-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: hidden; border: 1px solid rgba(210,222,235,.92); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.quick-grid > a { display: flex; min-width: 0; min-height: 102px; align-items: center; gap: 12px; padding: 18px 16px; border-right: 1px solid var(--line); transition: background .18s ease,transform .18s ease; }
.quick-grid > a:last-child { border-right: 0; }
.quick-grid > a:hover { background: #f6faff; }
.quick-grid > a > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.quick-icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 13px; color: var(--blue-600); background: var(--blue-100); }
.quick-grid a:nth-child(2) .quick-icon, .quick-grid a:nth-child(5) .quick-icon { color: var(--red-700); background: #fbecee; }
.quick-grid b { color: var(--navy-900); font-size: .88rem; font-weight: 800; }
.quick-grid small { margin-top: 2px; color: var(--muted); font-size: .68rem; line-height: 1.4; }

/* School identity */
.intro-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(310px,.7fr); gap: 46px; align-items: stretch; }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-top: 25px; }
.value-card, .campus-card, .dept-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.value-card { padding: 20px; }
.value-icon, .campus-icon, .dept-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; color: var(--blue-600); background: var(--blue-100); }
.value-card:nth-child(2) .value-icon { color: var(--red-700); background: #fbecee; }
.value-card:nth-child(3) .value-icon { color: #966a06; background: #fff5da; }
.value-card h3 { margin: 13px 0 6px; color: var(--navy-900); font-size: 1rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.principal-box { position: relative; overflow: hidden; padding: 31px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(145deg,var(--navy-900),#135990); box-shadow: var(--shadow-md); }
.principal-box::after { content: "LHP"; position: absolute; right: -12px; bottom: -36px; color: rgba(255,255,255,.055); font-size: 7rem; font-weight: 800; letter-spacing: -.09em; }
.principal-label { position: relative; z-index: 1; color: #ffe8aa; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.principal-box blockquote { position: relative; z-index: 1; margin: 18px 0; font-size: 1.32rem; font-weight: 700; line-height: 1.5; letter-spacing: -.025em; }
.principal-box p { position: relative; z-index: 1; color: #dce9f7; font-size: .87rem; }
.principal-box .btn { position: relative; z-index: 1; margin-top: 8px; }

/* News */
.news-feature-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: 28px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--blue-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.025); }
.card-body { padding: 20px; }
.eyebrow { color: var(--red-700); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-body h3 { margin: 7px 0 8px; color: var(--navy-900); font-size: 1.08rem; font-weight: 800; line-height: 1.42; letter-spacing: -.022em; }
.lead-news .card-body h3 { font-size: 1.48rem; }
.card-body h3 a:hover { color: var(--blue-600); }
.card-body > p { margin: 0 0 14px; color: var(--muted); font-size: .86rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.meta { color: #758397; font-size: .71rem; font-weight: 600; }
.read-more { flex: 0 0 auto; color: var(--blue-600); font-size: .72rem; font-weight: 800; }
.read-more span { display: inline-block; transition: transform .18s ease; }
.read-more:hover span { transform: translateX(3px); }
.img-placeholder { position: relative; display: flex; width: 100%; height: 100%; min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: flex-end; overflow: hidden; padding: 22px; color: #fff; background: radial-gradient(circle at 82% 18%,rgba(255,255,255,.22),transparent 24%),linear-gradient(145deg,#0b3768,#1975ad); }
.img-placeholder::before, .img-placeholder::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.img-placeholder::before { top: -40%; right: -10%; width: 64%; aspect-ratio: 1; }
.img-placeholder::after { top: -12%; right: 12%; width: 36%; aspect-ratio: 1; }
.img-placeholder span { position: relative; z-index: 1; font-size: clamp(1.5rem,4vw,2.7rem); font-weight: 800; letter-spacing: -.07em; }
.img-placeholder b { position: relative; z-index: 1; max-width: 92%; margin-top: 3px; font-size: .68rem; font-weight: 700; line-height: 1.45; opacity: .9; }
.news-side { display: grid; align-content: start; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.mini-news { display: grid; min-width: 0; grid-template-columns: 142px minmax(0,1fr); gap: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.mini-news:last-child { padding-bottom: 0; border-bottom: 0; }
.mini-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 11px; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-news h3 { margin: 4px 0 6px; color: var(--navy-900); font-size: .9rem; font-weight: 800; line-height: 1.38; }

/* Notices and events */
.two-col { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px; }
.notice-list, .event-list, .notice-page-list { display: grid; gap: 11px; }
.notice-item { position: relative; display: grid; min-width: 0; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.notice-item:hover { border-color: #bacde1; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.datebox { padding: 7px 5px; border-radius: 10px; color: var(--navy-900); background: var(--blue-100); text-align: center; }
.datebox b { display: block; font-size: 1.17rem; font-weight: 800; line-height: 1.1; }
.datebox span { font-size: .64rem; font-weight: 700; text-transform: uppercase; }
.notice-item h3, .event-item h3 { margin: 0 0 4px; color: var(--navy-900); font-size: .86rem; font-weight: 800; line-height: 1.4; }
.notice-item p, .event-item p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.pin { padding: 4px 7px; border-radius: 999px; color: var(--red-700); background: #fbecee; font-size: .58rem; font-weight: 800; }
.event-item { display: grid; min-width: 0; grid-template-columns: 62px minmax(0,1fr); align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.event-date { padding: 9px 7px; border-radius: 10px; color: #fff; background: var(--navy-900); text-align: center; }
.event-date strong { display: block; font-size: 1.32rem; font-weight: 800; line-height: 1; }
.event-date span { font-size: .6rem; font-weight: 800; }

/* Campus and departments */
.campus-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.campus-card { display: flex; min-height: 245px; flex-direction: column; padding: 23px; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.campus-card:hover, .dept-card:hover { border-color: #b9cde2; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.campus-card:nth-child(2) .campus-icon { color: var(--red-700); background: #fbecee; }
.campus-card:nth-child(3) .campus-icon { color: #986d09; background: #fff4d7; }
.campus-card:nth-child(4) .campus-icon { color: #287351; background: #e8f5ef; }
.campus-card h3 { margin: 18px 0 7px; color: var(--navy-900); font-size: 1rem; font-weight: 800; }
.campus-card p { margin: 0 0 18px; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.campus-card > b { margin-top: auto; color: var(--blue-600); font-size: .74rem; }
.dept-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.dept-grid.large { grid-template-columns: repeat(3,minmax(0,1fr)); }
.dept-card { display: block; padding: 21px; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.dept-card h3 { margin: 13px 0 7px; color: var(--navy-900); font-size: .96rem; font-weight: 800; }
.dept-card > b { color: var(--blue-600); font-size: .73rem; }
.dept-card > p { margin: 6px 0 14px; color: var(--muted); font-size: .78rem; line-height: 1.62; }
.dept-card > b:last-child { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; text-align: center; }
.stats-grid > div { padding: 28px 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(255,255,255,.045); }
.stats-grid strong { display: block; color: #fff; font-size: 2.55rem; font-weight: 800; line-height: 1.18; letter-spacing: -.055em; }
.stats-grid span { color: #cedded; font-size: .78rem; }

/* Documents and gallery */
.docs-gallery .doc-list, .docs-gallery .gallery-preview { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.doc-list { display: grid; gap: 2px; }
.doc-row { display: grid; min-width: 0; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--red-700); background: #fbecee; }
.doc-icon .ui-icon { width: 20px; height: 20px; }
.doc-row b { display: block; color: var(--navy-900); font-size: .8rem; line-height: 1.45; }
.doc-row small { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; }
.doc-arrow { color: var(--blue-600); font-weight: 800; }
.gallery-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.gallery-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 13px; background: var(--blue-100); }
.gallery-thumb > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-thumb:hover > img { transform: scale(1.03); }
.gallery-thumb > span { position: absolute; right: 0; bottom: 0; left: 0; padding: 32px 11px 10px; color: #fff; background: linear-gradient(transparent,rgba(3,20,39,.86)); font-size: .72rem; font-weight: 800; }

/* Internal pages */
.page-hero { position: relative; overflow: hidden; padding: 56px 0; color: #fff; background: radial-gradient(circle at 86% 22%,rgba(49,128,189,.35),transparent 25%),linear-gradient(135deg,var(--navy-950),var(--navy-800)); }
.page-hero::after { content: ""; position: absolute; top: -95px; right: 5%; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.02); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero span { color: #ffe5a3; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.page-hero h1 { margin: 7px 0 8px; font-size: clamp(2rem,4vw,2.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; }
.page-hero p { max-width: 700px; margin: 0; color: #dce8f5; font-size: .94rem; }
.cards-grid, .event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.article-wrap { padding: 48px 0 76px; }
.article-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; }
.article { min-width: 0; }
.article h1 { margin: 15px 0 10px; color: var(--navy-900); font-size: clamp(2rem,4vw,2.65rem); font-weight: 800; line-height: 1.22; letter-spacing: -.04em; }
.breadcrumbs { color: var(--muted); font-size: .76rem; }
.breadcrumbs a { color: var(--blue-600); }
.article-meta { margin-bottom: 24px; color: var(--muted); font-size: .78rem; }
.article-cover { overflow: hidden; margin-bottom: 25px; border-radius: var(--radius-md); }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; }
.lead { color: #334a63; font-size: 1.07rem; font-weight: 700; line-height: 1.72; }
.prose { max-width: 100%; color: #27384b; font-size: 1rem; line-height: 1.82; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { color: var(--navy-900); line-height: 1.35; letter-spacing: -.025em; }
.prose h2 { margin: 32px 0 10px; font-size: 1.55rem; }
.prose h3 { margin: 27px 0 9px; font-size: 1.25rem; }
.prose img { display: block; width: auto; max-width: 100%; height: auto; margin: 22px auto; border-radius: 13px; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 24px 0; padding: 15px 18px; border-left: 4px solid var(--gold-500); border-radius: 0 10px 10px 0; color: #344a62; background: var(--surface); }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { padding: 9px; border: 1px solid var(--line); }
.static-page { width: min(920px, 100%); margin-inline: auto; }
.sidebar { min-width: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.sidebar h3 { margin-top: 0; color: var(--navy-900); font-size: 1.05rem; }
.side-news { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
.side-news span { display: block; color: var(--muted); font-size: .68rem; }
.side-news b { color: var(--navy-900); font-size: .8rem; line-height: 1.45; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.event-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.event-card-img > img { width: 100%; height: 100%; object-fit: cover; }
.event-date.floating { position: absolute; top: 12px; left: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.teacher-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.teacher-card { display: grid; min-width: 0; grid-template-columns: 102px minmax(0,1fr); gap: 15px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.teacher-photo { width: 102px; height: 122px; overflow: hidden; border-radius: 11px; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card h3 { margin: 3px 0; color: var(--navy-900); font-size: .95rem; }
.teacher-card b { color: var(--red-700); font-size: .74rem; }
.teacher-card p, .teacher-card small { color: var(--muted); font-size: .75rem; }
.department-intro { max-width: 900px; margin-bottom: 28px; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; -webkit-overflow-scrolling: touch; }
.public-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.public-table th { padding: 13px; color: #fff; background: var(--navy-900); font-size: .75rem; text-align: left; }
.public-table td { padding: 13px; border-bottom: 1px solid var(--line); font-size: .82rem; vertical-align: top; }
.public-table tr:last-child td { border-bottom: 0; }
.public-table td small { display: block; color: var(--muted); }
.public-table td b, .public-table td small { min-width: 0; overflow-wrap: anywhere; }
.file-link { color: var(--blue-600); font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.gallery-card > div { aspect-ratio: 16/10; overflow: hidden; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card h3 { margin: 14px 16px 4px; color: var(--navy-900); font-size: .95rem; }
.gallery-card p { margin: 0 16px 16px; color: var(--muted); font-size: .74rem; }
.photo-grid { columns: 3 280px; column-gap: 16px; }
.photo-grid figure { break-inside: avoid; overflow: hidden; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.photo-grid img { width: 100%; height: auto; cursor: zoom-in; }
.photo-grid figcaption { padding: 9px 11px; color: var(--muted); font-size: .72rem; }
.contact-grid { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: 46px; }
.contact-info h2 { color: var(--navy-900); }
.contact-info > p { color: var(--muted); }
.map-frame { overflow: hidden; margin-top: 22px; border-radius: 14px; }
.map-frame iframe { width: 100% !important; height: 275px !important; border: 0; }
.map-placeholder { display: grid; min-height: 230px; place-items: center; padding: 24px; color: var(--muted); background: var(--blue-100); text-align: center; }
.contact-form { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.contact-form label { display: grid; gap: 6px; margin-bottom: 14px; color: #3b4c61; font-size: .78rem; font-weight: 800; }
.contact-form input, .contact-form textarea, .big-search input { width: 100%; padding: 11px 12px; border: 1px solid #c7d4e2; border-radius: 10px; color: var(--ink); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus, .big-search input:focus { border-color: var(--blue-600); outline: 3px solid rgba(23,105,170,.12); }
.form-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hp { position: absolute !important; left: -10000px !important; }
.alert { padding: 11px 14px; margin-bottom: 15px; border-radius: 10px; }
.alert.success { color: var(--success); background: #e7f6ee; }
.alert.error { color: var(--red-700); background: #fbeaec; }
.big-search { display: flex; gap: 10px; margin-bottom: 30px; }
.big-search input { min-width: 0; flex: 1; }

/* Footer */
.footer { position: relative; margin-top: 28px; color: #cad8e7; background: linear-gradient(180deg,#082846,var(--navy-950)); }
.footer-accent { height: 4px; background: linear-gradient(90deg,var(--red-600) 0 34%,var(--gold-500) 34% 58%,var(--blue-600) 58%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.05fr .85fr .7fr; gap: 36px; padding-block: 54px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-monogram { display: grid; width: 47px; height: 47px; flex: 0 0 47px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font-size: .78rem; font-weight: 800; }
.footer-brand small { color: #9eb5cc; font-size: .58rem; font-weight: 800; letter-spacing: .11em; }
.footer h3 { margin: 2px 0 0; color: #fff; font-size: 1rem; line-height: 1.35; }
.footer h4 { margin: 0 0 15px; color: #fff; font-size: .88rem; }
.footer-about > p { max-width: 500px; margin: 17px 0 0; font-size: .78rem; }
.footer-column { display: flex; min-width: 0; flex-direction: column; gap: 9px; }
.footer-column p { margin: 0; font-size: .75rem; }
.footer-column p > span { display: block; color: #92aac2; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.footer-column > a { color: #cad8e7; font-size: .76rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.social-row a { padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.06); font-size: .72rem; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); color: #9fb3c8; font-size: .69rem; }
.footer-bottom .container { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 24; display: grid; width: 43px; height: 43px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1120px) {
  .container { padding-inline: 22px; }
  .main-nav > .nav-inner > ul > li > a { padding-inline: 9px; font-size: .73rem; }
  .slide-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 35px; padding-inline: 52px; }
  .slide-side-card { padding: 23px; }
  .slide-side-card h3 { font-size: 1.35rem; }
  .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .quick-grid > a { border-bottom: 1px solid var(--line); }
  .quick-grid > a:nth-child(3) { border-right: 0; }
  .quick-grid > a:nth-child(4), .quick-grid > a:nth-child(5) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-column:last-child { display: none; }
}

@media (max-width: 980px) {
  .site-header { position: sticky; top: 0; }
  .brand-row { min-height: 84px; }
  .brand-logo, .logo-mark { width: 58px; height: 58px; flex-basis: 58px; }
  .brand-name { font-size: clamp(1.08rem,3vw,1.35rem); }
  .contact-chip { display: none; }
  .menu-toggle { display: grid; }
  .main-nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(88vw,360px); overflow-y: auto; color: #fff; background: var(--navy-950); box-shadow: 20px 0 60px rgba(0,0,0,.25); transform: translateX(-105%); visibility: hidden; transition: transform .25s ease,visibility .25s ease; }
  .nav-open .main-nav { visibility: visible; transform: none; }
  .nav-inner { max-width: none; padding: 0 15px 24px; }
  .mobile-nav-head { display: flex; min-height: 68px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-nav-head b { font-size: .9rem; }
  .mobile-nav-head button { width: 39px; height: 39px; border: 0; border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font-size: 1.55rem; cursor: pointer; }
  .nav-inner > ul { display: block; padding-top: 10px; }
  .main-nav > .nav-inner > ul > li > a { min-height: 47px; padding: 0 10px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .84rem; white-space: normal; }
  .main-nav > .nav-inner > ul > li > a:hover, .main-nav > .nav-inner > ul > li > a.active { border-bottom-color: rgba(255,255,255,.09); border-left: 3px solid var(--gold-500); background: rgba(255,255,255,.07); }
  .submenu { position: static; display: block !important; width: auto; min-width: 0; max-width: none; padding: 4px 0 7px 14px !important; border: 0; border-radius: 0; color: #e8f1fa; background: rgba(255,255,255,.035) !important; box-shadow: none; }
  .submenu a { padding: 9px 10px; font-size: .78rem; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 55; width: 100%; height: 100%; border: 0; background: rgba(3,15,29,.55); backdrop-filter: blur(2px); }
  .nav-open .nav-backdrop { display: block; }
  .slide-side-card { display: none; }
  .slide-layout { grid-template-columns: 1fr; padding-inline: 64px; }
  .news-feature-grid, .intro-grid, .two-col, .contact-grid, .article-grid { grid-template-columns: 1fr; }
  .value-grid, .cards-grid, .event-grid, .teacher-grid, .dept-grid, .dept-grid.large { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .campus-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sidebar { padding: 26px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-grid { grid-template-columns: 1.25fr 1fr; }
  .footer-column:nth-child(3) { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding-inline: 15px; }
  .topbar-inner { min-height: 34px; }
  .authority { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; }
  .topbar-links { display: none; }
  .brand-row { min-height: 75px; gap: 8px; }
  .brand { flex: 1 1 auto; gap: 10px; }
  .brand-logo, .logo-mark { width: 49px; height: 49px; flex-basis: 49px; }
  .logo-mark { border-width: 2px; }
  .logo-mark::after { inset: 5px; }
  .logo-mark span { font-size: .86rem; }
  .brand-overline { display: none; }
  .brand-name { font-size: clamp(.9rem,4.1vw,1.08rem); line-height: 1.22; }
  .brand-tagline { max-width: 225px; margin-top: 3px; font-size: .56rem; line-height: 1.35; letter-spacing: .025em; }
  .header-actions { gap: 6px; }
  .icon-button { width: 40px; height: 40px; border-radius: 11px; }
  .search-box > form { padding-inline: 12px; }
  .search-box.show > form { padding-block: 11px; }
  .search-box input { padding: 10px 11px; font-size: .82rem; }
  .search-box button { padding-inline: 14px; font-size: .76rem; }
  .school-slider, .school-slider .slide, .slide-layout { min-height: 525px; }
  .school-slider .slide { transform: none !important; }
  .slide-layout { display: block; width: 100%; max-width: 100%; padding: 46px 18px 76px; }
  .slide-content { width: 100%; max-width: 100%; transform: none; }
  .slide-content h1 { width: 100%; margin: 14px 0 13px; font-size: clamp(2rem,9vw,2.65rem); line-height: 1.14; text-wrap: balance; }
  .slide-content p { font-size: .88rem; line-height: 1.68; }
  .hero-kicker { padding: 7px 9px; font-size: .57rem; letter-spacing: .07em; }
  .hero-buttons { display: grid; width: min(100%,320px); grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 19px; }
  .btn { min-height: 43px; padding: 9px 12px; border-radius: 10px; font-size: .76rem; }
  .hero-mini-stats { width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-top: 18px; }
  .hero-mini-stats div { padding: 9px 6px; text-align: center; }
  .hero-mini-stats strong { font-size: 1.1rem; }
  .hero-mini-stats span { font-size: .48rem; letter-spacing: .025em; }
  .slider-arrow { top: auto; bottom: 17px; width: 37px; height: 37px; margin: 0; font-size: 1.55rem; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .slider-toolbar { bottom: 15px; }
  .slider-pause { width: 26px; height: 26px; }
  .quick-links { margin-top: 0; padding-top: 12px; background: var(--surface); }
  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 15px; box-shadow: var(--shadow-sm); }
  .quick-grid > a { min-height: 88px; gap: 9px; padding: 13px 11px; border-bottom: 1px solid var(--line); }
  .quick-grid > a:nth-child(even) { border-right: 0; }
  .quick-grid > a:nth-child(3) { border-right: 1px solid var(--line); }
  .quick-grid > a:nth-child(4) { border-bottom: 1px solid var(--line); }
  .quick-grid > a:last-child { grid-column: 1/-1; border-bottom: 0; }
  .quick-icon { width: 37px; height: 37px; flex-basis: 37px; border-radius: 11px; }
  .quick-icon .ui-icon { width: 20px; height: 20px; }
  .quick-grid b { font-size: .76rem; }
  .quick-grid small { font-size: .61rem; }
  .section { padding: 50px 0; }
  .section-head { align-items: flex-start; margin-bottom: 20px; }
  .section-head h2 { font-size: 1.55rem; }
  .section-head > a { padding-top: 5px; font-size: .7rem; }
  .section-desc { font-size: .88rem; }
  .value-grid, .cards-grid, .event-grid, .teacher-grid, .dept-grid, .dept-grid.large, .campus-grid { grid-template-columns: 1fr; }
  .value-grid { gap: 10px; }
  .value-card { padding: 17px; }
  .principal-box { padding: 23px; }
  .principal-box blockquote { font-size: 1.12rem; }
  .news-feature-grid { gap: 16px; }
  .lead-news .card-body h3 { font-size: 1.2rem; }
  .card-body { padding: 17px; }
  .news-side { padding: 11px; }
  .mini-news { grid-template-columns: 100px minmax(0,1fr); gap: 10px; }
  .mini-news h3 { font-size: .77rem; }
  .mini-news .eyebrow { font-size: .55rem; }
  .notice-item { grid-template-columns: 48px minmax(0,1fr); gap: 14px; padding: 11px; }
  .notice-item > div:nth-child(2) { min-width: 0; }
  .notice-item .pin { position: absolute; top: 7px; right: 7px; }
  .notice-item h3 { padding-right: 25px; font-size: .78rem; }
  .notice-item p { font-size: .68rem; }
  .event-item { grid-template-columns: 52px minmax(0,1fr); gap: 10px; padding: 11px; }
  .event-item h3 { font-size: .78rem; }
  .campus-card { min-height: 0; padding: 19px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .stats-grid > div { padding: 21px 8px; }
  .stats-grid strong { font-size: 1.9rem; }
  .stats-grid span { font-size: .65rem; }
  .gallery-preview { gap: 8px; padding: 10px !important; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 1.9rem; }
  .article-wrap { padding: 31px 0 55px; }
  .article h1 { font-size: 1.85rem; }
  .teacher-card { grid-template-columns: 88px minmax(0,1fr); }
  .teacher-photo { width: 88px; height: 106px; }
  .photo-grid { columns: 2 150px; column-gap: 10px; }
  .photo-grid figure { margin-bottom: 10px; }
  .form-two { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 17px; }
  .big-search { flex-direction: column; }
  .big-search .btn { width: 100%; }
  .footer { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; padding-block: 39px; }
  .footer-column:nth-child(3) { display: flex; }
  .footer-bottom .container { min-height: 62px; flex-direction: column; justify-content: center; gap: 2px; text-align: center; }
  .back-to-top { right: 12px; bottom: 12px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 12px; }
  .school-slider, .school-slider .slide, .slide-layout { min-height: 545px; }
  .slide-layout { padding-inline: 15px; }
  .slide-content h1 { font-size: clamp(1.82rem,8.6vw,2.2rem); }
  .hero-buttons { width: 100%; }
  .hero-mini-stats strong { font-size: 1rem; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .gallery-preview { grid-template-columns: 1fr; }
  .photo-grid { columns: 1; }
  .brand-tagline { max-width: 185px; }
}

@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; }
  .public-table, .public-table tbody, .public-table tr, .public-table td { display: block; width: 100%; min-width: 0; }
  .public-table thead { display: none; }
  .public-table tbody { display: grid; gap: 11px; }
  .public-table tr { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
  .public-table td { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .76rem; }
  .public-table td::before { content: attr(data-label); color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
  .public-table td:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .school-slider .slide, .slide-content, .slide-side-card { transform: none !important; }
}

/* Homepage edition 2.1 — modern Vietnamese high-school portal */
body[data-page="home"] main { background: #fff; }
.home-alert { color: #f8fbff; background: linear-gradient(90deg,#7f1722,#a91f2b 52%,#821722); }
.home-alert-inner { display: grid; min-height: 46px; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; }
.home-alert-label { display: inline-flex; align-items: center; gap: 8px; color: #ffe7a6; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-alert-label i { width: 7px; height: 7px; border-radius: 50%; background: #ffd770; box-shadow: 0 0 0 5px rgba(255,215,112,.13); }
.home-alert a { overflow: hidden; font-size: .78rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.home-alert a:hover { text-decoration: underline; }
.home-alert time { color: #f3ccd0; font-size: .7rem; font-weight: 600; }

.home-hero { padding: 22px 0 74px; background: radial-gradient(circle at 6% 12%,rgba(23,105,170,.1),transparent 24%),linear-gradient(180deg,#eaf1f7 0,#f8fafc 100%); }
.home-hero .school-slider { width: min(calc(100% - 32px),1460px); min-height: 620px; margin-inline: auto; border: 1px solid rgba(255,255,255,.22); border-radius: 32px; box-shadow: 0 30px 80px rgba(6,26,51,.22); }
.home-hero .school-slider .slide { min-height: 620px; }
.home-hero .school-slider .slide::before { opacity: .34; background-image: linear-gradient(115deg,transparent 0 61%,rgba(255,255,255,.055) 61% 61.2%,transparent 61.2%),radial-gradient(circle at 82% 22%,rgba(255,255,255,.12) 0 2px,transparent 2.5px); background-size: auto,46px 46px; }
.home-hero .slide-layout { min-height: 620px; grid-template-columns: minmax(0,1.45fr) minmax(330px,.55fr); gap: 72px; padding: 70px 72px 88px; }
.home-hero .hero-kicker { padding: 9px 14px; border-color: rgba(255,255,255,.28); background: rgba(4,25,48,.2); font-size: .68rem; }
.home-hero .slide-content h1 { max-width: 760px; margin: 20px 0 17px; font-size: clamp(3rem,5vw,4.65rem); font-weight: 800; line-height: 1.06; letter-spacing: -.055em; }
.home-hero .slide-content > p { max-width: 670px; color: #e7eff8; font-size: 1.08rem; line-height: 1.78; }
.home-hero .hero-buttons { margin-top: 29px; }
.home-hero .btn { min-height: 50px; padding-inline: 23px; border-radius: 999px; }
.home-hero .btn-primary { background: linear-gradient(135deg,#c83340,#981d28); box-shadow: 0 14px 30px rgba(117,12,24,.3); }
.home-hero .btn-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.1); box-shadow: none; backdrop-filter: blur(12px); }
.home-hero .btn-light:hover { background: #fff; color: var(--navy-900); }
.home-hero .hero-mini-stats { max-width: 650px; gap: 1px; margin-top: 35px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(2,20,40,.24); }
.home-hero .hero-mini-stats div { padding: 14px 17px; border: 0; border-right: 1px solid rgba(255,255,255,.12); border-radius: 0; background: transparent; backdrop-filter: none; }
.home-hero .hero-mini-stats div:last-child { border-right: 0; }
.home-hero .hero-mini-stats strong { font-size: 1.55rem; }
.home-hero .slide-side-card { overflow: hidden; padding: 34px; border-color: rgba(255,255,255,.25); border-radius: 28px; background: linear-gradient(150deg,rgba(255,255,255,.18),rgba(255,255,255,.07)); box-shadow: 0 28px 70px rgba(0,0,0,.21); }
.home-hero .slide-side-card::after { content: "LHP"; position: absolute; right: -9px; bottom: -36px; color: rgba(255,255,255,.055); font-size: 7.6rem; font-weight: 800; letter-spacing: -.1em; }
.home-hero .slide-side-card > * { position: relative; z-index: 1; }
.home-hero .slide-side-card h3 { font-size: 1.65rem; line-height: 1.42; }
.home-hero .slider-arrow { width: 52px; height: 52px; margin-top: -26px; background: rgba(2,21,42,.38); }

body[data-page="home"] .quick-links { margin-top: -122px; }
body[data-page="home"] .quick-grid { overflow: visible; gap: 10px; border: 0; background: transparent; box-shadow: none; }
body[data-page="home"] .quick-grid > a { min-height: 112px; padding: 19px 18px; border: 1px solid rgba(210,222,235,.96); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 16px 40px rgba(8,43,85,.11); backdrop-filter: blur(14px); }
body[data-page="home"] .quick-grid > a:hover { z-index: 1; border-color: #b9cee3; background: #fff; transform: translateY(-5px); box-shadow: 0 22px 48px rgba(8,43,85,.16); }
body[data-page="home"] .quick-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 15px; }
body[data-page="home"] .quick-grid b { font-size: .9rem; }
body[data-page="home"] .quick-grid small { font-size: .7rem; }

body[data-page="home"] .section { padding-block: 88px; }
body[data-page="home"] .section-head { margin-bottom: 31px; }
body[data-page="home"] .section-head h2 { max-width: 760px; font-size: clamp(2rem,3vw,2.65rem); font-weight: 800; line-height: 1.19; }
body[data-page="home"] .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--red-700); }
body[data-page="home"] .section-kicker::before { content: ""; width: 28px; height: 2px; border-radius: 9px; background: currentColor; }

.home-story { padding-top: 118px !important; background: #fff !important; }
.home-story .intro-grid { align-items: stretch; gap: 28px; }
.home-story .intro-grid > div { padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg,#f8fafc,#eef4f9); }
.home-story .section-desc { color: #52657a; line-height: 1.8; }
.home-story .value-grid { gap: 10px; }
.home-story .value-card { padding: 20px 18px; border-color: rgba(209,221,233,.9); border-radius: 18px; box-shadow: 0 8px 22px rgba(8,43,85,.055); }
.home-story .principal-box { padding: 39px; border: 0; border-radius: 28px; background: radial-gradient(circle at 100% 0,rgba(224,173,55,.2),transparent 30%),linear-gradient(145deg,#071f3c,#0d477f); }
.home-story .principal-box::before { content: "“"; position: absolute; top: 5px; right: 25px; color: rgba(255,255,255,.1); font-family: Georgia,serif; font-size: 8rem; line-height: 1; }
.home-story .principal-box blockquote { font-size: 1.55rem; line-height: 1.55; }

.home-news { background: #f4f7fb; }
.home-news .news-feature-grid { gap: 18px; }
.home-news .lead-news .post-card { height: 100%; border: 0; border-radius: 25px; box-shadow: 0 20px 55px rgba(8,43,85,.13); }
.home-news .lead-news .card-img { aspect-ratio: 16/8.7; }
.home-news .lead-news .card-body { padding: 25px 27px 27px; }
.home-news .lead-news .card-body h3 { font-size: 1.42rem; line-height: 1.4; }
.home-news .news-side { gap: 10px; }
.home-news .mini-news { min-height: 124px; grid-template-columns: 138px minmax(0,1fr); align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(8,43,85,.055); }
.home-news .mini-news:last-child { border-bottom: 1px solid var(--line); }
.home-news .mini-img { height: 100%; min-height: 102px; border-radius: 12px; }
.home-news .mini-news h3 { font-size: .88rem; line-height: 1.48; }

.home-agenda { background: #fff !important; }
.home-agenda .two-col { gap: 20px; }
.home-agenda .two-col > div { padding: 30px; border: 1px solid var(--line); border-radius: 27px; background: linear-gradient(155deg,#f9fbfd,#f1f6fa); box-shadow: 0 14px 40px rgba(8,43,85,.07); }
.home-agenda .section-head h2 { font-size: 1.75rem; }
.home-agenda .notice-item, .home-agenda .event-item { border-color: #dde6ef; box-shadow: 0 5px 15px rgba(8,43,85,.04); }
.home-agenda .notice-item:hover, .home-agenda .event-item:hover { border-color: #b8cde1; box-shadow: 0 10px 25px rgba(8,43,85,.09); }

.home-campus { overflow: hidden; background: linear-gradient(145deg,#071d38,#0a3562); }
.home-campus .section-kicker { color: #f5cc6d !important; }
.home-campus .section-head h2 { color: #fff; }
.home-campus .campus-grid { gap: 13px; }
.home-campus .campus-card { min-height: 285px; padding: 28px; border-color: rgba(255,255,255,.13); border-radius: 22px; color: #fff; background: rgba(255,255,255,.075); box-shadow: none; backdrop-filter: blur(10px); }
.home-campus .campus-card::before { content: ""; position: absolute; inset: auto 24px 0; height: 3px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg,#e1b646,#c92f3d); opacity: 0; transition: opacity .2s ease; }
.home-campus .campus-card:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.12); transform: translateY(-5px); }
.home-campus .campus-card:hover::before { opacity: 1; }
.home-campus .campus-icon { color: #ffe49a; background: rgba(255,255,255,.11); }
.home-campus .campus-card h3, .home-campus .campus-card b { color: #fff; }
.home-campus .campus-card p { color: #cbd9e7; }

.home-departments { background: #f4f7fb; }
.home-departments .dept-grid { gap: 12px; }
.home-departments .dept-card { min-height: 225px; padding: 24px; border: 0; border-radius: 21px; box-shadow: 0 10px 30px rgba(8,43,85,.08); }
.home-departments .dept-card::after { content: ""; position: absolute; top: 0; right: 0; width: 58px; height: 58px; border-radius: 0 21px 0 58px; background: linear-gradient(135deg,transparent,#e8f2fa); }
.home-departments .dept-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(8,43,85,.13); }

.home-stats { padding: 54px 0 !important; background: radial-gradient(circle at 13% 30%,rgba(26,118,184,.35),transparent 24%),linear-gradient(110deg,#061a33,#0b3d70 58%,#8e1c27); }
.home-stats .stats-grid { gap: 0; }
.home-stats .stats-grid > div { position: relative; padding: 18px 22px; }
.home-stats .stats-grid > div:not(:last-child)::after { content: ""; position: absolute; top: 15%; right: 0; width: 1px; height: 70%; background: rgba(255,255,255,.19); }
.home-stats .stats-grid strong { font-size: clamp(2.4rem,4vw,3.5rem); }
.home-stats .stats-grid span { font-size: .72rem; letter-spacing: .09em; }

.home-resources { background: #fff; }
.home-resources .docs-gallery { gap: 20px; }
.home-resources .docs-gallery > div { padding: 29px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 14px 40px rgba(8,43,85,.07); }
.home-resources .section-head h2 { font-size: 1.75rem; }
.home-resources .doc-row { padding-block: 14px; }
.home-resources .gallery-thumb { border-radius: 16px; }

@media (max-width: 1120px) {
  .home-hero .slide-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 36px; padding-inline: 62px; }
  .home-hero .slide-content h1 { font-size: clamp(2.8rem,5vw,4rem); }
  body[data-page="home"] .quick-grid { gap: 8px; }
  body[data-page="home"] .quick-grid > a { padding-inline: 14px; }
}

@media (max-width: 980px) {
  .home-alert-inner { gap: 12px; }
  .home-hero { padding-top: 0; }
  .home-hero .school-slider { width: 100%; border-width: 0; border-radius: 0 0 28px 28px; }
  .home-hero .slide-layout { grid-template-columns: 1fr; padding-inline: 68px; }
  .home-hero .slide-side-card { display: none; }
  body[data-page="home"] .quick-links { margin-top: -112px; }
  body[data-page="home"] .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-story { padding-top: 110px !important; }
  .home-story .intro-grid > div, .home-story .principal-box { padding: 30px; }
  .home-news .mini-news { grid-template-columns: 150px minmax(0,1fr); }
}

@media (max-width: 720px) {
  .home-alert-inner { min-height: 42px; grid-template-columns: auto minmax(0,1fr); padding-inline: 16px; }
  .home-alert time { display: none; }
  .home-alert-label { font-size: .62rem; }
  .home-alert a { font-size: .72rem; }
  .home-hero { padding-bottom: 0; }
  .home-hero .school-slider, .home-hero .school-slider .slide { min-height: 535px; border-radius: 0; }
  .home-hero .slide-layout { min-height: 535px; padding: 52px 20px 88px; }
  .home-hero .slide-content h1 { margin-block: 18px 14px; font-size: clamp(2.25rem,11vw,3.1rem); line-height: 1.09; }
  .home-hero .slide-content > p { font-size: .93rem; line-height: 1.7; }
  .home-hero .hero-buttons { display: grid; width: min(100%,360px); grid-template-columns: 1fr 1fr; }
  .home-hero .btn { min-height: 47px; padding-inline: 12px; font-size: .74rem; }
  .home-hero .hero-mini-stats { margin-top: 22px; }
  .home-hero .hero-mini-stats div { padding: 11px 8px; }
  .home-hero .hero-mini-stats strong { font-size: 1.25rem; }
  .home-hero .hero-mini-stats span { font-size: .52rem; letter-spacing: .035em; }
  .home-hero .slider-arrow { top: auto; bottom: 25px; width: 39px; height: 39px; margin: 0; font-size: 1.6rem; }
  .home-hero .slider-prev { left: 16px; }
  .home-hero .slider-next { right: 16px; }
  body[data-page="home"] .quick-links { margin-top: 0; padding: 12px 0 0; background: #fff; }
  body[data-page="home"] .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  body[data-page="home"] .quick-grid > a { min-height: 94px; padding: 13px; border-radius: 15px; box-shadow: 0 8px 22px rgba(8,43,85,.08); }
  body[data-page="home"] .quick-grid > a:last-child { grid-column: 1/-1; }
  body[data-page="home"] .quick-icon { width: 41px; height: 41px; flex-basis: 41px; }
  body[data-page="home"] .section { padding-block: 58px; }
  body[data-page="home"] .section-head { margin-bottom: 22px; }
  body[data-page="home"] .section-head h2 { font-size: 1.75rem; }
  .home-story { padding-top: 62px !important; }
  .home-story .intro-grid > div, .home-story .principal-box, .home-agenda .two-col > div, .home-resources .docs-gallery > div { padding: 20px; border-radius: 20px; }
  .home-story .value-grid { grid-template-columns: 1fr; }
  .home-story .principal-box blockquote { font-size: 1.28rem; }
  .home-news .lead-news .card-body { padding: 19px; }
  .home-news .lead-news .card-body h3 { font-size: 1.18rem; }
  .home-news .mini-news { min-height: 104px; grid-template-columns: 96px minmax(0,1fr); align-items: start; column-gap: 12px; padding: 8px; }
  .home-news .mini-img { width: 100%; height: 88px; min-width: 0; min-height: 0; aspect-ratio: auto; }
  .home-news .mini-news > div:last-child { min-width: 0; }
  .home-agenda .two-col { gap: 13px; }
  .home-campus .campus-card { min-height: 0; padding: 22px; }
  .home-departments .dept-card { min-height: 0; }
  .home-stats { padding-block: 35px !important; }
  .home-stats .stats-grid > div { padding: 17px 9px; }
  .home-stats .stats-grid > div:nth-child(2)::after { display: none; }
  .home-stats .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .home-stats .stats-grid strong { font-size: 2rem; }
}

@media (max-width: 420px) {
  .home-hero .slide-content h1 { font-size: 2.15rem; }
  .home-hero .hero-kicker { padding: 7px 9px; font-size: .55rem; letter-spacing: .07em; }
  .home-hero .hero-buttons { grid-template-columns: 1fr; }
  .home-hero .school-slider, .home-hero .school-slider .slide, .home-hero .slide-layout { min-height: 590px; }
  body[data-page="home"] .quick-grid b { font-size: .82rem; }
  body[data-page="home"] .quick-grid small { font-size: .63rem; }
}
