:root {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --primary-soft: #eaf3ff;
    --secondary: #d5b25d;
    --secondary-soft: #f7edc9;
    --gold-deep: #b88c1a;
    --text: #1a2440;
    --muted: #5b6680;
    --bg: #f4f7fb;
    --white: #ffffff;
    --border: #dfe8f4;
    --shadow: 0 24px 60px rgba(21, 101, 192, 0.12);
    --radius: 20px;
    --admin-bg: linear-gradient(135deg, rgba(17, 46, 90, 0.08), rgba(168, 195, 255, 0.06));
    --admin-panel: rgba(255, 255, 255, 0.72);
    --admin-panel-strong: rgba(255, 255, 255, 0.9);
    --admin-border: rgba(10, 41, 92, 0.08);
    --admin-glow: rgba(21, 101, 192, 0.14);
}

body[data-theme="dark"] {
    --primary: #66b3ff;
    --primary-dark: #8ec5ff;
    --primary-soft: rgba(102, 179, 255, 0.12);
    --secondary: #f0c76b;
    --secondary-soft: rgba(240, 199, 107, 0.18);
    --gold-deep: #ffd86a;
    --text: #eaf3ff;
    --muted: #b4c7df;
    --bg: #071421;
    --white: #0f1d2d;
    --border: rgba(146, 177, 216, 0.18);
    --shadow: 0 24px 70px rgba(2, 8, 16, 0.52);
    --admin-bg: linear-gradient(135deg, rgba(9, 25, 39, 0.96), rgba(17, 43, 68, 0.98));
    --admin-panel: rgba(15, 29, 45, 0.82);
    --admin-panel-strong: rgba(20, 36, 52, 0.94);
    --admin-border: rgba(140, 182, 255, 0.16);
    --admin-glow: rgba(91, 163, 255, 0.22);
}

body.admin-body {
    background:
        radial-gradient(circle at 8% 0%, rgba(21, 101, 192, 0.12), transparent 24%),
        linear-gradient(135deg, #eef4fb 0%, #f7f9fc 56%, #edf3fa 100%);
}

body.admin-body[data-theme="dark"] {
    background:
        radial-gradient(circle at 8% 0%, rgba(78, 157, 255, 0.16), transparent 26%),
        linear-gradient(135deg, #061321 0%, #0a1d30 58%, #081521 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(21, 101, 192, 0.06), transparent 20%),
        linear-gradient(180deg, #f3f9ff 0%, #edf6ff 100%);
    line-height: 1.7;
    transition: background 0.25s ease, color 0.25s ease;
}

body[data-theme="dark"] {
    background:
        radial-gradient(circle at top, rgba(92, 151, 255, 0.15), transparent 22%),
        linear-gradient(180deg, #06141d 0%, #0b1725 100%);
}

a {
    color: var(--primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    background: #1565c0;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.18);
}

.site-header .brand,
.site-header .brand strong {
    color: #fff;
}

.site-header .brand small {
    color: rgba(255, 255, 255, 0.78);
}

.site-header .main-nav a,
.site-header .nav-link {
    color: rgba(255, 255, 255, 0.92);
}

.site-header .main-nav a::after,
.site-header .nav-link::after {
    background: #1565c0;
}

.site-header .main-nav a.active,
.site-header .main-nav a:hover,
.site-header .nav-link.active,
.site-header .nav-link:hover,
.site-header .nav-trigger.active {
    color: #fff;
}

.site-header .nav-toggle {
    background: #1565c0;
}

.site-header .nav-toggle span {
    background: #f3eadb;
}

.site-header .btn-primary {
    background: #0d47a1;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 18px rgba(6, 35, 74, 0.2);
}

.site-header .btn-primary:hover {
    background: #06234a;
    color: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.card,
.testimonial-card,
.hero-copy,
.hero-visual,
.stat-card,
.feature-points div,
.gallery-item {
    animation: floatCard 0.7s ease both;
}

@keyframes floatCard {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 16px 40px rgba(13, 45, 92, 0.12); }
    50% { box-shadow: 0 24px 52px rgba(212, 175, 55, 0.18); }
}

.btn-primary:hover {
    animation: pulseGlow 1.3s ease infinite;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
}

.brand-logo-wrap {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 8px 18px rgba(11,43,109,0.12));
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    position: relative;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.has-dropdown {
    position: relative;
}

.main-nav a,
.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.96rem;
    line-height: 1.2;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    padding: 10px 6px;
}

.nav-trigger {
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
}

.main-nav a::after,
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-nav a.active,
.main-nav a:hover,
.nav-link.active,
.nav-link:hover,
.nav-trigger.active {
    color: #ffffff;
}

.main-nav a:hover::after,
.nav-link:hover::after,
.main-nav a.active::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.has-dropdown > .nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.has-dropdown > .nav-trigger::after {
    content: "▾";
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: min(220px, 70vw);
    min-width: 180px;
    padding: 12px 0;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(11,43,109,0.08);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 30;
}

.has-dropdown.open .dropdown-menu {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu[aria-hidden="false"] {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(11,43,109,0.04);
    color: var(--primary);
}

.site-header .dropdown-menu {
    background: #f3eadb;
    border-color: rgba(16, 43, 78, 0.14);
}

.site-header .dropdown-menu a {
    color: #102b4e;
}

.site-header .dropdown-menu a:hover,
.site-header .dropdown-menu a.active {
    background: #1565c0;
    color: #fff;
    box-shadow: inset 3px 0 0 #f3eadb;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-small {
    padding: 0.75rem 1.1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: #1565c0;
    color: var(--white);
    box-shadow: 0 12px 28px rgba(21, 101, 192, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.24);
}

.btn-secondary {
    background: #f0e5d0;
    color: var(--primary-dark);
    border: 1px solid rgba(15, 47, 99, 0.12);
}

.btn-secondary {
    background: var(--secondary-soft);
    color: var(--primary-dark);
}

.hero {
    position: relative;
    color: var(--white);
    padding: 100px 0 78px;
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.58), rgba(13, 71, 161, 0.42));
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.1s ease-in-out;
    transform: scale(1.02);
}

.hero-slide.active {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 16px 5% auto 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(213,178,93,0.8), transparent);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -58px -8%;
    height: 180px;
    background: rgba(255, 255, 255, 0.07);
    transform: rotate(-2deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-copy {
    max-width: 820px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0 clamp(8px, 2vw, 18px);
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin: 8px 0 18px;
    letter-spacing: -0.04em;
}

.eyebrow {
    display: inline-block;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    font-size: 0.72rem;
}

.hero-copy p {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.8);
    max-width: 620px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0;
}

.mini-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255,255,255,0.88);
    font-size: 0.94rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    width: 18px;
    height: 18px;
    fill: var(--secondary);
    flex-shrink: 0;
}

.hero-grid {
    display: block;
}

.hero-copy {
    max-width: 820px;
}

.slide-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 5px solid rgba(213,178,93,0.45);
    box-shadow: 0 28px 70px rgba(11,43,109,0.18);
    background: linear-gradient(135deg, rgba(11,43,109,0.08), rgba(213,178,93,0.1));
    height: 620px;
}

.slide-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,0.6);
    z-index: 1;
}

.slide-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: translateX(-18px);
    animation: slideInFromLeft 1.2s ease-out forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.stats-section {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,247,252,0.98) 100%);
    border-radius: 22px;
    box-shadow: 0 20px 46px rgba(11,43,109,0.08);
    padding: 24px 18px 20px;
    text-align: center;
    border-top: 4px solid rgba(11,43,109,0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: rgba(11,43,109,0.08);
}

.stat-card strong {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    color: var(--primary);
}

.stat-card span {
    color: var(--muted);
    font-weight: 600;
}

.download-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
    background: linear-gradient(180deg, #0d4fa8 0%, #0b3d8d 100%);
    color: #ffffff;
    border-radius: 22px;
    padding: 28px 22px 24px;
    box-shadow: 0 20px 46px rgba(11, 43, 109, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: 240px;
}

.download-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.download-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.download-card h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.download-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.btn-light {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.btn-light:hover {
    background: #eef4ff;
    color: var(--primary);
}

.download-empty,
.download-empty-inline {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    font-size: 0.92rem;
}

.download-soft-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-soft-card .btn {
    margin-top: auto;
}

.homepage-stats-section {
    position: relative;
    z-index: 2;
    margin-top: -34px;
}

.homepage-stats-section .download-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.homepage-stats-section .download-card {
    position: relative;
    min-height: 250px;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(13, 71, 161, 0.12);
    background: #fff;
    color: var(--text);
    box-shadow: 0 18px 36px rgba(13, 45, 92, 0.12);
    overflow: hidden;
}

.homepage-stats-section .download-card::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -48px;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(200, 154, 53, 0.28);
    border-radius: 50%;
}

.homepage-stats-section .download-card:first-child {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.homepage-stats-section .download-card:nth-child(3) {
    background: #f0e5d0;
    border-color: rgba(184, 140, 26, 0.28);
}

.homepage-stats-section .download-icon {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: #f0e5d0;
    color: var(--primary-dark);
}

.homepage-stats-section .download-card h3 {
    position: relative;
    z-index: 1;
    margin: 22px 0 8px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.homepage-stats-section .download-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.homepage-stats-section .download-card:first-child h3,
.homepage-stats-section .download-card:first-child p {
    color: #fff;
}

.homepage-stats-section .download-card .btn-light {
    position: relative;
    z-index: 1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1565c0;
    border: 1px solid #0d47a1;
    box-shadow: 0 8px 16px rgba(13, 71, 161, 0.22);
}

.homepage-stats-section .download-card:first-child .btn-light {
    background: #fff;
    color: #1565c0;
    border-color: rgba(255, 255, 255, 0.78);
}

.homepage-stats-section .download-card .btn-light:hover {
    background: #0d47a1;
    color: #fff;
}

.homepage-download-button span {
    font-size: 1.05rem;
    font-weight: 900;
}

@media (max-width: 980px) {
    .homepage-stats-section .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-stats-section .download-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .homepage-stats-section {
        margin-top: -18px;
    }

    .homepage-stats-section .download-grid {
        grid-template-columns: 1fr;
    }

    .homepage-stats-section .download-card:last-child {
        grid-column: auto;
    }
}

.downloads-content {
    padding-top: 72px;
    padding-bottom: 96px;
}

.downloads-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.downloads-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
}

.downloads-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.resource-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(13, 45, 92, 0.07);
}

.resource-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--primary-dark);
}

