:root {
    --navy-950: #07152d;
    --navy-900: #0b214a;
    --navy-800: #16386f;
    --navy-700: #1b4b93;
    --gold-500: #f2b329;
    --gold-400: #f6c658;
    --ink-900: #15233f;
    --ink-700: #4d5d7c;
    --ink-500: #7a88a2;
    --surface: #ffffff;
    --surface-soft: #f4f7fc;
    --surface-tint: #eef4ff;
    --border: rgba(11, 33, 74, 0.12);
    --shadow-soft: 0 24px 60px rgba(11, 33, 74, 0.12);
    --shadow-card: 0 18px 42px rgba(11, 33, 74, 0.1);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Candara, "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(242, 179, 41, 0.15), transparent 30%),
        linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
    color: var(--ink-900);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

main {
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--navy-900);
    box-shadow: 0 16px 30px rgba(242, 179, 41, 0.3);
}

.button-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.button-navy {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(11, 33, 74, 0.28);
}

.text-link,
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-900);
}

.text-link::after,
.section-link::after {
    content: "\2192";
}

.section-block {
    padding: 90px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(11, 33, 74, 0.03), rgba(11, 33, 74, 0.01));
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #d99500;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    color: var(--navy-900);
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 34px;
}

.site-header {
    position: relative;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 36px rgba(11, 33, 74, 0.08);
}

.topbar {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
    color: #dce5f7;
}

.topbar-inner,
.topbar-left,
.topbar-right,
.topbar-utility {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-inner {
    justify-content: space-between;
    padding: 12px 0;
}

.topbar-right {
    gap: 18px;
    justify-content: flex-end;
}

.topbar-meta,
.topbar-utility a {
    color: inherit;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
}

.social-links a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-main {
    background: rgba(255, 255, 255, 0.96);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

.header-main-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-search {
    flex: 0 1 440px;
    width: min(100%, 440px);
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border: 1px solid rgba(11, 33, 74, 0.12);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #f4f8fd);
    box-shadow: 0 16px 34px rgba(11, 33, 74, 0.08);
}

.header-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 0;
    color: var(--ink-900);
    font-size: 0.98rem;
}

.header-search-form input[type="search"]::placeholder {
    color: var(--ink-500);
}

.header-search-form input[type="search"]:focus {
    outline: none;
}

.header-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), #f6b429);
    color: var(--navy-950);
    font-weight: 800;
    cursor: pointer;
    appearance: none;
    box-shadow: 0 12px 24px rgba(242, 179, 41, 0.24);
}

.header-search-button svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.brand-logo {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 33, 74, 0.12);
}

.brand-copy {
    min-width: 0;
}

.brand-copy h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--navy-900);
}

.brand-copy p {
    margin: 6px 0 0;
    color: var(--ink-700);
    font-size: 0.95rem;
}

.nav-toggle {
    display: none;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--navy-900);
    font-weight: 700;
}

.header-menu-bar {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
    border-top: 1px solid rgba(11, 33, 74, 0.08);
}

.main-nav-shell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 12px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}

.main-nav > a,
.nav-item > a {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-item.is-active > a,
.nav-item > a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.nav-item {
    position: relative;
}

.nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 14px 10px 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(11, 33, 74, 0.08);
    z-index: 30;
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--ink-900);
}

.dropdown-menu a:hover {
    background: rgba(11, 33, 74, 0.05);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.hero-shell {
    position: relative;
    background: var(--navy-950);
}

.hero-slider {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.slider-inner {
    position: relative;
    min-height: inherit;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 21, 45, 0.88) 0%, rgba(7, 21, 45, 0.7) 45%, rgba(7, 21, 45, 0.35) 100%);
}

.slide-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 80px 0 130px;
}

.slide-copy {
    max-width: 580px;
    color: #ffffff;
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.02;
    color: #ffffff;
}

.hero-text {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.slider-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.slider-control-prev {
    left: 24px;
}

.slider-control-next {
    right: 24px;
}

.slider-pagination {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.slider-pagination button {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.slider-pagination button.active {
    background: var(--gold-500);
}

.hero-stats-wrap {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    color: #ffffff;
}

.stat-pill:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-400);
    font-weight: 800;
}

.stat-pill strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.85rem;
}

