:root {
    --blue: #13357b;
    --blue-dark: #0c2859;
    --blue-soft: #eef3fb;
    --gold: #c98a0a;
    --gold-hover: #a87308;
    --green: #1a7f37;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --surface: #ffffff;
    --danger: #b42318;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --font: "Inter", system-ui, -apple-system, sans-serif;
    --display: "Libre Baskerville", Georgia, serif;
    --sidebar-w: 248px;
    --header-h: 64px;
    --container: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.alumni-container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.content-section { padding: 32px 0 64px; }
.site-main { min-height: calc(100vh - var(--header-h) - 120px); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--blue);
}

.site-brand img { width: 36px; height: 36px; }
.site-brand-name { font-size: 1.05rem; letter-spacing: -0.02em; }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--blue);
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav > a:not(.btn) {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.15s, background 0.15s;
}

.site-nav > a:not(.btn):hover,
.site-nav > a.is-active:not(.btn) {
    color: var(--blue);
    background: var(--blue-soft);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 90;
}

body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay { display: block; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
    white-space: nowrap;
}

.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
    background: var(--surface);
    color: var(--blue) !important;
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: #cbd5e1; background: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--muted) !important;
    border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--blue) !important; background: var(--blue-soft); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text) !important;
}
.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff !important;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-gold { background: var(--gold); color: #fff !important; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-danger-text { color: var(--danger) !important; }

.alumni-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.alumni-brand img { width: 36px; height: 36px; }

.alumni-brand-text strong {
    display: block;
    color: var(--blue);
    font-size: 1rem;
}

.alumni-brand-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Home */
.home-hero {
    background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 50%, #1e4a9a 100%);
    color: #fff;
    padding: 72px 0 80px;
}

.home-hero-inner { max-width: 640px; }

.alumni-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-bottom: 14px;
}

.page-hero .alumni-kicker { color: var(--gold); }

.home-hero h1 {
    font-family: var(--display);
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.home-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    margin: 0 0 28px;
    max-width: 52ch;
}

.home-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero .btn-secondary { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); color: #fff !important; }
.home-hero .btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* Path cards */
.path-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.path-grid-compact { grid-template-columns: repeat(3, 1fr); }

.path-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.path-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.path-card-sm { grid-template-columns: auto 1fr; }

.path-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.path-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.path-body strong { font-size: 1rem; color: var(--text); }
.path-body span { font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.path-cta { font-size: 0.85rem; font-weight: 600; color: var(--blue); white-space: nowrap; }

/* Page hero */
.page-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 40px 0 32px;
}

.page-hero-sm { padding: 28px 0 20px; }

.page-hero h1 {
    font-family: var(--display);
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: var(--blue);
    margin: 6px 0 10px;
    letter-spacing: -0.02em;
}

.page-hero-text {
    margin: 0;
    color: var(--muted);
    max-width: 56ch;
    font-size: 1.05rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 12px;
}
.back-link:hover { color: var(--blue); }

/* Home strip */
.home-strip {
    margin-top: 40px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.home-strip-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.home-strip-head h2 { margin: 0; font-size: 1.1rem; color: var(--blue); }
.home-strip-head a { font-size: 0.88rem; font-weight: 600; color: var(--blue); }

.home-event-list { list-style: none; margin: 0; padding: 0; }
.home-event-list li { padding: 12px 0; border-top: 1px solid var(--border); }
.home-event-list li:first-child { border-top: none; padding-top: 0; }
.home-event-list strong { display: block; margin-bottom: 2px; }
.home-event-list span { font-size: 0.88rem; color: var(--muted); }

/* Give */
.give-groups { display: grid; gap: 36px; }

.give-group-head h2 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--blue);
}

.give-group-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.give-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.give-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s;
}

