:root {
  color-scheme: light;
  --navy: #0b1220;
  --navy-2: #101d32;
  --blue: #163a63;
  --accent: #3b82f6;
  --accent-light: #dbeafe;
  --ink: #142033;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --success: #15803d;
  --danger: #b91c1c;
  --shadow: 0 24px 60px rgba(15, 23, 42, .10);
  --radius: 22px;
  font-family: "Manrope", "Noto Sans Malayalam", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-family: "Manrope", "Noto Sans Malayalam", system-ui, sans-serif; }
body:lang(ml), body:lang(ml) * { font-family: "Noto Sans Malayalam", "Manrope", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 200; padding: 10px 16px; background: white; border-radius: 12px; }
.skip-link:focus { left: 10px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 76px 0; }
.section.compact { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.16; letter-spacing: -.045em; }
.section-head p { max-width: 540px; margin: 10px 0 0; color: var(--muted); }
.eyebrow { margin: 0; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; }
.text-muted { color: var(--muted); }
.small { font-size: .86rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(226,232,240,.9); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 188px; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.08rem; letter-spacing: .12em; font-weight: 800; color: var(--navy); }
.brand-text span { margin-top: 5px; font-size: .64rem; color: var(--muted); letter-spacing: .015em; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-links a { padding: 9px 10px; border-radius: 10px; color: #475569; font-size: .81rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: #eff6ff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle { border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 999px; padding: 8px 12px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.language-toggle:hover { border-color: #93c5fd; background: #eff6ff; }
.mobile-menu { display: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--navy); font-size: 1.1rem; }
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: radial-gradient(circle at 78% 14%, rgba(59,130,246,.3), transparent 27%), linear-gradient(120deg, #0b1220, #112849 74%, #153d69); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -15%; opacity: .12; background-image: repeating-conic-gradient(from 45deg, transparent 0deg 20deg, rgba(219,234,254,.7) 20deg 21deg, transparent 21deg 45deg); background-size: 92px 92px; mask-image: linear-gradient(90deg, transparent, #000 45%, #000); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; right: 7%; top: 10%; border: 1px solid rgba(219,234,254,.17); border-radius: 50%; box-shadow: 0 0 0 35px rgba(219,234,254,.025), 0 0 0 70px rgba(219,234,254,.02); }
.hero-inner { min-height: 510px; padding-block: 78px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 55px; align-items: center; }
.hero .eyebrow { color: #93c5fd; }
.hero h1 { max-width: 720px; margin: 16px 0 20px; font-size: clamp(2.8rem, 5.4vw, 5.25rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 800; }
.hero-lead { max-width: 590px; margin: 0; color: #dbeafe; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: 13px; font-size: .88rem; font-weight: 800; line-height: 1.25; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 12px 26px rgba(59,130,246,.24); }
.button-primary:hover { background: #2563eb; }
.button-light { color: var(--navy); background: #fff; }
.button-light:hover { background: #eff6ff; }
.button-outline { color: var(--blue); background: #fff; border-color: var(--line); }
.button-outline:hover { border-color: #93c5fd; background: #eff6ff; }
.button-ghost { color: var(--blue); background: transparent; padding-inline: 10px; }
.hero-mark { display: grid; place-items: center; justify-self: center; width: min(340px, 100%); aspect-ratio: 1; margin: 0; position: relative; }
.hero-mark::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(219,234,254,.24); border-radius: 50%; transform: rotate(45deg) scale(.78); }
.hero-mark::after { content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(219,234,254,.3); border-radius: 44% 56% 45% 55% / 55% 46% 54% 45%; }
.hero-mark img { width: 73%; height: 73%; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.28); z-index: 1; }
.value-strip { position: relative; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-item { display: flex; gap: 16px; align-items: center; padding: 26px 24px; border-right: 1px solid var(--line); }
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: 0; }
.value-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; color: var(--blue); background: #eff6ff; border-radius: 15px; font-weight: 800; }
.value-item strong { display: block; font-size: .98rem; }
.value-item span { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.025); overflow: hidden; }
.card-body { padding: 22px; }
.card h3 { margin: 8px 0 8px; font-size: 1.1rem; line-height: 1.4; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); line-height: 1.8; }
.card-topline { color: var(--accent); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--blue); font-size: .85rem; font-weight: 800; }
.card-link:hover { color: var(--accent); }
.notice-card { display: flex; flex-direction: column; min-height: 225px; }
.notice-card .card-body { display: flex; flex-direction: column; flex: 1; }
.notice-card .card-link { margin-top: auto; padding-top: 16px; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 63px; height: 72px; border-radius: 15px; background: #eff6ff; color: var(--blue); font-weight: 800; line-height: 1.15; }
.event-date strong { font-size: 1.35rem; }
.event-date span { margin-top: 5px; font-size: .69rem; text-transform: uppercase; letter-spacing: .06em; }
.event-row { display: flex; align-items: center; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); background: #fff; }
.event-row:first-child { border-radius: 18px 18px 0 0; }
.event-row:last-child { border-bottom: 0; border-radius: 0 0 18px 18px; }
.event-row h3 { margin: 0 0 4px; font-size: 1rem; }
.event-row p { margin: 0; color: var(--muted); font-size: .85rem; }
.event-list { border: 1px solid var(--line); background: #fff; border-radius: 18px; overflow: hidden; }
.panel { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.intro-panel { display: flex; flex-direction: column; justify-content: center; min-height: 305px; padding: clamp(24px, 4vw, 42px); color: #fff; background: linear-gradient(145deg, var(--navy), #183e69); border-radius: 25px; position: relative; overflow: hidden; }
.intro-panel::after { content: "۞"; position: absolute; font-size: 16rem; line-height: 1; right: -8px; bottom: -82px; color: rgba(255,255,255,.055); }
.intro-panel .eyebrow { color: #93c5fd; }
.intro-panel h2 { max-width: 520px; margin: 10px 0 16px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.16; letter-spacing: -.05em; }
.intro-panel p { max-width: 510px; margin: 0; color: #dbeafe; }
.feature-list { display: grid; gap: 15px; align-content: center; }
.feature-row { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row .value-icon { width: 42px; height: 42px; }
.feature-row h3 { margin: 0 0 5px; font-size: .98rem; }
.feature-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.page-hero { padding: 70px 0 60px; color: #fff; background: radial-gradient(circle at 85% 0%, rgba(59,130,246,.3), transparent 28%), linear-gradient(120deg, var(--navy), #163a63); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -45px; bottom: -150px; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.02); }
.page-hero .eyebrow { color: #93c5fd; }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.06em; }
.page-hero p { max-width: 660px; margin: 0; color: #dbeafe; font-size: 1.04rem; }
.breadcrumb { display: flex; gap: 9px; align-items: center; margin-top: 22px; color: #bfdbfe; font-size: .83rem; }
.content-narrow { max-width: 840px; }
.prose { color: #334155; font-size: 1rem; line-height: 2; }
.prose p { margin: 0 0 18px; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.3; margin-top: 28px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 18px; }
.gallery-image { width: 100%; aspect-ratio: 4/3; background: #e2e8f0; object-fit: cover; }
.gallery-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 4/3; color: #64748b; background: repeating-linear-gradient(135deg, #f1f5f9, #f1f5f9 12px, #e8eef6 12px, #e8eef6 24px); font-size: .9rem; }
.gallery-caption { padding: 15px 17px; }
.gallery-caption h3 { margin: 0 0 4px; font-size: .95rem; }
.gallery-caption p { margin: 0; color: var(--muted); font-size: .82rem; }
.team-card { padding: 22px; text-align: center; }
.avatar { display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 17px; border-radius: 50%; object-fit: cover; color: var(--blue); background: #eff6ff; border: 1px solid #dbeafe; font-size: 1.25rem; font-weight: 800; }
.team-card h3 { margin: 0 0 5px; }
.team-card .position { margin: 0; color: var(--accent); font-size: .82rem; font-weight: 800; }
.team-card .bio { margin-top: 10px; font-size: .85rem; }
.empty-state { padding: 38px 25px; border: 1px dashed #cbd5e1; border-radius: 20px; background: rgba(255,255,255,.78); text-align: center; }
.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 14px; background: #eff6ff; color: var(--blue); border-radius: 18px; font-size: 1.2rem; font-weight: 800; }
.empty-state h3 { margin: 0 0 6px; font-size: 1.04rem; }
.empty-state p { max-width: 520px; margin: 0 auto; color: var(--muted); font-size: .9rem; }
.content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.contact-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow-wrap: anywhere; }
.contact-card .value-icon { margin-bottom: 14px; }
.contact-card strong { display: block; margin-bottom: 5px; }
.contact-card p, .contact-card a { color: var(--muted); margin: 0; font-size: .9rem; }
.contact-card a:hover { color: var(--accent); }
.site-footer { margin-top: 30px; background: #080f1b; color: #cbd5e1; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 50px 0 38px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; background: white; }
.footer-brand strong { display: block; font-size: 1rem; letter-spacing: .1em; }
.footer-brand span { display: block; font-size: .72rem; color: #94a3b8; }
.footer-about { max-width: 330px; color: #94a3b8; font-size: .85rem; margin: 17px 0 0; }
.footer-col h3 { color: #fff; margin: 4px 0 15px; font-size: .86rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.footer-links a { color: #94a3b8; font-size: .8rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(148,163,184,.18); color: #64748b; font-size: .77rem; }
.footer-bottom a { color: #94a3b8; }
.loading-screen { min-height: 55vh; display: grid; place-content: center; justify-items: center; color: var(--muted); }
.loading-orb { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #dbeafe; border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast { padding: 14px 16px; color: #fff; background: var(--navy); box-shadow: var(--shadow); border-radius: 14px; font-size: .88rem; }
.toast.error { background: #7f1d1d; }
.toast.success { background: #14532d; }
.admin-shell { min-height: 100vh; background: #f1f5f9; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding: 13px 28px; border-bottom: 1px solid var(--line); background: #fff; }
.admin-brand { display: flex; align-items: center; gap: 12px; }
.admin-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.admin-brand strong { display: block; color: var(--navy); font-size: 1rem; }
.admin-brand span { display: block; color: var(--muted); font-size: .72rem; }
.admin-header-actions { display: flex; align-items: center; gap: 12px; }
.role-badge, .status-badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 99px; background: #eff6ff; color: #1d4ed8; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.status-badge.published { background: #dcfce7; color: #166534; }
.status-badge.draft { background: #fef3c7; color: #92400e; }
.status-badge.archived, .status-badge.cancelled { background: #e2e8f0; color: #475569; }
.admin-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); min-height: calc(100vh - 78px); }
.admin-sidebar { padding: 25px 16px; background: #0b1220; color: #cbd5e1; }
.sidebar-label { margin: 0 12px 12px; color: #64748b; font-size: .7rem; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px; color: #94a3b8; font-size: .86rem; font-weight: 700; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(59,130,246,.17); }
.admin-nav .nav-icon { width: 23px; text-align: center; font-size: 1rem; }
.admin-main { min-width: 0; padding: 34px; }
.admin-page-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 26px; }
.admin-page-head h1 { margin: 4px 0 5px; color: var(--navy); font-size: clamp(1.8rem,3vw,2.3rem); letter-spacing: -.05em; line-height: 1.15; }
.admin-page-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-panels { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); gap: 20px; align-items: start; }
.admin-panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 19px; }
.admin-panel h2 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -.02em; }
.admin-panel .panel-intro { margin: 0 0 20px; color: var(--muted); font-size: .82rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 22px; }
.stat-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.stat-card span { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.stat-card strong { display: block; margin-top: 5px; color: var(--navy); font-size: 2rem; letter-spacing: -.055em; line-height: 1.2; }
.stat-card small { display: block; margin-top: 8px; color: #94a3b8; font-size: .72rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #334155; font-size: .79rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; color: var(--ink); outline: none; }
.field textarea { resize: vertical; min-height: 112px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 5px; }
.form-message { margin: 12px 0 0; color: var(--muted); font-size: .82rem; min-height: 1.3em; }
.record-list { display: grid; gap: 10px; }
.record { display: flex; align-items: start; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.record-content { min-width: 0; flex: 1; }
.record h3 { margin: 0 0 5px; font-size: .89rem; overflow-wrap: anywhere; }
.record p { margin: 0; color: var(--muted); font-size: .77rem; overflow-wrap: anywhere; }
.record-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.record-actions button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: #fff; font-size: .73rem; font-weight: 800; }
.record-actions button:hover { border-color: #93c5fd; background: #eff6ff; }
.record-actions button.danger { color: var(--danger); }
.admin-empty { padding: 25px 18px; border: 1px dashed #cbd5e1; border-radius: 14px; color: var(--muted); font-size: .86rem; text-align: center; }
.admin-notice { padding: 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: #eff6ff; color: #1e3a8a; font-size: .85rem; margin-bottom: 18px; }
.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 28px 18px; background: radial-gradient(circle at 20% 10%, rgba(59,130,246,.18), transparent 30%), linear-gradient(145deg,#0b1220,#14345a); }
.login-card { width: min(440px,100%); padding: clamp(26px,5vw,42px); background: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 26px; box-shadow: 0 40px 100px rgba(0,0,0,.28); }
.login-logo { display: flex; justify-content: center; margin-bottom: 19px; }
.login-logo img { width: 76px; height: 76px; border-radius: 50%; }
.login-card h1 { text-align: center; margin: 0; color: var(--navy); font-size: 1.8rem; line-height: 1.2; letter-spacing: -.05em; }
.login-card > p { color: var(--muted); text-align: center; font-size: .88rem; margin: 9px 0 25px; }
.login-foot { display: flex; justify-content: center; margin-top: 17px; }
.login-foot a { color: var(--blue); font-size: .83rem; font-weight: 800; }
.login-help { padding: 13px; margin-bottom: 16px; border-radius: 12px; background: #f8fafc; color: #64748b; font-size: .78rem; line-height: 1.6; }
.hr { height: 1px; background: var(--line); margin: 18px 0; }
@media (max-width: 1100px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 7px; font-size: .76rem; }
  .brand { min-width: auto; }
  .brand-text span { max-width: 190px; }
  .admin-panels { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 74px; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: absolute; top: 73px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 20px 30px rgba(15,23,42,.08); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: .87rem; }
  .hero-inner { grid-template-columns: 1fr .55fr; gap: 20px; min-height: 450px; padding-block: 60px; }
  .hero-mark { width: min(250px, 100%); }
  .hero h1 { font-size: clamp(2.7rem, 6.3vw, 4.2rem); }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-layout { grid-template-columns: 205px minmax(0,1fr); }
  .admin-main { padding: 25px; }
}
@media (max-width: 660px) {
  .container { width: min(100% - 30px, 1160px); }
  .section { padding: 55px 0; }
  .section-head { display: block; }
  .section-head .card-link { margin-top: 15px; }
  .header-actions { gap: 7px; }
  .language-toggle { padding: 8px 10px; font-size: .74rem; }
  .brand img { width: 42px; height: 42px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { display: none; }
  .hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; min-height: unset; padding-block: 58px 46px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-mark { position: absolute; width: 125px; right: 2px; top: 24px; opacity: .38; }
  .hero-mark img { width: 70%; height: 70%; }
  .hero-copy { position: relative; z-index: 2; }
  .hero .eyebrow { max-width: 245px; font-size: .66rem; }
  .hero-lead { max-width: 480px; font-size: .99rem; }
  .hero-actions { margin-top: 25px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item, .value-item:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }
  .cards, .gallery-grid, .content-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .card-body { padding: 20px; }
  .panel { padding: 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .admin-header { padding: 12px 15px; }
  .admin-header-actions .role-badge { display: none; }
  .admin-layout { display: block; }
  .admin-sidebar { padding: 12px 14px; }
  .admin-nav { display: flex; overflow-x: auto; padding-bottom: 3px; }
  .admin-nav a { flex: 0 0 auto; white-space: nowrap; padding: 9px 12px; font-size: .77rem; }
  .sidebar-label { display: none; }
  .admin-main { padding: 20px 14px 30px; }
  .admin-page-head { flex-direction: column; align-items: stretch; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .stat-card { padding: 16px; }
  .stat-card strong { font-size: 1.7rem; }
  .admin-panel { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .record { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* SADQ committee hierarchy and media uploads */
.event-row { align-items: center; }
.event-info { min-width: 0; flex: 1; }
.event-poster-link { flex: 0 0 118px; width: 118px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; color: var(--blue); font-size: .69rem; font-weight: 800; text-align: center; }
.event-poster-thumb { width: 100%; height: 132px; object-fit: contain; border-radius: 8px; background: #e2e8f0; }
.event-poster-link:hover { border-color: #93c5fd; background: #eff6ff; }
.committee-executive { position: relative; isolation: isolate; overflow: hidden; padding: 68px 0 74px; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(99,102,241,.24), transparent 32%), linear-gradient(135deg, #080f1c, #0f2440 60%, #163a63); }
.committee-executive::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .10; background-image: repeating-conic-gradient(from 45deg, transparent 0deg 19deg, rgba(219,234,254,.8) 19deg 20deg, transparent 20deg 45deg); background-size: 82px 82px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.committee-section-heading { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.committee-section-heading .eyebrow { color: var(--accent); }
.committee-executive .committee-section-heading .eyebrow { color: #93c5fd; }
.committee-section-heading h2 { margin: 8px 0 11px; font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.05em; }
.committee-section-heading p:not(.eyebrow) { color: var(--muted); margin: 0; }
.committee-executive .committee-section-heading p:not(.eyebrow) { color: #cbd5e1; }
.committee-secretary-feature { width: min(340px, 100%); margin: 0 auto 22px; }
.committee-executive-pair { display: grid; grid-template-columns: repeat(2,minmax(0,290px)); justify-content: center; gap: 20px; }
.committee-profile { min-width: 0; overflow: hidden; position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 19px; box-shadow: 0 18px 44px rgba(2,8,23,.12); color: var(--ink); }
.committee-photo { aspect-ratio: 4 / 4.4; width: 100%; overflow: hidden; position: relative; background: linear-gradient(145deg,#eff6ff,#dbeafe 55%,#e9d5ff); }
.committee-photo::after { content: ""; pointer-events: none; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.75); border-radius: 12px; }
.committee-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.committee-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 50% 33%, rgba(255,255,255,.95), transparent 24%), repeating-conic-gradient(from 45deg, #eaf2ff 0deg 15deg, #dbeafe 15deg 30deg); color: #1e3a8a; }
.committee-photo-placeholder span { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; border: 1px solid rgba(59,130,246,.25); background: rgba(255,255,255,.84); font-size: 1.6rem; font-weight: 800; box-shadow: 0 12px 26px rgba(30,58,138,.12); }
.committee-profile-copy { text-align: center; padding: 18px 17px 22px; }
.committee-role { margin: 0 0 7px; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.committee-profile h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; letter-spacing: -.02em; }
.committee-bio { color: var(--muted); margin: 9px 0 0; font-size: .83rem; }
.committee-profile.is-secretary { border: 2px solid rgba(147,197,253,.7); box-shadow: 0 22px 55px rgba(0,0,0,.28); }
.committee-profile.is-secretary .committee-photo { aspect-ratio: 4 / 4.3; }
.committee-profile.is-secretary .committee-profile-copy { padding-block: 21px 25px; }
.committee-profile.is-secretary h3 { font-size: 1.25rem; }
.committee-executive-pair .committee-photo { aspect-ratio: 4 / 3.8; }
.committee-wings-section { background: linear-gradient(180deg,#f8fafc,#eef3f9); }
.committee-wing-panel { padding: clamp(18px,3vw,30px); margin: 0 0 26px; border: 1px solid #dce5f0; border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(15,23,42,.04); }
.committee-wing-heading { display: flex; align-items: center; gap: 17px; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.wing-number { display: grid; place-items: center; flex: 0 0 56px; height: 56px; border-radius: 17px; color: #fff; background: linear-gradient(145deg,#163a63,#3b82f6); font-weight: 800; font-size: 1.05rem; box-shadow: 0 10px 22px rgba(59,130,246,.18); }
.committee-wing-heading .eyebrow { margin: 0 0 3px; font-size: .68rem; }
.committee-wing-heading h2 { margin: 0; font-size: clamp(1.35rem,2.7vw,1.85rem); line-height: 1.2; letter-spacing: -.035em; }
.committee-wing-heading p:not(.eyebrow) { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.committee-wing-leads { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 740px; margin: 0 auto 20px; }
.committee-wing-leads .committee-profile { display: grid; grid-template-columns: minmax(100px,.68fr) minmax(0,1fr); align-items: stretch; }
.committee-wing-leads .committee-photo { aspect-ratio: 3 / 4; height: 100%; min-height: 190px; }
.committee-wing-leads .committee-profile-copy { display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 15px; overflow-wrap: anywhere; }
.committee-wing-leads .committee-profile h3 { font-size: .94rem; }
.committee-wing-leads .committee-role { font-size: .65rem; }
.committee-wing-members { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; max-width: 930px; margin: 0 auto; }
.committee-wing-members .committee-photo { aspect-ratio: 4 / 3.4; }
.committee-wing-members .committee-profile-copy { padding: 15px 12px 18px; }
.committee-wing-members .committee-profile h3 { font-size: .93rem; }
.committee-pending { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: .85rem; }
.admin-media-preview { display: block; object-fit: contain; max-width: 100%; max-height: 220px; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.admin-media-preview.event-preview { width: 160px; }
.admin-media-preview.person-preview { width: 130px; aspect-ratio: 4 / 5; }
.field input[type="file"] { padding: 9px; background: #f8fafc; font-size: .8rem; }
@media (max-width: 700px) {
  .event-row { flex-wrap: wrap; align-items: flex-start; }
  .event-poster-link { flex-basis: 100px; width: 100px; }
  .event-poster-thumb { height: 118px; }
  .committee-executive { padding: 54px 0; }
  .committee-executive-pair { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .committee-executive-pair .committee-profile-copy { padding: 14px 10px 16px; }
  .committee-executive-pair .committee-profile h3 { font-size: .9rem; }
  .committee-profile.is-secretary { width: min(300px,100%); margin-inline: auto; }
  .committee-wing-leads { grid-template-columns: 1fr; }
  .committee-wing-leads .committee-profile { grid-template-columns: minmax(110px,.7fr) minmax(0,1fr); }
  .committee-wing-members { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 420px) {
  .committee-wing-members { grid-template-columns: 1fr 1fr; }
  .committee-wing-members .committee-photo { aspect-ratio: 4 / 4.2; }
  .committee-wing-panel { padding: 15px; border-radius: 18px; }
  .committee-wing-heading { gap: 12px; }
  .wing-number { flex-basis: 46px; height: 46px; border-radius: 14px; }
}