.stat-pill span {
    color: rgba(255, 255, 255, 0.76);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.program-card,
.feature-card,
.news-card,
.gallery-card,
.content-card,
.campus-copy {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.program-card {
    position: relative;
    overflow: hidden;
}

.feature-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.program-media {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.feature-media {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #e9eef7;
}

.program-badge {
    position: absolute;
    top: 152px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 22px rgba(11, 33, 74, 0.24);
}

.program-body {
    padding: 42px 24px 26px;
}

.feature-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.feature-chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-body h3,
.feature-body h3,
.news-card-body h3,
.gallery-card-body h3 {
    margin: 0 0 12px;
    font-size: 1.28rem;
    color: var(--navy-900);
}

.program-body p,
.feature-body p,
.news-card-body p,
.gallery-card-body p,
.campus-copy p,
.page-content,
.footer-brand p,
.site-footer p {
    color: var(--ink-700);
    line-height: 1.75;
}

.campus-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 24px;
    align-items: stretch;
}

.campus-copy {
    padding: 40px;
}

.campus-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mosaic-card {
    position: relative;
    min-height: 210px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.mosaic-media,
.news-thumb,
.gallery-media {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mosaic-card::after,
.news-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 21, 45, 0) 20%, rgba(7, 21, 45, 0.78) 100%);
}

.mosaic-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: #ffffff;
}

.mosaic-label strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.mosaic-label span {
    display: block;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.82);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    overflow: hidden;
}

.news-thumb {
    position: relative;
    height: 190px;
}

.date-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 74px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(11, 33, 74, 0.3);
}

.date-badge strong {
    font-size: 1.35rem;
    line-height: 1;
}

.date-badge span {
    margin-top: 4px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.news-card-body,
.gallery-card-body {
    padding: 24px;
}

.news-grid-featured {
    align-items: stretch;
}

.news-card-rich {
    display: flex;
    flex-direction: column;
}

.news-card-rich .news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.news-card-rich .news-thumb-rich {
    background-size: cover;
    background-position: center;
}

.news-card-featured {
    grid-column: span 2;
}

.news-card-featured .news-thumb {
    height: 320px;
}

.news-card-featured .news-card-body h3 {
    font-size: 1.7rem;
}

.news-thumb-topline {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: calc(100% - 96px);
}

.news-type-badge,
.news-attachment-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.news-type-badge {
    background: rgba(7, 21, 45, 0.76);
}

.news-type-event {
    background: rgba(21, 94, 117, 0.84);
}

.news-type-popup {
    background: rgba(180, 83, 9, 0.88);
}

.news-attachment-badge {
    background: rgba(255, 255, 255, 0.18);
}

.news-card-date {
    margin: 0 0 10px;
    color: var(--navy-700);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card-rich .text-link {
    margin-top: auto;
}

.news-detail-summary {
    margin: 0 0 24px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--ink-900);
}

.news-detail-cover {
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.news-detail-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.news-attachments-section {
    margin-top: 34px;
}

.news-section-row {
    margin-bottom: 18px;
}

.news-section-title {
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.news-gallery-card,
.news-file-card {
    border: 1px solid rgba(11, 33, 74, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.news-gallery-card {
    overflow: hidden;
}

.news-gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-gallery-card span {
    display: block;
    padding: 14px 16px 18px;
    color: var(--ink-700);
    font-weight: 700;
}

.news-file-list {
    display: grid;
    gap: 14px;
}

.news-file-card {
    display: grid;
    gap: 8px;
    padding: 20px 22px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-file-card:hover,
.news-gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(11, 33, 74, 0.14);
}

.news-file-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
}

.home-news-popup.is-hidden {
    display: none;
}

.home-news-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 45, 0.58);
    backdrop-filter: blur(8px);
}

.home-news-popup-shell {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
}

.home-news-popup-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 40px 90px rgba(7, 21, 45, 0.28);
}

.home-news-popup-media {
    min-height: 360px;
    background-size: cover;
    background-position: center;
}

.home-news-popup-content {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 34px;
}

.home-news-popup-kicker {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.08);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-popup-content h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    color: var(--navy-900);
}

