/* =========================================================
   LCMS Inner Pages — Ambient Hero + Consistent Components
   Applies to: Events, Articles, Contact, Donations, About
   ========================================================= */

/* ── Offset anchor scroll for the fixed floating nav ─────── */
html {
    scroll-padding-top: 6rem;
}

/* =========================================================
   NOIR PAGE — Ambient background wrapper
   Full-width section behind the dark cards on Contact &
   Donations pages. Same blue/indigo hues as card glows,
   scaled up and blended into the light page background.
   ========================================================= */
.lcms-noir-bg-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 900px 700px at 92% 8%,  rgba(99, 102, 241, 0.10) 0%, transparent 62%),
        radial-gradient(ellipse 750px 950px at 6%  90%, rgba(37,  99, 235, 0.08) 0%, transparent 62%),
        radial-gradient(ellipse 650px 550px at 50% 48%, rgba(147, 197, 253, 0.06) 0%, transparent 58%),
        #F7F6F5;
}

/* ── Login section: clear fixed nav, remove full-viewport height on inner pages ── */
body:not(.home) section#login {
    min-height: auto !important;
    padding-top: 5rem !important;    /* mobile: gap below the 56px mobile topbar spacer */
    padding-bottom: 3.5rem !important;
}
@media (min-width: 768px) {
    body:not(.home) section#login {
        padding-top: 8.5rem !important; /* desktop: nav pill is top-5 (~20px) + ~50px tall = ~70px; 136px gives a clear gap */
    }
}

/* ── Shared button styles (available on all inner pages) ── */
.lcms-btn-primary,
.lcms-btn-primary:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.875rem;
    border-radius: 10px;
    text-decoration: none;
    transition:
        background  0.18s ease,
        transform   0.30s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow  0.18s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.42);
}
.lcms-btn-primary svg { flex-shrink: 0; }
.lcms-btn-primary:hover,
.lcms-btn-primary:focus {
    background: #1d4ed8;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.48), 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.lcms-btn-ghost,
.lcms-btn-ghost:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 1.875rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition:
        background   0.18s ease,
        border-color 0.18s ease,
        color        0.18s ease,
        transform    0.30s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lcms-btn-ghost:hover,
.lcms-btn-ghost:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
}


/* =========================================================
   INNER PAGE HERO — Dark Ambient
   ========================================================= */
.lcms-page-hero {
    position: relative;
    height: 65vh;
    min-height: 380px;
    max-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #04080f;
    color: #fff;
    text-align: center;
}

/* Dot grid */
.lcms-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Canvas */
.lcms-page-hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Sphere — slightly smaller than homepage */
.lcms-page-sphere {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%);
    background: radial-gradient(
        circle at 37% 34%,
        rgba(190, 210, 255, 0.60) 0%,
        rgba(99, 102, 241, 0.42) 18%,
        rgba(37, 99, 235, 0.26) 38%,
        rgba(29, 78, 216, 0.10) 58%,
        transparent 76%
    );
    filter: blur(16px);
    animation: lcms-sphere-pulse 6s ease-in-out infinite;
}

/* Reuse the homepage keyframe */
@keyframes lcms-sphere-pulse {
    0%,  100% { transform: translate(-50%, -54%) scale(1.00); opacity: 0.82; }
    50%        { transform: translate(-50%, -54%) scale(1.09); opacity: 1.00; }
}

/* Content — extra top padding clears the desktop floating nav */
.lcms-page-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .lcms-page-hero-content {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }
}

.lcms-page-hero-title {
    font-size: clamp(2.125rem, 5.5vw, 3.875rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1.125rem;
    text-shadow: 0 2px 40px rgba(99, 102, 241, 0.22);
}

.lcms-page-hero-subtitle {
    font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 0.56);
    max-width: 46ch;
    margin: 0 auto 2.25rem;
    line-height: 1.75;
    font-weight: 400;
}

.lcms-page-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* =========================================================
   INNER PAGE SECTION ATOMS
   ========================================================= */
.lcms-ip-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lcms-ip-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.20);
    border-radius: 100px;
    padding: 0.3rem 0.875rem;
    margin-bottom: 1.125rem;
}

