:root {
  --eep-primary: #FF5E14;
  --eep-primary-rgb: 255, 94, 20;
  --eep-primary-hover: #E04F0D;
  --eep-on-primary: #ffffff;
  --eep-navy: #0B1221;
  --eep-navy-light: #1a1f2e;
  --eep-surface: #ffffff;
  --eep-surface-alt: #f8fafc;
  --eep-border: #e5e7eb;
  --eep-text-main: #1f2937;
  --eep-text-muted: #6b7280;
  --eep-text-inv: #ffffff;
  --eep-radius: 12px;
  --eep-radius-lg: 24px;
  --eep-radius-pill: 999px;
  --eep-space-unit: 16px;
  --eep-space-scale: 1;
  --eep-density-scale: 1;
  --eep-content-max-width: 1220px;
  --eep-event-page-max-width: 1240px;
  --eep-archive-max-width: 1400px;
  --eep-field-pad-y: 10px;
  --eep-field-pad-x: 12px;
  --eep-btn-min-height: 40px;
  --eep-box-bg: #ffffff;
  --eep-box-bg-alt: #f8fafc;
  --eep-box-border-color: #e5e7eb;
  --eep-box-border-width: 1px;
  --eep-shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.04);
  --eep-shadow: 0 12px 30px rgba(11, 18, 33, 0.08);
  --eep-shadow-lg: 0 22px 45px rgba(11, 18, 33, 0.14);
  --eep-btn-bg: var(--eep-primary);
  --eep-btn-bg-hover: var(--eep-primary-hover);
  --eep-btn-color: var(--eep-on-primary, #ffffff);
  --eep-btn-border: 1px solid transparent;
  --eep-btn-letter-spacing: .06em;
  --eep-btn-transform: uppercase;
  --eep-btn-font-weight: 700;
  --eep-btn-radius: var(--eep-radius-pill);
  --eep-input-bg: #ffffff;
  --eep-input-border: #e5e7eb;
  --eep-input-border-focus: var(--eep-primary);
  --eep-input-border-width: 1px;
  --eep-input-radius: var(--eep-radius);
  --eep-font: 'Inter', system-ui, -apple-system, sans-serif;
  --eep-font-display: 'Oswald', 'Inter', sans-serif;
  --eep-trans: all 0.2s ease-in-out;
  
  /* Runtime Base Assignments */
  --eep-base-font-size: 18px;
  --eep-h2-size: 1.75rem;
  --eep-h3-size: 1.35rem;
  --eep-font-weight-body: 400;
  --eep-font-weight-heading: 700;
}

/* --- Base Reset & Typography --- */
:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) {
  font-family: var(--eep-font);
  font-size: var(--eep-base-font-size);
  font-weight: var(--eep-font-weight-body);
  color: var(--eep-text-main);
  line-height: 1.5;
  box-sizing: border-box;
  max-width: var(--eep-content-max-width, 1220px);
  margin: 0 auto calc(24px * var(--eep-density-scale, 1));
  border-radius: var(--eep-radius);
}

:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) * { 
  box-sizing: border-box; 
}

:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) :is(h1, h2, h3, h4, h5) {
  font-family: var(--eep-font-display);
  font-weight: var(--eep-font-weight-heading);
  color: var(--eep-navy);
  margin: 0 0 16px 0;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) h2 { font-size: var(--eep-h2-size); }
:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) h3 { font-size: var(--eep-h3-size); }

:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) a {
  color: var(--eep-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--eep-trans);
}

:is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell) a:hover {
  color: var(--eep-navy);
}

/* Account tabs AJAX shell spacing */
.eep-account-shell {
  padding: 10px !important;
}

/* --- Utilities & Structural --- */
.eep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: calc(16px * var(--eep-density-scale, 1)); }
.eep-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: calc(24px * var(--eep-density-scale, 1)); }
.eep-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: calc(24px * var(--eep-density-scale, 1)); }

.eep-hide-theme-page-title :is(.entry-title, .page-title, .wp-block-post-title, .elementor-page-title, .entry-header .entry-title, .site-main .entry-title, .site-main .page-title) {
  display: none !important;
}

.eep-is-hidden { display: none !important; }

/* Shared card surfaces driven by runtime design tokens */
:is(.eep-event-section, .eep-form-section, .eep-submit-nav, .eep-map-item-card, .eep-archive-event-card, .eep-archive-sidebar, .eep-map-sidebar, .eep-sidebar, .eep-auth-shell, .eep-account-shell, .eep-account-card, .eep-user-event-card) {
  background: var(--eep-box-bg, #ffffff);
  border-color: var(--eep-box-border-color, #e5e7eb);
  border-width: var(--eep-box-border-width, 1px);
  box-shadow: var(--eep-shadow-sm);
}

/* --- Toasts --- */
#eep-toast-root {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 2147483647 !important;
  display: grid;
  gap: 10px;
  justify-items: end;
  pointer-events: none;
}

#eep-toast-root .eep-toast {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: auto;
  width: min(420px, calc(100vw - max(28px, env(safe-area-inset-left) + env(safe-area-inset-right) + 28px)));
  margin: 0;
  border-radius: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, #0f172a, #1f2937);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.34);
  font-family: var(--eep-font);
  line-height: 1.4;
}

#eep-toast-root .eep-toast:not(.eep-toast-hide) {
  opacity: 1;
  transform: translateY(0);
}

#eep-toast-root .eep-toast.eep-toast-hide {
  opacity: 0;
  transform: translateY(10px);
}

#eep-toast-root .eep-toast.eep-toast-success {
  background: linear-gradient(145deg, #14532d, #166534);
}