.give-list li:last-child .give-item { border-bottom: none; }
.give-item:hover { background: #fafbfd; }

.give-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.give-item-body { display: flex; flex-direction: column; gap: 2px; }
.give-item-body strong { font-size: 0.98rem; }
.give-item-body span { font-size: 0.86rem; color: var(--muted); }
.give-item-arrow { color: #94a3b8; font-size: 0.8rem; }

.contact-strip {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--blue-soft);
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.92rem;
    color: var(--muted);
}

.contact-strip a { color: var(--blue); font-weight: 600; }
.contact-strip span { margin: 0 8px; color: #94a3b8; }

/* Cards */
.card, .alumni-card, .admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-title { margin: 0 0 16px; font-size: 1.15rem; color: var(--blue); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(19, 53, 123, 0.12);
}

.form-control-narrow { max-width: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-stack .form-row { margin-bottom: 0; }
.form-hint { font-size: 0.88rem; color: var(--muted); margin: -8px 0 16px; }
.form-hint a { color: var(--blue); font-weight: 600; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin: 12px 0 20px; }

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}

.filter-bar .form-control { flex: 1; min-width: 200px; }

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }

.success-state { text-align: center; padding: 24px 8px; }
.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ecfdf3;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.success-state h2 { margin: 0 0 8px; color: var(--blue); }
.success-state p { color: var(--muted); margin: 0 0 20px; }

/* Directory */
.results-count { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.directory-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.directory-card:hover { box-shadow: var(--shadow); }

.directory-card-photo {
    height: 160px;
    background: linear-gradient(135deg, var(--blue-soft), #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.directory-card-photo img { width: 100%; height: 100%; object-fit: cover; }

.directory-initial {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.directory-card-body { padding: 18px; }
.directory-card-body h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--blue); }
.directory-meta, .directory-role, .directory-location { font-size: 0.86rem; color: var(--muted); margin: 0 0 6px; }
.directory-bio { font-size: 0.88rem; margin: 10px 0; line-height: 1.5; }
.directory-link { font-size: 0.88rem; font-weight: 600; color: var(--blue); }

/* Events */
.section-heading { font-size: 1.1rem; color: var(--blue); margin: 28px 0 14px; }
.events-list { display: grid; gap: 12px; }

.event-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.event-date-badge {
    flex-shrink: 0;
    width: 56px;
    text-align: center;
    padding: 8px 6px;
    background: var(--blue-soft);
    border-radius: 10px;
    color: var(--blue);
    font-weight: 700;
}
.event-month { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.event-day { display: block; font-size: 1.35rem; line-height: 1; }
.event-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.event-meta { font-size: 0.86rem; color: var(--muted); margin: 0 0 8px; }

.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.empty-state i { font-size: 2rem; color: var(--blue); margin-bottom: 12px; }
.empty-state h3 { margin: 0 0 8px; }

/* Status */
.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.status-pending { background: #fff7ed; color: #c2410c; }
.status-approved, .status-new { background: #ecfdf3; color: #166534; }
.status-rejected, .status-declined { background: #fef2f2; color: #991b1b; }
.status-contacted, .status-in_progress { background: var(--blue-soft); color: var(--blue); }
.status-completed { background: #f0fdf4; color: #15803d; }

.text-muted { color: var(--muted); }

/* Account */
.account-status { margin-bottom: 20px; }
.account-status-top { margin-bottom: 16px; }
.account-status-top p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Engage / donate */
.engage-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 20px;
    align-items: start;
}

.donation-panel h2 { margin: 0 0 8px; font-size: 1.1rem; color: var(--blue); }
.pay-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.pay-block h3 { margin: 0 0 10px; font-size: 0.92rem; font-weight: 700; color: var(--text); }
.pay-dl { margin: 0; display: grid; gap: 10px; }
.pay-dl dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.pay-dl dd { margin: 0; font-weight: 600; font-size: 0.95rem; }
.pay-copy-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pay-note { margin-top: 16px; padding: 12px; background: var(--bg); border-radius: 10px; font-size: 0.88rem; color: var(--muted); }

/* Profile */
.profile-form { max-width: 720px; }
.profile-photo-row { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.profile-photo-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--blue-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 32px 0;
    margin-top: 24px;
}

.site-footer-inner {
    display: grid;
    gap: 20px;
}

.site-footer-brand strong { color: var(--blue); display: block; margin-bottom: 4px; }
.site-footer-brand p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue);
}

.site-footer-copy { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* Auth pages */
.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-hero {
    background: linear-gradient(160deg, var(--blue-dark), var(--blue));
    color: #fff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-hero h1 { font-family: var(--display); font-size: 2rem; margin: 12px 0; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 32px; }

.login-card, .install-card, .auth-card {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.auth-card-wide { max-width: 560px; }
.login-title { margin: 12px 0 6px; font-size: 1.35rem; color: var(--blue); }
.login-subtitle, .login-footer-note, .login-footer-link { font-size: 0.88rem; color: var(--muted); }
.login-forgot { text-align: right; margin: -4px 0 14px; font-size: 0.88rem; }
.login-forgot a { color: var(--blue); font-weight: 600; }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.install-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.install-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--blue);
    color: #fff;
    padding: 20px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar-close, .admin-menu-btn, .admin-sidebar-overlay { display: none; }
.admin-user { text-align: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.admin-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px; font-weight: 700;
}
.admin-user-meta { font-size: 0.8rem; opacity: 0.8; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: 600;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }
.nav-badge { margin-left: auto; background: var(--gold); color: #fff; font-size: 0.7rem; padding: 2px 7px; border-radius: 999px; }
.admin-sidebar-footer { margin-top: 20px; }
.admin-logout-btn { width: 100%; color: #fff !important; border-color: rgba(255,255,255,0.3) !important; }
.admin-main { padding: 24px; }
.admin-topbar { display: flex; align-items: center; margin-bottom: 20px; }
.admin-topbar h1 { margin: 0; font-size: 1.35rem; color: var(--blue); }
.admin-topbar-left { display: flex; align-items: center; gap: 12px; }

.dash-welcome {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.dash-welcome h2 { margin: 6px 0; font-family: var(--display); font-size: 1.5rem; }
.dash-welcome p { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.dash-welcome-kicker { font-size: 0.78rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }
.dash-welcome-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-btn-light { color: #fff !important; border-color: rgba(255,255,255,0.4) !important; }

.stats-grid, .dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.stat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--blue-soft); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
}
.stat-value { font-size: 1.4rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--border); }
.data-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }

.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.admin-toolbar { margin-bottom: 16px; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-event-list { list-style: none; margin: 0; padding: 0; }
.admin-event-list li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--border); align-items: center;
}
.admin-event-list span { display: block; font-size: 0.84rem; color: var(--muted); }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-tabs a {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); font-size: 0.88rem; font-weight: 600; color: var(--blue);
    display: inline-flex; align-items: center; gap: 6px;
}
.admin-tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.submission-list { display: grid; gap: 12px; }
.submission-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: #fafbfd; }
.submission-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.submission-type { margin-left: 8px; font-size: 0.8rem; color: var(--muted); }
.submission-date { font-size: 0.82rem; color: var(--muted); }
.submission-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); }
.submission-message, .submission-extra { font-size: 0.9rem; margin: 8px 0; }
.submission-admin-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

.alumni-grid-2, .dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li { margin-bottom: 8px; }
.quick-links a { color: var(--blue); font-weight: 600; font-size: 0.92rem; }
.quick-links i { width: 18px; margin-right: 6px; color: var(--gold); }

/* News, jobs, events detail */
.news-list { display: grid; gap: 20px; }
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.news-card-pinned { border-color: var(--gold); }
.news-pin {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 8px;
}
.news-card time { font-size: 0.84rem; color: var(--muted); }
.news-card h2 { margin: 8px 0 10px; font-size: 1.25rem; }
.news-card h2 a:hover { color: var(--blue); }
.text-link { color: var(--blue); font-weight: 600; font-size: 0.92rem; }

.job-list { display: grid; gap: 16px; }
.job-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.job-card h3 { margin: 0 0 6px; }
.job-card h2 { margin: 0 0 6px; font-size: 1.15rem; }
.job-card-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.job-type, .job-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
}
.job-deadline { font-size: 0.82rem; color: var(--muted); }
.job-company { font-weight: 600; color: var(--text); margin: 0 0 8px; }
.job-card-actions { margin-top: 12px; }
.job-posted-by { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.86rem; color: var(--muted); margin-bottom: 10px; }

.event-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}
.event-card-body h3 a { color: inherit; }
.event-card-body h3 a:hover { color: var(--blue); }

.page-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.prose { line-height: 1.75; }
.prose p { margin: 0 0 1em; }

.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--muted);
    white-space: nowrap;
}
.directory-badges { display: flex; gap: 6px; margin: 4px 0 8px; flex-wrap: wrap; }
.directory-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
}
.directory-badge-hiring { background: #ecfdf3; color: var(--green); }
.directory-contact, .directory-skills { font-size: 0.88rem; color: var(--muted); margin: 4px 0; }
.directory-contact a { color: var(--blue); }

/* Responsive */
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .site-nav {
        position: fixed;
        top: 0; right: 0;
        width: min(88vw, 300px);
        height: 100vh;
        padding: 72px 20px 24px;
        background: var(--surface);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        transform: translateX(105%);
        transition: transform 0.22s ease;
        z-index: 95;
        box-shadow: -8px 0 32px rgba(15, 23, 42, 0.1);
    }

    body.nav-open .site-nav { transform: translateX(0); }
    .site-nav > a:not(.btn) { border-radius: 10px; }
    .site-nav .btn { justify-content: center; margin-top: 4px; }

    .path-grid, .path-grid-compact, .alumni-grid-2, .dashboard-grid, .admin-grid-2, .engage-layout, .event-detail-layout {
        grid-template-columns: 1fr;
    }

    .form-row { grid-template-columns: 1fr; }
    .filter-bar .form-control-narrow { max-width: none; }

    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed; left: 0; top: 0; z-index: 100;
        width: min(88vw, var(--sidebar-w));
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }
    body.admin-nav-open .admin-sidebar { transform: translateX(0); }
    .admin-sidebar-overlay {
        display: block; position: fixed; inset: 0;
        background: rgba(15, 23, 42, 0.45); z-index: 90;
        opacity: 0; pointer-events: none; transition: opacity 0.22s;
    }
    body.admin-nav-open .admin-sidebar-overlay { opacity: 1; pointer-events: auto; }
    .admin-sidebar-close, .admin-menu-btn {
        display: inline-flex; align-items: center; justify-content: center;
        background: transparent; border: none; cursor: pointer;
    }
    .admin-sidebar-close { position: absolute; top: 12px; right: 12px; color: #fff; font-size: 1.1rem; }
    .admin-menu-btn {
        width: 40px; height: 40px; border-radius: 10px;
        border: 1px solid var(--border); background: #fff; color: var(--blue);
    }
}

@media (max-width: 640px) {
    .login-page { grid-template-columns: 1fr; }
    .login-hero { display: none; }
    .home-hero { padding: 48px 0 56px; }
    .path-card { grid-template-columns: auto 1fr; }
    .path-cta { display: none; }
}