.lcms-ip-title {
    font-size: clamp(1.875rem, 4vw, 2.625rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.lcms-ip-sub {
    font-size: 1rem;
    color: #64748b;
    max-width: 44ch;
    margin: 0 auto;
    line-height: 1.7;
}


/* =========================================================
   EVENTS PAGE — Framer-style Event Cards
   (mirror of homepage .lcms-event-card but for modal cards)
   ========================================================= */
.lcms-get-involved-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .lcms-get-involved-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .lcms-get-involved-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Modal event card — same architecture as link cards, just cursor + min-height override */
.lcms-event-card-modal {
    cursor: pointer;
    min-height: 380px;
}
.lcms-event-card-modal .lcms-event-cta { cursor: pointer; }

/* Nav dropdown event card — same architecture, constrained height for flyout context */
.lcms-nav-event-card {
    min-height: 280px;
    border: 3px solid rgba(255, 255, 255, 0.6);
}


/* =========================================================
   EVENTS PAGE MODAL — Improved styling
   ========================================================= */
.lcms-event-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    z-index: 1000;
}

/* Style the existing modal elements */
.modal.lcms-styled-modal {
    display: none !important;
}
.modal.lcms-styled-modal.is-open {
    display: flex !important;
}

/* Override existing modal styles */
section#events .modal .modal-content,
#events ~ .modal .modal-content {
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

section#events .modal .modal-content h3,
#events ~ .modal .modal-content h3 {
    color: #0f172a !important;
    font-size: 1.625rem !important;
    letter-spacing: -0.02em !important;
}

section#events .modal .modal-content p.text-lg.font-semibold {
    color: #2563eb !important;
}

/* RSVP/Tickets button in modal */
section#events .modal a[href*="tribe"],
#events ~ .modal a.bg-blue-600 {
    background: #2563eb !important;
    border-radius: 10px !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    transition: background 0.18s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}


/* =========================================================
   CONTENT SECTION CARDS — Consistent elevated card style
   ========================================================= */
.lcms-content-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 2px 4px  rgba(0, 0, 0, 0.04),
        0 8px 28px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    position: relative;
}

/* Article filter section */
#article-filters .bg-white {
    border-radius: 20px !important;
    box-shadow:
        0 2px 4px  rgba(0, 0, 0, 0.04),
        0 8px 28px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
#article-filters .bg-white:hover {
    box-shadow:
        0 2px 4px  rgba(0, 0, 0, 0.04),
        0 20px 50px rgba(37, 99, 235, 0.10) !important;
}

/* Filter labels and selects */
.filter-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 0.5rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    background: #f8faff;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background-color: #ffffff;
}

/* Contact info cards */
#contact-info .grid > div {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.055);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}

/* Donation support card */
.bg-white.shadow-lg.rounded-lg {
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 8px 28px rgba(0,0,0,0.07) !important;
    border: 1px solid rgba(0,0,0,0.05);
}

/* "How to get involved" and "Board members" icon cards */
#how-to-get-involved .bg-white,
#board-members .bg-white {
    border-radius: 20px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 12px 36px rgba(0,0,0,0.07) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Floating icon circle — use blue gradient */
.icon-wrapper {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}


/* =========================================================
   MOBILE — Inner Pages
   ========================================================= */
@media (max-width: 639px) {
    .lcms-page-hero {
        height: auto;
        min-height: 56vh;
        padding-top: calc(var(--lcms-mobile-topbar-height, 56px) + 0.5rem);
        padding-bottom: 3rem;
    }

    .lcms-page-hero-title {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    .lcms-page-hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
    }

    .lcms-page-hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.625rem;
    }

    .lcms-page-sphere {
        width: 280px;
        height: 280px;
        filter: blur(10px);
        animation: none;
        transform: translate(-50%, -60%);
        opacity: 0.82;
    }

    .lcms-btn-primary,
    .lcms-btn-ghost {
        justify-content: center;
        padding: 1rem 1.375rem;
    }

    .lcms-ip-header { margin-bottom: 2rem; }
    .lcms-ip-title  { font-size: clamp(1.625rem, 6vw, 2rem); }

    .lcms-get-involved-grid { gap: 1rem; }
}

@supports (min-height: 56svh) {
    @media (max-width: 639px) {
        .lcms-page-hero { min-height: 56svh; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .lcms-page-sphere { animation: none !important; }
    .lcms-event-card-modal,
    .lcms-btn-primary,
    .lcms-btn-ghost { transition: none !important; }
}


/* =========================================================
   EVENTS PAGE — Light Section
   ========================================================= */
.lcms-events-page-section {
    padding: 4rem 0 4.5rem;
    background: #F7F6F5;
}

.lcms-events-page-section .lcms-ip-header {
    margin-bottom: 2rem;
}

@media (max-width: 639px) {
    .lcms-events-page-section { padding: 2.5rem 0 3rem; }
}


/* =========================================================
   HOW TO GET INVOLVED & BOARD MEMBERS — Styled Card
   ========================================================= */
.lcms-involve-section {
    padding: 3rem 0;
    background: #F7F6F5;
}

.lcms-involve-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px  rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

/* Blue gradient accent stripe at the very top */
.lcms-involve-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #6366f1 100%);
}

/* Header row: icon + text */
.lcms-involve-card-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.25rem 1.5rem;
}