#eep-toast-root .eep-toast.eep-toast-error {
  background: linear-gradient(145deg, #7f1d1d, #991b1b);
}

#eep-toast-root .eep-toast.eep-toast-warning {
  background: linear-gradient(145deg, #92400e, #b45309);
}

#eep-toast-root .eep-toast.eep-toast-info {
  background: linear-gradient(145deg, #1e3a8a, #1d4ed8);
}

#eep-toast-root .eep-toast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
}

#eep-toast-root .eep-toast-title {
  font-family: var(--eep-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#eep-toast-root .eep-toast-subtitle {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.87;
  margin-bottom: 6px;
}

#eep-toast-root .eep-toast-message {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
  color: #f8fafc;
}

#eep-toast-root .eep-toast-close {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

#eep-toast-root .eep-toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

#eep-toast-root .eep-toast.eep-toast-imported-wide {
  position: fixed !important;
  left: max(5vw, 14px) !important;
  right: max(5vw, 14px) !important;
  bottom: max(14px, env(safe-area-inset-bottom)) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
}

.eep-notice.eep-toasted {
  display: none !important;
}

@media (max-width: 640px) {
  #eep-toast-root {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    justify-items: stretch;
  }

  #eep-toast-root .eep-toast {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border-radius: 13px;
  }

  #eep-toast-root .eep-toast-title {
    font-size: 0.78rem;
  }

  #eep-toast-root .eep-toast-message {
    font-size: 0.92rem;
    line-height: 1.42;
  }
}

/* --- Buttons --- */
:is(.eep-btn, .eep-form button[type='submit'], .eep-filter-form button[type='submit']) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--eep-btn-bg, var(--eep-primary));
  color: var(--eep-btn-color, #fff) !important;
  font-weight: var(--eep-btn-font-weight, 700);
  padding: 9px 14px;
  border-radius: var(--eep-btn-radius, var(--eep-radius-pill));
  min-height: var(--eep-btn-min-height, 40px);
  text-decoration: none;
  text-transform: var(--eep-btn-transform, uppercase);
  letter-spacing: var(--eep-btn-letter-spacing, 0.06em);
  font-size: 0.78rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: var(--eep-btn-border, 1px solid transparent);
  cursor: pointer;
  box-shadow: var(--eep-shadow-sm);
}

:is(.eep-btn, .eep-form button[type='submit']):hover {
  background: var(--eep-btn-bg-hover, var(--eep-primary-hover));
  transform: translateY(-1px);
  box-shadow: var(--eep-shadow);
}

:is(.eep-btn, .eep-form button[type="submit"]):focus-visible {
  outline: 3px solid rgba(var(--eep-primary-rgb), 0.25);
  outline-offset: 1px;
}

