:root {
    --primary: #a61e2d;
    --primary-light: #d94b57;
    --primary-dark: #78101c;
    --teal: #0f766e;
    --teal-soft: #dcfdfa;
    --gold: #c58b17;
    --navy: #14324d;
    --bg: #f4f7fb;
    --bg-soft: #fbfdff;
    --card: rgba(255, 255, 255, 0.8);
    --card-solid: #ffffff;
    --border: rgba(20, 50, 77, 0.12);
    --text: #132238;
    --text-muted: #5c6b7a;
    --shadow: 0 24px 60px rgba(21, 41, 67, 0.12);
    --shadow-soft: 0 14px 30px rgba(21, 41, 67, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: min(1180px, calc(100% - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(166, 30, 45, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.09), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.site-shell {
    position: relative;
    min-height: 100vh;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(20, 50, 77, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 50, 77, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.96), transparent 92%);
    pointer-events: none;
    z-index: -3;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(26px);
    pointer-events: none;
    z-index: -2;
}

.orb-a {
    width: 280px;
    height: 280px;
    top: 100px;
    left: -60px;
    background: rgba(166, 30, 45, 0.12);
}

.orb-b {
    width: 320px;
    height: 320px;
    top: 280px;
    right: -90px;
    background: rgba(15, 118, 110, 0.12);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 14px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(19, 34, 56, 0.08);
    border-bottom: 1px solid rgba(20, 50, 77, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand img {
    width: 220px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link,
.mobile-nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.nav-link::after,
.mobile-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.mobile-nav-link:hover::after {
    transform: scaleX(1);
}

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

.admin-link,
.mobile-admin-link,
.btn,
.text-link {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.admin-link,
.mobile-admin-link {
    border: 1px solid rgba(20, 50, 77, 0.12);
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
}

.admin-link:hover,
.mobile-admin-link:hover,
.btn:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(20, 50, 77, 0.12);
    background: rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.mobile-drawer {
    position: absolute;
    inset: calc(100% + 8px) 16px auto 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(20, 50, 77, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-section,
.page-hero {
    position: relative;
    padding: 44px 0 68px;
}

.hero-section {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
}

.hero-canvas,
.hero-overlay {
    position: absolute;
    inset: 0;
    border-radius: 0 0 44px 44px;
}

.hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.97) 55%, rgba(248, 251, 255, 1) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge,
.section-eyebrow,
.panel-pill,
.panel-status,
.hero-chip,
.stat-label,
.program-code,
.program-status,
.category-badge {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(166, 30, 45, 0.12);
    box-shadow: var(--shadow-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 rgba(166, 30, 45, 0.4);
    animation: pulse 1.8s infinite;
}

.section-eyebrow {
    display: inline-block;
    margin: 18px 0 10px;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.article-header h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.05;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    max-width: 10ch;
}

.hero-copy h1 span {
    background: linear-gradient(100deg, var(--primary), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description,
.page-hero p,
.section-heading p,
.about-copy p,
.program-card p,
.news-card p,
.contact-form label span,
.site-footer p,
.site-footer li {
    color: var(--text-muted);
}

.hero-description {
    margin: 24px 0 28px;
    max-width: 60ch;
    font-size: 1.03rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 18px;
    padding: 14px 22px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 14px 34px rgba(166, 30, 45, 0.25);
}

.btn-secondary {
    color: var(--teal);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(15, 118, 110, 0.22);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-chip {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(20, 50, 77, 0.1);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
}

.hero-panel-card,
.stat-card,
.program-card,
.news-card,
.building-card,
.message-card,
.vision-card,
.contact-form,
.info-card,
.article-wrapper,
.flash {
    background: var(--card);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
}

.hero-panel-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.hero-panel-card::before,
.program-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(166, 30, 45, 0.12), rgba(15, 118, 110, 0.08));
    opacity: 0.7;
    pointer-events: none;
}

.panel-floating {
    animation: float 7s ease-in-out infinite;
}

.panel-header,
.panel-metrics,
.program-head,
.program-meta,
.news-meta,
.news-footer,
.article-meta,
.footer-grid,
.footer-bottom .container,
.stats-grid,
.program-grid,
.news-grid,
.contact-grid,
.form-grid,
.hero-grid,
.about-grid,
.check-grid,
.vision-grid {
    position: relative;
    z-index: 1;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.panel-pill,
.panel-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
}

.panel-pill {
    color: var(--primary-dark);
    background: rgba(166, 30, 45, 0.1);
}

.panel-status {
    color: var(--teal);
    background: rgba(15, 118, 110, 0.1);
}

.hero-panel-card h2,
.section-heading h2,
.page-hero h1,
.article-header h1 {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.hero-panel-card h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
    margin: 0 0 22px;
}

.panel-metrics,
.stats-grid,
.program-grid,
.news-grid,
.check-grid,
.vision-grid,
.contact-grid,
.form-grid,
.footer-grid {
    display: grid;
    gap: 18px;
}

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

.panel-metrics article {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 50, 77, 0.1);
}

.panel-metrics strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scroll-indicator span {
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: float 2.4s ease-in-out infinite;
}

.section,
.article-section,
.stats-section {
    padding: 44px 0 88px;
}

.page-hero {
    padding-top: 72px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading-inline {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

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

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 26px;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: auto -30% -55% auto;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(166, 30, 45, 0.13), transparent 68%);
}

.stat-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin: 8px 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.building-card {
    padding: 22px;
    border-radius: 20px;
}

.building-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(197, 139, 23, 0.12);
    color: var(--gold);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    animation: float 6s ease-in-out infinite;
}

.building-screen {
    min-height: 460px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 241, 0.98));
    border: 1px solid rgba(20, 50, 77, 0.1);
    position: relative;
    overflow: hidden;
}

.program-code,
.category-badge {
    font-size: 0.75rem;
    font-weight: 700;
}

.about-brand-card {
    background:
        linear-gradient(180deg, #ffffff, #fcf6ee),
        radial-gradient(circle at top right, rgba(197, 139, 23, 0.10), transparent 36%);
}

.about-brand-screen {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0;
    padding: 26px;
    text-align: center;
}

.about-brand-mark {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 360px;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf9, #fdf5ea);
    border: 1px solid rgba(197, 139, 23, 0.12);
}

.about-brand-mark img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.about-philosophy-panel {
    margin-top: 26px;
    padding: 28px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, #ffffff, #fdf7ef),
        radial-gradient(circle at top right, rgba(197, 139, 23, 0.10), transparent 38%);
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
}

.about-philosophy-panel-head {
    margin-bottom: 22px;
}

.about-philosophy-panel-head h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    color: var(--primary-dark);
}

.about-philosophy-layout {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    align-items: center;
}

.about-philosophy-figure {
    display: grid;
    place-items: center;
    width: min(100%, 760px);
    min-height: 420px;
    margin-inline: auto;
    padding: 28px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf9, #fdf5ea);
    border: 1px solid rgba(197, 139, 23, 0.16);
}

.about-philosophy-figure img {
    width: min(100%, 640px);
    max-height: 520px;
    object-fit: contain;
}

.about-philosophy-content {
    max-width: 760px;
    margin: 24px auto 0;
    text-align: center;
}

.about-philosophy-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.check-item,
.message-card,
.vision-card,
.info-card {
    border-radius: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
}

.check-item i {
    color: var(--primary);
}

.message-card,
.vision-card,
.contact-form,
.info-card {
    padding: 24px;
}

.message-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.message-avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.vision-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: 18px;
}

.vision-grid-full {
    margin-top: 24px;
}

.vision-card i {
    color: var(--teal);
    font-size: 1.4rem;
}

.vision-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.96)),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 42%);
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
}

.vision-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(166, 30, 45, 0.95), rgba(15, 118, 110, 0.72));
}