/* Icon circle */
.lcms-involve-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

/* Meta: pill + title */
.lcms-involve-meta {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.lcms-involve-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 100px;
    padding: 0.2rem 0.7rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2563eb;
    width: fit-content;
}

.lcms-involve-title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0;
}

/* Hairline divider between header and body */
.lcms-involve-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 0 2.25rem;
}

/* Body content */
.lcms-involve-body {
    padding: 1.5rem 2.25rem 2rem;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.72;
}
.lcms-involve-body p { margin-bottom: 0.875rem; }
.lcms-involve-body p:last-child { margin-bottom: 0; }
.lcms-involve-body ul, .lcms-involve-body ol { margin-left: 1.25rem; margin-bottom: 0.875rem; }
.lcms-involve-body li { margin-bottom: 0.375rem; }
.lcms-involve-body a { color: #2563eb; text-decoration: none; }
.lcms-involve-body a:hover { text-decoration: underline; }
.lcms-involve-body strong { color: #0f172a; font-weight: 600; }

@media (max-width: 639px) {
    .lcms-involve-section { padding: 2rem 0; }
    .lcms-involve-card-head {
        padding: 1.5rem 1.5rem 1.25rem;
        gap: 1rem;
    }
    .lcms-involve-icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }
    .lcms-involve-divider { margin: 0 1.5rem; }
    .lcms-involve-body { padding: 1.25rem 1.5rem 1.5rem; }
}


/* =========================================================
   EVENT MODAL — mirrors the event card aesthetic
   ========================================================= */

/* Overlay — transitions in via .modal-active class set by JS */
.lcms-event-modal-overlay {
    background: rgba(4, 8, 15, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.26s ease;
}
.lcms-event-modal-overlay.modal-active {
    opacity: 1;
}

/* Panel — scales up from slightly small + offset */
.lcms-event-modal-panel {
    position: relative;
    background: #0c1525;
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    box-shadow:
        0 48px 100px rgba(0, 0, 0, 0.70),
        0  8px  24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 600px;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    color: #ffffff;
    transform-origin: center center;
    opacity: 0;
    transform: scale(0.94) translateY(16px);
    transition:
        opacity 0.26s ease,
        transform 0.32s cubic-bezier(0.22, 1.0, 0.36, 1.0);
}
.lcms-event-modal-overlay.modal-active .lcms-event-modal-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Scrollbar */
.lcms-event-modal-panel::-webkit-scrollbar { width: 5px; }
.lcms-event-modal-panel::-webkit-scrollbar-track { background: transparent; }
.lcms-event-modal-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 3px;
}

/* Close button — floats above the hero image, top-right of panel */
.lcms-event-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.16s ease, color 0.16s ease;
}
.lcms-event-modal-close:hover {
    background: rgba(255, 255, 255, 0.20);
    color: #ffffff;
}

/* Hero zone — same 3-layer card system (bg → blur → gradient) */
.lcms-event-modal-hero {
    position: relative;
    height: 260px;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
}

/* Date badge repositioned to top-left so it doesn't collide with close button */
.lcms-modal-date-badge {
    right: auto !important;
    left: 1rem;
}

/* Title + detail chips sitting over the gradient at the bottom of the hero */
.lcms-event-modal-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 1.25rem 1.5rem 1.375rem;
}
.lcms-event-modal-title {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Date strip — blue-tinted band directly below the hero */
.lcms-event-modal-date-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.78125rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(147, 197, 253, 0.90);
}
.lcms-event-modal-date-strip svg { flex-shrink: 0; opacity: 0.68; }

/* Body */
.lcms-event-modal-body {
    padding: 1.5rem 1.75rem 1.875rem;
}
.lcms-event-modal-prose {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.74;
    margin-bottom: 1.5rem;
}
.lcms-event-modal-prose p { margin-bottom: 0.75rem; }
.lcms-event-modal-prose p:last-child { margin-bottom: 0; }
.lcms-event-modal-prose a { color: rgba(147, 197, 253, 0.90); text-decoration: underline; }
.lcms-event-modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 639px) {
    .lcms-event-modal-panel {
        border-radius: 18px;
        max-height: 92vh;
    }
    .lcms-event-modal-hero {
        height: 200px;
        border-radius: 16px 16px 0 0;
    }
    .lcms-event-modal-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .lcms-event-modal-actions { flex-direction: column; }
    .lcms-event-modal-actions .lcms-btn-primary { justify-content: center; }
}


