/* =========================================================
   FIL-NATION SELECT — PUBLIC CHROME
   A clean front-end header (Home · Events · Organizations +
   cart + account) that replaces the theme's page menu, plus
   full-width public pages. Scoped under body.fnse-public.
   ========================================================= */

/* ----- Hide the theme header / sprawling menu on public pages ----- */
.fnse-public .site-header,
.fnse-public #masthead,
.fnse-public header.site-header,
.fnse-public .main-navigation,
.fnse-public .gp-sticky-navigation,
.fnse-public .elementor-location-header,
.fnse-public .e-n-menu {
    display: none !important;
}

/* ----- Full-width: drop the theme's centered container constraint -----
   (content pages only — WooCommerce pages keep their normal container) */
.fnse-public-wide #page,
.fnse-public-wide .site-content,
.fnse-public-wide #content,
.fnse-public-wide .content-area,
.fnse-public-wide #primary,
.fnse-public-wide .site-main,
.fnse-public-wide .container,
.fnse-public-wide .grid-container,
.fnse-public-wide .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fnse-public-wide .site-content,
.fnse-public-wide #content {
    display: block !important;
}

/* ----- Public filter controls: keep the event-search pill consistent and
   theme-proof (the theme's input styles were overriding it to solid white). ----- */
body.fnse-public .org-search-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    min-height: 46px !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 15px;
}
body.fnse-public .org-search-input::placeholder { color: rgba(255, 255, 255, 0.55) !important; }
body.fnse-public .org-search-input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.10) !important;
}

/* ----- The public header ----- */
.fnse-pub {
    position: relative;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e6e8eb;
    font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.fnse-pub__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1240px;
    margin-inline: auto;
    padding: 12px 22px;
}