.vision-card-featured {
    padding: 28px;
}

.vision-card-supporting {
    padding: 24px 24px 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 248, 244, 0.96)),
        radial-gradient(circle at top right, rgba(212, 158, 46, 0.14), transparent 40%);
}

.vision-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.vision-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(166, 30, 45, 0.08);
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vision-card h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.vision-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.vision-card h3,
.program-card h3,
.news-card h3,
.contact-info h3 {
    margin: 12px 0 8px;
    font-family: 'Space Grotesk', sans-serif;
}

.vision-card h3 {
    margin: 0;
}

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

.program-group + .program-group {
    margin-top: 34px;
}

.content-entity-group + .content-entity-group {
    margin-top: 34px;
}

.content-entity-head {
    margin-bottom: 20px;
}

.content-entity-head h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.program-group-head {
    margin-bottom: 20px;
}

.program-group-head h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.program-group-single .program-grid {
    grid-template-columns: minmax(0, 1fr);
}

.program-group-single .program-card {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    padding: 30px;
}

.program-group-single .program-card p {
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
}

.program-group-single .program-icon {
    width: 132px;
    height: 132px;
    border-radius: 38px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
}

.program-group-single .program-icon img {
    border-radius: 38px;
}

.program-group-single .program-icon.has-logo {
    width: 152px;
    height: 152px;
}

.program-group-single .program-icon.has-logo img {
    border-radius: 0;
}

.program-group-single .program-head {
    align-items: center;
}

.program-group-single .program-head h3 {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.program-group-single .program-meta {
    margin-top: 20px;
}

.program-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 28px;
    text-align: center;
    display: grid;
    justify-items: center;
}

.program-card::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--program-accent), rgba(255, 255, 255, 0));
}

.program-icon {
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: color-mix(in srgb, var(--program-accent) 12%, white);
    color: var(--program-accent);
    font-size: 2rem;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 16px 30px color-mix(in srgb, var(--program-accent) 16%, rgba(21, 41, 67, 0.08));
}