/* =========================================================
   LIGHT GLASS CARD SYSTEM
   Used on Donations and Events pages
   ========================================================= */

/* Background that makes glass visible */
.lcms-glass-section {
    background: #F7F6F5;
}

/* Base glass card */
.lcms-glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.90);
    border-radius: 20px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px  rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1.0);
    padding: 2rem 2.25rem;
    position: relative;
    overflow: hidden;
}

/* Gloss highlight sweep */
.lcms-glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

/* All content above the gloss layer */
.lcms-glass-card > * { position: relative; z-index: 1; }

/* Category pill for glass cards */
.lcms-glass-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 100px;
    padding: 0.28rem 0.75rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2563eb;
    width: fit-content;
    margin-bottom: 1.25rem;
}

/* Glass heading */
.lcms-glass-heading {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

/* Glass body text */
.lcms-glass-body {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Glass CTA button (dark on light card) */
.lcms-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.28s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.20);
    margin-top: 1.5rem;
}
.lcms-glass-btn:hover {
    background: #1e293b;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
}

/* Glass icon circle */
.lcms-glass-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    flex-shrink: 0;
}
.lcms-glass-icon i,
.lcms-glass-icon svg { width: 22px; height: 22px; }

/* Glass note text */
.lcms-glass-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.625rem 0 0;
}


/* =========================================================
   NOIR CARD SYSTEM — Contact & Donations pages
   ========================================================= */

/* ── Page wrapper ─────────────────────────────────────────── */
.lcms-noir-page {
    max-width: 740px;
    margin: 0 auto;
    padding: 4rem 1.25rem 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Base card ────────────────────────────────────────────── */
.lcms-noir-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #131e2d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 1px 1px  rgba(0, 0, 0, 0.20),
        0 8px 32px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    transition:
        transform  0.35s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.30s ease;
}
.lcms-noir-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 1px  rgba(0, 0, 0, 0.20),
        0 16px 44px rgba(0, 0, 0, 0.34);
    text-decoration: none;
    color: #ffffff;
}
/* Ambient glow layer behind content */
.lcms-noir-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
/* All children above glow */
.lcms-noir-card > * { position: relative; z-index: 1; }

/* ── Category pill ────────────────────────────────────────── */
.lcms-noir-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 0.28rem 0.75rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    width: fit-content;
    flex-shrink: 0;
}

/* ── Flex spacer ──────────────────────────────────────────── */
.lcms-noir-grow { flex: 1; min-height: 2rem; }

/* ── Statement heading ────────────────────────────────────── */
.lcms-noir-statement {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.07;
    color: #ffffff;
    margin: 0 0 0.875rem;
}

/* ── Body text ────────────────────────────────────────────── */
.lcms-noir-body {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.70;
    margin: 0;
    max-width: 46ch;
}

/* ── Footer row (CTA + meta) ──────────────────────────────── */
.lcms-noir-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.625rem;
    gap: 1rem;
}

/* ── CTA ──────────────────────────────────────────────────── */
.lcms-noir-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.18s ease, gap 0.18s ease;
    flex-shrink: 0;
}
.lcms-noir-card:hover .lcms-noir-cta {
    color: rgba(255, 255, 255, 0.90);
    gap: 0.5rem;
}

/* ── Meta text ────────────────────────────────────────────── */
.lcms-noir-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.02em;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Hero card variant ────────────────────────────────────── */
.lcms-noir-card--hero {
    min-height: 320px;
    padding: 2rem;
}
.lcms-noir-card--hero::before {
    background:
        radial-gradient(ellipse 65% 55% at 90% 8%,  rgba(99, 102, 241, 0.32) 0%, transparent 62%),
        radial-gradient(ellipse 45% 45% at 8%  90%, rgba(37,  99, 235, 0.18) 0%, transparent 58%);
}
.lcms-noir-card--hero .lcms-noir-cta {
    background: #ffffff;
    color: #131e2d;
    border-radius: 100px;
    padding: 0.5625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0;
    transition: background 0.18s ease, gap 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.lcms-noir-card--hero:hover .lcms-noir-cta {
    background: #f0f4ff;
    color: #131e2d;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
}

/* ── Two-column layout ────────────────────────────────────── */
.lcms-noir-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 559px) {
    .lcms-noir-two-col { grid-template-columns: 1fr; }
}