.home-news-popup-content p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.8;
}

.home-news-popup-date {
    color: var(--navy-700);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 6px;
}

.home-news-popup-meta {
    color: var(--ink-700);
    font-weight: 700;
}

.home-news-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(7, 21, 45, 0.84);
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.has-news-popup {
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.gallery-category-card,
.gallery-photo-card {
    overflow: hidden;
}

.gallery-card-link,
.gallery-lightbox-trigger {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-align: left;
    text-decoration: none;
}

.gallery-lightbox-trigger {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.gallery-card-link:hover .gallery-media,
.gallery-lightbox-trigger:hover .gallery-media,
.gallery-card-link:focus-visible .gallery-media,
.gallery-lightbox-trigger:focus-visible .gallery-media {
    transform: scale(1.03);
}

.gallery-card-link:focus-visible,
.gallery-lightbox-trigger:focus-visible {
    outline: 3px solid rgba(242, 179, 41, 0.55);
    outline-offset: -3px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.search-result-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.search-result-media {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.search-result-body {
    padding: 24px;
}

.search-result-meta {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 33, 74, 0.07);
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-result-body h3 {
    margin: 0 0 12px;
    color: var(--navy-900);
    font-size: 1.3rem;
}

.search-result-body p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.75;
}

.search-result-body .text-link {
    display: inline-flex;
    margin-top: 18px;
}

.gallery-media {
    height: 230px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.gallery-lightbox.is-hidden {
    display: none;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 45, 0.78);
    backdrop-filter: blur(5px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(1120px, 100%);
}

.gallery-lightbox-stage {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(7, 21, 45, 0.35);
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #e7edf7;
}

.gallery-lightbox-caption {
    padding: 20px 24px 24px;
}

.gallery-lightbox-counter {
    margin: 0 0 10px;
    color: var(--navy-700);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-lightbox-caption h3 {
    margin: 0 0 10px;
    color: var(--navy-900);
    font-size: 1.3rem;
}

.gallery-lightbox-caption p:last-child {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.8;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(7, 21, 45, 0.78);
    font-size: 1.7rem;
    line-height: 1;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    background: rgba(242, 179, 41, 0.88);
    box-shadow: 0 12px 24px rgba(7, 21, 45, 0.2);
    outline: none;
}

.has-gallery-lightbox {
    overflow: hidden;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        radial-gradient(circle at right top, rgba(242, 179, 41, 0.18), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
}

.page-hero::before {
    background-image: var(--page-hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.58;
    transform: scale(1.02);
    filter: saturate(1.05);
}

.page-hero::after {
    background:
        linear-gradient(90deg, rgba(7, 21, 45, 0.68) 0%, rgba(7, 21, 45, 0.42) 52%, rgba(7, 21, 45, 0.56) 100%);
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-kicker,
.page-title {
    color: #ffffff;
    text-shadow: 0 8px 22px rgba(7, 21, 45, 0.35);
}

.page-meta {
    margin-top: 16px;
}

.content-section {
    padding: 72px 0;
}

.content-card {
    padding: 34px;
}

.public-form-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 24px;
    align-items: start;
}

.public-form-layout-single {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.public-content-card,
.public-form-card,
.alumni-member-card,
.public-meta-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.public-form-card {
    display: grid;
    gap: 18px;
}

.public-form-heading p {
    margin: 10px 0 0;
    color: var(--ink-700);
    line-height: 1.75;
}

.public-form-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.public-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.public-meta-card {
    padding: 20px;
}

.public-meta-card strong {
    display: block;
    color: var(--navy-900);
    line-height: 1.6;
}

.public-form {
    display: grid;
    gap: 16px;
}

.public-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-weight: 700;
}

.public-form input,
.public-form textarea,
.public-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(11, 33, 74, 0.26);
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink-900);
    box-shadow: inset 0 0 0 1px rgba(11, 33, 74, 0.04);
}

.public-form textarea {
    min-height: 130px;
    resize: vertical;
}

.public-form input:focus,
.public-form textarea:focus,
.public-form select:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(27, 75, 147, 0.08);
}

.public-form-actions {
    display: flex;
    justify-content: flex-start;
}

.alumni-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.alumni-member-card {
    padding: 24px;
}

.alumni-member-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.alumni-member-top h3 {
    margin: 0 0 6px;
    color: var(--navy-900);
    font-size: 1.28rem;
}

.alumni-member-top p {
    margin: 0;
    color: var(--ink-700);
}

.alumni-member-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--ink-700);
    line-height: 1.7;
}

.alumni-member-message {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.8;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--navy-900);
}

.page-content p,
.page-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-700);
}