.program-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 32px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.88);
}

.program-icon.has-logo {
    width: 136px;
    height: 136px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.program-icon.has-logo img {
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.program-icon.has-symbol {
    font-size: 2.25rem;
}

.program-head,
.program-meta,
.news-meta,
.news-footer,
.article-meta,
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.program-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 10px;
    width: 100%;
}

.program-head h3 {
    margin: 0 auto;
    width: 100%;
    display: block;
    text-align: center;
}

.program-code {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.12em;
}

.program-meta,
.news-meta,
.news-footer {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.program-meta {
    justify-content: center;
}

.page-hero-personnel {
    padding-bottom: 40px;
}

.personnel-hero-grid,
.personnel-hero-metrics,
.personnel-grid {
    display: grid;
    gap: 18px;
}

.personnel-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.personnel-hero-card,
.personnel-card {
    position: relative;
    overflow: hidden;
    background: var(--card);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 30px;
}

.personnel-hero-card {
    padding: 26px;
}

.personnel-hero-card h2,
.personnel-category-head h3,
.personnel-body h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.personnel-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.personnel-hero-metrics div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

.personnel-hero-metrics strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
}

.personnel-entity + .personnel-entity {
    margin-top: 42px;
}

.personnel-category + .personnel-category {
    margin-top: 28px;
}

.personnel-category-head {
    margin-bottom: 18px;
}

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

.personnel-grid-home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.personnel-spotlight,
.personnel-school-column {
    position: relative;
    overflow: hidden;
    background: var(--card);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 30px;
}

.personnel-spotlight {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    margin-bottom: 22px;
}

.personnel-spotlight::before,
.personnel-school-column::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(166, 30, 45, 0.08), rgba(15, 118, 110, 0.06));
    pointer-events: none;
}

.personnel-spotlight-photo,
.personnel-spotlight-body,
.personnel-school-head,
.personnel-school-grid {
    position: relative;
    z-index: 1;
}

.personnel-spotlight-photo {
    min-height: 100%;
    background: linear-gradient(180deg, rgba(166, 30, 45, 0.1), rgba(15, 118, 110, 0.08));
}

.personnel-spotlight-photo img,
.personnel-spotlight-photo .personnel-photo-fallback {
    width: 100%;
    height: 100%;
}

.personnel-spotlight-photo img {
    object-fit: cover;
}

.personnel-spotlight-body {
    padding: 28px;
}

.personnel-spotlight-body h3,
.personnel-school-head h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.personnel-leadership-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.personnel-school-column {
    padding: 22px;
}

.personnel-school-head {
    margin-bottom: 18px;
}

.personnel-school-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.personnel-card {
    display: grid;
}

.personnel-photo {
    aspect-ratio: 6 / 7;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(166, 30, 45, 0.08), rgba(15, 118, 110, 0.08));
}

.personnel-photo img,
.personnel-photo-fallback {
    width: 100%;
    height: 100%;
}

.personnel-photo img {
    object-fit: cover;
}

.personnel-photo-fallback {
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.personnel-body {
    padding: 22px;
}

.personnel-body strong {
    display: block;
    margin: 8px 0 4px;
    color: var(--navy);
}

.personnel-field {
    margin: 0 0 10px;
    color: var(--primary);
    font-weight: 600;
}

.personnel-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

.partner-card {
    display: grid;
    gap: 12px;
    padding: 20px 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: var(--shadow);
}

.partner-logo-wrap {
    min-height: 112px;
    display: grid;
    place-items: center;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 251, 0.96));
    border: 1px solid rgba(20, 50, 77, 0.07);
}

.partner-logo-wrap img,
.partner-logo-fallback {
    width: 100%;
    max-width: 180px;
    height: 84px;
}

.partner-logo-wrap img {
    object-fit: contain;
}

.partner-logo-fallback {
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(166, 30, 45, 0.14), rgba(15, 118, 110, 0.10));
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

.partner-body {
    display: grid;
    gap: 4px;
}

.partner-body strong {
    color: var(--navy);
}

.partner-body span {
    color: var(--teal);
    font-size: 0.92rem;
    font-weight: 600;
}

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

.news-card {
    overflow: hidden;
    border-radius: 18px;
}

.news-thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.news-thumb img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img,
.gallery-item:hover img {
    transform: scale(1.06);
}

.news-placeholder,
.gallery-placeholder {
    min-height: 248px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 6px;
    padding: 24px;
    background:
        linear-gradient(160deg, rgba(166, 30, 45, 0.16), rgba(15, 118, 110, 0.13)),
        linear-gradient(180deg, #ffffff, #edf4fb);
}

.news-body {
    padding: 22px;
}

.news-card h3 {
    font-size: 1.32rem;
}

.news-card h3 a,
.text-link {
    color: var(--navy);
}

.category-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
}

.category-akademik {
    background: rgba(15, 118, 110, 0.1);
    color: var(--teal);
}

