/* ============================================================
   MCPHERSON UNIVERSITY INTERNATIONAL CONFERENCE 2027 (MCU27)
   PRESTIGIOUS ACADEMIC SUMMIT DESIGN SYSTEM
   PRIMARY: REFINED EDITORIAL LIGHT MODE (WITH DARK MODE TOGGLE)
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Prestigious Academic Light Palette (Default) */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: #e2e8f0;
    --border-color-hover: #cbd5e1;

    /* Authority Typography Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-contrast: #ffffff;

    /* Institutional Accents (Oxford Blue & Rich Amber) */
    --brand-navy: #0f2744;
    --brand-navy-deep: #0a192f;
    --accent-blue: #1d4ed8;
    --accent-blue-hover: #1e40af;
    --accent-gold: #b45309;
    --accent-emerald: #059669;

    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --card-shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.92);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'Space Grotesk', monospace, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Secondary Dark Mode (Prestigious Midnight Oxford) */
[data-theme="dark"] {
    --bg-page: #0a1120;
    --bg-surface: #0f172a;
    --bg-surface-elevated: #1e293b;
    --bg-card: #0f172a;
    --bg-card-hover: #162035;
    --border-color: #1e293b;
    --border-color-hover: #334155;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-contrast: #0f172a;

    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    --nav-bg: rgba(10, 17, 32, 0.92);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.serif-text {
    font-family: var(--font-serif);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   BUTTONS & BADGES
============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--brand-navy);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 39, 68, 0.25);
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--brand-navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition);
}

.btn-secondary:hover {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
    transform: translateY(-2px);
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

[data-theme="dark"] .pill-badge {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: #93c5fd;
}

/* ============================================================
   TOP BAR & NAVIGATION
============================================================ */
.top-notice-bar {
    background: var(--brand-navy);
    color: #ffffff;
    padding: 9px 0;
    font-size: 0.82rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar a {
    color: #93c5fd;
    font-weight: 600;
    margin-left: 10px;
    text-decoration: underline;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-crest {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--brand-navy);
}

[data-theme="dark"] .nav-links a:hover {
    color: #ffffff;
}

/* Navigation Dropdown */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px 0;
    font-family: inherit;
    transition: color var(--transition);
}

.nav-link-dropdown-toggle i {
    font-size: 0.68rem;
    transition: transform var(--transition);
}

.nav-item-dropdown:hover .nav-link-dropdown-toggle,
.nav-item-dropdown:focus-within .nav-link-dropdown-toggle,
.nav-item-dropdown.active .nav-link-dropdown-toggle {
    color: var(--brand-navy);
}

[data-theme="dark"] .nav-item-dropdown:hover .nav-link-dropdown-toggle,
[data-theme="dark"] .nav-item-dropdown:focus-within .nav-link-dropdown-toggle,
[data-theme="dark"] .nav-item-dropdown.active .nav-link-dropdown-toggle {
    color: #ffffff;
}

.nav-item-dropdown:hover .nav-link-dropdown-toggle i,
.nav-item-dropdown.active .nav-link-dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 250px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

/* Invisible bridge so mouse hover doesn't drop between toggle and dropdown */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
    white-space: nowrap;
}

.dropdown-menu a i {
    font-size: 0.78rem;
    color: var(--accent-blue);
    width: 16px;
    text-align: center;
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-surface);
}

[data-theme="dark"] .dropdown-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--brand-navy);
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
}

/* ============================================================
   EDITORIAL PRESTIGIOUS HERO
============================================================ */
.hero-editorial {
    padding: 80px 0 90px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-inst-tag {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
}

.hero-editorial h1 {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.hero-lead-text {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-pills-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-pill-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-surface-elevated);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-pill-item i {
    color: var(--accent-blue);
    font-size: 0.75rem;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-metrics-bar {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.metric-box h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.metric-box p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

/* Editorial Hero Photo Collage */
.hero-photo-frame {
    position: relative;
}

.hero-main-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.2);
    border: 1px solid var(--border-color);
}

.hero-floating-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--bg-surface);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--border-color);
    max-width: 290px;
}

.hero-floating-card h5 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.hero-floating-card p {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

/* ============================================================
   SECTIONS: EDITORIAL CARDS & CLEAN SPACING
============================================================ */
.section-wrap {
    padding: 88px 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin: 10px 0 12px 0;
}

.section-head p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 4 Pillars - Modern Minimalist Grid */
.pillars-editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pillar-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pillar-item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-color-hover);
}

.pillar-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.pillar-item-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.pillar-item-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}