.page-content ul,
.page-content ol {
    padding-left: 20px;
}

.prospectus-lead {
    margin: 0 0 24px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--ink-800);
}

.prospectus-copy {
    display: grid;
    gap: 14px;
}

.prospectus-section {
    margin-top: 30px;
}

.prospectus-section h2 {
    margin-bottom: 14px;
    color: var(--navy-900);
    font-size: 1.4rem;
}

.prospectus-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
}

.prospectus-card-grid,
.prospectus-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.prospectus-card,
.prospectus-link-card,
.prospectus-quote,
.prospectus-note,
.prospectus-table-wrap {
    border: 1px solid rgba(11, 33, 74, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.prospectus-card,
.prospectus-quote,
.prospectus-note {
    padding: 22px;
}

.prospectus-card h3 {
    margin: 0 0 10px;
    color: var(--navy-900);
}

.prospectus-link-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prospectus-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(11, 33, 74, 0.12);
}

.prospectus-link-card strong {
    color: var(--navy-900);
    font-size: 1.04rem;
}

.prospectus-link-card span {
    color: var(--ink-700);
    line-height: 1.7;
}

.prospectus-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #f4f7fb;
    border: 1px solid rgba(11, 33, 74, 0.08);
}

.prospectus-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.prospectus-gallery figcaption {
    padding: 12px 14px 16px;
    color: var(--ink-700);
    font-size: 0.94rem;
}

.prospectus-quote {
    margin: 0;
    display: grid;
    gap: 12px;
    border-left: 5px solid var(--gold-500);
}

.prospectus-quote p {
    margin: 0;
    color: var(--ink-900);
    font-size: 1.04rem;
}

.prospectus-quote footer {
    color: var(--ink-600);
    font-weight: 700;
}

.prospectus-note p,
.prospectus-form-note {
    margin: 0;
    color: var(--ink-700);
}

.prospectus-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
    padding: 10px;
}

.prospectus-table {
    width: 100%;
    border-collapse: collapse;
}

.prospectus-table caption {
    padding: 12px;
    text-align: left;
    color: var(--navy-900);
    font-weight: 800;
    font-size: 1rem;
}

.prospectus-table th,
.prospectus-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(11, 33, 74, 0.08);
    text-align: left;
    vertical-align: top;
}

.prospectus-table th {
    color: var(--navy-900);
    background: rgba(11, 33, 74, 0.04);
}

.prospectus-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.prospectus-form-grid label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy-900);
    font-weight: 700;
}

.prospectus-form-grid input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--ink-700);
}

.inline-link {
    margin-top: 18px;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    text-align: center;
}

.site-footer {
    background: linear-gradient(180deg, #091833 0%, #071326 100%);
    color: #d6def0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr 1.15fr;
    gap: 24px;
    padding: 66px 0 34px;
}

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #ffffff;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 16px;
    color: #ffffff;
}

.footer-brand-copy {
    display: grid;
    gap: 10px;
}

.footer-address {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: #d6def0;
}

.footer-social a {
    display: inline-flex;
    margin-bottom: 0;
}