.category-prestasi {
    background: rgba(197, 139, 23, 0.12);
    color: var(--gold);
}

.category-kegiatan {
    background: rgba(20, 50, 77, 0.08);
    color: var(--navy);
}

.category-pengumuman {
    background: rgba(166, 30, 45, 0.1);
    color: var(--primary);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.text-link.large {
    align-self: center;
}

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

.page-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    border: 0;
    border-radius: 18px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    box-shadow: var(--shadow-soft);
}

.gallery-item-video::before,
.admin-gallery-media.is-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 50, 77, 0.04), rgba(20, 50, 77, 0.18));
    pointer-events: none;
    z-index: 1;
}

.gallery-item-large {
    grid-column: span 2;
    min-height: 320px;
}

.gallery-play-badge,
.admin-gallery-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    box-shadow: 0 18px 34px rgba(19, 34, 56, 0.22);
    z-index: 2;
    font-size: 1.15rem;
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(166, 30, 45, 0.72));
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.lightbox {
    --lightbox-gap: clamp(12px, 2.2vw, 20px);
    --lightbox-toolbar-top: max(18px, env(safe-area-inset-top));
    position: fixed;
    inset: 0;
    z-index: 120;
    padding: 0;
}

.lightbox[hidden] {
    display: none !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
}

.lightbox-dialog {
    position: absolute;
    inset: var(--lightbox-gap);
    z-index: 1;
    width: min(1180px, calc(100vw - (var(--lightbox-gap) * 2)));
    max-width: calc(100vw - (var(--lightbox-gap) * 2));
    height: calc(100dvh - (var(--lightbox-gap) * 2));
    max-height: calc(100dvh - (var(--lightbox-gap) * 2));
    margin: auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 30px;
    padding: calc(var(--lightbox-toolbar-top) + 54px) 22px 22px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: var(--lightbox-toolbar-top);
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(20, 50, 77, 0.08);
    cursor: pointer;
}

.lightbox-zoom {
    position: absolute;
    top: var(--lightbox-toolbar-top);
    right: 70px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(20, 50, 77, 0.08);
    color: var(--navy);
    cursor: pointer;
    z-index: 2;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    z-index: 2;
}

.lightbox-nav-prev {
    left: 18px;
}

.lightbox-nav-next {
    right: 18px;
}

.lightbox-media {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(239, 245, 252, 0.96));
    cursor: zoom-in;
    touch-action: none;
}

.lightbox.is-zoomed .lightbox-media {
    cursor: grab;
}

.lightbox.is-panning .lightbox-media {
    cursor: grabbing;
}

.lightbox-media-stage {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.lightbox-media-stage.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lightbox-media img,
.lightbox-fallback {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 24px;
    object-fit: contain;
    transition: transform 0.28s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-video-stage {
    padding: clamp(6px, 1vw, 12px);
}

.lightbox-video-frame {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: inset 0 0 0 1px rgba(20, 50, 77, 0.08);
}

.lightbox.has-video .lightbox-media {
    cursor: default;
}

.lightbox.is-zoomed .lightbox-media img {
    will-change: transform;
}

.lightbox-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 360px;
    background: linear-gradient(160deg, rgba(166, 30, 45, 0.16), rgba(15, 118, 110, 0.14));
    color: var(--navy);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    text-align: center;
    padding: 24px;
}

.lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 2px;
}

.lightbox-title {
    margin: 0;
    font-weight: 600;
}

.lightbox-counter {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

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

.contact-form,
.info-card {
    border-radius: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(20, 50, 77, 0.12);
    background: rgba(255, 255, 255, 0.88);
    padding: 14px 16px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(166, 30, 45, 0.38);
    box-shadow: 0 0 0 4px rgba(166, 30, 45, 0.08);
}

.contact-info {
    display: grid;
    gap: 18px;
}

.info-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
}

.info-card i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.info-card:nth-child(2) i {
    background: linear-gradient(135deg, #0ea5a0, #0f766e);
}

.info-card:nth-child(3) i {
    background: linear-gradient(135deg, #d5a635, #b47d12);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-phone-list {
    display: grid;
    gap: 12px;
}

.contact-phone-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(20, 50, 77, 0.08);
    border-radius: 12px;
    background: #ffffff;
}

.contact-phone-item strong {
    color: var(--navy);
}

.contact-phone-item a {
    width: fit-content;
    color: var(--primary);
    font-weight: 600;
}

.contact-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: #0f9d58;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.28);
    font-weight: 700;
}

.floating-whatsapp i {
    font-size: 1.25rem;
}

.social-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(20, 50, 77, 0.1);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    font-size: 1.35rem;
}

.social-facebook {
    color: #1877f2;
}

.social-instagram {
    color: #d62976;
}

.social-youtube {
    color: #ff0000;
}

.social-tiktok {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(214, 41, 118, 0.9), rgba(15, 118, 110, 0.88));
    border-color: rgba(214, 41, 118, 0.18);
}