/* ============================================================
   6 ACADEMIC TRACKS (CLEAN 2-COLUMN LIST CARDS)
============================================================ */
.tracks-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.track-item-clean {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.track-item-clean:hover {
    border-color: var(--brand-navy);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.track-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.track-tag {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

[data-theme="dark"] .track-tag {
    background: rgba(29, 78, 216, 0.2);
    color: #93c5fd;
}

.track-item-clean h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.track-item-clean p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
}

.track-action-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   CONFIRMED LEADERSHIP WITH EDITORIAL PORTRAITS
============================================================ */
.leadership-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.leader-portrait-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 220px 1fr;
    transition: all var(--transition);
}

.leader-portrait-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.leader-img-box {
    width: 100%;
    height: 100%;
    min-height: 250px;
    position: relative;
}

.leader-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info-box {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leader-info-box .pill-badge {
    margin-bottom: 12px;
    align-self: flex-start;
}

.leader-info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.leader-info-box h4 {
    font-size: 0.84rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.leader-info-box p {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ============================================================
   EVENT COMPONENTS: 3 RICH SHOWCASE CARDS WITH PHOTOS
============================================================ */
.components-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.component-photo-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition);
}

.component-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.component-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
}

.component-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.component-photo-card:hover .component-card-image img {
    transform: scale(1.04);
}

.component-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 39, 68, 0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}

.component-card-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.component-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.component-card-body p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* ============================================================
   SPONSORS & CONVENING PARTNERS GRID
============================================================ */
.sponsors-grid-section {
    padding: 80px 0;
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sponsors-flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.sponsor-logo-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 320px;
    max-width: 420px;
    flex: 1 1 320px;
    transition: all var(--transition);
}

.sponsor-logo-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: var(--card-shadow-hover);
}

.sponsor-logo-img {
    height: 56px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    flex-shrink: 0;
}

[data-theme="dark"] .sponsor-logo-img {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 4px 10px;
}

.sponsor-details h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.sponsor-details p {
    font-size: 0.78rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ============================================================
   CALL FOR ABSTRACTS & CLEAN INPUTS
============================================================ */
.abstract-editorial-banner {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.abstract-form-clean {
    background: var(--bg-surface-elevated);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.clean-input,
.clean-select,
.clean-textarea {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: all var(--transition);
}

.clean-select {
    appearance: none;
    cursor: pointer;
}

.clean-textarea {
    height: 110px;
    resize: vertical;
    padding-top: 12px;
}

.clean-input:focus,
.clean-select:focus,
.clean-textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ============================================================
   FOOTER (EDITORIAL CLEAN)
============================================================ */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--brand-navy);
}

[data-theme="dark"] .footer-links a:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
============================================================ */
@media (max-width: 992px) {
    .navbar {
        height: 70px;
    }
    .nav-container {
        height: 70px;
    }
    .nav-links {
        display: none !important;
    }
    .nav-actions .btn-primary {
        display: none !important;
    }
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        background: var(--bg-surface-elevated);
    }
    .pillars-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tracks-editorial-grid {
        grid-template-columns: 1fr;
    }
    .leadership-editorial-grid {
        grid-template-columns: 1fr;
    }
    .components-photo-grid {
        grid-template-columns: 1fr;
    }
    .abstract-editorial-banner {
        grid-template-columns: 1fr;
        padding: 36px 24px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sponsors-flex-row {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .top-notice-bar {
        font-size: 0.75rem;
        padding: 7px 12px;
        line-height: 1.4;
    }
    .top-notice-bar a {
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }
    .navbar {
        height: 64px;
    }
    .nav-container {
        height: 64px;
        padding: 0 16px;
    }
    .brand-title {
        font-size: 0.92rem;
    }
    .brand-sub {
        font-size: 0.68rem;
    }
    .brand-crest {
        width: 36px;
        height: 36px;
    }
    .hero-editorial {
        padding: 44px 0 60px 0;
    }
    .hero-editorial-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-editorial h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero-lead-text {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .hero-pills-row {
        gap: 8px;
        margin-bottom: 24px;
    }
    .hero-pill-item {
        font-size: 0.76rem;
        padding: 5px 10px;
    }
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 30px;
    }
    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-metrics-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-top: 20px;
    }
    .metric-box h4 {
        font-size: 1.5rem;
    }
    .hero-main-photo {
        height: 260px;
    }
    .hero-floating-card {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 100%;
        margin-top: 14px;
        box-shadow: var(--card-shadow);
    }
    .section-wrap {
        padding: 56px 0;
    }
    .section-head {
        margin-bottom: 32px;
    }
    .section-head h2 {
        font-size: 1.75rem;
    }
    .pillars-editorial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .leader-portrait-card {
        grid-template-columns: 1fr;
    }
    .leader-img-box {
        height: 280px;
    }
    .leader-info-box {
        padding: 24px 20px;
    }
    .sponsor-logo-card {
        width: 100%;
        padding: 18px 20px;
    }
    .abstract-editorial-banner {
        padding: 24px 18px;
        gap: 28px;
    }
    .abstract-form-clean {
        padding: 20px 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Mobile Slide-Out Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}


/* Mobile Drawer Links & Subnav */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 10px 0;
    transition: color var(--transition);
}

.mobile-nav-link:hover {
    color: var(--accent-blue);
}

.mobile-nav-group {
    padding: 6px 0;
}

.mobile-nav-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
    margin-bottom: 8px;
    padding-top: 4px;
}

.mobile-subnav {
    list-style: none;
    padding-left: 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 2px solid var(--border-color);
}

.mobile-subnav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.mobile-subnav a:hover {
    color: var(--text-primary);
}

.mobile-subnav a i {
    font-size: 0.7rem;
    color: var(--accent-blue);
}