.fnse-pub__brand {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
}
.fnse-pub__brand:hover { color: #111827; text-decoration: none; }

.fnse-pub__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 22px;
    flex: 1;
}
.fnse-pub__link {
    padding: 8px 14px;
    border-radius: 9px;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .12s, color .12s;
}
.fnse-pub__link:hover { background: #f3f4f6; color: #111827; text-decoration: none; }
.fnse-pub__link.is-active { color: var(--fn-blue, #2563eb); background: color-mix(in srgb, var(--fn-blue, #2563eb) 10%, #fff); }

.fnse-pub__right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.fnse-pub__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.fnse-pub__icon:hover { background: #f3f4f6; color: #111827; }
.fnse-pub__icon svg { width: 22px; height: 22px; }

.fnse-pub__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--fn-blue, #2563eb);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fnse-pub__badge.is-empty { display: none; }

/* Hamburger (mobile) */
.fnse-pub__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 9px;
}
.fnse-pub__burger span {
    display: block;
    height: 2px;
    background: #4b5563;
    border-radius: 2px;
    transition: transform .18s, opacity .18s;
}
.fnse-pub__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fnse-pub__burger.is-open span:nth-child(2) { opacity: 0; }
.fnse-pub__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
    .fnse-pub__inner { gap: 6px; }
    .fnse-pub__burger { display: flex; order: 3; }
    .fnse-pub__right { order: 2; }

    .fnse-pub__nav {
        display: none;
        order: 4;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        border-bottom: 1px solid #e6e8eb;
        box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
        padding: 10px 16px 16px;
        margin-left: 0;
    }
    .fnse-pub__nav.is-open { display: flex; }
    .fnse-pub__link { width: 100%; }
}

/* =========================================================
   PAGE-SPECIFIC STYLES
   ---------------------------------------------------------
   Migrated out of inline style blocks in the public account /
   registration templates. fnse-public.css loads on every public
   page, but each group uses class names unique to its template
   so the rules only take effect where their markup is rendered.
   ========================================================= */

/* --- Create Account (templates/page-create-account.php) --- */
.fnse-account-create { max-width: 560px; min-height: calc(100vh - 160px); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.fnse-account-create__header { margin-bottom: 28px; text-align: center; }
.fnse-account-create__form { padding: 28px; }
.fnse-account-create__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fnse-account-create__field { margin-bottom: 16px; }
.fnse-account-create__field--full { grid-column: 1 / -1; }
.fnse-account-create__submit { width: 100%; }
.fnse-account-create__footer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--fn-border); color: var(--fn-soft-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.fnse-account-create__footer a { color: var(--fn-blue); font-weight: 900; }
@media (max-width: 560px) { .fnse-account-create { min-height: auto; } .fnse-account-create__form { padding: 22px; } .fnse-account-create__grid { grid-template-columns: 1fr; } .fnse-account-create__field--full { grid-column: auto; } }

/* --- Can't Sign In (templates/page-cant-sign-in.php) --- */
.fnse-account-help { max-width: 560px; min-height: calc(100vh - 160px); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.fnse-account-help__header { margin-bottom: 28px; text-align: center; }
.fnse-account-help__form { padding: 28px; }
.fnse-account-help__field { margin-bottom: 18px; }
.fnse-account-help__submit { width: 100%; }
.fnse-account-help__links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; color: var(--fn-soft-muted); font-size: 13px; font-weight: 800; }
.fnse-account-help__links a { color: var(--fn-blue); text-decoration: none; }
.fnse-account-help__links a:hover { color: var(--fn-blue-dark); text-decoration: underline; }
.fnse-account-help__footer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--fn-border); color: var(--fn-soft-muted); font-size: 13px; line-height: 1.5; text-align: center; }
@media (max-width: 560px) { .fnse-account-help { min-height: auto; } .fnse-account-help__form { padding: 22px; } }

/* --- Registration Prep (templates/page-registration-prep.php) --- */
.fnse-prep {
    --fnse-brand: var(--fn-blue);
    --fnse-surface: var(--fn-white);
    --fnse-text: var(--fn-text);
    --fnse-text-muted: var(--fn-muted);
    --fnse-border: var(--fn-border);
    --fnse-danger: var(--fn-red);
    --fnse-danger-soft: var(--fn-red-soft);
    --fnse-success: var(--fn-green);
    --fnse-success-soft: var(--fn-green-soft);
    max-width: 960px;
    min-height: calc(100vh - 160px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.fnse-prep__header { margin-bottom: 26px; text-align: center; }
.fnse-prep__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.fnse-prep__card { padding: 26px; }
.fnse-prep__side { padding: 22px; }
.fnse-prep__side h2, .fnse-prep__card h2 { margin: 0 0 8px; color: var(--fnse-text); font-size: 18px; line-height: 1.25; font-weight: 900; }
.fnse-prep__text { margin: 0 0 18px; color: var(--fnse-text-muted); font-size: 14px; line-height: 1.6; }
.fnse-prep__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fnse-prep__button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--fnse-border); background: var(--fnse-surface); color: var(--fnse-text); font-size: 14px; font-weight: 900; text-decoration: none; cursor: pointer; }
.fnse-prep__button--primary { border-color: var(--fnse-brand); background: var(--fnse-brand); color: var(--fn-white); }
.fnse-prep__button:hover { text-decoration: none; }
.fnse-prep__items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fnse-prep__item { padding: 12px 14px; border: 1px solid var(--fnse-border); border-radius: 10px; background: var(--fnse-surface); }
.fnse-prep__item strong { display: block; color: var(--fnse-text); font-size: 14px; }
.fnse-prep__item span { display: block; margin-top: 4px; color: var(--fnse-text-muted); font-size: 12px; }
.fnse-prep__empty { margin: 0; color: var(--fnse-text-muted); font-size: 14px; line-height: 1.6; }
.fnse-prep__helper { margin-top: 16px; }
.fnse-prep__notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; background: var(--fnse-danger-soft); color: var(--fnse-danger); font-size: 14px; font-weight: 800; }
.fnse-prep__notice--success { background: var(--fnse-success-soft); color: var(--fnse-success); }
.fnse-prep .pp__form { display: block; padding: 0; border: 0; box-shadow: none; background: transparent; }
.fnse-prep .pp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fnse-prep .pp-field { display: flex; flex-direction: column; gap: 6px; }
.fnse-prep .pp-field label { color: var(--fnse-text); font-size: 13px; font-weight: 800; }
.fnse-prep .pp-field .req { color: var(--fnse-danger); }
.fnse-prep .pp-field input, .fnse-prep .pp-field select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--fnse-border); border-radius: 9px; background: var(--fnse-surface); color: var(--fnse-text); font: inherit; font-size: 14px; }
.fnse-prep .pp__actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .fnse-prep { min-height: auto; } .fnse-prep__grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .fnse-prep .pp__grid { grid-template-columns: 1fr; } .fnse-prep__card, .fnse-prep__side { padding: 20px; } }


/* --- Home / Front Page (templates/front-page.php) --- */
/* =========================================================
   HOMEPAGE
========================================================= */

.home-page {
    background: #10131b;
    color: #ffffff;
    overflow: hidden;
}

.home-section {
    position: relative;
    padding: 92px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.34);
}

.home-section > .home-container {
    position: relative;
    z-index: 1;
}

.home-bg-blue {
    background-image: url('/wp-content/uploads/2026/05/blue-gradient-bg.webp');
}

.home-bg-red {
    background-image: url('/wp-content/uploads/2026/05/red-gradient-bg.webp');
}

.home-container {
    max-width: 1140px;
    margin: 0 auto;
}

.home-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-title,
.home-section-title,
.home-card-title,
.home-event-title,
.home-offer-title,
.home-final-title {
    color: #ffffff;
}