.site-footer {
    padding-top: 20px;
}

.footer-grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    padding: 30px 0 34px;
    border-top: 1px solid rgba(20, 50, 77, 0.1);
}

.site-footer h3 {
    margin: 0 0 14px;
    font-family: 'Space Grotesk', sans-serif;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-logo {
    margin-bottom: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(20, 50, 77, 0.08);
    padding: 16px 0 28px;
    color: var(--text-muted);
}

.article-wrapper {
    border-radius: 20px;
    padding: 28px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
}

.article-header {
    margin: 20px 0 24px;
}

.article-meta {
    margin-top: 18px;
    color: var(--text-muted);
}

.article-hero {
    overflow: hidden;
    border-radius: 28px;
}

.article-placeholder {
    min-height: 420px;
}

.article-content {
    padding-top: 24px;
    color: var(--text);
}

.article-content > * + * {
    margin-top: 18px;
}

.article-content p,
.article-content li {
    color: var(--text);
    line-height: 1.85;
}

.article-content h2,
.article-content h3 {
    margin: 30px 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--navy);
    line-height: 1.2;
}

.article-content ul,
.article-content ol {
    margin: 0;
    padding-left: 24px;
}

.article-content blockquote {
    margin: 0;
    padding: 18px 22px;
    border-left: 4px solid var(--primary);
    border-radius: 0 18px 18px 0;
    background: rgba(166, 30, 45, 0.06);
    color: var(--navy);
    font-weight: 500;
}

.article-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--navy);
}

.admin-view-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 50, 77, 0.08);
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 600;
}

.admin-rich-editor {
    display: grid;
    gap: 14px;
}

.admin-rich-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-rich-toolbar .btn {
    min-width: 0;
}

.admin-rich-editor textarea {
    min-height: 360px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

.admin-rich-preview {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

.admin-rich-preview > span {
    font-weight: 600;
    color: var(--navy);
}

.admin-rich-preview-body {
    min-height: 120px;
}

.admin-rich-preview-empty {
    margin: 0;
    color: var(--text-muted);
    font-style: italic;
}

.admin-social-list {
    display: grid;
    gap: 14px;
}

.admin-contact-phone-list {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-social-item {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.4fr auto;
    gap: 14px;
    align-items: end;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

.admin-contact-phone-item {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

.admin-social-remove {
    align-self: center;
}

.admin-contact-phone-remove,
.admin-contact-phone-toggle {
    align-self: center;
}

.admin-settings-group {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(20, 50, 77, 0.08);
}

.admin-settings-group-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

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

.admin-tab-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-tab-trigger {
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(20, 50, 77, 0.10);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-tab-trigger:hover,
.admin-tab-trigger.is-active {
    color: var(--text);
    border-color: rgba(166, 30, 45, 0.24);
    box-shadow: 0 12px 22px rgba(166, 30, 45, 0.08);
    transform: translateY(-1px);
}

.admin-tab-panel {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

.admin-tab-panel[hidden] {
    display: none !important;
}

.social-linkedin {
    color: #0a66c2;
}

.social-x {
    color: #111827;
}

.social-website {
    color: var(--navy);
}

.social-other {
    color: var(--teal);
}

.flash {
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 22px;
}

.flash-success {
    border-color: rgba(15, 118, 110, 0.16);
    color: var(--teal);
}

.flash-error {
    border-color: rgba(166, 30, 45, 0.16);
    color: var(--primary);
}

.admin-auth-body,
.admin-body {
    min-height: 100vh;
}

.admin-auth-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.admin-auth-card,
.admin-panel,
.admin-stat-card,
.admin-sidebar,
.admin-user-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(20, 50, 77, 0.1);
    box-shadow: var(--shadow);
}

.admin-auth-card {
    width: min(760px, 100%);
    border-radius: 20px;
    padding: 34px;
}

.admin-auth-brand {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.admin-auth-brand h1,
.admin-topbar h1,
.admin-panel h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

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

.admin-auth-form label {
    display: grid;
    gap: 10px;
}

.admin-auth-form input {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(20, 50, 77, 0.12);
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 16px;
    outline: none;
}

.admin-auth-form input:focus {
    border-color: rgba(166, 30, 45, 0.34);
    box-shadow: 0 0 0 4px rgba(166, 30, 45, 0.08);
}

.admin-auth-button {
    width: 100%;
}

.admin-auth-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 22px;
    width: min(1400px, calc(100% - 32px));
    margin: 24px auto;
    align-items: start;
}

.admin-mobile-nav-toggle {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.admin-mobile-backdrop {
    display: none;
}

.admin-sidebar {
    position: sticky;
    top: 20px;
    border-radius: 30px;
    padding: 24px;
}

.admin-sidebar-brand img {
    width: 220px;
    height: auto;
    margin-bottom: 18px;
}

.admin-user-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.admin-user-card span {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.admin-user-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

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

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--text-muted);
    font-weight: 600;
}

.admin-sidebar-nav a.is-active,
.admin-sidebar-nav a:hover {
    background: linear-gradient(135deg, rgba(166, 30, 45, 0.12), rgba(15, 118, 110, 0.08));
    color: var(--text);
}

.admin-logout-form {
    margin-top: 20px;
}

.admin-logout-button {
    width: 100%;
}

.admin-main {
    display: grid;
    gap: 22px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.admin-topbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-topbar p,
.admin-panel p {
    color: var(--text-muted);
}

.admin-stats-grid,
.admin-content-grid,
.admin-quick-grid {
    display: grid;
    gap: 18px;
}

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

.admin-stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 24px;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    inset: auto -20px -45px auto;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 72%);
}

.admin-stat-head,
.admin-stat-foot,
.admin-panel-head,
.activity-item,
.admin-shortcuts {
    position: relative;
    z-index: 1;
}

.admin-stat-head,
.admin-stat-foot,
.admin-panel-head,
.activity-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.admin-stat-head span,
.admin-stat-foot span,
.activity-item span,
.activity-item time {
    color: var(--text-muted);
}

.admin-stat-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin: 14px 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
}

.admin-stat-foot b {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
}

.accent-primary {
    color: var(--primary);
}

.accent-teal {
    color: var(--teal);
}

.accent-gold {
    color: var(--gold);
}

.accent-navy {
    color: var(--navy);
}

.admin-content-grid {
    grid-template-columns: 1.3fr 0.7fr;
}

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

.admin-panel {
    border-radius: 30px;
    padding: 24px;
}

.admin-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-chart-panel canvas {
    width: 100% !important;
    min-height: 320px;
    display: block;
}

.admin-chart-shell {
    position: relative;
    margin-top: 18px;
    padding: 18px 18px 10px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 251, 0.92));
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-activity-list {
    display: grid;
    gap: 14px;
}

.activity-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(20, 50, 77, 0.08);
    align-items: start;
}

.activity-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.activity-item strong {
    display: block;
    margin-bottom: 4px;
}

.activity-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(20, 50, 77, 0.08);
}

.admin-checklist {
    margin: 0;
    padding-left: 20px;
    color: var(--text-muted);
}

.admin-checklist li + li {
    margin-top: 10px;
}

.admin-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-shortcuts a {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 50, 77, 0.08);
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-soft);
}