.eep-btn-secondary { background: #fff; color: var(--eep-navy) !important; border: 1px solid var(--eep-border); }
.eep-btn-secondary:hover { background: var(--eep-surface-alt); border-color: var(--eep-text-muted); color: var(--eep-navy) !important; }
.eep-btn-danger { background: #ef4444; color: #fff !important; }
.eep-btn-danger:hover { background: #dc2626; }
:is(.eep-btn:disabled, .eep-btn-disabled) { opacity: 0.6; cursor: not-allowed; filter: grayscale(1); }
.eep-force-accent-action,
.eep-force-accent-action:hover,
.eep-force-accent-action:focus,
.eep-force-accent-action:active,
.eep-force-accent-action:visited {
  background: var(--eep-primary) !important;
  border-color: var(--eep-primary) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.eep-force-accent-action:hover {
  background: var(--eep-primary-hover) !important;
  border-color: var(--eep-primary-hover) !important;
}

.eep-btn-sm {
  min-height: 34px !important;
  padding: 8px 12px !important;
  font-size: 0.74rem !important;
}

.eep-btn.eep-loading { position: relative; opacity: 0.9; }
.eep-btn.eep-loading::after {
  content: ''; width: 10px; height: 10px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; display: inline-block; margin-left: 8px; animation: eep-spin 0.75s linear infinite;
}

/* --- Forms (Consolidated) --- */
:is(.eep-form, .eep-filter-form, .eep-user-event-tools, .eep-map-sidebar, .eep-archive-filter-card) :is(input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="file"]), textarea, select) {
  width: 100%;
  padding: var(--eep-field-pad-y, 10px) var(--eep-field-pad-x, 12px);
  border-style: solid;
  border-color: var(--eep-input-border, var(--eep-border));
  border-width: var(--eep-input-border-width, 1px);
  border-radius: var(--eep-input-radius, var(--eep-radius));
  font-size: 0.875rem;
  color: var(--eep-navy);
  background: var(--eep-input-bg, #fff);
  transition: var(--eep-trans);
  margin-bottom: calc(14px * var(--eep-density-scale, 1));
}

:is(.eep-form, .eep-filter-form, .eep-user-event-tools, .eep-map-sidebar, .eep-archive-filter-card) :is(input:focus, textarea:focus, select:focus) {
  outline: none;
  border-color: var(--eep-input-border-focus, var(--eep-primary));
  box-shadow: 0 0 0 3px rgba(var(--eep-primary-rgb), 0.1);
  background: var(--eep-input-bg, #fff);
}

:is(.eep-form, .eep-filter-form, .eep-user-event-tools, .eep-archive-filter-card) label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--eep-navy);
}

.eep-help-text { font-size: 0.82rem; color: #64748b; margin: -2px 0 8px; display: block; }
.eep-validation-error { color: #b91c1c; font-size: 0.84rem; margin: -8px 0 10px; }
.eep-validation-warning { color: #b45309; font-size: 0.84rem; }
:is(.eep-form, .eep-filter-form, .eep-user-event-tools, .eep-map-sidebar, .eep-archive-filter-card) :is(input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="file"]), textarea, select).eep-field-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important;
  background: #fff7f7 !important;
}
.eep-field-invalid-group {
  border: 1px solid rgba(220, 38, 38, 0.45) !important;
  border-radius: 12px;
  padding: 8px;
  background: rgba(254, 242, 242, 0.55);
}

/* Radio/Checkboxes */
.eep-radio-group { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.eep-radio-group input[type="radio"] { display: none; }
.eep-radio-group label {
  padding: 10px 20px; border: 1px solid var(--eep-border); border-radius: var(--eep-radius-pill);
  cursor: pointer; margin: 0; font-weight: 500; transition: var(--eep-trans); background: #fff; color: var(--eep-text-muted);
}
.eep-radio-group input[type="radio"]:checked + label {
  background: var(--eep-primary); color: #fff; border-color: var(--eep-primary); box-shadow: 0 4px 6px rgba(var(--eep-primary-rgb), 0.2);
}
.eep-checkbox-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; }
.eep-checkbox-row input[type='checkbox'] { width: 18px; height: 18px; margin: 0; accent-color: var(--eep-primary); }
.eep-checkbox-row label { margin: 0; font-size: 0.92rem; font-weight: 500; }

/* File Upload */
.eep-dropzone {
  border: 2px dashed #f2c3ae; background: #fffaf7; border-radius: 12px;
  padding: 16px; text-align: center; cursor: pointer; transition: var(--eep-trans);
}
.eep-dropzone:hover { border-color: var(--eep-primary); background: #fff; }
.eep-upload-preview { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; }

/* --- Banners / Heroes --- */
.eep-page-banner {
  position: relative; overflow: hidden; border-radius: 24px; padding: clamp(20px, 3.5vw, 40px);
  margin: 0 auto calc(24px * var(--eep-density-scale, 1)); max-width: var(--eep-content-max-width, 1220px);
  background: radial-gradient(circle at top right, rgba(var(--eep-primary-rgb), 0.35), transparent 40%), linear-gradient(135deg, var(--eep-navy), var(--eep-navy-light));
  color: #fff; box-shadow: var(--eep-shadow-lg);
}
.eep-page-banner h1 { font-size: clamp(2rem, 4.4vw, 3rem) !important; color: #fff !important; text-transform: uppercase; margin: 0 0 8px; line-height: 1.2 !important; text-shadow: 0 3px 16px rgba(11, 18, 33, 0.32); }
.eep-page-banner p { max-width: 64ch; margin: 0 auto; color: rgba(255, 255, 255, 0.9); font-size: 1rem; line-height: 1.55; }
.eep-page-kicker { display: block; width: 100%; text-align: center; margin: 0 auto 8px; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: color-mix(in srgb, var(--eep-primary) 68%, #ffffff); }
.eep-page-banner.eep-page-banner-has-image {
  background-image:
    linear-gradient(140deg, rgba(11, 18, 33, 0.72), rgba(26, 31, 46, 0.64)),
    var(--eep-page-hero-image);
  background-size: cover;
  background-position: var(--eep-page-hero-bg-pos, center center);
  background-repeat: no-repeat;
}

/* --- Single Event Page --- */
.eep-event-page { max-width: var(--eep-event-page-max-width, 1240px); margin: 0 auto calc(56px * var(--eep-density-scale, 1)); letter-spacing: normal; }
.eep-event-hero {
  border-radius: 0 0 34px 34px; min-height: clamp(340px, 52vh, 520px);
  background: linear-gradient(135deg, #122235, #1f3f63);
  background-size: cover !important; background-position: var(--eep-hero-bg-pos, center center) !important;
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--eep-shadow-lg); transform: translateZ(0);
}
.eep-event-hero::before {
  content: ''; position: absolute; inset: 0 !important;
  background: linear-gradient(180deg, rgba(11, 18, 33, 0.35), rgba(11, 18, 33, 0.72));
}
.eep-event-hero-overlay {
  position: relative; z-index: 2; width: 100%; max-width: 880px; padding: clamp(28px, 5vw, 64px) 18px; color: #fff;
}
.eep-event-hero-title { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 12px; color: #fff !important; line-height: 0.95; text-wrap: balance; font-family: var(--eep-font-display); text-transform: uppercase; }
.eep-event-hero-subtitle { max-width: 620px; margin: 0 auto 18px; color: rgba(255, 255, 255, 0.94); font-size: clamp(0.95rem, 1.5vw, 1.15rem); line-height: 1.6; }

.eep-event-hero-info-cards {
  display: grid; grid-template-columns: minmax(0, 172px) minmax(0, 1fr) !important; gap: 8px !important; width: min(100%, 560px) !important; margin: 0 auto 10px;
}
.eep-hero-info-card {
  border-radius: 14px !important; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(15, 23, 42, 0.45); color: #fff; padding: 8px 11px !important; text-align: left;
}
.eep-hero-info-card span { display: block; margin-bottom: 2px !important; font-size: 0.57rem !important; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: rgba(255, 255, 255, 0.74); }
.eep-hero-info-card strong { display: block; font-family: var(--eep-font); font-size: 0.9rem !important; line-height: 1.24 !important; font-weight: 700 !important; color: #fff; word-break: break-word; }

.eep-event-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.eep-event-chip {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-width: 84px !important; height: 24px !important; padding: 0 10px !important;
  border-radius: 999px !important; border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(0, 0, 0, 0.36);
  color: #fff; font-size: 0.58rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--eep-font-display); white-space: nowrap;
}

/* Single Event Layout & Sidebar */
.eep-event-layout-modern {
  display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(16px, 2.5vw, 30px) !important; max-width: 1080px; margin: 20px auto 0 !important; padding: 0 clamp(16px, 2.2vw, 30px) !important; align-items: start !important; overflow: visible !important;
}
.eep-event-main, .eep-event-aside { display: grid; gap: calc(14px * var(--eep-density-scale, 1)); }
.eep-event-aside { position: -webkit-sticky !important; position: sticky !important; top: 30px !important; height: max-content !important; z-index: 99 !important; }
.eep-event-section { border: var(--eep-box-border-width, 1px) solid var(--eep-box-border-color, #e4ebf3); border-radius: 20px !important; background: var(--eep-box-bg, #fff); padding: clamp(18px, 2.2vw, 24px) !important; box-shadow: var(--eep-shadow-sm); }

/* Event Sub-Components */
:is(.eep-event-overview, .eep-event-section) h3 {
  position: relative; padding-left: 16px; margin-bottom: 10px; text-transform: uppercase; font-family: var(--eep-font-display); font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: 0.01em;
}
:is(.eep-event-overview, .eep-event-section) h3::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 1.25em; border-radius: 999px; background: var(--eep-primary);
}
.eep-event-body { margin-top: 14px !important; font-size: 0.95rem; line-height: 1.65; color: #334155; }
.eep-event-body p { margin: 0 0 14px !important; line-height: 1.62 !important; }

/* Fact Grid */
.eep-fact-grid-modern { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
.eep-fact-card { border-radius: 10px !important; padding: 8px 10px !important; background: #f9fafc; border: 1px solid #eceff3; align-content: start; }
.eep-fact-label { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--eep-text-muted); margin-bottom: 2px !important; }
.eep-fact-value { color: var(--eep-navy); font-family: var(--eep-font); font-size: 0.88rem !important; font-weight: 700; line-height: 1.22 !important; word-break: break-word; }

/* CTA Card */
.eep-event-cta-card {
  background: linear-gradient(145deg, var(--eep-primary), var(--eep-primary-hover));
  border: 0; box-shadow: 0 24px 48px color-mix(in srgb, var(--eep-primary) 40%, transparent); color: var(--eep-on-primary, #fff) !important;
}
.eep-event-cta-card h3, .eep-event-cta-card .eep-cta-text, .eep-event-cta-card .eep-cta-status { color: inherit !important; }
.eep-event-cta-card h3::before { background: rgba(255, 255, 255, 0.82); }
.eep-event-cta-card .eep-cta-status { border-top: 1px solid color-mix(in srgb, var(--eep-on-primary, #ffffff) 35%, transparent); display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding-top: 8px; }
.eep-event-cta-card .eep-cta-status span { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.eep-event-cta-card .eep-cta-status strong { font-size: 0.62rem; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--eep-on-primary, #ffffff) 20%, transparent); }
.eep-event-cta-card .eep-actions { display: grid; gap: 5px !important; }
.eep-event-cta-card .eep-btn { background: var(--eep-navy); color: #fff !important; min-height: 30px !important; padding: 5px 9px !important; font-size: 0.56rem !important; letter-spacing: 0.05em !important; border-radius: 8px; }
.eep-event-cta-card .eep-btn-secondary { background: rgba(255, 255, 255, 0.2); border-color: color-mix(in srgb, var(--eep-on-primary, #ffffff) 42%, transparent); color: var(--eep-on-primary, #ffffff) !important; }

/* --- Archive & Map Layouts --- */
.eep-archive-layout, .eep-map-layout { max-width: var(--eep-archive-max-width, 1400px); margin: 0 auto; padding: 0 20px calc(80px * var(--eep-density-scale, 1)); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: calc(30px * var(--eep-density-scale, 1)); align-items: start; overflow: visible !important; }
:is(.eep-archive-sidebar, .eep-map-sidebar, .eep-sidebar) {
  position: -webkit-sticky !important; position: sticky !important; top: 40px !important; height: max-content !important; z-index: 99 !important;
  border: var(--eep-box-border-width, 1px) solid var(--eep-box-border-color, #e2e8f0); border-radius: 16px; background: var(--eep-box-bg, #fff); box-shadow: var(--eep-shadow-sm); padding: calc(24px * var(--eep-density-scale, 1));
}
:is(.eep-archive-sidebar, .eep-map-sidebar) h3 { margin: 0 0 16px; padding-bottom: 12px; font-family: var(--eep-font); font-size: 1.25rem; border-bottom: 2px solid #f1f5f9; }

/* Map List Cards */
#eep-map-list { display: grid; gap: 10px; margin-top: 10px; }
.eep-map-item-card {
  display: flex; flex-direction: column; border: var(--eep-box-border-width, 1px) solid var(--eep-box-border-color, #e4ebf3) !important; border-radius: 16px !important;
  background: var(--eep-box-bg, #fff); padding: 0 !important; box-shadow: var(--eep-shadow-sm); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden;
}
.eep-map-item-card:hover { border-color: rgba(var(--eep-primary-rgb), .45); box-shadow: 0 10px 26px rgba(15, 23, 42, .12); transform: translateY(-1px); }
.eep-map-item-thumb { width: 100% !important; height: 180px !important; border-radius: 0 !important; background: #eff4fa; overflow: hidden; }
.eep-map-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eep-map-item-body { padding: 20px !important; display: flex; flex-direction: column; gap: 8px; }
.eep-map-item-title { margin: 0; font-family: var(--eep-font-display); font-size: 1.125rem; font-weight: 700; color: #1e293b; line-height: 1.3; }
.eep-map-item-date, .eep-map-item-location { margin: 0; color: #64748b; font-size: 0.85rem; line-height: 1.35; }
.eep-map-item-view {
  margin-top: auto; padding: 12px; border-radius: 10px; text-align: center; border: 1px solid #dbe3ee; background: #f8fafc;
  color: #1e293b !important; font-size: 0.95rem; font-weight: 600; text-decoration: none; display: block;
}
.eep-map-item-view:hover { border-color: var(--eep-primary); background: var(--eep-primary); color: #fff !important; }

/* --- Account / Submit Wrap --- */
.eep-submit-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: calc(16px * var(--eep-density-scale, 1)); align-items: start; max-width: var(--eep-content-max-width, 1220px); margin: 0 auto calc(24px * var(--eep-density-scale, 1)); padding: 0 14px; overflow: visible !important; }
.eep-submit-nav {
  position: -webkit-sticky !important; position: sticky !important; top: 40px !important; z-index: 99 !important;
  background: var(--eep-box-bg, #fff); border: var(--eep-box-border-width, 1px) solid var(--eep-box-border-color, #e9edf3); border-radius: 16px; padding: calc(10px * var(--eep-density-scale, 1)); box-shadow: var(--eep-shadow-sm); max-height: calc(100vh - 24px) !important; overflow: auto !important;
}
.eep-submit-nav-link { display: block; padding: calc(10px * var(--eep-density-scale, 1)) calc(12px * var(--eep-density-scale, 1)); border-radius: 10px; margin-bottom: calc(6px * var(--eep-density-scale, 1)); font-size: 0.76rem; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; }
.eep-submit-nav-link.is-active, .eep-submit-nav-link:hover { background: #fff3ec; color: var(--eep-primary); }
.eep-form-section { background: var(--eep-box-bg, #fff); border: var(--eep-box-border-width, 1px) solid var(--eep-box-border-color, #e4ebf3); border-radius: 18px; padding: clamp(14px, 2vw, 20px); margin-bottom: calc(14px * var(--eep-density-scale, 1)); box-shadow: var(--eep-shadow-sm); }

/* --- Badges & Pills --- */
.eep-badge { background: var(--eep-surface-alt); color: var(--eep-navy); padding: 4px 8px; border-radius: 4px; font-size: 0.8em; font-weight: 700; text-transform: uppercase; }
.eep-badge-primary { background: var(--eep-primary); color: #fff; }
.eep-status-pill, .eep-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 24px; border-radius: 999px;
  padding: 4px 10px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid #dbe4ef; background: #f8fafc; color: #334155;
}
.eep-status-pending { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.eep-status-publish, .eep-pill-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.eep-status-draft, .eep-pill-muted { background: #e2e8f0; color: #475569; border-color: #cbd5e1; }
.eep-live-toggle-form {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.eep-live-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 34px;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
}
.eep-live-toggle input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.eep-live-toggle-track {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 0.2s ease;
}
.eep-live-toggle-track::after {
  content: '';
  position: absolute;
  left: 1px;
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease;
}
.eep-live-toggle-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  transition: color 0.2s ease;
}
.eep-live-toggle input[type='checkbox']:checked + .eep-live-toggle-track {
  background: rgba(var(--eep-primary-rgb), 0.72);
}
.eep-live-toggle input[type='checkbox']:checked + .eep-live-toggle-track::after {
  transform: translateX(8px);
}
.eep-live-toggle input[type='checkbox']:checked ~ .eep-live-toggle-label-live {
  color: #166534;
}
.eep-live-toggle input[type='checkbox']:not(:checked) ~ .eep-live-toggle-label-draft {
  color: #334155;
}
.eep-live-toggle-meta {
  font-size: 0.7rem;
  color: #b45309;
  font-weight: 600;
}

/* Boost Badges */
.eep-boost-badge, .eep-verified-badge { position: absolute; top: 10px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #fff; }
.eep-boost-badge { left: 10px; background: rgba(var(--eep-primary-rgb), 0.95); }
.eep-verified-badge { right: 10px; background: rgba(37, 99, 235, 0.92); }
.eep-card-boosted { box-shadow: 0 14px 36px rgba(var(--eep-primary-rgb), 0.16), 0 6px 18px rgba(15, 23, 42, 0.08) !important; border-color: rgba(var(--eep-primary-rgb), 0.38) !important; }

/* --- Responsive Media Queries (Consolidated) --- */
@media (max-width: 1160px) {
  .eep-event-page .eep-event-layout-modern { grid-template-columns: 1fr !important; }
  .eep-event-aside { position: static !important; }
  .eep-submit-wrap { grid-template-columns: 1fr; }
  .eep-submit-nav { position: static !important; max-height: none !important; display: flex; flex-wrap: wrap; }
  .eep-submit-nav-link { margin: 0 6px 6px 0; display: inline-flex; }
  .eep-map-layout { grid-template-columns: 1fr; }
  .eep-map-results-col { position: static !important; }
}

@media (max-width: 900px) {
  :is(.eep-layout, .eep-submit-wrap, .eep-auth-grid, .eep-my-events, .eep-account-shell) { padding-inline: 10px; }
  .eep-page-banner { border-radius: 18px; margin-bottom: 18px; padding: 18px 14px; }
  .eep-event-page .eep-event-hero { border-radius: 0 0 24px 24px; min-height: 320px !important; margin-top: 0 !important; }
  .eep-event-page .eep-event-hero-title { font-size: clamp(1.9rem, 9vw, 2.8rem) !important; }
  .eep-event-page .eep-event-hero-info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; width: 100% !important; gap: 7px !important; }
  .eep-event-page .eep-event-layout-modern { padding: 18px 12px 0 !important; gap: 14px !important; }
  .eep-event-page .eep-fact-grid-modern { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .eep-event-page .eep-detail-row { padding: 7px 0 !important; }
  .eep-archive-layout, .eep-map-layout { grid-template-columns: 1fr; padding: 0 16px 56px; gap: 18px; }
  .eep-archive-sidebar, .eep-map-sidebar { position: static !important; background: #fff !important; }
  .eep-map-layout .eep-map { min-height: 320px !important; }
  .eep-map-list { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .eep-event-page .eep-event-hero-info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .eep-hero-info-card { padding: 7px 9px !important; }
  .eep-hero-info-card strong { font-size: 0.84rem !important; }
  .eep-event-page .eep-fact-grid-modern { grid-template-columns: 1fr !important; }
  .eep-my-events-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eep-auth-shell { padding: 10px; border-radius: 14px; }
  .eep-submit-form .eep-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Layout Overrides (Forced Layout Options) --- */
.eep-event-page.eep-page-layout-modern .eep-event-layout-modern { grid-template-columns: minmax(0, 1fr) minmax(320px, 360px) !important; max-width: 1220px !important; }
.eep-event-page.eep-page-layout-balanced .eep-event-layout-modern { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; max-width: 1260px !important; }
.eep-event-page.eep-page-layout-single-column .eep-event-layout-modern { grid-template-columns: 1fr !important; max-width: 940px !important; }
.eep-event-page.eep-page-layout-cards-heavy .eep-event-layout-modern { grid-template-columns: 1fr !important; max-width: 1260px !important; }
.eep-event-page.eep-page-layout-cards-heavy :is(.eep-event-main, .eep-event-aside) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; position: static !important; }
.eep-event-page.eep-page-layout-editorial .eep-event-layout-modern { grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr) !important; max-width: 1280px !important; }
.eep-event-page.eep-page-layout-editorial .eep-event-main .eep-event-section { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; border-bottom: 1px solid #e2e8f0 !important; padding-inline: 0 !important; }

/* Overflow Trap Fix (Ensures Sticky Sidebars Work) */
html, body, .site, #page, #content, #primary, #main, .site-content, .elementor-page-wrap, .elementor-section-wrap {
  overflow: visible !important;
  overflow-x: clip !important;
}


/* ==========================================================
   Restored Interactive Components & Modals
========================================================== */

/* --- Sticky Top Auth Links --- */
.eep-page-auth-links {
  position: sticky;
  top: 10px;
  z-index: 92;
  margin: 8px auto 10px;
  max-width: 1220px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  pointer-events: none;
}
.eep-page-auth-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.eep-page-auth-link:hover {
  border-color: var(--eep-primary);
  color: var(--eep-primary);
  transform: translateY(-1px);
}
.eep-page-auth-link.eep-page-auth-link-primary {
  background: var(--eep-primary);
  border-color: var(--eep-primary);
  color: #ffffff;
}
.eep-page-auth-link.eep-page-auth-link-primary:hover {
  background: var(--eep-primary-hover);
}

/* --- Contact Modals --- */
.eep-contact-modal[hidden] {
  display: none !important;
}
.eep-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1202;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.eep-contact-modal.is-open {
  opacity: 1;
}
.eep-contact-modal-dialog {
  width: min(680px, calc(100vw - 30px));
  max-height: calc(100vh - 34px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid #dbe3ee;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.26);
  padding: 20px;
  position: relative;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.eep-contact-modal.is-open .eep-contact-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.eep-contact-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #1e293b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.eep-contact-modal-close:hover {
  border-color: var(--eep-primary);
  color: var(--eep-primary);
}

/* --- Lightboxes (Global, Doc, Video) --- */
.eep-lightbox[hidden] {
  display: none !important;
}
.eep-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 15, 24, 0.92);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Attendees modal sizing + layering hardening */
.eep-attendees-modal.eep-lightbox {
  z-index: 2147483600 !important;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
}
.eep-attendees-modal .eep-attendees-modal-dialog {
  position: relative;
  width: min(1040px, 90vw);
  max-height: min(90vh, 920px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 46px rgba(2, 6, 23, 0.34);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.eep-attendees-modal .eep-attendees-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.eep-attendees-modal .eep-attendees-modal-close:hover {
  border-color: var(--eep-primary);
  color: var(--eep-primary);
}
.eep-attendees-modal .eep-attendees-panel {
  overflow: auto;
  max-height: inherit;
  padding: 20px;
}
.eep-attendees-modal .eep-attendees-panel-head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffff;
  padding-right: 46px;
}
@media (max-width: 900px) {
  .eep-attendees-modal.eep-lightbox {
    padding: 10px;
  }
  .eep-attendees-modal .eep-attendees-modal-dialog {
    width: 96vw;
    max-height: 92vh;
    border-radius: 14px;
  }
  .eep-attendees-modal .eep-attendees-panel {
    padding: 14px;
  }
}
body.eep-lightbox-open {
  overflow: hidden;
}
.eep-lightbox img {
  max-width: min(1180px, 92vw);
  max-height: 86vh;
  border-radius: 10px;
  object-fit: contain;
}

/* --- Gallery Base Overrides --- */
.eep-gallery-item {
  border: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
}
.eep-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Alpine.js specific fallbacks (Optional but safe) --- */
[x-cloak] { display: none !important; }

/* ==========================================================
   Archive / "What's New" Page Layout & Cards
========================================================== */

/* --- Breadcrumbs --- */
.eep-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: var(--eep-content-max-width, 1220px);
  margin: 0 auto calc(12px * var(--eep-density-scale, 1));
  padding: 0 14px;
  color: #64748b;
  font-size: 0.85rem;
}
.eep-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.eep-breadcrumbs a:hover {
  color: var(--eep-primary);
}
.eep-breadcrumbs .is-current {
  color: #0f172a;
  font-weight: 600;
}
.eep-breadcrumbs .eep-breadcrumb-sep {
  color: #94a3b8;
  margin: 0 4px;
}

/* --- Archive Hero Overrides --- */
.eep-page-banner.eep-archive-hero {
  min-height: 290px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.eep-page-banner.eep-archive-hero .eep-page-kicker {
  margin: 0 auto;
}

/* --- Archive Layout --- */
.eep-layout-no-sidebar {
  grid-template-columns: 1fr !important;
}
.eep-archive-content {
  width: 100%;
}

/* --- Archive Event Cards (The Grid Items) --- */
.eep-archive-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important; /* Resets generic card padding so image goes edge-to-edge */
  overflow: hidden;
}
.eep-archive-event-card .eep-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e9eef5;
  overflow: hidden;
  border-bottom: 1px solid var(--eep-border);
}
.eep-archive-event-card .eep-card-cover-link {
  display: block;
  width: 100%;
  height: 100%;
}
.eep-archive-event-card .eep-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.eep-archive-event-card:hover .eep-card-cover {
  transform: scale(1.05);
}

/* --- Archive Card Content --- */
.eep-archive-card-content {
  padding: calc(20px * var(--eep-density-scale, 1));
  display: flex;
  flex-direction: column;
  flex: 1;
}
.eep-archive-card-content .eep-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.eep-archive-card-content .eep-card-title a {
  color: inherit;
  text-decoration: none;
}
.eep-archive-card-content .eep-card-title a:hover {
  color: var(--eep-primary);
}
.eep-card-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--eep-text-muted);
  line-height: 1.4;
}
.eep-card-meta-row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--eep-primary);
}

/* Forces the button to the bottom of the card */
.eep-archive-event-card-footer {
  margin-top: auto; 
  padding-top: 20px;
}
.eep-archive-view-btn {
  width: 100%;
}

/* --- Pagination --- */
.eep-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  width: 100%;
}
.eep-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--eep-border);
  color: var(--eep-navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.eep-pagination .page-numbers:hover {
  border-color: var(--eep-primary);
  color: var(--eep-primary);
  background: var(--eep-surface-alt);
  transform: translateY(-2px);
}
.eep-pagination .page-numbers.current {
  background: var(--eep-primary);
  border-color: var(--eep-primary);
  color: #fff;
  pointer-events: none;
}

/* ==========================================================
   Frontend Sticky Navigation Bar
========================================================== */

.eep-front-sticky-nav {
  width: 100%;
  z-index: 96;
  padding: 0 10px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.eep-front-sticky-nav.eep-front-sticky-nav-sticky,
.eep-front-sticky-nav.eep-front-sticky-nav-smart {
  position: sticky;
  top: 0;
}

/* Smart hide on scroll down */
.eep-front-sticky-nav.eep-front-sticky-nav-smart.is-scroll-hidden {
  transform: translateY(calc(-100% - 10px));
  opacity: 0.98;
}

/* Glassmorphism Inner Container */
.eep-front-sticky-nav-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  background: color-mix(in srgb, #ffffff 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--eep-primary, #FF5E14) 12%, #dbe3ef);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

/* Brand / Logo */
.eep-front-sticky-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eep-front-sticky-nav-brand img {
  display: block;
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

/* Main Nav Layout */
.eep-front-sticky-nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}
.eep-front-sticky-nav-groups {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
}
.eep-front-sticky-nav-group-item {
  position: relative;
}

/* Dropdown Groups */
.eep-front-sticky-nav-group {
  position: relative;
}
.eep-front-sticky-nav-group > summary {
  list-style: none;
}
.eep-front-sticky-nav-group > summary::-webkit-details-marker {
  display: none;
}

.eep-front-sticky-nav-group-trigger,
.eep-front-sticky-nav-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #0f172a 10%, transparent);
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.1;
  white-space: nowrap;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eep-front-sticky-nav-group-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-top: -2px;
  transition: transform .2s ease;
}
.eep-front-sticky-nav-group[open] .eep-front-sticky-nav-group-trigger::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.eep-front-sticky-nav-group-trigger:hover,
.eep-front-sticky-nav-direct:hover,
.eep-front-sticky-nav-group.is-current .eep-front-sticky-nav-group-trigger {
  border-color: color-mix(in srgb, var(--eep-primary, #FF5E14) 45%, transparent);
  color: var(--eep-primary, #FF5E14);
  background: color-mix(in srgb, var(--eep-primary, #FF5E14) 8%, transparent);
}

/* Dropdown Panel */
.eep-front-sticky-nav-group-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #dbe1ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 100;
}
.eep-front-sticky-nav-group[open] .eep-front-sticky-nav-group-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown Links */
.eep-front-sticky-nav-menu-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
}
.eep-front-sticky-nav-menu-link:hover {
  border-color: color-mix(in srgb, var(--eep-primary, #FF5E14) 35%, transparent);
  background: #f8fafc;
  color: var(--eep-primary, #FF5E14);
}
/* CTA Button */
.eep-front-sticky-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.eep-front-sticky-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: #0f172a;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.eep-front-sticky-nav-btn.is-primary {
  border-color: var(--eep-primary, #FF5E14);
  background: var(--eep-primary, #FF5E14);
  color: #fff;
}

/* Mobile Toggle (Hamburger) */
.eep-front-sticky-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid #d9e1ec;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
}
.eep-front-sticky-nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #0f172a;
}

/* --- Mobile Responsive Overrides --- */
@media (max-width: 900px) {
  .eep-front-sticky-nav {
    padding: 0 8px;
  }
  .eep-front-sticky-nav-inner {
    min-height: 52px;
    border-radius: 0 0 12px 12px;
    padding: 8px 10px;
    gap: 10px;
  }
  .eep-front-sticky-nav-brand {
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }
  .eep-front-sticky-nav-brand img {
    max-height: 30px;
  }
  .eep-front-sticky-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  
  /* Hidden by default on mobile, toggled via JS .is-open class */
  .eep-front-sticky-nav-main {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 6px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  }
  .eep-front-sticky-nav.is-open .eep-front-sticky-nav-main {
    display: flex;
  }
  .eep-front-sticky-nav-groups {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .eep-front-sticky-nav-group-item,
  .eep-front-sticky-nav-btn {
    width: 100%;
  }
  .eep-front-sticky-nav-group-trigger,
  .eep-front-sticky-nav-direct {
    justify-content: flex-start;
    width: 100%;
    border-radius: 10px;
  }
  .eep-front-sticky-nav-group-panel {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 5px 0 0 10px;
    gap: 4px;
  }
  .eep-front-sticky-nav-group:not([open]) .eep-front-sticky-nav-group-panel {
    display: none;
  }
  .eep-front-sticky-nav-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

/* ==========================================================
   Frontend Sticky Navigation Bar (Unified Events Style)
========================================================== */
.eep-front-sticky-nav {
  width: 100%;
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  z-index: 96;
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.eep-front-sticky-nav.eep-front-sticky-nav-sticky,
.eep-front-sticky-nav.eep-front-sticky-nav-smart {
  position: sticky;
  top: 0;
}
.eep-front-sticky-nav.eep-front-sticky-nav-smart.is-scroll-hidden {
  transform: translateY(-100%);
  opacity: 0.98;
}
.eep-front-sticky-nav-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 10%;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.eep-front-sticky-nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--eep-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1;
}
.eep-front-sticky-nav-brand img {
  display: block;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}
.eep-front-sticky-nav-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.eep-front-sticky-nav-groups {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.eep-front-sticky-nav-group-item {
  position: relative;
}
.eep-front-sticky-nav-direct,
.eep-front-sticky-nav-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
}
.eep-front-sticky-nav-direct:hover,
.eep-front-sticky-nav-menu-link:hover {
  color: #111827;
}
.eep-front-sticky-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.eep-front-sticky-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.eep-front-sticky-nav-btn:hover {
  border-color: #9ca3af;
  color: #111827;
}
.eep-front-sticky-nav-btn.is-primary {
  border-color: var(--eep-primary);
  background: var(--eep-primary);
  color: #ffffff;
}
.eep-front-sticky-nav-btn.is-primary:hover {
  border-color: var(--eep-primary-hover);
  background: var(--eep-primary-hover);
  color: #ffffff;
}
.eep-front-sticky-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
}
.eep-front-sticky-nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #374151;
}

@media (max-width: 900px) {
  .eep-front-sticky-nav-inner {
    min-height: 60px;
    gap: 12px;
    padding: 0 10%;
  }
  .eep-front-sticky-nav-brand {
    font-size: 1.1rem;
  }
  .eep-front-sticky-nav-brand img {
    max-height: 30px;
  }
  .eep-front-sticky-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .eep-front-sticky-nav-main {
    position: absolute;
    left: 10%;
    right: 10%;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    z-index: 100;
  }
  .eep-front-sticky-nav.is-open .eep-front-sticky-nav-main {
    display: flex;
  }
  .eep-front-sticky-nav-groups {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .eep-front-sticky-nav-group-item,
  .eep-front-sticky-nav-btn {
    width: 100%;
  }
  .eep-front-sticky-nav-direct,
  .eep-front-sticky-nav-menu-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .eep-front-sticky-nav-direct:hover,
  .eep-front-sticky-nav-menu-link:hover {
    background: #f9fafb;
  }
  .eep-front-sticky-nav-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Sticky nav typography lock (global consistency across all templates/pages) */
.eep-front-sticky-nav-brand,
.eep-platform-nav .eep-platform-nav-brand-text {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}
.eep-front-sticky-nav-group-trigger,
.eep-front-sticky-nav-direct,
.eep-front-sticky-nav-menu-link,
.eep-platform-nav .eep-platform-nav-trigger,
.eep-platform-nav .eep-platform-nav-link {
  font-size: 14px !important;
  line-height: 1.2 !important;
}
.eep-front-sticky-nav-group-trigger,
.eep-front-sticky-nav-direct,
.eep-platform-nav .eep-platform-nav-trigger {
  font-weight: 500 !important;
}
.eep-front-sticky-nav-menu-link,
.eep-platform-nav .eep-platform-nav-link {
  font-weight: 500 !important;
}
.eep-front-sticky-nav-btn,
.eep-platform-nav .eep-platform-nav-cta-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.eep-platform-nav .eep-platform-nav-mobile-trigger {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}
.eep-platform-nav .eep-platform-nav-mobile-link {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}
.eep-platform-nav .eep-platform-nav-mobile-cta-link {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
@media (max-width: 900px) {
  .eep-front-sticky-nav-brand {
    font-size: 1rem !important;
  }
  .eep-front-sticky-nav-group-trigger,
  .eep-front-sticky-nav-direct,
  .eep-front-sticky-nav-menu-link {
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  .eep-front-sticky-nav-btn {
    font-size: 13px !important;
    font-weight: 600 !important;
  }
}

.header{display:none;}

/* Hide sticky/platform nav while media lightbox is open */
body.eep-media-lightbox-open .eep-front-sticky-nav,
body.eep-media-lightbox-open .eep-platform-nav {
  transform: translate3d(0, calc(-100% - 14px), 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