.resource-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 10px;
    color: #fff;
}

.resource-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.resource-type {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.resource-card-body h3 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1.2;
}

.resource-card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.resource-download,
.resource-unavailable {
    margin-top: auto;
    padding-top: 24px;
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-download span {
    margin-left: 7px;
    font-size: 1.1rem;
}

.resource-download:hover {
    color: var(--primary);
}

.resource-unavailable {
    color: var(--muted);
}

@media (max-width: 980px) {
    .downloads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .downloads-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .resource-card:last-child {
        grid-column: auto;
    }

    .resource-card {
        min-height: 280px;
    }
}

.about-section,
.programs-section,
.news-section,
.testimonials-section,
.gallery-section,
.values-section {
    padding: 96px 0;
}

.objectives-section {
    position: relative;
    overflow: hidden;
    background: #f4f7fb;
}

.objectives-section::after {
    content: '01';
    position: absolute;
    right: 4%;
    bottom: -110px;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 25rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.objectives-heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
    gap: 46px;
    align-items: end;
    margin-bottom: 36px;
}

.objectives-heading h2 {
    max-width: 700px;
    margin: 9px 0 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.objectives-heading p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.objectives-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.objective-card {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(13, 71, 161, 0.12);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 15px 32px rgba(13, 45, 92, 0.07);
}

.objective-card-primary {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.objective-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.objective-number {
    color: var(--secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.objective-label {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.objective-card-primary .objective-label {
    color: var(--secondary);
}

.objective-card h3 {
    position: relative;
    z-index: 1;
    max-width: 240px;
    margin: 52px 0 14px;
    color: var(--primary-dark);
    font-size: 1.55rem;
    line-height: 1.18;
}

.objective-card p {
    position: relative;
    z-index: 1;
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.objective-card-primary h3,
.objective-card-primary p {
    color: #fff;
}

.objective-mark {
    position: absolute;
    right: -12px;
    bottom: -54px;
    color: rgba(13, 71, 161, 0.06);
    font-family: Georgia, serif;
    font-size: 13rem;
    font-weight: 700;
    line-height: 1;
}

.objective-card-primary .objective-mark {
    color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
    .objectives-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .objectives-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .objective-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .objectives-section {
        padding: 64px 0;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .objective-card:last-child {
        grid-column: auto;
    }

    .objective-card {
        min-height: 270px;
        padding: 24px 20px;
    }
}

.values-section {
    position: relative;
}

.values-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.values-heading h2 {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.values-heading p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.values-section .value-card {
    position: relative;
    display: flex;
    min-height: 286px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 26px 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.06);
}

.values-section .value-card::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(200, 154, 53, 0.3);
    border-radius: 50%;
}

.values-section .value-card-featured {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.values-section .value-card-featured h3,
.values-section .value-card-featured p {
    color: #fff;
}

.value-number {
    color: var(--secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.value-line {
    display: block;
    width: 34px;
    height: 3px;
    margin: 28px 0 18px;
    background: var(--secondary);
}

.values-section .value-card h3 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.values-section .value-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.values-section .value-card.value-card-featured h3,
.values-section .value-card.value-card-featured p {
    color: #fff;
}

.value-link {
    margin-top: auto;
    padding-top: 22px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.value-card-featured .value-link {
    color: var(--secondary);
}

body[data-theme="dark"] .values-section .value-card {
    background: var(--white);
}

@media (max-width: 760px) {
    .values-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-section .value-card {
        min-height: 240px;
    }
}

.about-grid,
.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image-wrap img,
.about-layout img {
    border-radius: var(--radius);
    min-height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.story-section {
    position: relative;
    isolation: isolate;
    gap: clamp(42px, 8vw, 100px);
    padding-top: 92px;
    padding-bottom: 100px;
}

.story-section::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background:
        radial-gradient(circle at 14% 38%, rgba(200, 154, 53, 0.13), transparent 28%),
        linear-gradient(135deg, #f7fafc 0%, #eef5fb 100%);
    background-size: auto, auto;
}

.story-section::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 4%;
    width: min(38vw, 460px);
    height: min(38vw, 460px);
    background: url('../images/logoCEC-removebg-preview.png') center/contain no-repeat;
    opacity: 0.1;
    transform: translateY(-50%);
    pointer-events: none;
}

.story-copy {
    max-width: 610px;
}

.story-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.story-rule {
    width: 54px;
    height: 2px;
    background: var(--secondary);
}

.story-copy h2 {
    margin: 14px 0 20px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.story-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.story-copy .story-lead {
    color: var(--text);
    font-size: 1.08rem;
}

.story-quote {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 26px;
    padding: 18px 20px;
    border-left: 3px solid var(--secondary);
    background: var(--secondary-soft);
}

.story-quote-mark {
    color: var(--gold-deep);
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 0.75;
}

.story-quote p {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.98rem;
    line-height: 1.7;
}

.story-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.story-visual {
    position: relative;
    padding: 18px 0 28px 22px;
}

.story-visual::before {
    content: '';
    position: absolute;
    inset: 0 22px 18px 0;
    border: 1px solid var(--secondary);
    border-radius: 18px;
}

.story-image-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 18px;
    background: var(--primary-soft);
    box-shadow: 0 24px 55px rgba(13, 45, 92, 0.16);
}

.story-image-frame img {
    width: 100%;
    height: 490px;
    min-height: 0;
    display: block;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.story-image-frame:hover img {
    transform: scale(1.03);
}

.story-image-label {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    gap: 2px;
    padding: 14px 18px;
    border-left: 4px solid var(--secondary);
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.18);
}

.story-image-label strong {
    color: var(--secondary);
    font-size: 1rem;
}

.story-image-label span {
    font-size: 0.72rem;
}

@media (max-width: 760px) {
    .story-section {
        gap: 34px;
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .story-section::before {
        inset: 0 -14px;
    }

    .story-section::after {
        right: -34px;
        width: 260px;
        height: 260px;
        opacity: 0.08;
    }

    .story-visual {
        padding-left: 10px;
        padding-bottom: 22px;
    }

    .story-visual::before {
        right: 10px;
        bottom: 12px;
    }

    .story-image-frame img {
        height: 350px;
    }

    .story-image-label {
        right: 8px;
    }
}

.section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-heading.left {
    text-align: left;
}

.section-heading h2,
.about-copy h2,
.value-card h3,
.feature-band h3 {
    margin: 8px 0 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.why-section {
    position: relative;
    overflow: hidden;
    padding: 104px 0;
    background: #eef4fa;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -110px;
    right: -90px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(240, 199, 107, 0.04), 0 0 0 56px rgba(240, 199, 107, 0.025);
}

.why-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(42px, 8vw, 100px);
    align-items: center;
}

.why-intro {
    max-width: 470px;
}

.why-section .why-intro h3 {
    margin: 12px 0 18px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
}

.why-section .why-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.why-signature {
    display: inline-block;
    margin-top: 30px;
    padding-top: 13px;
    border-top: 2px solid var(--secondary);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.why-points {
    display: grid;
    gap: 12px;
}

.why-point {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0;
    padding: 22px 24px;
    border: 1px solid rgba(13, 71, 161, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(13, 45, 92, 0.08);
}

.why-point-number {
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.why-section .why-point strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.why-section .why-point p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

@media (max-width: 760px) {
    .why-section {
        padding: 68px 0;
    }

    .why-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .why-section::before {
        width: 230px;
        height: 230px;
        top: -80px;
        right: -100px;
    }
}

.foundation-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #eef4fa;
}

.foundation-section::after {
    content: 'C';
    position: absolute;
    right: 4%;
    bottom: -90px;
    color: rgba(13, 71, 161, 0.045);
    font-family: Georgia, serif;
    font-size: 24rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.foundation-heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 36px;
}

.foundation-heading h2 {
    max-width: 670px;
    margin: 9px 0 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.foundation-heading p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.foundation-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.72fr;
    gap: 14px;
}

.foundation-card,
.foundation-motto {
    min-height: 330px;
    padding: 28px;
    border-radius: 6px;
}

.foundation-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(13, 71, 161, 0.12);
    background: #fff;
    box-shadow: 0 16px 34px rgba(13, 45, 92, 0.08);
}

.foundation-card-primary {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.foundation-card-secondary {
    background: #fff;
}

.foundation-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.foundation-index {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.foundation-label {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.foundation-card-primary .foundation-label {
    color: var(--secondary);
}

.foundation-card h3 {
    margin: 46px 0 14px;
    color: var(--primary-dark);
    font-size: 1.55rem;
}

.foundation-card-primary h3,
.foundation-card-primary p {
    color: #fff;
}

.foundation-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.foundation-card.foundation-card-primary h3,
.foundation-card.foundation-card-primary p {
    color: #fff;
}

.foundation-accent {
    width: 42px;
    height: 3px;
    margin-top: auto;
    background: var(--secondary);
}

.foundation-motto {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--secondary);
    background: var(--secondary-soft);
}

.foundation-motto-mark {
    position: absolute;
    right: -10px;
    bottom: -42px;
    color: rgba(184, 140, 26, 0.14);
    font-family: Georgia, serif;
    font-size: 13rem;
    font-weight: 700;
    line-height: 1;
}

.foundation-motto h3,
.foundation-motto p,
.foundation-motto .foundation-label {
    position: relative;
    z-index: 1;
}

.foundation-motto h3 {
    margin: 28px 0 8px;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.foundation-motto p {
    margin: 0;
    color: var(--text);
    font-family: Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .foundation-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .foundation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .foundation-motto {
        grid-column: 1 / -1;
        min-height: 220px;
    }
}

@media (max-width: 620px) {
    .foundation-section {
        padding: 64px 0;
    }

    .foundation-grid {
        grid-template-columns: 1fr;
    }

    .foundation-card,
    .foundation-motto {
        min-height: 270px;
        padding: 24px 20px;
    }

    .foundation-motto {
        grid-column: auto;
    }
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 600;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: 800;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,247,252,0.98) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(11,43,109,0.07);
    border: 1px solid rgba(11,43,109,0.06);
    border-top: 3px solid rgba(11,43,109,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(11,43,109,0.1);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 210px;
    gap: 10px;
}

.card-body h3 {
    color: var(--primary-dark);
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.card-body p {
    color: var(--muted);
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    max-width: 100%;
}

.card-body a {
    color: var(--primary);
    font-weight: 700;
}

.feature-band {
    background: linear-gradient(180deg, rgba(212,175,55,0.14), rgba(13,45,92,0.02));
    padding: 90px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: center;
}

.feature-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-points div {
    background: rgba(255,255,255,0.96);
    padding: 18px 16px;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(11,43,109,0.06);
    border: none;
}

.feature-points strong {
    font-size: 0.9rem;
    line-height: 1.3;
}

.feature-points p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.info-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.feature-points strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 8px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0 0 18px;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-meta strong {
    color: var(--primary-dark);
}

.testimonial-meta span {
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-showcase {
    padding-top: 24px;
}

.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.gallery-filter {
    border: 1px solid rgba(15, 47, 99, 0.14);
    background: #f5efe6;
    color: var(--primary-dark);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-filter.active,
.gallery-filter:hover {
    background: #0f2f63;
    border-color: #0f2f63;
    color: #fff;
}

.gallery-layout {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #f5f0e6;
    box-shadow: 0 20px 36px rgba(13, 45, 92, 0.08);
    border: 1px solid rgba(13, 45, 92, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(13, 45, 92, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    background: rgba(15, 47, 99, 0.72);
    border-radius: 12px;
    text-align: center;
}

.gallery-item figcaption span {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gallery-item figcaption strong {
    display: block;
    color: #f0c76b;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-item.hidden {
    display: none;
}

.homepage-gallery-carousel {
    position: relative;
    padding: 0 46px;
}

.homepage-gallery-viewport {
    width: 100%;
    overflow: hidden;
}

.homepage-gallery-track {
    display: flex;
    gap: 18px;
    width: max-content;
    will-change: transform;
}

.homepage-gallery-carousel.is-ticker .homepage-gallery-track {
    animation: homepageGalleryTicker linear infinite;
}

@keyframes homepageGalleryTicker {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.homepage-gallery-item {
    flex: 0 0 calc((100% - 54px) / 4);
    aspect-ratio: 4 / 3;
    min-height: 0;
}

.homepage-gallery-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(13, 71, 161, 0.18);
    border-radius: 50%;
    background: #f3eadb;
    color: var(--primary-dark);
    font-size: 1rem;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 8px 18px rgba(13, 45, 92, 0.12);
}

.homepage-gallery-carousel.is-ticker .homepage-gallery-control {
    display: none;
}

.homepage-gallery-control:hover {
    background: var(--primary);
    color: #fff;
}

.homepage-gallery-prev {
    left: 0;
}

.homepage-gallery-next {
    right: 0;
}

@media (max-width: 900px) {
    .homepage-gallery-item {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 560px) {
    .homepage-gallery-carousel {
        padding: 0 34px;
    }

    .homepage-gallery-track {
        gap: 12px;
    }

    .homepage-gallery-item {
        flex-basis: 100%;
    }

    .homepage-gallery-control {
        width: 32px;
        height: 32px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    background: rgba(9, 20, 35, 0.82);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: min(900px, 90vw);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 64px rgba(0,0,0,0.3);
}

.lightbox-content img {
    display: block;
    width: min(900px, 90vw);
    max-height: 72vh;
    object-fit: cover;
    background: #f7f3ed;
}

.lightbox-caption {
    padding: 16px 20px 18px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--primary-dark);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
}

.lightbox-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-shell {
    padding: 0 0 100px;
}

.page-hero {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.56), rgba(13, 71, 161, 0.45)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: clamp(420px, 55vh, 620px);
    display: flex;
    align-items: center;
    padding: 110px 0 86px;
    width: 100%;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    width: min(100%, 1200px);
    padding-left: clamp(8px, 2vw, 20px);
    padding-right: clamp(8px, 2vw, 20px);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 14px auto auto 8%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(213,178,93,0.16);
    filter: blur(28px);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -58px -8%;
    height: 180px;
    background: rgba(255, 255, 255, 0.07);
    transform: rotate(-2deg);
}

.compact-hero h1 {
    margin: 10px 0 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    letter-spacing: -0.04em;
}

.compact-hero p {
    max-width: 680px;
    font-size: 1.08rem;
    color: rgba(255,255,255,0.8);
}

.page-content {
    margin-top: 40px;
    gap: 36px;
}

.program-list-grid,
.news-list-grid {
    margin-top: 42px;
}

.academics-cards-section {
    padding-top: 72px;
    padding-bottom: 96px;
}

.academics-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.academics-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
}

.academics-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.academics-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.academics-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(13, 45, 92, 0.07);
}

.academics-card-primary {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.academics-card-achievement {
    background: #f0e5d0;
    border-color: rgba(184, 140, 26, 0.28);
}

.academics-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.academics-card-primary .academics-card-top {
    color: var(--secondary);
}

.academics-card h3 {
    margin: 54px 0 14px;
    color: var(--primary-dark);
    font-size: 1.65rem;
    line-height: 1.15;
}

.academics-card-primary h3,
.academics-card-primary p {
    color: #fff;
}

.academics-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.academics-card.academics-card-primary h3,
.academics-card.academics-card-primary p {
    color: #fff;
}

.academics-card-footer {
    margin-top: auto;
    padding-top: 24px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.academics-card-primary .academics-card-footer {
    color: var(--secondary);
}

@media (max-width: 980px) {
    .academics-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .academics-card:last-child {
        grid-column: 1 / -1;
    }
}

.admissions-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.admissions-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background:
        radial-gradient(circle at 8% 18%, rgba(200, 154, 53, 0.12), transparent 24%),
        linear-gradient(135deg, #f8fafc 0%, #edf4fa 100%);
}

.admissions-content::after {
    content: 'A';
    position: absolute;
    z-index: -1;
    top: 16px;
    right: 3%;
    color: rgba(13, 71, 161, 0.045);
    font-family: Georgia, serif;
    font-size: clamp(13rem, 28vw, 25rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.admissions-intro {
    max-width: 780px;
    margin-bottom: 36px;
}

.admissions-intro h2,
.admissions-apply-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.admissions-intro p,
.admissions-apply-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.admissions-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admission-step {
    position: relative;
    min-height: 245px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(13, 45, 92, 0.06);
}

.admission-step::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(21, 101, 192, 0.16);
    border-radius: 50%;
}

.admission-step-primary {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 18px 38px rgba(13, 45, 92, 0.18);
}

.admission-step-primary::after {
    border-color: rgba(255, 255, 255, 0.18);
}

.admission-step > span {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.admission-step-primary > span {
    color: var(--secondary);
}

.admission-step h3 {
    margin: 54px 0 12px;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.admission-step-primary h3,
.admission-step-primary p {
    color: #fff;
}

.admission-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admissions-details {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    margin-top: 16px;
}

.admissions-details article {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(13, 45, 92, 0.05);
}

.admissions-details article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 3px;
    background: var(--secondary);
}

.admissions-details h3 {
    margin: 8px 0 12px;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.admissions-details p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.admissions-detail-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--border);
}

.admissions-detail-line span {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 900;
}

.admissions-detail-line strong {
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.admissions-text-link {
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admissions-text-link span {
    margin-left: 7px;
    font-size: 1rem;
}

.admissions-apply {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 42px;
    margin-top: 44px;
    padding: 34px;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.admissions-apply::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(240, 199, 107, 0.26);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(240, 199, 107, 0.04), 0 0 0 56px rgba(240, 199, 107, 0.025);
    pointer-events: none;
}

.admissions-apply-intro,
.admissions-form {
    position: relative;
    z-index: 1;
}

.admissions-apply-intro h2 {
    color: #fff;
}

.admissions-apply-intro p {
    color: rgba(255, 255, 255, 0.76);
}

.admissions-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admissions-form label {
    display: grid;
    gap: 7px;
}

.admissions-form label span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.admissions-form input,
.admissions-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 0.85rem 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font: inherit;
}

.admissions-form input::placeholder,
.admissions-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.admissions-form .admissions-message,
.admissions-form button {
    grid-column: 1 / -1;
}

.fees-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.fees-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 90% 8%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.fees-content::after {
    content: '$';
    position: absolute;
    z-index: -1;
    top: 30px;
    right: 4%;
    color: rgba(13, 71, 161, 0.045);
    font-family: Georgia, serif;
    font-size: 22rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.fees-intro {
    max-width: 780px;
    margin-bottom: 36px;
}

.fees-intro h2,
.scholarship-panel h2,
.fees-cta h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.events-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.events-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 10%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.events-content::after {
    content: '03';
    position: absolute;
    z-index: -1;
    top: 12px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.events-intro {
    max-width: 790px;
    margin-bottom: 38px;
}

.events-intro h2,
.events-cta h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.portal-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.portal-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 12%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.portal-content::after {
    content: '01';
    position: absolute;
    z-index: -1;
    top: 15px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.portal-intro {
    max-width: 780px;
    margin-bottom: 36px;
}

.portal-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.portal-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.portal-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
}

.portal-access-card,
.portal-support-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 30px;
    border-radius: 8px;
}

.portal-access-card {
    display: flex;
    flex-direction: column;
    color: #fff;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.portal-access-card::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(240, 199, 107, 0.04), 0 0 0 48px rgba(240, 199, 107, 0.025);
}

.portal-access-mark {
    position: absolute;
    top: -34px;
    right: 24px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
}

.portal-access-card .eyebrow {
    color: var(--secondary);
}

.portal-access-card h3 {
    position: relative;
    z-index: 1;
    margin: 14px 0 12px;
    color: #fff;
    font-size: 1.75rem;
}

.portal-access-card p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.portal-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
}

.portal-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #65c88a;
    box-shadow: 0 0 0 5px rgba(101, 200, 138, 0.12);
}

.portal-access-card .btn {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: 18px;
}

.portal-access-card .btn span {
    margin-left: 7px;
}

.portal-support-card {
    background: #f0e5d0;
    border: 1px solid rgba(184, 140, 26, 0.28);
}

.portal-support-card h3 {
    margin: 10px 0 10px;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.portal-support-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.portal-support-line {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-top: 1px solid rgba(184, 140, 26, 0.24);
}

.portal-support-line span {
    color: var(--gold-deep);
    font-size: 0.72rem;
    font-weight: 900;
}

.portal-support-line strong {
    color: var(--primary-dark);
    font-size: 0.85rem;
    line-height: 1.45;
}

.portal-note {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.portal-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.privacy-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.privacy-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 10%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.privacy-content::after {
    content: 'P';
    position: absolute;
    z-index: -1;
    top: 15px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.privacy-intro {
    max-width: 800px;
    margin-bottom: 38px;
}

.privacy-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.privacy-intro p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.privacy-commitment {
    position: relative;
    display: flex;
    min-height: 350px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    color: #fff;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.privacy-commitment::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
}

.privacy-mark {
    position: absolute;
    top: -34px;
    right: 24px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
}

.privacy-commitment .eyebrow {
    color: var(--secondary);
}

.privacy-commitment h3 {
    position: relative;
    z-index: 1;
    margin: 15px 0 12px;
    color: #fff;
    font-size: 1.7rem;
}

.privacy-commitment p {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.privacy-commitment .btn {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
}

.privacy-commitment .btn span {
    margin-left: 7px;
}

.privacy-principles {
    display: grid;
    gap: 12px;
}

.privacy-principles article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    min-height: 108px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(13, 45, 92, 0.05);
}

.privacy-principles article > span {
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.privacy-principles h3 {
    margin: 0 0 5px;
    color: var(--primary-dark);
    font-size: 1.08rem;
}

.privacy-principles p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.privacy-note {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f0e5d0;
}

.privacy-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.terms-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.terms-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 10%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.terms-content::after {
    content: 'T';
    position: absolute;
    z-index: -1;
    top: 15px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.terms-intro {
    max-width: 800px;
    margin-bottom: 38px;
}

.terms-intro h2,
.terms-note h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.terms-intro p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.terms-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.terms-agreement {
    position: relative;
    display: flex;
    min-height: 350px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    color: #fff;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.terms-agreement::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
}

.terms-mark {
    position: absolute;
    top: -34px;
    right: 24px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
}

.terms-agreement .eyebrow {
    color: var(--secondary);
}

.terms-agreement h3 {
    position: relative;
    z-index: 1;
    margin: 15px 0 12px;
    color: #fff;
    font-size: 1.7rem;
}

.terms-agreement p {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.terms-agreement .btn {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
}

.terms-agreement .btn span {
    margin-left: 7px;
}

.terms-principles {
    display: grid;
    gap: 12px;
}

.terms-principles article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    min-height: 108px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(13, 45, 92, 0.05);
}

.terms-principles article > span {
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.terms-principles h3 {
    margin: 0 0 5px;
    color: var(--primary-dark);
    font-size: 1.08rem;
}

.terms-principles p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.terms-note {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f0e5d0;
}

.terms-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.leadership-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.leadership-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 88% 10%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.leadership-content::after {
    content: 'L';
    position: absolute;
    z-index: -1;
    top: 10px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.leadership-intro {
    max-width: 800px;
    margin-bottom: 38px;
}

.leadership-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.leadership-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.leadership-profile {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 16px;
    align-items: stretch;
}

.leadership-portrait {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--primary-soft);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.14);
}

.leadership-portrait img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    display: block;
    object-fit: cover;
}

.leadership-portrait-label {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 11px;
    background: rgba(13, 45, 92, 0.82);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leadership-message {
    display: flex;
    min-height: 460px;
    flex-direction: column;
    padding: 34px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.leadership-message .eyebrow {
    color: var(--secondary);
}

.leadership-message h3 {
    margin: 34px 0 2px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.leadership-role {
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.leadership-message p {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.85;
}

.leadership-signature {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
}

.leadership-signature strong {
    color: var(--secondary);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.leadership-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.leadership-principles article {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f0e5d0;
}

.leadership-principle-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.leadership-principle-top span {
    color: var(--gold-deep);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.leadership-principle-top small {
    color: var(--primary);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leadership-principles h3 {
    margin: 30px 0 8px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.leadership-principles p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.careers-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.careers-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 10%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.careers-content::after {
    content: 'C';
    position: absolute;
    z-index: -1;
    top: 10px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.careers-intro {
    max-width: 800px;
    margin-bottom: 38px;
}

.careers-intro h2,
.careers-note h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.careers-intro h2 {
    max-width: 720px;
    letter-spacing: -0.025em;
}

.careers-intro .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.careers-intro .eyebrow::after {
    content: '';
    width: 52px;
    height: 2px;
    background: var(--secondary);
}

.careers-intro p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.careers-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.careers-opportunity {
    position: relative;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    color: #fff;
    border-radius: 2px;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.careers-opportunity::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
}

.careers-mark {
    position: absolute;
    top: -34px;
    right: 24px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
}

.careers-opportunity .eyebrow {
    color: var(--secondary);
}

.careers-opportunity h3 {
    position: relative;
    z-index: 1;
    margin: 54px 0 12px;
    color: #fff;
    font-size: 1.7rem;
}

.careers-opportunity p {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.careers-opportunity .btn {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: auto;
}

.careers-opportunity .btn span {
    margin-left: 7px;
}

.careers-principles {
    display: grid;
    gap: 12px;
}

.careers-principles article {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    padding: 22px 24px;
    border: 1px solid rgba(184, 140, 26, 0.28);
    border-radius: 2px;
    background: #f0e5d0;
}

.careers-principles article::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(184, 140, 26, 0.22);
    border-radius: 50%;
}

.careers-principles article > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.careers-principles article > div span {
    color: var(--gold-deep);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.careers-principles small {
    color: var(--primary);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.careers-principles h3 {
    margin: 16px 0 5px;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.careers-principles p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.careers-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
    padding: 26px 30px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.06);
}

.careers-note h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

@media (max-width: 980px) {
    .careers-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .careers-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .careers-opportunity,
    .careers-principles article,
    .careers-note {
        padding: 22px 20px;
    }

    .careers-opportunity .btn,
    .careers-note .btn {
        width: 100%;
    }

    .careers-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Careers button and mobile layout refinement */
.careers-opportunity .btn,
.careers-note .btn {
    min-height: 46px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.careers-opportunity .btn span {
    flex: 0 0 auto;
}

@media (max-width: 760px) {
    .careers-opportunity .btn,
    .careers-note .btn {
        align-self: stretch;
        width: 100%;
    }

    .careers-note {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .careers-content {
        width: calc(100% - 24px);
    }

    .careers-opportunity,
    .careers-principles article,
    .careers-note {
        padding: 18px 16px;
    }

    .careers-opportunity h3 {
        margin-top: 42px;
        font-size: 1.45rem;
    }

    .careers-opportunity .btn,
    .careers-note .btn {
        font-size: 0.82rem;
        padding: 0.8rem 0.9rem;
    }
}

.leadership-principle-footer {
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .leadership-profile,
    .leadership-principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .leadership-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .leadership-portrait,
    .leadership-message {
        min-height: 350px;
    }

    .leadership-portrait img {
        min-height: 350px;
    }

    .leadership-message,
    .leadership-principles article {
        padding: 22px 20px;
    }
}

.cookies-content,
.faq-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.cookies-content::before,
.faq-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 10%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.cookies-content::after {
    content: 'C';
    position: absolute;
    z-index: -1;
    top: 12px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.faq-content::after {
    content: '?';
    position: absolute;
    z-index: -1;
    top: 12px;
    right: 5%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.cookies-intro,
.faq-intro {
    max-width: 800px;
    margin-bottom: 38px;
}

.cookies-intro h2,
.faq-intro h2,
.faq-cta h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.cookies-intro p,
.faq-intro p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.cookies-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
}

.cookies-card,
.cookies-settings {
    position: relative;
    display: flex;
    min-height: 320px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    border-radius: 8px;
}

.cookies-card {
    color: #fff;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.cookies-card::after {
    content: '';
    position: absolute;
    right: -65px;
    bottom: -85px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
}

.cookies-mark {
    position: absolute;
    top: -34px;
    right: 24px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
}

.cookies-card .eyebrow {
    color: var(--secondary);
}

.cookies-card h3,
.cookies-settings h3 {
    margin: 14px 0 12px;
    font-size: 1.6rem;
}

.cookies-card h3 {
    position: relative;
    z-index: 1;
    color: #fff;
}

.cookies-card p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.cookies-settings {
    border: 1px solid rgba(184, 140, 26, 0.28);
    background: #f0e5d0;
}

.cookies-settings h3 {
    color: var(--primary-dark);
}

.cookies-settings p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.cookies-settings .btn {
    align-self: flex-start;
    margin-top: auto;
}

.cookies-settings .btn span,
.faq-cta .btn span {
    margin-left: 7px;
}

.cookies-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
}

.cookies-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #65c88a;
    box-shadow: 0 0 0 5px rgba(101, 200, 138, 0.12);
}

.cookies-note {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.cookies-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(13, 45, 92, 0.05);
}

.faq-item-primary {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.faq-item > span {
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.faq-item-primary > span {
    color: var(--secondary);
}

.faq-item h3 {
    margin: 0 0 7px;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.faq-item-primary h3,
.faq-item-primary p {
    color: #fff;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.faq-list .faq-item.faq-item-primary h3,
.faq-list .faq-item.faq-item-primary p {
    color: #fff;
}

.faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding: 26px 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.06);
}

.faq-cta h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

@media (max-width: 980px) {
    .cookies-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .cookies-content,
    .faq-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .cookies-card,
    .cookies-settings,
    .cookies-note,
    .faq-item,
    .faq-cta {
        padding: 22px 20px;
    }

    .cookies-settings .btn,
    .faq-cta .btn {
        width: 100%;
    }

    .cookies-note,
    .faq-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 980px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .terms-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .terms-agreement,
    .terms-principles article,
    .terms-note {
        padding: 22px 20px;
    }

    .terms-agreement .btn {
        width: 100%;
    }

    .terms-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 980px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .privacy-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .privacy-commitment,
    .privacy-principles article,
    .privacy-note {
        padding: 22px 20px;
    }

    .privacy-commitment .btn {
        width: 100%;
    }

    .privacy-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 980px) {
    .portal-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .portal-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .portal-access-card,
    .portal-support-card {
        min-height: 300px;
        padding: 22px 20px;
    }

    .portal-note {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .portal-access-card .btn {
        width: 100%;
    }
}

.events-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.events-timeline {
    display: grid;
    gap: 14px;
}

.event-card {
    position: relative;
    display: grid;
    grid-template-columns: 86px 1fr;
    min-height: 210px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(13, 45, 92, 0.06);
}

.event-card-primary {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 18px 38px rgba(13, 45, 92, 0.16);
}

.event-marker {
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(13, 71, 161, 0.08);
    border-right: 1px solid var(--border);
}

.event-marker span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.event-card-primary .event-marker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.event-card-primary .event-marker span {
    color: var(--secondary);
}

.event-card-content {
    display: flex;
    flex-direction: column;
    padding: 26px 30px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-card-primary .event-meta {
    color: var(--secondary);
}

.event-card h3 {
    margin: 18px 0 8px;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.events-timeline .event-card.event-card-primary h3,
.events-timeline .event-card.event-card-primary p {
    color: #fff;
}

.event-card-primary h3,
.event-card-primary p {
    color: #fff;
}

.event-card p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.event-card-content a {
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-card-primary .event-card-content a {
    color: var(--secondary);
}

.events-timeline .event-card:nth-child(3) {
    background: #f0e5d0;
    border-color: rgba(184, 140, 26, 0.28);
}

.event-card-content a span {
    margin-left: 7px;
    font-size: 1rem;
}

.events-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 26px 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.06);
}

.events-cta h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

@media (max-width: 620px) {
    .events-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .event-card {
        grid-template-columns: 58px 1fr;
    }

    .event-card-content {
        padding: 22px 18px;
    }

    .events-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 20px;
    }

    .events-cta .btn {
        width: 100%;
    }
}

.apply-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.apply-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 86% 12%, rgba(200, 154, 53, 0.12), transparent 25%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.apply-content::after {
    content: '01';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 19rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.apply-intro {
    max-width: 780px;
    margin-bottom: 36px;
}

.apply-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.apply-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.apply-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 16px;
    align-items: stretch;
}

.apply-guidance {
    position: relative;
    display: flex;
    min-height: 470px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    color: #fff;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(13, 45, 92, 0.16);
}

.apply-guidance::after {
    content: '';
    position: absolute;
    right: -65px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(240, 199, 107, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(240, 199, 107, 0.04), 0 0 0 44px rgba(240, 199, 107, 0.025);
}

.apply-guidance-mark {
    position: absolute;
    top: -24px;
    right: 22px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 9rem;
    font-weight: 700;
    line-height: 1;
}

.apply-guidance .eyebrow,
.apply-guidance h3,
.apply-guidance p,
.apply-check {
    position: relative;
    z-index: 1;
}

.apply-guidance .eyebrow {
    color: var(--secondary);
}

.apply-guidance h3 {
    margin: 12px 0;
    color: #fff;
    font-size: 1.8rem;
}

.apply-guidance p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
}

.apply-check {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.apply-check span {
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 900;
}

.apply-check strong {
    color: #fff;
    font-size: 0.84rem;
    line-height: 1.45;
}

.apply-form-panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(13, 45, 92, 0.07);
}

.apply-form-heading {
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.apply-form-heading h3 {
    margin: 7px 0 6px;
    color: var(--primary-dark);
    font-size: 1.55rem;
}

.apply-form-heading p {
    margin: 0;
    color: var(--muted);
}

.apply-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.apply-form label {
    display: grid;
    gap: 7px;
}

.apply-form label span {
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.apply-form input,
.apply-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 0.95rem;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.apply-form .apply-message,
.apply-form button {
    grid-column: 1 / -1;
}

.contact-content {
    position: relative;
    isolation: isolate;
    padding-top: 72px;
    padding-bottom: 96px;
}

.contact-content::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 calc((1180px - 100vw) / 2);
    background: radial-gradient(circle at 90% 14%, rgba(200, 154, 53, 0.12), transparent 24%), linear-gradient(135deg, #f8fafc, #edf4fa);
}

.contact-content::after {
    content: 'C';
    position: absolute;
    z-index: -1;
    top: 10px;
    right: 4%;
    color: rgba(13, 71, 161, 0.04);
    font-family: Georgia, serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.contact-intro {
    max-width: 780px;
    margin-bottom: 36px;
}

.contact-intro h2 {
    margin: 9px 0 12px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.contact-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.contact-executive-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
    align-items: start;
}

.executive-contact-form,
.executive-contact-info {
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 34px rgba(13, 45, 92, 0.07);
}

.contact-panel-heading {
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.contact-panel-heading h3,
.executive-contact-info h3 {
    margin: 8px 0 7px;
    color: var(--primary-dark);
    font-size: 1.55rem;
}

.contact-panel-heading p {
    margin: 0;
    color: var(--muted);
}

.executive-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.executive-form label {
    display: grid;
    gap: 7px;
}

.executive-form label span {
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.executive-form input,
.executive-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 0.95rem;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.executive-form .executive-message,
.executive-form button {
    grid-column: 1 / -1;
}

.executive-form button {
    justify-self: start;
}

.executive-form button span {
    margin-left: 7px;
}

.executive-contact-info {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark);
    color: #fff;
}

.executive-contact-info,
.executive-contact-info p,
.executive-contact-info li,
.executive-contact-info li span,
.executive-contact-info li strong {
    color: #fff;
}

.contact-map-section {
    margin-top: 18px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 30px rgba(13, 45, 92, 0.06);
}

.contact-map-heading h3 {
    margin: 7px 0 18px;
    color: var(--primary-dark);
    font-size: 1.45rem;
}

.executive-contact-info .eyebrow {
    color: var(--secondary);
}

.executive-contact-info h3 {
    color: #fff;
}

.executive-contact-info .contact-list {
    gap: 0;
}

.executive-contact-info .contact-list li {
    display: grid;
    gap: 3px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.executive-contact-info .contact-list li strong {
    color: var(--secondary);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.executive-contact-info .contact-list li span {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.executive-contact-info .contact-socials {
    margin-top: 18px;
}

.executive-contact-info .contact-socials a {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.executive-contact-info .contact-socials svg {
    fill: #fff;
}

.executive-map-card {
    width: 100%;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.executive-contact-info .executive-map-card iframe {
    display: block;
    width: 100%;
    min-height: 300px;
}

.exact-location-link {
    display: block;
    padding: 12px 14px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
}

.exact-location-link:hover {
    background: var(--primary);
    color: #fff;
}

.contact-map-section .executive-map-card {
    width: 100%;
    border-color: var(--border);
    box-shadow: none;
}

.contact-map-section .executive-map-card iframe {
    width: 100%;
    min-height: 360px;
}

@media (max-width: 980px) {
    .contact-executive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .contact-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .executive-contact-form,
    .executive-contact-info {
        padding: 22px 20px;
    }

    .executive-form {
        grid-template-columns: 1fr;
    }

    .executive-form .executive-message,
    .executive-form button {
        grid-column: auto;
    }

    .executive-form button {
        width: 100%;
    }
}

.apply-form button {
    justify-self: start;
}

.apply-form button span {
    margin-left: 7px;
}

@media (max-width: 980px) {
    .apply-layout {
        grid-template-columns: 1fr;
    }

    .apply-guidance {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .apply-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .apply-guidance,
    .apply-form-panel {
        padding: 22px 20px;
    }

    .apply-form {
        grid-template-columns: 1fr;
    }

    .apply-form .apply-message,
    .apply-form button {
        grid-column: auto;
    }

    .apply-form button {
        width: 100%;
    }
}

.fees-intro p,
.scholarship-panel p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.fees-overview {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
}

.fees-overview-primary,
.fees-principles article {
    border-radius: 8px;
}

.fees-overview-primary {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    color: #fff;
    background: var(--primary-dark);
    box-shadow: 0 18px 38px rgba(13, 45, 92, 0.16);
}

.fees-overview-primary::after {
    content: '01';
    position: absolute;
    right: -12px;
    bottom: -55px;
    color: rgba(255, 255, 255, 0.08);
    font-family: Georgia, serif;
    font-size: 14rem;
    font-weight: 700;
    line-height: 1;
}

.fees-number {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    color: var(--secondary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.fees-overview-primary .eyebrow {
    color: var(--secondary);
}

.fees-overview-primary h3 {
    position: relative;
    z-index: 1;
    margin: 8px 0 12px;
    color: #fff;
    font-size: 1.65rem;
}

.fees-overview-primary p {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.fees-link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 24px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fees-link span {
    margin-left: 7px;
    color: var(--secondary);
    font-size: 1rem;
}

.fees-principles {
    display: grid;
    gap: 16px;
}

.fees-principles article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: start;
    min-height: 157px;
    padding: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.06);
}

.fees-principle-number {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.fees-principles h3 {
    margin: 0 0 8px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.fees-principles p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.scholarship-panel {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
    margin-top: 16px;
    padding: 30px;
    border: 1px solid rgba(200, 154, 53, 0.3);
    border-radius: 8px;
    background: #f0e5d0;
}

.scholarship-points {
    display: grid;
    align-content: center;
    gap: 10px;
}

.scholarship-points span {
    padding: 12px 14px;
    border-left: 3px solid var(--gold-deep);
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.fees-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
    padding: 26px 30px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(13, 45, 92, 0.06);
}

.fees-cta h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

@media (max-width: 980px) {
    .fees-overview,
    .scholarship-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .fees-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .fees-overview-primary,
    .fees-principles article,
    .scholarship-panel,
    .fees-cta {
        padding: 22px 20px;
    }

    .fees-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .fees-cta .btn {
        width: 100%;
    }
}

.admissions-form button {
    justify-self: start;
    background: #1565c0;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 980px) {
    .admissions-steps,
    .admissions-details,
    .admissions-apply {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .admissions-content {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .admission-step,
    .admissions-details article,
    .admissions-apply {
        padding: 22px 20px;
    }

    .admissions-form {
        grid-template-columns: 1fr;
    }

    .admissions-form .admissions-message,
    .admissions-form button {
        grid-column: auto;
    }

    .admissions-form button {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .academics-cards-section {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .academics-card-grid {
        grid-template-columns: 1fr;
    }

    .academics-card:last-child {
        grid-column: auto;
    }

    .academics-card {
        min-height: 270px;
        padding: 24px 20px;
    }
}

.news-article {
    max-width: 900px;
    padding-top: 54px;
    padding-bottom: 72px;
}

.news-article-hero {
    padding: 62px 0 58px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 35, 78, 0.98), rgba(21, 101, 192, 0.84)),
        radial-gradient(circle at 85% 20%, rgba(240, 199, 107, 0.28), transparent 30%);
    border-bottom: 4px solid var(--secondary);
}

.news-article-hero .container {
    max-width: 980px;
}

.news-article-hero .eyebrow {
    display: block;
    margin-top: 36px;
    color: var(--secondary);
}

.news-article-hero h1 {
    max-width: 850px;
    margin: 12px 0 22px;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 1.04;
}

.news-back-link {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.news-back-link:hover {
    color: var(--secondary);
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

.news-article-meta span + span {
    position: relative;
}

.news-article-meta span + span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary);
    position: absolute;
    left: -14px;
    top: 0.7em;
}

.news-article-header {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.news-article-header h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.08;
}

.news-article-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.75;
}

.news-article-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 32px;
}

.news-article-content {
    min-width: 0;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.9;
    white-space: normal;
}

.news-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 38px;
    align-items: start;
    padding: 34px 0 0;
    border-top: 1px solid var(--border);
}

.news-article-note {
    padding: 20px;
    border-left: 3px solid var(--secondary);
    background: var(--secondary-soft);
    color: var(--text);
}

.news-article-note strong {
    display: block;
    margin: 8px 0;
    color: var(--primary-dark);
    line-height: 1.35;
}

.news-article-note p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.related-news {
    padding-bottom: 80px;
}

.related-news-grid {
    margin-top: 24px;
}

.large-card {
    display: flex;
    flex-direction: column;
}

.value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card,
.contact-info,
.card.admin-section,
.login-box,
.admin-sidebar {
    background: var(--white);
    border: 1px solid rgba(11,43,109,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-socials {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-socials a {
    background: var(--secondary-soft);
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.map-card {
    margin-top: 22px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(11,43,109,0.08);
    box-shadow: var(--shadow);
}

.map-card iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    display: block;
}

.contact-card,
.contact-info {
    padding: 30px;
}

.contact-form,
.admin-form {
    display: grid;
    gap: 14px;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font: inherit;
    background: #fff;
}

.admissions-apply .admissions-form input,
.admissions-apply .admissions-form textarea {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admissions-apply .admissions-form input::placeholder,
.admissions-apply .admissions-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.admissions-steps .admission-step.admission-step-primary h3,
.admissions-steps .admission-step.admission-step-primary p {
    color: #fff;
}

.admin-form label {
    display: grid;
    gap: 7px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.admin-form label span {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: 3px solid rgba(21, 101, 192, 0.12);
    border-color: var(--primary);
}

body[data-theme="dark"] .admin-form input,
body[data-theme="dark"] .admin-form textarea,
body[data-theme="dark"] .admin-form select,
body[data-theme="dark"] .admin-list-filter input,
body[data-theme="dark"] .admin-field-grid textarea,
body[data-theme="dark"] .admin-field-grid input,
body[data-theme="dark"] .inline-edit-form input,
body[data-theme="dark"] .inline-edit-form textarea {
    color: var(--text);
    background: rgba(8, 21, 34, 0.8);
    border-color: rgba(140, 182, 255, 0.2);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.site-footer {
    background: #f3eadb;
    color: #102b4e;
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand-mark,
.site-footer .social-links a,
.site-footer .footer-bottom {
    background: rgba(16, 43, 78, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-brand {
    margin-bottom: 18px;
    align-items: center;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-footer .brand-mark {
    width: 68px;
    height: 52px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.site-footer .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer h4 {
    color: #102b4e;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a,
.site-footer li,
.site-footer p,
.site-footer small,
.site-footer strong,
.site-footer span {
    color: rgba(16, 43, 78, 0.86);
}

.site-footer a:hover {
    color: #1565c0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #102b4e !important;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.confirmation-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 19, 38, 0.68);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 2000;
}

.confirmation-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.confirmation-modal {
    width: min(100%, 430px);
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 24px 20px;
    box-shadow: 0 28px 80px rgba(3, 19, 39, 0.24);
    border: 1px solid rgba(15, 47, 99, 0.08);
}

.confirmation-modal__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(15, 47, 99, 0.08);
    color: #0f2f63;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.confirmation-modal__content h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 1.55rem;
}

.confirmation-modal__content p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.confirmation-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

.confirmation-modal__cancel,
.confirmation-modal__confirm {
    min-width: 110px;
}

.edit-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 20, 39, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.edit-modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.edit-modal {
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.2s ease;
}

.edit-modal-backdrop.is-visible .edit-modal {
    transform: translateY(0) scale(1);
}

.edit-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #0c2a50, #1261a8);
    color: #fff;
}

.edit-modal-header .eyebrow {
    color: #f0c76b;
}

.edit-modal-header h3 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 1.25rem;
}

.edit-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.edit-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.edit-modal-body {
    padding: 24px;
}

.edit-modal-body .inline-edit-form {
    display: grid !important;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body[data-theme="dark"] .edit-modal {
    background: #102337;
}

@media (max-width: 560px) {
    .edit-modal-backdrop {
        align-items: end;
        padding: 0;
    }

    .edit-modal {
        max-height: calc(100vh - 14px);
        border-radius: 16px 16px 0 0;
    }

    .edit-modal-header,
    .edit-modal-body {
        padding: 18px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(16, 43, 78, 0.14);
    padding: 22px 0;
    background: rgba(16, 43, 78, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 43, 78, 0.08);
    border: 1px solid rgba(16, 43, 78, 0.16);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(21, 101, 192, 0.16);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: #102b4e;
}

.login-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 32px 0;
}

.login-box-wrap {
    width: min(480px, 100%);
}

.login-box {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(233, 239, 255, 0.94));
    border: 1px solid rgba(19, 58, 125, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(17, 40, 75, 0.15);
}

body[data-theme="dark"] .login-box {
    background: linear-gradient(140deg, rgba(15, 29, 45, 0.9), rgba(28, 44, 64, 0.94));
    border-color: rgba(138, 181, 255, 0.16);
}

.login-box h2 {
    margin: 0 0 18px;
    text-align: center;
    color: var(--primary-dark);
}

body[data-theme="dark"] .login-box h2 {
    color: var(--primary);
}

.admin-shell {
    min-height: calc(100vh - 76px);
    padding: 32px 0 64px;
    background: var(--admin-bg);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    color: #fff;
    background: #081d38;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(4, 18, 37, 0.18);
}

.admin-topbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-brand,
.admin-topbar-actions,
.admin-user-chip {
    display: flex;
    align-items: center;
}

.admin-brand {
    gap: 12px;
    color: #fff;
}

.admin-brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(240, 199, 107, 0.7);
    color: #f0c76b;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.admin-brand strong,
.admin-brand small,
.admin-user-chip strong,
.admin-user-chip small {
    display: block;
}

.admin-brand strong {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
}

.admin-brand small,
.admin-user-chip small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
}

.admin-topbar-actions {
    gap: 20px;
}

.admin-topbar-actions > a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
    font-weight: 700;
}

.admin-topbar-actions > a:hover {
    color: #f0c76b;
}

.admin-user-chip {
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-user-chip strong {
    font-size: 0.82rem;
}

.admin-logout-link {
    padding: 9px 13px;
    border: 1px solid rgba(240, 199, 107, 0.45);
    color: #f0c76b !important;
}

.admin-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.admin-sidebar {
    padding: 22px 14px 16px;
    position: sticky;
    top: 96px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--admin-panel), rgba(255, 255, 255, 0.72));
    border: 1px solid var(--admin-border);
    box-shadow: 0 20px 50px rgba(9, 18, 32, 0.12);
    backdrop-filter: blur(12px);
}

body[data-theme="dark"] .admin-sidebar {
    background: linear-gradient(180deg, rgba(13, 24, 36, 0.92), rgba(20, 34, 49, 0.88));
}

.admin-sidebar h3 {
    margin: 4px 0 0;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.admin-sidebar-heading {
    padding: 0 10px 18px;
    border-bottom: 1px solid var(--admin-border);
}

.admin-sidebar-kicker,
.admin-sidebar-section-label {
    display: block;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-sidebar-section-label {
    padding: 18px 10px 7px;
    color: var(--primary);
}

.admin-sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.admin-sidebar-signout {
    color: #a84646 !important;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(101, 154, 255, 0.08));
    color: var(--primary);
    border-color: rgba(21, 101, 192, 0.08);
    box-shadow: inset 0 0 0 1px rgba(21, 101, 192, 0.05);
}

.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-action-card {
    display: block;
    background: linear-gradient(180deg, rgba(13,45,92,0.03), rgba(255,255,255,1));
    border: 1px solid rgba(13,45,92,0.08);
    border-radius: 18px;
    padding: 22px 20px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(11,43,109,0.08);
}

.admin-action-card h3 {
    margin: 8px 0 10px;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.admin-action-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mini-stat {
    background: rgba(13,45,92,0.04);
    border: 1px solid rgba(13,45,92,0.08);
    border-radius: 16px;
    padding: 18px 16px;
    display: grid;
    gap: 6px;
    text-align: center;
}

.mini-stat strong {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.mini-stat span {
    color: var(--muted);
    font-weight: 700;
}

.admin-main {
    display: grid;
    gap: 24px;
}

.admin-section {
    padding: 26px 22px;
    background: linear-gradient(180deg, var(--admin-panel-strong), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: 0 24px 70px var(--admin-glow);
}

body[data-theme="dark"] .admin-section,
body[data-theme="dark"] .admin-panel-group,
body[data-theme="dark"] .mini-stat,
body[data-theme="dark"] .admin-list-item,
body[data-theme="dark"] .inline-edit-form,
body[data-theme="dark"] .bulk-toolbar {
    background: rgba(15, 29, 45, 0.8);
    border-color: rgba(140, 182, 255, 0.15);
}

.admin-section-header {
    margin-bottom: 24px;
}

.admin-section-header h2 {
    margin: 10px 0 0;
    color: var(--primary-dark);
    font-size: clamp(1.7rem, 2vw, 2.3rem);
}

.admin-panel-group {
    background: rgba(13, 45, 92, 0.02);
    border: 1px solid rgba(13, 45, 92, 0.08);
    border-radius: 18px;
    padding: 18px 18px 12px;
    margin-bottom: 12px;
}

.admin-panel-group h3 {
    margin: 0 0 16px;
    color: var(--primary-dark);
    font-size: 1.08rem;
}

.admin-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-field-grid label {
    display: grid;
    gap: 8px;
    color: var(--primary-dark);
    font-weight: 700;
}

.admin-field-grid label span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-field-grid textarea,
.admin-field-grid input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(13, 45, 92, 0.12);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    background: #fff;
    font: inherit;
    color: var(--text);
}

.admin-field-grid textarea {
    min-height: 110px;
    resize: vertical;
}

.page-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-form textarea,
.grid-form input[type="file"] {
    grid-column: span 2;
}

.grid-form button {
    grid-column: span 2;
}

.admin-list-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px 0 0;
    flex-wrap: wrap;
}

.admin-list-filter input {
    flex: 1 1 260px;
    min-height: 48px;
    border: 1px solid rgba(13, 45, 92, 0.12);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    background: #fff;
}

.admin-list-form {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.bulk-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(13, 45, 92, 0.1);
    border-radius: 12px;
    background: rgba(13, 45, 92, 0.02);
}

.bulk-select,
.row-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-dark);
}

.bulk-select input,
.row-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.list-stack {
    margin-top: 0;
    display: grid;
    gap: 14px;
}

.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-admin-card {
    overflow: hidden;
    border: 1px solid var(--admin-line, var(--border));
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(20, 45, 78, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-admin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(20, 45, 78, 0.11);
}

.gallery-admin-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--primary-soft);
}

.gallery-admin-media .admin-gallery-thumb {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    object-fit: cover;
}

.gallery-card-check {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(7, 25, 48, 0.72);
    backdrop-filter: blur(4px);
}

.gallery-card-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.gallery-card-category {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(7, 25, 48, 0.76);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gallery-admin-card-body {
    display: grid;
    gap: 16px;
    padding: 15px;
}

.gallery-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-card-actions .inline-action-form {
    margin: 0;
}

.gallery-admin-card .inline-edit-form {
    margin: 0 15px 15px;
}

.page-background-form {
    gap: 22px;
}

.page-background-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.page-background-card {
    overflow: hidden;
    border: 1px solid var(--admin-line, var(--border));
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(20, 45, 78, 0.06);
}

.page-background-preview {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, #dbe9f5, #f4f7fa);
    background-position: center;
    background-size: cover;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.page-background-card-body {
    display: grid;
    gap: 16px;
    padding: 16px;
}

.page-background-card-body h3 {
    margin: 5px 0 0;
    color: var(--admin-ink, var(--primary-dark));
    font-size: 1rem;
}

.page-background-card-body label {
    display: grid;
    gap: 7px;
}

.page-background-card-body label span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.admin-body[data-theme="dark"] .page-background-card {
    background: #102337;
    border-color: var(--admin-line);
}

@media (max-width: 980px) {
    .page-background-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .page-background-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-admin-item {
    padding: 18px;
    border: 1px solid var(--admin-line, var(--border));
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 7px 20px rgba(20, 45, 78, 0.05);
}

.testimonial-admin-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.testimonial-admin-item .inline-list-item {
    border-top: 0;
    padding-top: 0;
}

.testimonial-admin-quote strong,
.testimonial-admin-quote span,
.testimonial-admin-quote p {
    display: block;
}

.testimonial-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-page-heading h2 {
    margin-bottom: 4px;
}

.testimonial-page-heading p,
.testimonial-create-panel p {
    margin: 0;
    color: var(--muted);
}

.testimonial-summary {
    display: flex;
    gap: 10px;
}

.testimonial-summary span {
    display: grid;
    gap: 2px;
    min-width: 78px;
    padding: 10px 12px;
    border: 1px solid var(--admin-line, var(--border));
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.testimonial-summary strong {
    color: var(--admin-blue, var(--primary));
    font-size: 1.3rem;
}

.testimonial-create-panel {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
    gap: 24px;
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid rgba(18, 97, 168, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(18, 97, 168, 0.07), rgba(200, 154, 53, 0.08));
}

.testimonial-create-panel h3 {
    margin: 5px 0 8px;
    color: var(--admin-ink, var(--text));
}

.testimonial-create-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-create-form .testimonial-message-field,
.testimonial-create-form button {
    grid-column: 1 / -1;
}

.testimonial-status {
    align-self: start;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.testimonial-status.is-visible {
    color: #087a42;
    background: rgba(38, 166, 91, 0.12);
}

.testimonial-status.is-hidden {
    color: #8a5a0a;
    background: rgba(200, 154, 53, 0.14);
}

body.admin-body[data-theme="dark"] .testimonial-admin-item {
    background: #102337;
}

@media (max-width: 760px) {
    .testimonial-page-heading,
    .testimonial-create-panel {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

    .testimonial-admin-list,
    .testimonial-create-form {
        grid-template-columns: 1fr;
    }

    .testimonial-create-form .testimonial-message-field,
    .testimonial-create-form button {
        grid-column: auto;
    }
}

.testimonial-admin-quote strong {
    color: var(--admin-ink, var(--text));
}

.testimonial-admin-quote span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.testimonial-admin-quote p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

body.admin-body[data-theme="dark"] .gallery-admin-card {
    background: #102337;
    border-color: var(--admin-line);
}

.admin-list-item {
    display: grid;
    gap: 12px;
}

.inline-list-item {
    display: grid;
    grid-template-columns: auto 72px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-action-form {
    margin: 0;
}

.list-item-text {
    color: var(--text);
    font-weight: 600;
    word-break: break-word;
}

.list-item-text strong,
.list-item-text small {
    display: block;
}

.list-item-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-gallery-thumb {
    width: 72px;
    height: 56px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: var(--primary-soft);
    border: 1px solid var(--border);
}

.inline-edit-form {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(13, 45, 92, 0.09);
    border-radius: 14px;
    background: rgba(13, 45, 92, 0.02);
}

.inline-edit-form input,
.inline-edit-form textarea {
    width: 100%;
    border: 1px solid rgba(13, 45, 92, 0.12);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    font: inherit;
    background: #fff;
}

.inline-edit-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.empty-state {
    margin: 0;
    padding: 18px;
    border-radius: 12px;
    background: rgba(13, 45, 92, 0.02);
    color: var(--muted);
}

.news-empty-state {
    grid-column: 1 / -1;
    padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(234, 243, 255, 0.72));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.news-empty-state .eyebrow {
    color: var(--gold-deep);
}

.news-empty-state h2 {
    margin: 0 0 10px;
    color: var(--primary-dark);
}

.news-empty-state p {
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.pagination {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
}

.pagination a {
    color: var(--primary);
    font-weight: 700;
}

.message-item {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.message-main-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.message-copy {
    display: grid;
    gap: 8px;
}

.message-item p {
    margin: 0;
    color: var(--muted);
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 25px rgba(12, 30, 60, 0.08);
    border: 1px solid transparent;
}

.alert::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
    flex-shrink: 0;
}

.admin-message {
    margin-bottom: 18px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-message.is-hidden {
    opacity: 0;
    transform: translateY(-4px);
}

.alert-success {
    background: linear-gradient(135deg, rgba(38, 166, 91, 0.12), rgba(68, 200, 120, 0.08));
    color: #0d7f45;
    border-color: rgba(38, 166, 91, 0.18);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(214, 73, 73, 0.12), rgba(255, 136, 136, 0.08));
    color: #9d2d2d;
    border-color: rgba(214, 73, 73, 0.18);
}

.alert-info {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(80, 150, 255, 0.08));
    color: var(--primary-dark);
    border-color: rgba(21, 101, 192, 0.16);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px auto;
}

@media (max-width: 980px) {
    .hero-grid,
    .about-grid,
    .about-layout,
    .feature-grid,
    .contact-layout,
    .admin-layout,
    .grid-form,
    .admin-field-grid,
    .page-image-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .cards-grid,
    .feature-points,
    .gallery-grid,
    .value-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy {
        padding: 24px clamp(16px, 3vw, 22px) 18px;
    }

    .main-nav {
        position: absolute;
        right: 16px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255,255,255,0.97);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 18px;
        box-shadow: var(--shadow);
        min-width: min(88vw, 280px);
        gap: 8px;
    }

    .site-header .main-nav {
        background: #1565c0;
        border-color: rgba(255, 255, 255, 0.18);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a,
    .nav-item,
    .has-dropdown {
        width: 100%;
    }

    .main-nav a,
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        color: var(--text);
    }

    .main-nav a:hover,
    .nav-link:hover {
        background: rgba(11,43,109,0.06);
        color: var(--primary-dark);
    }

    .nav-link.active,
    .main-nav a.active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        box-shadow: 0 10px 18px rgba(13, 71, 161, 0.18);
    }

    .dropdown-menu {
        position: absolute;
        left: 0;
        top: calc(100% + 8px);
        width: min(220px, 80vw);
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        display: none;
        margin-top: 0;
        padding: 8px 0;
        box-shadow: var(--shadow);
        border: 1px solid rgba(11,43,109,0.08);
        background: rgba(255,255,255,0.98);
    }

    .site-header .dropdown-menu {
        background: #f3eadb;
        border-color: rgba(16, 43, 78, 0.14);
    }

    .has-dropdown.open .dropdown-menu {
        display: grid;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .dropdown-menu a {
        padding: 9px 12px;
    }

    .site-header .dropdown-menu a {
        color: #102b4e;
    }

    .site-header .dropdown-menu a:hover,
    .site-header .dropdown-menu a.active {
        background: #f3eadb;
        color: #1565c0;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 980px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-topbar-inner {
        min-height: 68px;
    }

    .admin-topbar-actions {
        gap: 10px;
    }

    .admin-topbar-actions > a:first-child,
    .admin-user-chip small {
        display: none;
    }

    .admin-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
    }

    .admin-sidebar a {
        text-align: center;
    }

    .admin-overview-grid,
    .admin-stats-grid,
    .admin-field-grid {
        grid-template-columns: 1fr;
    }

    .inline-list-item {
        grid-template-columns: auto 64px minmax(0, 1fr) auto;
    }

    .inline-list-item .pill {
        grid-column: 3;
    }

    .inline-list-item .list-actions {
        grid-column: 3 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .gallery-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .gallery-item {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .hero {
        padding-top: 72px;
        padding-bottom: 56px;
    }

    .hero-copy {
        border-radius: 22px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-group .btn {
        width: 100%;
    }

    .mini-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .slide-frame {
        height: 420px;
    }
}

@media (max-width: 620px) {
    .admin-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .admin-user-chip {
        padding-left: 0;
        border-left: 0;
    }

    .admin-shell {
        padding-top: 20px;
    }

    .news-article-hero {
        padding: 44px 0 42px;
    }

    .news-article-hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .news-article-meta {
        display: grid;
        gap: 8px;
    }

    .news-article-meta span + span::before {
        display: none;
    }

    .news-article {
        padding-top: 34px;
        padding-bottom: 54px;
    }

    .news-article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-article-note {
        border-left: 0;
        border-top: 3px solid var(--secondary);
    }

    .stats-grid,
    .cards-grid,
    .feature-points,
    .gallery-grid,
    .value-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .story-grid,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about-copy h2,
    .value-card h3,
    .feature-band h3 {
        font-size: 2rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .page-hero {
        padding-top: 96px;
        padding-bottom: 68px;
    }

    .page-hero .container,
    .hero-copy {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-shell {
        padding-top: 56px;
    }

    .footer-bottom .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Admin workspace refinement */
body.admin-body {
    --admin-ink: #10233f;
    --admin-muted: #65738a;
    --admin-line: #dbe4ef;
    --admin-blue: #1261a8;
    --admin-gold: #c89a35;
    font-size: 0.94rem;
}

body.admin-body[data-theme="dark"] {
    --admin-ink: #eff6ff;
    --admin-muted: #9db1c9;
    --admin-line: rgba(157, 185, 219, 0.18);
    --admin-blue: #78baff;
    --admin-gold: #f0c76b;
}

.admin-topbar {
    background: #0c203b;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(6, 25, 49, 0.12);
}

.admin-topbar-inner {
    min-height: 72px;
}

.admin-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--admin-gold);
    color: #0c203b;
    border: 0;
}

.admin-brand strong {
    font-size: 0.94rem;
}

.admin-shell {
    padding-top: 28px;
    background: #f3f6fa;
}

body.admin-body[data-theme="dark"] .admin-shell {
    background: #071522;
}

.admin-layout {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 24px;
}

.admin-sidebar,
.admin-section {
    border: 1px solid var(--admin-line);
    box-shadow: 0 10px 28px rgba(22, 48, 82, 0.06);
    backdrop-filter: none;
}

.admin-sidebar {
    padding: 18px 10px 12px;
    background: #fff;
}

body.admin-body[data-theme="dark"] .admin-sidebar,
body.admin-body[data-theme="dark"] .admin-section {
    background: #102337;
    border-color: var(--admin-line);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.admin-sidebar-heading {
    padding: 4px 10px 16px;
    border-color: var(--admin-line);
}

.admin-sidebar h3,
.admin-sidebar-section-label {
    color: var(--admin-blue);
}

.admin-sidebar a {
    color: var(--admin-ink);
    border-radius: 7px;
}

.admin-sidebar a.active {
    color: #fff;
    background: var(--admin-blue);
    border-color: var(--admin-blue);
    box-shadow: 0 6px 14px rgba(18, 97, 168, 0.2);
}

.admin-sidebar a:hover:not(.active) {
    color: var(--admin-blue);
    background: #edf4fb;
    border-color: transparent;
    box-shadow: none;
}

body.admin-body[data-theme="dark"] .admin-sidebar a:hover:not(.active) {
    background: rgba(120, 186, 255, 0.1);
}

.admin-main {
    gap: 20px;
}

.admin-section {
    padding: 26px;
    border-radius: 12px;
    background: #fff;
}

.admin-section-header {
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-section-header h2 {
    color: var(--admin-ink);
    font-size: clamp(1.55rem, 2vw, 2rem);
    letter-spacing: -0.02em;
}

.admin-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-action-card {
    min-height: 154px;
    padding: 18px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: none;
}

.admin-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 97, 168, 0.38);
    box-shadow: 0 10px 22px rgba(22, 48, 82, 0.08);
}

body.admin-body[data-theme="dark"] .admin-action-card,
body.admin-body[data-theme="dark"] .mini-stat {
    background: #0c1d2f;
    border-color: var(--admin-line);
}

.admin-action-card h3 {
    margin: 7px 0 8px;
    color: var(--admin-ink);
    font-size: 1.05rem;
}

.admin-action-card p {
    color: var(--admin-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.admin-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mini-stat {
    padding: 16px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: #f8fafc;
    text-align: left;
}

.mini-stat strong {
    color: var(--admin-blue);
    font-size: 1.75rem;
}

.mini-stat span {
    color: var(--admin-muted);
    font-size: 0.78rem;
}

@media (max-width: 980px) {
    .admin-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .admin-section {
        padding: 18px 14px;
    }

    .admin-overview-grid,
    .admin-stats-grid,
    .gallery-admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding: 14px 8px 10px;
    }

    .admin-sidebar a {
        padding: 9px 10px;
        font-size: 0.82rem;
    }

    .inline-list-item {
        grid-template-columns: auto 58px minmax(0, 1fr);
        gap: 10px;
    }

    .admin-gallery-thumb {
        width: 58px;
        height: 52px;
    }

    .inline-list-item .pill,
    .inline-list-item .list-actions {
        grid-column: 2 / -1;
    }

    .list-item-text small {
        max-width: 100%;
    }
}

/* Public gallery responsive refinement */
.gallery-showcase {
    width: min(100%, 1180px);
    min-width: 0;
}

.gallery-filter-bar {
    align-items: center;
    max-width: 100%;
    overflow-x: auto;
    padding: 3px 2px 8px;
    scrollbar-width: thin;
}

.gallery-filter {
    flex: 0 0 auto;
    white-space: nowrap;
}

.gallery-layout {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 18px);
}

.gallery-item {
    min-width: 0;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.gallery-item figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 9px;
    overflow: hidden;
}

.gallery-item figcaption strong,
.gallery-item figcaption span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .gallery-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gallery-showcase {
        padding-top: 20px;
    }

    .gallery-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-item figcaption {
        font-size: 0.72rem;
    }
}

@media (max-width: 430px) {
    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-item figcaption {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