.home-title {
    max-width: 860px;
    margin: 0;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.home-subtitle {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255,255,255,0.84);
    font-size: 18px;
    line-height: 1.65;
}

.home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    background: #ffffff;
    color: #10131b;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.home-button:hover {
    color: #10131b;
    background: #f1f1f1;
    transform: translateY(-1px);
    text-decoration: none;
}

.home-button.secondary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.24);
}

.home-button.secondary:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

/* =========================================================
   SECTION HEADERS
========================================================= */

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

.home-section-title {
    margin: 0;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.home-section-text {
    margin: 14px 0 0;
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.65;
}

/* =========================================================
   EVENT CARDS
========================================================= */

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

.home-event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    color: #1C1C1C;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.3);
    text-decoration: none;
}

.home-event-image {
    aspect-ratio: 16 / 10;
    background: #e8ecf5;
    overflow: hidden;
}

.home-event-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-event-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.home-event-title {
    margin: 0 0 12px;
    color: #1D4486;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.home-event-meta {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    color: #555;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.home-event-footer {
    margin-top: auto;
    color: #1D4486;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.home-event-footer::after {
    content: " →";
}

/* =========================================================
   WHAT WE OFFER - SPLIT LAYOUT
========================================================= */

.home-offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: stretch;
}

.home-offer-feature {
    min-height: 100%;
    padding: 34px;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
}

.home-offer-feature h2 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.home-offer-feature p {
    margin: 18px 0 0;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 1.7;
}

.home-offer-list {
    display: grid;
    gap: 14px;
}

.home-offer-row {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    color: #1C1C1C;
    box-shadow: 0 14px 42px rgba(0,0,0,0.18);
}

.home-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(29,68,134,0.10);
    color: #1D4486;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.home-offer-title {
    margin: 0 0 7px;
    color: #1D4486;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}

.home-offer-text {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   HOW IT WORKS CARDS
========================================================= */

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

.home-info-card {
    min-height: 180px;
    padding: 24px;
    border-radius: 18px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
}

.home-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #1D4486;
    font-size: 14px;
    font-weight: 900;
}

.home-card-title {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}

.home-card-text {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================================
   ORGANIZATION DIRECTORY CARDS
========================================================= */

.home-page .org-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-page .org-card {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    color: #1C1C1C;
    text-decoration: none;
    border: 1px solid rgba(28, 28, 28, 0.08);
    box-shadow: 0 12px 34px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-page .org-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 4px rgba(29, 68, 134, 0.08),
        0 18px 44px rgba(0,0,0,0.18);
    border-color: rgba(29, 68, 134, 0.25);
    text-decoration: none;
}

.home-page .org-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.home-page .org-badge,
.home-page .org-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 999px;
    background: rgba(29,68,134,0.10);
}

.home-page .org-badge {
    overflow: hidden;
}

.home-page .org-badge img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-page .org-logo-placeholder {
    color: #1D4486;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.home-page .org-name {
    margin: 0;
    color: #1D4486;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.home-page .org-meta {
    margin: 0 0 18px;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

.home-page .org-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1D4486;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.home-page .org-card-footer::after {
    content: "→";
    transition: transform 0.25s ease;
}

.home-page .org-card:hover .org-card-footer::after {
    transform: translateX(3px);
}

/* =========================================================
   FINAL CTA
========================================================= */

.home-final-cta {
    max-width: 780px;
}

.home-final-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.home-final-text {
    margin: 18px 0 0;
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    line-height: 1.65;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 960px) {
    .home-section {
        padding: 70px 20px;
    }

    .home-events-grid,
    .home-card-grid,
    .home-page .org-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-offer-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-section {
        padding: 58px 18px;
    }

    .home-events-grid,
    .home-card-grid,
    .home-page .org-grid {
        grid-template-columns: 1fr;
    }

    .home-title {
        font-size: 44px;
    }

    .home-subtitle {
        font-size: 16px;
    }

    .home-cta-row {
        flex-direction: column;
    }

    .home-button {
        width: 100%;
    }

    .home-offer-feature,
    .home-offer-row {
        padding: 22px;
    }

    .home-offer-row {
        grid-template-columns: 1fr;
    }
}


/* --- Events Listing (templates/page-events.php) --- */
/* =========================================================
   EVENTS PAGE BASE - DARK MODE
========================================================= */

.events-page {
    position: relative;
    min-height: 100vh;
    padding: 90px 20px;
    background-color: #10131b;
    background-image: url('/wp-content/uploads/2026/05/blue-gradient-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.events-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

.events-container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

/* =========================================================
   PAGE HEADER
========================================================= */

.events-header {
    max-width: 800px;
    margin-bottom: 36px;
}

.events-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.events-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.95;
    font-weight: 900;
}

.events-intro {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,0.84);
    font-size: 17px;
    line-height: 1.65;
}

/* =========================================================
   FILTER PANEL
========================================================= */

.events-filter-panel {
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
}

.events-status-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.events-status-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.events-status-tab:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.55);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.events-status-tab.is-active {
    background: #1D4486;
    border-color: #1D4486;
    color: #fff;
}