.admin-link-block {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

.admin-toolbar,
.admin-search-form,
.admin-table-actions,
.admin-form-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-toolbar {
    justify-content: space-between;
    margin-bottom: 18px;
}

.admin-search-form input,
.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(20, 50, 77, 0.12);
    background: rgba(255, 255, 255, 0.9);
    padding: 14px 16px;
    color: var(--text);
    outline: none;
}

.admin-search-form input {
    min-width: 280px;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.admin-search-form input:focus {
    border-color: rgba(166, 30, 45, 0.34);
    box-shadow: 0 0 0 4px rgba(166, 30, 45, 0.08);
}

.admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(20, 50, 77, 0.08);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--text-muted);
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-empty-state {
    text-align: center;
    color: var(--text-muted);
}

.admin-news-title {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    align-items: center;
    min-width: 320px;
}

.admin-news-title img,
.admin-thumb-fallback {
    width: 80px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
}

.admin-thumb-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(166, 30, 45, 0.15), rgba(15, 118, 110, 0.12));
    color: var(--navy);
    font-weight: 700;
}

.admin-news-title span {
    display: block;
    color: var(--text-muted);
    margin-top: 4px;
    font-size: 0.9rem;
}

.admin-status {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-status.is-published {
    color: var(--teal);
    background: rgba(15, 118, 110, 0.1);
}

.admin-status.is-draft {
    color: var(--gold);
    background: rgba(197, 139, 23, 0.14);
}

.btn-small {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
}

.btn-danger {
    color: #fff;
    background: linear-gradient(135deg, #cf3346, #8f1020);
    border: 0;
}

.admin-form-panel {
    padding: 26px;
}

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

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

.admin-field {
    display: grid;
    gap: 10px;
}

.admin-field span {
    font-weight: 600;
}

.admin-field small {
    color: var(--text-muted);
}

.admin-field-full {
    grid-column: 1 / -1;
}

.admin-slug-preview {
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(20, 50, 77, 0.05);
    color: var(--navy);
    font-family: 'Space Grotesk', sans-serif;
}

.admin-thumbnail-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

.admin-thumbnail-preview img {
    width: 160px;
    height: 90px;
    border-radius: 16px;
    object-fit: cover;
}

.admin-checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.admin-checkbox-line input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.admin-dialog {
    width: min(520px, calc(100% - 24px));
    border: 0;
    padding: 0;
    background: transparent;
}

.admin-dialog::backdrop {
    background: rgba(11, 17, 33, 0.46);
    backdrop-filter: blur(5px);
}

.admin-dialog-card {
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 50, 77, 0.1);
    box-shadow: var(--shadow);
}

.admin-dialog-card h2 {
    margin: 0 0 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.admin-empty-box {
    padding: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 50, 77, 0.08);
}

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

.admin-gallery-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
}