.footer-social {
    margin-top: 2px;
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.admin-field-help {
    margin: 0;
    color: var(--ink-600);
    font-size: 0.92rem;
}

.newsletter-form {
    display: grid;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.reference-photo {
    background-image: url("../../home1.png");
    background-repeat: no-repeat;
    background-size: 1024px 1536px;
    background-color: #dbe7fb;
}

.reference-photo--program-1 {
    background-position: -48px -620px;
}

.reference-photo--program-2 {
    background-position: -237px -620px;
}

.reference-photo--program-3 {
    background-position: -425px -620px;
}

.reference-photo--program-4 {
    background-position: -613px -620px;
}

.reference-photo--program-5 {
    background-position: -801px -620px;
}

.reference-photo--campus-1 {
    background-position: -390px -879px;
}

.reference-photo--campus-2 {
    background-position: -677px -879px;
}

.reference-photo--campus-3 {
    background-position: -390px -1016px;
}

.reference-photo--campus-4 {
    background-position: -678px -1016px;
}

.reference-photo--news-1 {
    background-position: -32px -1200px;
}

.reference-photo--news-2 {
    background-position: -368px -1200px;
}

.reference-photo--news-3 {
    background-position: -673px -1200px;
}

.admin-dashboard-page {
    min-height: 100vh;
    padding: 24px;
    background: #eef3fb;
}

.admin-dashboard-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(11, 33, 74, 0.16);
}

.sidebar-top {
    display: grid;
    gap: 32px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 1.55rem;
    font-weight: 800;
}

.sidebar-brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sidebar-brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.sidebar-nav {
    display: grid;
    gap: 12px;
}

.sidebar-nav-link {
    display: block;
    padding: 14px 18px;
    border-radius: 16px;
    color: #dbe5f8;
    font-weight: 600;
}

.sidebar-nav-link.active,
.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sidebar-footer {
    display: grid;
    gap: 18px;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-weight: 700;
}

.profile-name {
    font-weight: 700;
}

.profile-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.sidebar-logout {
    width: 100%;
}

.admin-main,
.dashboard-content {
    display: grid;
    gap: 24px;
}

.admin-header,
.widget-card,
.stat-card,
.tab-pane,
.admin-list-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 30px;
}

.admin-header h1,
.tab-panel-header h2 {
    margin: 0;
}

.admin-intro,
.widget-note,
.menu-hint,
.alert,
.admin-list li span,
.admin-menu-tree li span {
    color: var(--ink-700);
}

.admin-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 240px;
    padding: 14px 14px 14px 40px;
    border: 1px solid #d7e1ef;
    border-radius: 16px;
    background: var(--surface-soft);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-500);
}

.header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--navy-700);
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.stat-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-700);
}

.stat-card strong {
    font-size: 2.2rem;
}

.stat-card-primary .stat-card-icon {
    background: #eef4ff;
    color: #1d4ed8;
}

.stat-card-secondary .stat-card-icon {
    background: #dcfce7;
    color: #16a34a;
}

.stat-card-tertiary .stat-card-icon {
    background: #fff8d7;
    color: #ca8a04;
}

.stat-card-quaternary .stat-card-icon {
    background: #efe7ff;
    color: #7c3aed;
}

.dashboard-widgets {
    display: grid;
    gap: 20px;
}

.dashboard-widgets-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.widget-card {
    padding: 24px;
}

.widget-header,
.widget-row,
.tab-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.widget-row strong {
    font-size: 2rem;
}

.widget-row span {
    color: var(--ink-700);
}

.small-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(11, 33, 74, 0.05);
    color: var(--navy-900);
    font-weight: 600;
}

.admin-dashboard-page .button-secondary {
    background: #e6edf7;
    color: var(--ink-900);
    border: 1px solid #cfd9e6;
}

.tab-pane {
    display: none;
    padding: 24px;
}

.tab-pane.active {
    display: block;
}

.tab-panel-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.panel-summary-card {
    padding: 20px;
    border-radius: 18px;
    background: var(--surface-soft);
}

.panel-summary-card-soft {
    background: #eef4ff;
}

.admin-list,
.admin-menu-tree {
    list-style: none;
    padding-left: 0;
}

.admin-list li,
.admin-menu-tree li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #dee6f2;
    border-radius: 14px;
    background: #f8fafd;
}