/* ── Location card ────────────────────────────────────────── */
.lcms-noir-card--location { min-height: 260px; }
.lcms-noir-card--location::before {
    background:
        radial-gradient(ellipse 65% 55% at 12% 88%, rgba(37, 99, 235, 0.26) 0%, transparent 62%);
}
.lcms-noir-address {
    font-style: normal;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 0;
}

/* ── Data / hours card ────────────────────────────────────── */
.lcms-noir-card--data { min-height: 260px; }
.lcms-noir-card--data::before {
    background:
        radial-gradient(ellipse 60% 50% at 88% 12%, rgba(99, 102, 241, 0.24) 0%, transparent 58%);
}
.lcms-noir-dl {
    display: flex;
    flex-direction: column;
    margin: 1.25rem 0 0;
    gap: 0;
}
.lcms-noir-row {
    display: grid;
    grid-template-columns: 5.25rem 1fr;
    gap: 0.25rem 1rem;
    padding: 0.6875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: baseline;
}
.lcms-noir-row:last-child { border-bottom: none; }
.lcms-noir-row dt {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    padding-top: 0.125rem;
}
.lcms-noir-row dd {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* ── Social section header ────────────────────────────────── */
#social-media {
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.lcms-noir-section-head {
    text-align: center;
    margin-bottom: 2rem;
}
.lcms-noir-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
    letter-spacing: -0.015em;
}
.lcms-noir-section-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 auto;
    line-height: 1.65;
    max-width: 42ch;
}

/* ── Social cards ─────────────────────────────────────────── */
.lcms-noir-social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.lcms-noir-social-card {
    width: 150px;
    min-height: 200px;
    padding: 1.5rem 1.25rem;
    align-items: flex-start;
}
.lcms-noir-social-card:nth-child(odd)::before {
    background: radial-gradient(ellipse 70% 60% at 80% 15%, rgba(99, 102, 241, 0.28) 0%, transparent 65%);
}
.lcms-noir-social-card:nth-child(even)::before {
    background: radial-gradient(ellipse 70% 60% at 15% 85%, rgba(37, 99, 235, 0.28) 0%, transparent 65%);
}
.lcms-noir-social-icon {
    color: rgba(255, 255, 255, 0.70);
    transition: color 0.22s ease, transform 0.30s ease;
}
.lcms-noir-social-icon i,
.lcms-noir-social-icon svg { width: 36px; height: 36px; display: block; }
.lcms-noir-social-card:hover .lcms-noir-social-icon {
    color: #ffffff;
    transform: scale(1.06);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 639px) {
    .lcms-noir-page        { padding: 2.5rem 1rem 4rem; gap: 1rem; }
    .lcms-noir-card--hero  { min-height: 260px; }
    .lcms-noir-statement   { font-size: 1.625rem; }
    .lcms-noir-social-card { width: 130px; min-height: 180px; }
    .lcms-noir-social-icon i,
    .lcms-noir-social-icon svg { width: 28px; height: 28px; }
    .lcms-noir-card:hover  { transform: none; }
}


/* =========================================================
   HEADER DROPDOWN — Liquid Glass Event Cards
   ========================================================= */
.lcms-dropdown-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    min-height: 210px;
    text-decoration: none;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.lcms-dropdown-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

/* Background div (CSS background-image — reliable cross-browser) */
.lcms-dropdown-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    /* gradient shows when no event photo is set */
    background-image: linear-gradient(145deg, #1e3a8a 0%, #2563eb 100%);
    transition: transform 0.45s ease;
    z-index: 1;
}
.lcms-dropdown-card:hover .lcms-dropdown-card-bg {
    transform: scale(1.04);
}

/* Dark gradient for text legibility */
.lcms-dropdown-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 16, 36, 0.92) 0%,
        rgba(8, 16, 36, 0.48) 52%,
        rgba(8, 16, 36, 0.12) 100%
    );
    z-index: 2;
}

/* Liquid glass content panel at bottom */
.lcms-dropdown-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.875rem 1rem 1rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.lcms-dropdown-card-date {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 0.3rem;
}

.lcms-dropdown-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lcms-dropdown-card-desc {
    font-size: 0.71875rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 639px) {
    .lcms-glass-card { padding: 1.5rem 1.25rem; }
}