.admin-gallery-media {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.admin-gallery-media img,
.admin-gallery-fallback {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.admin-gallery-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(166, 30, 45, 0.16), rgba(15, 118, 110, 0.14));
    color: var(--navy);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.admin-gallery-overlay {
    position: absolute;
    inset: auto 14px 14px 14px;
    display: flex;
    justify-content: end;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
}

.admin-gallery-card:hover .admin-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.admin-gallery-body {
    padding: 16px;
}

.admin-gallery-body strong {
    display: block;
    margin-bottom: 10px;
}

.admin-gallery-body p {
    overflow-wrap: anywhere;
}

.admin-gallery-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-partner-media {
    min-height: 180px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 251, 0.96));
}

.admin-partner-media img {
    object-fit: contain;
    background: transparent;
}

.admin-gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-program-grid,
.admin-message-layout {
    display: grid;
    gap: 18px;
}

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

.admin-program-card {
    border-top: 4px solid var(--program-accent);
}

.admin-program-grid .admin-empty-box {
    grid-column: 1 / -1;
}

.admin-program-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.admin-program-head h2 {
    margin: 4px 0 0;
    font-family: 'Space Grotesk', sans-serif;
}

.admin-logo-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.admin-logo-toggle input {
    width: 18px;
    height: 18px;
}

.admin-color-picker {
    position: relative;
}

.admin-color-picker[open] .admin-color-caret {
    transform: rotate(180deg);
}

.admin-color-picker[open] .admin-color-trigger {
    border-color: rgba(166, 30, 45, 0.28);
    box-shadow: 0 0 0 4px rgba(166, 30, 45, 0.08);
}