.admin-menu-tree ul {
    margin-top: 10px;
    padding-left: 18px;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #334155;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="datetime-local"],
.admin-form input[type="file"],
.admin-form input[type="password"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cfd9e6;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
}

.admin-form textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.newsletter-form input:focus,
.search-box input:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(27, 75, 147, 0.08);
}

.admin-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-weight: 600;
}

.admin-list-card {
    margin-top: 24px;
    padding: 24px;
}

.admin-list-card h3 {
    margin-top: 0;
}

.admin-list li .list-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-form {
    display: inline;
    margin: 0;
}

.form-actions {
    margin-top: 12px;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 600;
}

.alert-success {
    background: #dff7ea;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.tab-switch {
    border: none;
}

.admin-card {
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #ffffff;
}

.admin-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
}

@media (max-width: 1180px) {
    .program-grid,
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .alumni-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-card-featured {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .nav-toggle {
        display: inline-flex;
        justify-self: end;
        flex-shrink: 0;
    }

    .header-main-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
    }

    .header-main-actions {
        width: 100%;
        justify-content: space-between;
    }

    .main-nav-shell {
        display: none;
        padding: 14px 0 18px;
    }

    .main-nav-shell.is-open {
        display: block;
    }

    .main-nav {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .main-nav > a,
    .nav-item > a {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        margin-top: 8px;
        padding: 8px 0 0 14px;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .dropdown-menu a {
        padding: 8px 10px;
        color: rgba(255, 255, 255, 0.82);
    }

    .campus-layout,
    .feature-grid,
    .search-results-grid,
    .public-form-layout,
    .news-grid,
    .gallery-grid,
    .dashboard-widgets-columns,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .public-meta-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-column: span 1;
    }

    .news-card-featured .news-thumb {
        height: 240px;
    }

    .home-news-popup-card {
        grid-template-columns: 1fr;
    }

    .home-news-popup-media {
        min-height: 240px;
    }

    .gallery-lightbox {
        padding: 20px;
    }

    .gallery-lightbox-dialog {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-lightbox-stage {
        order: 1;
    }

    .gallery-lightbox-nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
    }

    .gallery-lightbox-nav-prev {
        left: 12px;
    }

    .gallery-lightbox-nav-next {
        right: 12px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-pill:nth-child(2n) {
        border-right: none;
    }

    .admin-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box input {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .topbar-inner,
    .topbar-left,
    .topbar-right,
    .topbar-utility {
        flex-wrap: wrap;
    }

    .topbar-left,
    .topbar-right {
        width: 100%;
    }

    .topbar-right {
        justify-content: space-between;
    }

    .hero-slider,
    .hero-grid {
        min-height: 560px;
    }

    .hero-grid {
        padding: 64px 0 110px;
    }

    .slider-control {
        display: none;
    }

    .program-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alumni-members-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-news-popup {
        padding: 18px;
    }

    .home-news-popup-content {
        padding: 26px;
    }

    .gallery-toolbar {
        justify-content: flex-start;
    }

    .gallery-lightbox-image {
        max-height: 60vh;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .brand-copy h1 {
        font-size: 1.25rem;
    }

    .header-main-actions {
        flex-wrap: wrap;
    }

    .header-search-form {
        flex-wrap: wrap;
        border-radius: 26px;
    }

    .header-search-button {
        width: 48px;
    }

    .gallery-lightbox {
        padding: 14px;
    }

    .gallery-lightbox-nav {
        width: 46px;
        height: 46px;
    }

    .gallery-lightbox-caption {
        padding: 16px 18px 20px;
    }

    .hero-actions,
    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-news-popup-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .prospectus-form-grid {
        grid-template-columns: 1fr;
    }

    .public-form-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats,
    .program-grid,
    .feature-grid,
    .campus-mosaic {
        grid-template-columns: 1fr;
    }

    .stat-pill {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .stat-pill:last-child {
        border-bottom: none;
    }

    .content-card,
    .campus-copy,
    .widget-card,
    .admin-header,
    .stat-card,
    .tab-pane {
        padding: 20px;
    }
}
