:root {
    --navy: #062B52;
    --navy-2: #003B70;
    --red: #EF233C;
    --red-dark: #C8102E;
    --ink: #172B4D;
    --muted: #5C6B82;
    --line: #E2EAF3;
    --bg: #F4F8FC;
    --white: #fff;
    --shadow: 0 18px 50px rgba(6, 43, 82, 0.12);
    --radius: 22px;
    --header: 86px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: Outfit, "Segoe UI", sans-serif; letter-spacing: -0.03em; line-height: 1.15; color: var(--navy); }
.skip-link {
    position: absolute; left: 1rem; top: -4rem; background: var(--red); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

.topbar { background: #041E3A; color: #fff; font-size: .82rem; }
.topbar a, .top-search { color: #fff; text-decoration: none; }
.topbar-inner, .footer-base-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.topbar-meta, .topbar-links, .footer-base ul, .contact-list, .value-list, .stat-card { list-style: none; margin: 0; padding: 0; }
.topbar-meta, .topbar-links { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; }
.topbar .container { padding-top: .38rem; padding-bottom: .38rem; }
.topbar-links li + li { border-left: 1px solid rgba(255,255,255,.25); padding-left: .9rem; }
.socials { display: flex; gap: .55rem; align-items: center; border: 0 !important; padding: 0 !important; }
.top-search { border: 0; background: transparent; padding: 0; line-height: 1; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #edf2f7; }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: .5rem; }
.brand img { width: 210px; height: auto; }
.primary-nav { display: flex; justify-content: center; }
.primary-nav > ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a { color: #1c3558; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .65rem .55rem; display: inline-flex; align-items: center; gap: .2rem; }
.primary-nav a[aria-current="page"] { color: var(--red); }
.header-apply { padding: .62rem 1.05rem; font-size: .95rem; }
.has-sub { position: relative; }
.has-sub > ul {
    display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff;
    border-radius: 16px; box-shadow: var(--shadow); padding: .5rem; list-style: none; z-index: 5;
}
.has-sub:hover > ul, .has-sub:focus-within > ul { display: block; }
.has-sub li a { display: block; border-radius: 10px; }
.has-sub li a:hover { background: var(--bg); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.nav-toggle, .icon-btn {
    border: 0; background: var(--bg); width: 44px; height: 44px; border-radius: 50%; color: var(--navy);
}
.nav-toggle { display: none; }

.btn, button.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border-radius: 999px; padding: .85rem 1.25rem; font-weight: 700; text-decoration: none;
    border: 1px solid transparent; line-height: 1; cursor: pointer;
}
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.45); }
.btn-line { background: transparent; color: #fff !important; border-color: transparent; text-decoration: underline; }
.text-link { font-weight: 700; text-decoration: none; color: var(--navy); }
.eyebrow { color: var(--red); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: .4rem; }
.eyebrow.light { color: #ffb3bd; }

.hero { position: relative; height: clamp(380px, 42vw, 520px); background: var(--navy); color: #fff; overflow: hidden; }
.hero-track { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide[hidden], .quote-slider blockquote[hidden], .search-modal[hidden] { display: none !important; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-blue, .hero-red { position: absolute; inset: 0; }
.hero-blue { background: linear-gradient(90deg, var(--hero-overlay-color, #0B5CAB), rgba(4,30,74,.55)); opacity: var(--hero-overlay-opacity, .78); clip-path: polygon(0 0, 58% 0, 44% 100%, 0 100%); }
.hero-red { background: #EF233C; clip-path: polygon(54% 0, 62% 0, 48% 100%, 40% 100%); }
.hero-copy { position: absolute; z-index: 2; left: max(1.25rem, calc((100% - 1280px) / 2)); top: 0; bottom: 0; width: min(560px, 48%); display: flex; flex-direction: column; justify-content: center; padding-bottom: 1.5rem; }
.hero-copy-center { left: 20%; width: 60%; align-items: center; }
.hero-copy-right { left: 56%; width: 40%; }
.gallery-albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.gallery-album-card { display: grid; gap: .35rem; color: inherit; text-decoration: none; }
.gallery-album-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .65rem; }
.gallery-album-card small { color: #64748b; }
.hero-kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 .35rem; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 28px; height: 3px; background: #fff; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 .75rem; max-width: 12em; }
.hero h1 span { display: block; color: #ff2d45; }
.hero-copy p { margin: 0 0 1.1rem; color: #fff; font-size: clamp(.9rem, 1.4vw, 1.12rem); line-height: 1.5; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero .btn { width: fit-content; padding: .7rem 1.15rem; font-size: clamp(.82rem, 1vw, .98rem); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); background: transparent; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: #fff; color: var(--navy); z-index: 3; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: .35rem; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); padding: 0; }
.hero-dots button.is-active { background: var(--red); }

.quick-access { position: relative; z-index: 3; margin-top: -22px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.quick-card {
    background: #fff; border-radius: 14px; box-shadow: 0 10px 24px rgba(6,43,82,.1);
    min-height: 82px; padding: .75rem .8rem; display: flex; align-items: center; gap: .65rem;
    text-decoration: none; color: var(--ink);
}
.quick-copy { min-width: 0; }
.quick-card strong, .quick-card small { display: block; line-height: 1.2; }
.quick-card strong { font-size: .86rem; }
.quick-card small { color: var(--muted); font-size: .75rem; }
.quick-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1.05rem; flex: none; }
.quick-go { margin-left: auto; color: #8aa0b8; font-size: .8rem; }
.quick-card:hover { transform: translateY(-3px); }
.home-stats { background: var(--navy); color: #fff; padding: 1.35rem 0; }
.home-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.home-stat { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; }
.home-stat i { grid-row: span 2; color: #ff9aa6; font-size: 1.65rem; }
.home-stat strong { font: 800 1.4rem/1 Outfit, sans-serif; }
.home-stat span { color: #c9d8e8; font-size: .82rem; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.dashboard-stat { background: var(--navy); color: #fff; border-radius: 16px; padding: 1.2rem; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; }
.dashboard-stat i { grid-row: span 2; color: #ff9aa6; font-size: 1.7rem; }
.dashboard-stat strong { font: 800 1.55rem/1 Outfit, sans-serif; }
.dashboard-stat span { color: #d7e3ef; font-size: .85rem; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-bottom: 1.3rem; }
.dashboard-panel { padding: 1.35rem; }
.dashboard-list-item { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.dashboard-list-item h3 { font-size: 1rem; margin: .2rem 0 0; }
.dashboard-list-item h3 a { color: var(--navy); text-decoration: none; }
.dashboard-list-item time { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.dashboard-programmes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.dashboard-programme { border: 1px solid var(--line); border-radius: 12px; padding: .9rem; text-decoration: none; display: grid; gap: .25rem; }
.dashboard-programme span, .news-kicker { color: var(--red); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.dashboard-programme strong { color: var(--navy); font-size: .95rem; line-height: 1.25; }
.dashboard-programme small, .text-muted, .empty-state { color: var(--muted); }

.home-mid { padding: 1.7rem 0 1.3rem; }
.home-split { display: grid; grid-template-columns: 1.05fr .95fr 1.2fr; gap: 1.3rem; align-items: center; }
.home-about h2, .home-programmes h2, .home-lower h2 { font-size: 1.65rem; margin: .15rem 0 .55rem; }
.home-about p { color: #41556e; font-size: .95rem; margin-bottom: .9rem; }
.home-photo { width: 100%; height: 230px; object-fit: cover; border-radius: 6px; }
.home-lead { color: #5c6b82; font-size: .9rem; margin: -.2rem 0 .7rem; }
.home-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.home-level {
    color: #fff; border-radius: 12px; min-height: 132px; padding: .75rem .7rem .65rem;
    text-decoration: none; display: flex; flex-direction: column; gap: .15rem; position: relative;
}
.home-level .bi-mortarboard { font-size: 1.35rem; }
.home-level strong { font-size: .95rem; }
.home-level span { font-size: .75rem; line-height: 1.3; color: rgba(255,255,255,.9); }
.home-level .bi-arrow-right { margin-top: auto; font-size: .85rem; }
.home-lower { background: #F3F7FB; padding: 1.4rem 0 1.8rem; }
.home-lower-grid { display: grid; grid-template-columns: 1.45fr .9fr; gap: 1.2rem; align-items: start; }
.home-depts { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; }
.home-dept { background: #fff; border-radius: 12px; text-decoration: none; color: var(--navy); box-shadow: 0 8px 18px rgba(6,43,82,.06); overflow: hidden; min-height: 148px; position: relative; display: block; }
.home-dept img { height: 78px; width: 100%; object-fit: cover; }
.home-dept-icon { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; margin: -14px 0 0 .45rem; position: relative; box-shadow: 0 4px 10px rgba(6,43,82,.12); font-size: .8rem; }
.home-dept strong { display: block; font-size: .68rem; line-height: 1.25; padding: .25rem .4rem 1.1rem; }
.home-dept > .bi-arrow-right { position: absolute; right: .4rem; bottom: .35rem; font-size: .75rem; color: #8aa0b8; }
.home-news-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: .4rem; }
.home-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.home-news a { display: block; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--navy); box-shadow: 0 8px 18px rgba(6,43,82,.06); min-height: 210px; }
.home-news img { height: 96px; width: 100%; object-fit: cover; }
.home-news h3 { font-size: .78rem; line-height: 1.3; margin: .25rem .55rem .7rem; }
.news-kicker, .home-news time { display: block; margin: .45rem .55rem 0; font-size: .68rem; font-weight: 700; color: var(--red); }
.home-news time { margin-top: 0; color: #7b8ba1; font-weight: 600; }
@media (min-width: 1400px) {
    .container { max-width: 1440px; }
    .hero { height: 480px; }
}

.section { padding: 5rem 0; }
.section-soft { background: var(--bg); }
.section-head, .about-grid, .prose-grid, .admit-grid, .contact-grid, .footer-grid { display: grid; gap: 2rem; }
.section-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 1.5rem; }
.about-grid, .prose-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
.about-visual { position: relative; }
.about-visual img, .cover { border-radius: 28px; width: 100%; object-fit: cover; }
.about-visual img { min-height: 420px; }
.stat-card {
    position: absolute; left: -28px; bottom: 24px; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
    display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; padding: 1rem 1.1rem; width: min(320px, 90%);
}
.stat-card strong { display: block; font-family: Outfit, sans-serif; font-size: 1.5rem; color: var(--navy); }
.stat-card span { color: var(--muted); font-size: .92rem; }
.value-list { display: grid; gap: .8rem; margin: 1.2rem 0 1.5rem; }
.value-list article { background: var(--bg); border-radius: 16px; padding: .9rem 1rem; }
.value-list h3 { margin: 0 0 .2rem; font-size: 1rem; }

.level-grid, .programme-grid, .dept-grid, .news-grid, .life-grid, .staff-grid { display: grid; gap: 1rem; }
.level-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 1.2rem; }
.level-card, .programme-card, .dept-card, .news-card, .life-card, .staff-card, .form-card, .side-card {
    background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(6,43,82,.06);
}
.level-card { color: #fff; padding: 1.4rem; text-decoration: none; min-height: 210px; display: flex; flex-direction: column; }
.level-card h3, .level-card p { color: #fff; margin: 0; }
.level-card span, .level-card small { color: rgba(255,255,255,.86); }
.level-nvq-4 { background: linear-gradient(160deg, #0B5CAB, #062B52); }
.level-nvq-5 { background: linear-gradient(160deg, #EF233C, #9F1239); }
.level-nvq-6 { background: linear-gradient(160deg, #003B70, #021526); }
.programme-grid { grid-template-columns: repeat(3, 1fr); }
.programme-card img { height: 190px; width: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.programme-card { display: flex; flex-direction: column; overflow: hidden; }
.programme-card > img, .programme-card-placeholder { transition: transform .25s ease; }
.programme-card:hover > img { transform: scale(1.03); }
.programme-card > div { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.1rem 1.2rem; }
.programme-card-placeholder { height: 190px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f1fb, #cbdced); color: var(--navy); font-size: 2.5rem; }
.programme-card h2 { font-size: 1.25rem; }
.programme-card ul { margin: auto 0 1rem; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.programme-card-actions { display: flex !important; flex-direction: row !important; gap: .5rem; padding: 0 !important; flex-wrap: wrap; }
.programme-card-actions .btn { flex: 1 1 120px; }
.programme-tools { margin-bottom: 1rem; }
.programme-filters { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto auto; gap: .6rem; align-items: end; }
.programme-filters input { min-width: 0; margin-top: 0; }
.programme-filters .btn-line-dark { color: var(--navy) !important; border-color: var(--line); }
.programme-results { margin-bottom: .8rem; }
.programme-result-count { color: var(--muted); margin: 0; font-size: .92rem; }
.badge { display: inline-block; background: #E8F1FB; color: var(--navy); border-radius: 999px; padding: .15rem .6rem; font-size: .82rem; font-weight: 700; }
.dept-grid { grid-template-columns: repeat(3, 1fr); }
.dept-card { text-decoration: none; color: inherit; overflow: hidden; position: relative; padding-bottom: 1rem; }
.dept-card img { height: 180px; width: 100%; object-fit: cover; }
.dept-card h3, .dept-card h2, .dept-card p { padding: 0 1rem; }
.dept-icon {
    width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center;
    margin: -23px 1rem .4rem; position: relative; box-shadow: var(--shadow);
}
.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card img { height: 200px; width: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.news-card h3 a, .news-card h2 a { text-decoration: none; color: var(--navy); }
.meta { color: var(--muted); font-size: .92rem; }
.meta span { color: var(--red); font-weight: 700; margin-right: .4rem; }
.event-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.event-row a, .event-list article { display: flex; gap: 1rem; background: #fff; border-radius: 16px; padding: 1rem; text-decoration: none; color: inherit; align-items: center; }
.life-grid { grid-template-columns: repeat(4, 1fr); }
.life-card img { height: 160px; width: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

.testimonials { background: linear-gradient(120deg, #062B52, #0A4C8A); color: #fff; }
.testimonials h2 { color: #fff; }
.quote-slider blockquote { margin: 0; max-width: 760px; }
.quote-slider p { font-size: 1.45rem; line-height: 1.45; }
.quote-slider footer { display: flex; flex-direction: column; color: #ffd0d6; }
.masonry, .video-grid { columns: 3; column-gap: 1rem; }
.masonry a, .masonry .shot, .video-grid article { break-inside: avoid; margin-bottom: 1rem; display: block; width: 100%; border: 0; padding: 0; background: transparent; }
.masonry img { border-radius: 18px; }
.cta-band { background: var(--navy); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.cta-band h2 { color: #fff; }

.page-hero { background: linear-gradient(110deg, #062B52 0%, #0A4C8A 62%, #EF233C 160%); color: #fff; padding: 4.5rem 0 3.2rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 16ch; }
.page-hero p { max-width: 58ch; color: #d7e6f7; }
.prose h2, .prose h3 { margin-top: 1.4rem; }
.narrow { max-width: 860px; }
.side-card, .form-card { padding: 1.3rem; }
.side-card { position: sticky; top: 110px; }
.department-breadcrumb { padding-block: 1rem; }
.department-hero { padding-top: 2rem; }
.department-hero-grid, .department-content-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.department-hero-media { position: relative; }
.department-hero-media img { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 60px rgba(6,43,82,.16); }
.department-hero-icon { position: absolute; right: 1.25rem; bottom: -1.5rem; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--red); color: #fff; font-size: 1.8rem; box-shadow: var(--shadow); }
.department-hero-content h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 13ch; }
.department-hero-content > p:not(.eyebrow) { max-width: 52ch; color: var(--muted); font-size: 1.08rem; }
.department-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 2rem; }
.department-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.department-facts strong { display: block; color: var(--navy); font: 800 1.35rem Outfit, sans-serif; }
.department-facts span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.department-content-grid { align-items: start; }
.department-copy { max-width: 72ch; }
.department-copy > h2, .department-facilities > h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.department-facilities { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.department-office { top: 130px; }
.section-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e8f1fb; color: var(--navy); font-size: 1.35rem; margin-bottom: 1rem; }
.department-office h2 { margin-bottom: 1rem; }
.department-office p { margin-bottom: .65rem; }
.department-office a { color: var(--navy); text-decoration: none; }
.department-office-links { display: grid; gap: .55rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.department-office-links a { display: flex; justify-content: space-between; font-weight: 700; }
.department-programmes { scroll-margin-top: 100px; }
.department-programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.programme-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; color: var(--muted); font-size: .84rem; }
.programme-card h3 { color: var(--navy); font-size: 1.25rem; }
.programme-card > div > p { color: var(--muted); }
.department-staff { scroll-margin-top: 100px; }
.department-staff-card { min-width: 0; padding: 1.25rem; }
.department-staff-card .staff-photo, .department-staff-card .avatar { width: 72px; height: 72px; }
.department-staff-card h3 { margin: 1rem 0 .25rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.department-staff-card p, .department-staff-card small { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.department-staff-card .staff-bio { margin-top: .75rem; font-size: .9rem; }
.empty-state { text-align: center; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state i { color: var(--red); font-size: 2rem; }
.empty-state h3 { color: var(--navy); }
.admissions-breadcrumb { padding-block: 1rem; }
.admissions-hero { padding-top: 2rem; background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.admissions-hero-grid, .admissions-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.admissions-hero-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 13ch; }
.admissions-hero-content > .prose, .admissions-hero-content > p:not(.eyebrow) { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.admissions-hero-media img { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 60px rgba(6,43,82,.15); }
.admissions-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 1rem; }
.admissions-status { color: var(--red); font-weight: 600; }
.admissions-status i { margin-right: .3rem; }
.admissions-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.admissions-step-grid article { position: relative; min-height: 210px; padding: 1.25rem; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(6,43,82,.06); }
.admissions-step-grid article > span { color: var(--red); font: 800 1rem Outfit, sans-serif; }
.admissions-step-grid article > i { display: block; margin: 1.2rem 0 .7rem; color: var(--navy); font-size: 1.5rem; }
.admissions-step-grid h3 { font-size: 1.15rem; }
.admissions-step-grid p { color: var(--muted); font-size: .94rem; }
.admissions-content-grid { align-items: start; }
.admissions-level-list { display: grid; gap: .7rem; margin: 1.2rem 0; }
.admissions-level-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: 1rem; color: inherit; background: #fff; border-radius: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(6,43,82,.05); }
.admissions-level-list strong, .admissions-level-list small { display: block; }
.admissions-level-list small { margin-top: .2rem; color: var(--muted); }
.admissions-level-list > a > i { color: var(--red); }
.admissions-announcements { position: static; }
.admissions-document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.admissions-document-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.3rem; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(6,43,82,.06); }
.admissions-document-card h3 { font-size: 1.15rem; }
.admissions-document-card p { color: var(--muted); }
.admissions-document-card .btn { margin-top: auto; }
.admissions-services, .admissions-faq, .admissions-contact { scroll-margin-top: 100px; }
.admissions-faq .faq-list { display: grid; gap: .7rem; }
.admissions-faq details { margin: 0; }
.admissions-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admissions-faq summary i { color: var(--red); }
.admissions-contact-card { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 2rem; align-items: center; padding: 2rem; background: var(--navy); border-radius: 24px; color: #fff; }
.admissions-contact-card h2 { color: #fff; }
.admissions-contact-card p { color: #d7e6f7; }
.admissions-contact-details { display: grid; gap: .65rem; }
.admissions-contact-details a, .admissions-contact-details span { color: #fff; text-decoration: none; }
.admissions-contact-details i { width: 1.4rem; color: #ffb0ba; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.steps article { background: var(--bg); border-radius: 18px; padding: 1rem; }
.steps span { font-family: Outfit, sans-serif; color: var(--red); font-size: 1.3rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.filters a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; color: var(--navy); font-weight: 600; }
.filters a.is-current { background: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.management-section { scroll-margin-top: 110px; }
.management-section > .container > h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); margin: 0 0 1.5rem; }
.management-section .staff-card { min-width: 0; min-height: 210px; padding: 1.35rem; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s ease, box-shadow .2s ease; }
.management-section .staff-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(6,43,82,.12); }
.management-section .staff-card h3 { margin: 1rem 0 .35rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); overflow-wrap: anywhere; }
.management-section .staff-card p { margin: 0; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.management-section .staff-card small { display: block; margin-top: .55rem; color: var(--navy-2); line-height: 1.4; overflow-wrap: anywhere; }
.management-section .staff-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.management-section .staff-bio { margin-top: .75rem; color: var(--muted); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.faq-list details { background: #fff; border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .7rem; box-shadow: 0 8px 24px rgba(6,43,82,.05); }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.contact-grid, .admit-grid { grid-template-columns: 1.2fr .8fr; }
.form-card label, .auth-card label, .form-grid label { display: block; font-weight: 700; margin-bottom: .9rem; color: var(--navy); }
input, select, textarea {
    width: 100%; margin-top: .35rem; border: 1px solid #D5E0EC; border-radius: 12px; padding: .75rem .85rem; font: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(11,92,171,.25); border-color: #0B5CAB; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.error { color: var(--red); font-weight: 600; }
.alert { border-radius: 14px; padding: .8rem 1rem; margin: 1rem 0; }
.link-list { list-style: none; padding: 0; }
.link-list a { display: block; text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.link-list small { display: block; font-weight: 500; color: var(--muted); }
.event-list { display: grid; gap: .8rem; }
.event-list time { min-width: 90px; text-align: center; color: var(--red); }
.event-list time strong { display: block; font-size: 1.6rem; font-family: Outfit, sans-serif; }
.gallery-tools { display: flex; justify-content: space-between; gap: 1rem; align-items: end; flex-wrap: wrap; }
.gallery-tools form { display: flex; gap: .5rem; }
.gallery-tools input { width: 220px; }
.video-grid iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; }
dialog { border: 0; border-radius: 18px; padding: 1rem; max-width: min(960px, 94vw); }
dialog img { max-height: 72vh; margin: 0 auto; }
dialog::backdrop { background: rgba(6, 20, 40, .72); }
.reference { font-size: 1.4rem; }
.pager ul { display: flex; gap: .4rem; list-style: none; padding: 1rem 0; }
.pager a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; background: #fff; }
.pager a.is-current { background: var(--navy); color: #fff; }
.search-modal[hidden] { display: none; }
.search-modal { position: fixed; inset: 0; background: rgba(6,20,40,.55); z-index: 70; display: grid; place-items: center; padding: 1rem; }
.search-modal-card { background: #fff; border-radius: 20px; padding: 1.2rem; width: min(560px, 100%); display: grid; gap: .6rem; position: relative; }
.search-page { display: flex; gap: .5rem; margin-bottom: 1rem; }

.site-footer { background: #062B52; color: #d5e2f2; padding-top: 2.2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .7rem; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { grid-template-columns: 1.25fr 1fr 1fr .8fr; align-items: start; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-links { columns: 2; }
.footer-links a { display: flex; justify-content: space-between; gap: .4rem; padding: .18rem 0; font-size: .92rem; }
.footer-brand p, .contact-list { font-size: .92rem; }
.footer-socials { display: flex; gap: .45rem; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.campus-art { width: 170px; margin-top: 1rem; }
.campus-caption { font-size: .78rem; color: #9fb4cc; margin: .2rem 0 0; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; }
.footer-base-inner { min-height: 52px; font-size: .85rem; }
.footer-base ul { display: flex; gap: 1rem; }
.event-list article { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; align-items: start; }
.event-list article > img { width: 180px; height: 110px; object-fit: cover; border-radius: 12px; }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.event-calendar { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-weekday { padding: .6rem; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; }
.calendar-day { min-height: 120px; padding: .55rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.calendar-day.is-empty { background: var(--bg); }
.calendar-day > strong { display: block; color: var(--navy); margin-bottom: .35rem; }
.calendar-day a { display: block; padding: .35rem; margin-top: .25rem; border-radius: 7px; background: #eef4fb; color: var(--navy); font-size: .8rem; line-height: 1.2; text-decoration: none; }
.calendar-day a small { display: block; color: var(--muted); margin-top: .15rem; }

@media (max-width: 1100px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .home-stats-grid, .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .dashboard-programmes { grid-template-columns: repeat(2, 1fr); }
    .programme-grid, .dept-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .home-split, .home-lower-grid { grid-template-columns: 1fr; }
    .home-depts { grid-template-columns: repeat(3, 1fr); }
    .header-inner { grid-template-columns: 1fr auto; }
    .header-apply { display: none; }
    .life-grid, .staff-grid, .steps, .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: inline-grid; place-items: center; }
    .primary-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
        flex-direction: column; align-items: stretch; padding: 1rem; box-shadow: var(--shadow);
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav > ul { flex-direction: column; }
    .has-sub > ul { position: static; display: block; box-shadow: none; padding-left: .6rem; }
    .topbar-links { display: none; }
    .about-grid, .prose-grid, .contact-grid, .admit-grid, .department-hero-grid, .department-content-grid, .admissions-hero-grid, .admissions-content-grid, .admissions-contact-card, .section-head, .cta-band .container { grid-template-columns: 1fr; }
    .admissions-step-grid { grid-template-columns: 1fr 1fr; }
    .admissions-document-grid { grid-template-columns: 1fr 1fr; }
    .hero { height: 420px; }
    .hero-blue { clip-path: none; background: linear-gradient(180deg, rgba(4,30,74,.82), rgba(4,30,74,.55)); }
    .hero-red { display: none; }
    .hero-copy { width: auto; left: 1.5rem; right: 1.5rem; padding-bottom: 1.5rem; }
    .stat-card { position: static; width: auto; margin-top: 1rem; }
    .department-hero-content { order: -1; }
    .department-hero-content h2 { max-width: 20ch; }
    .department-office { position: static; }
    .admissions-hero-content { order: -1; }
    .admissions-contact-card { gap: 1rem; }
}
@media (max-width: 700px) {
    .quick-grid, .home-stats-grid, .dashboard-stats, .dashboard-grid, .dashboard-programmes, .level-grid, .programme-grid, .dept-grid, .news-grid, .life-grid, .staff-grid, .steps, .footer-grid, .form-row, .event-row, .home-levels, .home-news, .home-depts, .admissions-step-grid, .admissions-document-grid { grid-template-columns: 1fr; }
    .programme-filters { grid-template-columns: 1fr; }
    .masonry, .video-grid { columns: 1; }
    .event-list article { grid-template-columns: 1fr; }
    .event-list article > img { width: 100%; height: 180px; }
    .calendar-weekday { font-size: .7rem; overflow: hidden; }
    .calendar-day { min-height: 90px; padding: .3rem; font-size: .8rem; }
    .calendar-day a { font-size: .7rem; padding: .2rem; }
    .header-inner { min-height: 72px; }
    .brand img { width: 180px; }
    .hero { height: clamp(330px, 92vw, 380px); }
    .hero-bg { object-position: 62% center; }
    .hero-copy { left: 1rem; right: 1rem; padding-bottom: 1.2rem; }
    .hero h1 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
    .hero-copy p { max-width: 34ch; font-size: .88rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero .btn { padding: .6rem .9rem; }
    .quick-grid, .home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .quick-card { min-height: 76px; padding: .65rem; }
    .quick-card small { font-size: .7rem; }
    .home-stat { column-gap: .45rem; }
    .home-stat i { font-size: 1.35rem; }
    .home-stat strong { font-size: 1.15rem; }
    .home-stat span { font-size: .72rem; }
}
@media (min-width: 701px) and (max-width: 900px) {
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
    .quick-grid, .home-stats-grid { grid-template-columns: 1fr; }
    .footer-base-inner { flex-direction: column; align-items: flex-start; padding: 1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .quick-card { transition: none; }
}
.video-card { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(6,43,82,.1); }
.video-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; background: #e8eef5; }
.video-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video-card:hover .video-card-media img { transform: scale(1.04); }
.video-play { position: absolute; inset: 0; display: grid; place-content: center; color: #fff; font-size: 3rem; text-shadow: 0 2px 8px #000; }
.video-card-body { padding: 1rem; }
.video-card-body h2, .video-card-body h3 { margin: .35rem 0; font-size: 1.1rem; }
.video-card-body h2 a, .video-card-body h3 a { color: inherit; text-decoration: none; }
.video-card-body p { margin: 0; color: #64748b; }
.video-provider { color: #0B5CAB; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.video-detail-player { aspect-ratio: 16/9; overflow: hidden; margin: 1.5rem 0; border-radius: 14px; background: #0b1420; }
.video-detail-player iframe, .video-detail-player video { width: 100%; height: 100%; border: 0; }
.video-detail-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.video-detail-meta dt { color: #64748b; font-size: .75rem; }
.video-detail-meta dd { margin: 0; font-weight: 600; }
.testimonial-public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.testimonial-public-card { padding: 1.35rem; border: 1px solid #e2eaf3; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(6,43,82,.08); }
.testimonial-public-head { display: flex; align-items: center; gap: .75rem; }
.testimonial-public-head img, .testimonial-public-avatar { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.testimonial-public-avatar { display: grid; place-items: center; background: #e5eef7; color: #0B5CAB; font-weight: 700; }
.testimonial-public-head h2, .testimonial-public-head h3 { margin: 0; font-size: 1.05rem; }
.testimonial-public-head p { margin: .1rem 0 0; color: #64748b; font-size: .82rem; }
.testimonial-public-card blockquote { margin: 1rem 0 .5rem; color: #475569; font-size: .95rem; }
.testimonial-public-card small { color: #0B5CAB; font-weight: 600; }
@media (max-width: 900px) { .testimonial-public-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .testimonial-public-grid { grid-template-columns: 1fr; } }
.staff-public-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.staff-public-card { overflow: hidden; border: 1px solid #e2eaf3; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(6,43,82,.08); }
.staff-public-card > img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; }
.staff-public-avatar { display: grid; width: 100%; aspect-ratio: 1/1.1; place-items: center; background: #e5eef7; color: #0B5CAB; font-size: 3rem; font-weight: 700; }
.staff-public-card > div { padding: .9rem; }
.staff-public-card h2 { margin: 0; font-size: 1.05rem; }
.staff-public-card h2 a { color: inherit; text-decoration: none; }
.staff-public-card p { margin: .2rem 0; color: #64748b; }
.staff-public-card small { color: #0B5CAB; font-weight: 600; }
.staff-profile { max-width: 900px; margin: auto; }
.staff-profile-head { display: flex; align-items: center; gap: 2rem; margin-bottom: 2rem; }
.staff-profile-head img, .staff-profile-head .staff-public-avatar { flex: 0 0 220px; width: 220px; height: 250px; object-fit: cover; border-radius: 14px; }
.staff-profile-head h1 { margin: .2rem 0; }
.staff-profile-head h2 { margin: 0; color: #64748b; font-size: 1.2rem; }
.staff-profile section { margin-top: 1.5rem; }
@media (max-width: 1000px) { .staff-public-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .staff-public-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .staff-profile-head { align-items: flex-start; flex-direction: column; gap: 1rem; } }
@media (max-width: 450px) { .staff-public-grid { grid-template-columns: 1fr; } }
.facility-public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.facility-public-card { overflow: hidden; border: 1px solid #e2eaf3; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(6,43,82,.08); }
.facility-public-card > img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.facility-public-placeholder { display: grid; width: 100%; aspect-ratio: 1.45; place-items: center; background: #e5eef7; color: #0B5CAB; font-size: 3rem; }
.facility-public-card > div { padding: 1rem; }.facility-category { color: #0B5CAB; font-size: .75rem; font-weight: 700; text-transform: uppercase; }.facility-public-card h2 { margin: .3rem 0; font-size: 1.15rem; }.facility-public-card h2 a { color: inherit; text-decoration: none; }.facility-public-card p { margin: 0 0 .4rem; color: #64748b; }.facility-public-card small { color: #64748b; }
.facility-detail { max-width: 1000px; margin: auto; }.facility-detail-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; }.facility-detail-hero img { width: 100%; border-radius: 15px; }.facility-detail-hero h1 { margin: .25rem 0; }.facility-detail-content { margin-top: 2rem; }.facility-detail-content dl { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }.facility-detail-content dt { color: #64748b; font-size: .75rem; }.facility-detail-content dd { margin: 0; font-weight: 600; }
@media (max-width: 850px) { .facility-public-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.facility-detail-hero { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .facility-public-grid { grid-template-columns: 1fr; } }
.page-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2.5rem; align-items: start; }
.page-featured-image { width: 100%; max-height: 420px; margin-bottom: 1.5rem; border-radius: 16px; object-fit: cover; }
.page-breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; color: #64748b; font-size: .9rem; }
.page-breadcrumbs a { color: var(--primary-color); }
.page-child-nav { padding: 1.25rem; border: 1px solid #dbe5ef; border-radius: 14px; background: #f8fafc; }
.page-child-nav h2 { margin-top: 0; font-size: 1rem; color: var(--primary-color); }
.page-child-nav ul { margin: 0; padding-left: 1.1rem; }
.page-child-nav a { color: var(--primary-color); text-decoration: none; }
.quality-page .page-content-layout { max-width: 1180px; margin-inline: auto; }
.quality-page .prose { max-width: 78ch; }
.quality-page .prose > p:first-of-type { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--navy); line-height: 1.75; }
.quality-page .prose h2, .quality-page .prose h3 { scroll-margin-top: 110px; }
.quality-page .prose h2 { padding-top: .75rem; border-top: 3px solid var(--red); }
.quality-page .prose ul, .quality-page .prose ol { padding-left: 1.35rem; }
.quality-page .prose li + li { margin-top: .45rem; }
.quality-page .page-child-nav { position: sticky; top: 110px; box-shadow: 0 10px 24px rgba(6,43,82,.06); }
@media (max-width: 800px) { .page-content-layout { grid-template-columns: 1fr; } }
.faq-public-filters { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto auto; gap: .75rem; margin-bottom: 1.5rem; }
.faq-public-filters input, .faq-public-filters select { min-width: 0; padding: .7rem .85rem; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.faq-list details summary { display: flex; justify-content: space-between; gap: 1rem; }
.faq-list details summary small { flex: 0 0 auto; color: #64748b; font-size: .75rem; font-weight: 600; }
.faq-empty { padding: 3rem 1rem; text-align: center; color: #64748b; }
.faq-empty i { color: var(--primary-color); font-size: 2.5rem; }
@media (max-width: 700px) { .faq-public-filters { grid-template-columns: 1fr; } }
.public-application-functions { margin-bottom: 2rem; }
.public-application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.public-application-card { display: flex; align-items: center; gap: .9rem; min-width: 0; padding: 1.15rem; border: 1px solid #dbe5ef; border-radius: 14px; background: #fff; color: var(--primary-color); box-shadow: 0 7px 22px rgba(6,43,82,.08); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.public-application-card:hover, .public-application-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(6,43,82,.14); }
.public-application-card > span:nth-child(2) { flex: 1; min-width: 0; }
.public-application-card strong, .public-application-card small { display: block; }
.public-application-card small { margin-top: .25rem; color: #64748b; font-size: .85rem; }
.public-application-icon { display: grid; width: 3rem; height: 3rem; flex: 0 0 3rem; place-items: center; border-radius: 12px; background: #e7f0fa; color: var(--primary-color); font-size: 1.35rem; }
.public-application-card > i { color: #b42318; }
@media (max-width: 650px) { .public-application-grid { grid-template-columns: 1fr; } }
.about-intro .prose-grid { max-width: 1180px; margin-inline: auto; }
.about-intro .prose { max-width: 72ch; }
.about-principal-inner { max-width: 1180px; }
.about-principal-inner > h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); margin: 0 0 1.8rem; }
.about-principal-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.about-featured-image { width: 100%; max-height: 420px; margin-bottom: 1.5rem; border-radius: 16px; object-fit: cover; }
.principal-image { display: block; width: 100%; max-width: 800px; height: auto; max-height: 520px; margin: 0; border-radius: 18px; object-fit: cover; }
.principal-copy { max-width: 65ch; font-size: clamp(.95rem, 1.4vw, 1.1rem); line-height: 1.75; }
.principal-copy p { margin: 0 0 1rem; }

@media (max-width: 991px) {
    .about-intro .prose-grid { gap: 1.5rem; }
    .about-principal-layout { gap: 1.5rem; }
    .about-principal-inner > h2 { margin-bottom: 1.4rem; }
}

@media (max-width: 700px) {
    .about-intro, .about-principal { padding-block: clamp(2.8rem, 9vw, 4rem); }
    .about-intro .prose-grid { gap: 1.25rem; }
    .about-intro .prose { max-width: none; }
    .about-principal-layout { grid-template-columns: 1fr; gap: 1.25rem; }
    .about-principal-inner > h2 { margin-bottom: 1.15rem; }
    .principal-image { max-height: none; border-radius: 14px; }
    .principal-copy { line-height: 1.7; }
}