.admin-color-trigger {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(20, 50, 77, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.admin-color-trigger::-webkit-details-marker {
    display: none;
}

.admin-color-trigger-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-color-caret {
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.admin-color-dropdown {
    margin-top: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(20, 50, 77, 0.10);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.admin-color-palette {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-color-option {
    display: grid;
    grid-template-columns: 22px 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(20, 50, 77, 0.10);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-color-option:hover {
    transform: translateY(-1px);
    border-color: rgba(166, 30, 45, 0.20);
}

.admin-color-option input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.admin-color-swatch {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--swatch-color);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.admin-color-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-color-copy strong {
    font-size: 0.95rem;
    color: var(--navy);
}

.admin-color-copy small {
    color: var(--text-muted);
}

.admin-color-option:has(input:checked) {
    border-color: rgba(166, 30, 45, 0.30);
    box-shadow: 0 14px 26px rgba(166, 30, 45, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 252, 255, 0.94));
}

.admin-message-layout {
    grid-template-columns: 0.85fr 1.15fr;
}

.admin-message-list {
    display: grid;
    gap: 12px;
}

.admin-message-item {
    display: block;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
}

.admin-message-item.is-active {
    border-color: rgba(166, 30, 45, 0.2);
    box-shadow: 0 12px 24px rgba(166, 30, 45, 0.08);
}

.admin-message-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.admin-message-item p,
.admin-message-item small,
.admin-message-meta-grid span {
    color: var(--text-muted);
}

.admin-message-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.admin-message-meta-grid strong {
    display: block;
    margin-top: 4px;
}

.admin-message-body {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 50, 77, 0.08);
    margin-bottom: 18px;
    white-space: pre-wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.12s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(166, 30, 45, 0.36);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(166, 30, 45, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(166, 30, 45, 0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .about-grid,
    .about-philosophy-layout,
    .contact-grid,
    .footer-grid,
    .personnel-hero-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .vision-grid,
    .program-grid,
    .news-grid,
    .news-grid-page,
    .page-gallery,
    .personnel-grid,
    .personnel-grid-home,
    .partner-grid,
    .personnel-school-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .personnel-spotlight,
    .personnel-leadership-layout {
        grid-template-columns: 1fr;
    }

    .admin-layout,
    .admin-content-grid,
    .admin-quick-grid,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        padding: 20px;
    }

    .admin-sidebar-brand {
        display: flex;
        justify-content: center;
    }

    .admin-sidebar-brand img {
        margin-bottom: 0;
    }

    .admin-user-card {
        margin-top: 18px;
    }

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

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

    .admin-program-grid,
    .admin-message-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .admin-link {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .check-grid,
    .vision-grid,
    .panel-metrics,
    .form-grid,
    .personnel-hero-metrics {
        grid-template-columns: 1fr;
    }

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

    .gallery-item-large {
        grid-column: span 1;
        min-height: 240px;
    }

    .admin-layout {
        width: min(100%, calc(100% - 20px));
        gap: 16px;
        margin: 16px auto;
    }

    .admin-sidebar {
        border-radius: 24px;
        padding: 18px;
    }

    .admin-sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-sidebar-nav a {
        min-height: 52px;
        padding: 12px 14px;
    }

    .admin-panel,
    .admin-stat-card,
    .admin-auth-card {
        border-radius: 24px;
        padding: 20px;
    }

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

    .admin-chart-shell {
        padding: 14px 14px 8px;
    }

    .admin-chart-panel canvas {
        min-height: 260px;
    }

    .admin-news-title {
        min-width: 220px;
        grid-template-columns: 64px 1fr;
    }

    .admin-news-title img,
    .admin-thumb-fallback {
        width: 64px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .page-hero,
    .section,
    .article-section,
    .stats-section {
        padding: 34px 0 70px;
    }

    .brand img {
        width: 180px;
    }

    .hero-copy h1 {
        font-size: 2.7rem;
    }

    .hero-highlights,
    .hero-actions,
    .section-heading-inline {
        flex-direction: column;
        align-items: start;
    }

    .stats-grid,
    .program-grid,
    .news-grid,
    .news-grid-page,
    .gallery-grid,
    .page-gallery,
    .personnel-grid,
    .personnel-grid-home,
    .partner-grid,
    .personnel-school-grid {
        grid-template-columns: 1fr;
    }

    .message-card,
    .info-card {
        grid-template-columns: 1fr;
    }

    .lightbox-dialog {
        width: calc(100vw - (var(--lightbox-gap) * 2));
        max-width: calc(100vw - (var(--lightbox-gap) * 2));
        height: calc(100dvh - (var(--lightbox-gap) * 2));
        max-height: calc(100dvh - (var(--lightbox-gap) * 2));
        padding: calc(var(--lightbox-toolbar-top) + 52px) 18px 18px;
        border-radius: 24px;
    }

    .lightbox-nav {
        top: auto;
        bottom: 84px;
        transform: none;
    }

    .lightbox-zoom {
        right: 66px;
    }

    .lightbox-nav-prev {
        left: 18px;
    }

    .lightbox-nav-next {
        right: 18px;
    }

    .admin-auth-brand,
    .admin-shortcuts,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar,
    .admin-auth-footer,
    .admin-topbar-actions {
        flex-direction: column;
        align-items: start;
    }

    .admin-auth-card {
        padding: 22px;
    }

    .admin-auth-brand {
        gap: 18px;
    }

    .admin-auth-brand img {
        width: 190px;
        height: auto;
        margin-inline: auto;
    }

    .admin-layout {
        width: min(100%, calc(100% - 14px));
        margin: 12px auto;
        gap: 14px;
    }

    .admin-mobile-nav-toggle {
        display: inline-flex;
        position: relative;
        z-index: 30;
    }

    .admin-sidebar {
        display: block;
        position: fixed;
        top: 12px;
        left: 12px;
        width: min(340px, calc(100vw - 24px));
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        padding: 16px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-28px) scale(0.985);
        transition: transform 0.28s ease, opacity 0.24s ease, visibility 0.24s ease;
        z-index: 40;
    }

    .admin-layout.admin-nav-open .admin-sidebar {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) scale(1);
    }

    .admin-sidebar.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) scale(1);
    }

    .admin-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: rgba(7, 16, 29, 0.42);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease;
        z-index: 20;
    }

    .admin-layout.admin-nav-open .admin-mobile-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-mobile-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-nav a {
        border-radius: 16px;
    }

    .admin-user-card {
        grid-template-columns: 50px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .admin-user-avatar {
        width: 50px;
        height: 50px;
    }

    .admin-panel-head,
    .admin-stat-head,
    .admin-stat-foot,
    .activity-item {
        align-items: start;
    }

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

    .admin-toolbar,
    .admin-search-form,
    .admin-table-actions,
    .admin-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-form input,
    .admin-search-form select,
    .admin-form-actions .btn,
    .admin-toolbar .btn,
    .admin-topbar-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .admin-table {
        min-width: 680px;
    }

    .admin-news-title {
        min-width: 200px;
    }

    .about-philosophy-panel {
        padding: 20px;
    }

    .about-brand-screen {
        padding: 20px;
    }

    .about-philosophy-figure {
        padding: 18px;
        min-height: 280px;
        width: 100%;
    }

    .about-philosophy-figure img {
        width: min(100%, 520px);
        max-height: 360px;
    }

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

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

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        padding: 12px 14px;
    }

    .floating-whatsapp span {
        display: none;
    }
}

@media (max-width: 540px) {
    .admin-topbar h1,
    .admin-panel h2 {
        font-size: 1.35rem;
    }

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

    .admin-panel,
    .admin-stat-card,
    .admin-auth-card,
    .admin-sidebar {
        border-radius: 20px;
        padding: 16px;
    }

    .admin-table {
        min-width: 620px;
    }
}