.events-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.events-filter-group {
    display: grid;
    gap: 7px;
}

.events-filter-label {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.events-filter-select {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.96);
    color: #1C1C1C;
    font-family: "Outfit", Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    outline: none;
}

.events-filter-select:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.20);
}

.events-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.events-filter-submit,
.events-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    font-family: "Outfit", Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.events-filter-submit {
    border: 1px solid #1D4486;
    background: #1D4486;
    color: #fff;
}

.events-filter-submit:hover {
    background: #C12135;
    border-color: #C12135;
    color: #fff;
}

.events-filter-reset {
    border: 1px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
}

.events-filter-reset:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   RESULTS
========================================================= */

.events-results-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
}

.events-results-title {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.events-results-count {
    color: rgba(255,255,255,0.74);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

/* =========================================================
   EVENT GRID
========================================================= */

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

.events-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: #1C1C1C;
    text-decoration: none !important;
    border: 1px solid rgba(28, 28, 28, 0.08);
    box-shadow: 0 12px 34px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.events-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 4px rgba(29, 68, 134, 0.08),
        0 18px 44px rgba(0,0,0,0.18);
    border-color: rgba(29, 68, 134, 0.25);
    text-decoration: none !important;
}

.events-card *,
.events-card:hover * {
    text-decoration: none !important;
}

.events-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f7fb;
}

.events-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.events-status-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #1D4486;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.events-status-badge.live {
    background: #1A7F37;
}

.events-status-badge.past {
    background: #1C1C1C;
}

.events-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.events-card-title {
    margin: 0 0 12px;
    color: #1D4486;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.events-card-meta {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
    color: #555;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.events-card-excerpt {
    margin: 0 0 18px;
    color: #444;
    font-size: 14px;
    line-height: 1.55;
}

.events-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1D4486;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.events-card-footer::after {
    content: "→";
    transition: transform 0.25s ease;
}

.events-card:hover .events-card-footer {
    color: #C12135;
}

.events-card:hover .events-card-footer::after {
    transform: translateX(3px);
}

/* =========================================================
   EMPTY STATE
========================================================= */

.events-empty-state {
    padding: 32px;
    border-radius: 18px;
    background: #fff;
    color: #1C1C1C;
    box-shadow: 0 12px 34px rgba(0,0,0,0.12);
}

.events-empty-state h2 {
    margin: 0 0 8px;
    color: #1D4486;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.events-empty-state p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
    .events-page {
        padding: 64px 20px;
    }

    .events-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .events-filter-actions {
        grid-column: 1 / -1;
    }

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

@media (max-width: 640px) {
    .events-title {
        font-size: 40px;
    }

    .events-filter-panel {
        padding: 14px;
    }

    .events-filter-form {
        grid-template-columns: 1fr;
    }

    .events-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .events-filter-submit,
    .events-filter-reset {
        width: 100%;
    }

    .events-status-tab {
        min-height: 36px;
        padding: 8px 13px;
        font-size: 12px;
    }

    .events-results-header {
        display: grid;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CUSTOMER ACCOUNT SHELL
   Unifies the WooCommerce My Account endpoints (Dashboard, Orders,
   Downloads, Addresses, Account details) with the plugin's custom
   account pages (Player Profiles, My QR Codes): public header + a
   clean two-column sidebar/content shell.
========================================================= */

/* Customer account pages are dashboard-styled (.fnse-skin) but have NO fixed
   staff topbar, so drop the topbar offset that would otherwise leave a gap
   above the public header. */
body.fnse-account-page.fnse-skin { padding-top: 0; }

/* Shared account sidebar card (also defined in fnse-dashboard.css for the
   custom pages; repeated here so the WooCommerce account page — which loads
   only fnse-public.css — gets the same look). */
.fnse-account-sidebar {
    align-self: start;
    background: var(--fnse-surface);
    border: 1px solid var(--fnse-border);
    border-radius: var(--fnse-radius);
    box-shadow: var(--fnse-shadow-sm);
    padding: 10px;
}
.fnse-account-sidebar__title { padding: 10px 12px; color: var(--fnse-text-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; }
.fnse-account-sidebar__link { display: flex; align-items: center; min-height: 40px; padding: 10px 12px; border-radius: var(--fnse-radius-sm); color: var(--fnse-brand); font-size: 14px; font-weight: 800; line-height: 1.5; text-decoration: none; }
.fnse-account-sidebar__link:hover { background: var(--fnse-surface-2); color: var(--fnse-text); }
.fnse-account-sidebar__link.is-active { background: var(--fnse-brand-soft); color: var(--fnse-brand); }
