@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --eep-primary: #FF5E14;
  --eep-primary-hover: #E04F0D;
  --eep-on-primary: #ffffff;
  --eep-navy: #0B1221;
  --eep-navy-light: #1a1f2e;
  --eep-surface: #ffffff;
  --eep-surface-alt: #f8fafc;
  --eep-border: #e2e8f0;
  --eep-text-main: #334155;
  --eep-text-muted: #64748b;
  --eep-text-inv: #ffffff;
  --eep-radius: 16px;
  --eep-radius-lg: 24px;
  --eep-radius-pill: 999px;
  --eep-space-unit: 16px;
  --eep-space-scale: 1;
  --eep-shadow-sm: 0 4px 6px rgba(15, 23, 42, 0.05);
  --eep-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  --eep-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
  --eep-font: 'Inter', system-ui, -apple-system, sans-serif;
  --eep-font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --eep-trans: all 0.2s ease-in-out;
  --eep-motion-fast: 180ms;
  --eep-motion-base: 280ms;
  --eep-motion-slow: 420ms;
  --eep-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --eep-ease-spring: cubic-bezier(0.22, 0.92, 0.3, 1.04);
}

/* =========================
   App Motion Layer
   ========================= */

body.eep-app-motion-enabled {
  -webkit-tap-highlight-color: rgba(255, 94, 20, 0.14);
}

.eep-page-shell-enter {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.995);
}

.eep-page-shell-enter.is-entered {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity var(--eep-motion-base) var(--eep-ease-out), transform var(--eep-motion-base) var(--eep-ease-out);
}

body.eep-page-exit-active .eep-page-shell-enter.is-entered {
  opacity: 0.45;
  transform: translate3d(0, 12px, 0) scale(0.995);
}

.eep-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  filter: saturate(0.9);
  transition:
    opacity var(--eep-motion-slow) var(--eep-ease-out),
    transform var(--eep-motion-slow) var(--eep-ease-out),
    filter var(--eep-motion-base) var(--eep-ease-out);
  transition-delay: var(--eep-reveal-delay, 0ms);
}

.eep-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
}

.eep-app-surface {
  transition:
    box-shadow var(--eep-motion-fast) var(--eep-ease-out),
    border-color var(--eep-motion-fast) var(--eep-ease-out),
    background-color var(--eep-motion-fast) var(--eep-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .eep-app-surface:not(.eep-card):not(.eep-map-item-card):not(.eep-page-hero-card):not(.eep-directory-project-item):hover {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    border-color: rgba(255, 94, 20, 0.22);
  }
}

.eep-app-pressable {
  transition:
    transform 130ms ease,
    filter var(--eep-motion-fast) var(--eep-ease-out),
    opacity var(--eep-motion-fast) var(--eep-ease-out);
  transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
  .eep-app-pressable:hover {
    filter: brightness(1.03);
  }
}

.eep-app-pressable:active {
  transform: scale(0.98);
}

.eep-swipe-active {
  will-change: transform;
}

.eep-top-nav-mobile-drawer.eep-swipe-active,
.eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel.eep-swipe-active,
.eep-compare-modal.eep-swipe-active,
.eep-confirm-dialog.eep-swipe-active {
  transition: none !important;
}

.eep-swipe-threshold {
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.22);
}

body.eep-app-search-open {
  overflow: hidden;
}

body.eep-app-search-open > :not(#eep-app-search-overlay):not(script):not(style):not(link) {
  filter: blur(8px) saturate(0.9);
  transform: translateZ(0);
  pointer-events: none;
  user-select: none;
}

.eep-app-search-overlay[hidden] {
  display: none !important;
}

.eep-app-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 11080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.eep-app-search-overlay.is-open {
  pointer-events: auto;
}

.eep-app-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.54);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--eep-motion-fast) var(--eep-ease-out);
}

.eep-app-search-dialog {
  position: relative;
  width: min(760px, calc(100vw - 28px));
  max-height: min(86vh, 860px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(244, 247, 255, 0.7) 100%),
    linear-gradient(135deg, rgba(255, 94, 20, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.34);
  transform: translate3d(0, 24px, 0) scale(0.965);
  opacity: 0;
  transition: opacity var(--eep-motion-base) var(--eep-ease-out), transform var(--eep-motion-base) var(--eep-ease-spring);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.eep-app-search-overlay.is-open .eep-app-search-backdrop {
  opacity: 1;
}

.eep-app-search-overlay.is-open .eep-app-search-dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.eep-app-search-head {
  padding: 18px 20px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.eep-app-search-head-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.eep-app-search-subtitle {
  margin: 5px 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.eep-app-search-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #dce5f0;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.eep-app-search-close:hover {
  border-color: #ffcfb4;
  color: var(--eep-primary);
  transform: translateY(-1px);
}

.eep-app-search-form {
  padding: 0 20px;
  display: grid;
  gap: 10px;
}

.eep-app-search-input-wrap {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
}

.eep-app-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 10px 10px 12px;
}

.eep-app-search-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.eep-app-search-submit {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5e14 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 11px 14px;
  cursor: pointer;
  min-width: 88px;
  transition: transform 0.15s ease, box-shadow 0.18s ease;
}

.eep-app-search-submit:hover {
  box-shadow: 0 14px 26px rgba(255, 94, 20, 0.28);
  transform: translateY(-1px);
}

.eep-app-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.eep-app-search-location {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  font-size: 0.92rem;
  padding: 11px 12px;
  outline: 0;
}

.eep-app-search-location::placeholder {
  color: #94a3b8;
}

.eep-app-search-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 12px;
  white-space: nowrap;
}

.eep-app-search-ai input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--eep-primary);
}

.eep-app-search-status {
  margin: 10px 20px 0;
  font-size: 0.83rem;
  color: #64748b;
  min-height: 20px;
}

.eep-app-search-status.is-error {
  color: #dc2626;
}

.eep-app-search-status.is-success {
  color: #047857;
}

.eep-app-search-status.is-info {
  color: #475569;
}

.eep-app-search-assistant {
  margin: 0 20px 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 94, 20, 0.25);
  background: rgba(255, 94, 20, 0.08);
  color: #9a3412;
  font-size: 0.83rem;
  font-weight: 700;
}

.eep-app-search-results {
  margin: 0 10px;
  padding: 2px 10px 10px;
  min-height: 96px;
  max-height: min(44vh, 480px);
  overflow: auto;
}

.eep-app-search-results-list {
  display: grid;
  gap: 10px;
}

.eep-app-search-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px;
  text-decoration: none;
}

.eep-app-search-result:hover {
  border-color: rgba(255, 94, 20, 0.3);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.11);
}

.eep-app-search-result-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eep-app-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eep-app-search-result-thumb-fallback {
  color: #334155;
  font-size: 1.02rem;
  font-weight: 800;
}

.eep-app-search-result-content {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.eep-app-search-result-title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}

.eep-app-search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eep-app-search-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fff;
}

.eep-app-search-badge.is-fit {
  border-color: rgba(255, 94, 20, 0.34);
  color: #9a3412;
  background: rgba(255, 94, 20, 0.12);
}

.eep-app-search-result-summary {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.38;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eep-app-search-footer {
  padding: 10px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eep-app-search-open-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a !important;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eep-app-search-open-all:hover {
  border-color: rgba(255, 94, 20, 0.36);
  color: var(--eep-primary) !important;
}

.eep-app-search-shortcut {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

a.is-nav-pending {
  opacity: 0.68;
  pointer-events: none;
}

.eep-page-transition-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 12090;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 180ms var(--eep-ease-out);
  isolation: isolate;
}

.eep-page-transition-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 50% -8%, rgba(255, 255, 255, 0.25), rgba(2, 6, 23, 0.44) 66%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.44), rgba(2, 6, 23, 0.62));
  backdrop-filter: blur(7px) saturate(1.03);
}

.eep-page-transition-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.eep-page-transition-center {
  position: relative;
  z-index: 2;
  min-width: min(86vw, 360px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 12% -10%, rgba(255, 255, 255, 0.2), rgba(15, 23, 42, 0.88) 62%),
    linear-gradient(135deg, rgba(11, 18, 33, 0.92), rgba(23, 33, 55, 0.9));
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.55);
  padding: 24px 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translate3d(0, 14px, 0) scale(0.965);
  opacity: 0;
  transition: transform 240ms var(--eep-ease-out), opacity 200ms var(--eep-ease-out);
}

.eep-page-transition-overlay.is-active .eep-page-transition-center {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.eep-page-transition-brand {
  font-size: clamp(1.08rem, 2.8vw, 1.3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #f8fafc;
  text-align: center;
}

.eep-page-transition-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.92);
  text-align: center;
}

.eep-page-transition-orb {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #ff5e14;
  border-right-color: rgba(255, 153, 94, 0.82);
  box-shadow: 0 0 0 6px rgba(255, 94, 20, 0.15);
  animation: eepPageTransitionSpin 760ms linear infinite;
}

.eep-page-transition-bar {
  position: absolute;
  bottom: clamp(18px, 5vh, 34px);
  left: 50%;
  height: 4px;
  width: min(44vw, 420px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 45, 0), rgba(255, 122, 45, 0.96), rgba(255, 94, 20, 1));
  box-shadow: 0 14px 28px rgba(255, 94, 20, 0.46);
  transform: translate3d(-50%, 0, 0);
  overflow: hidden;
  z-index: 3;
  opacity: 0.72;
}

.eep-page-transition-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate3d(-120%, 0, 0);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.eep-page-transition-overlay.is-active .eep-page-transition-bar::after {
  animation: eepPageTransitionBar 1.05s linear infinite;
}

@keyframes eepPageTransitionBar {
  0% {
    transform: translate3d(-120%, 0, 0);
  }
  100% {
    transform: translate3d(120%, 0, 0);
  }
}

@keyframes eepPageTransitionSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eep-page-shell-enter,
  .eep-page-shell-enter.is-entered,
  .eep-reveal,
  .eep-reveal.is-visible,
  .eep-app-surface,
  .eep-app-pressable,
  .eep-top-nav-shell,
  .eep-top-nav-inner,
  .eep-top-nav-mobile-drawer,
  .eep-app-search-overlay,
  .eep-app-search-backdrop,
  .eep-app-search-dialog,
  .eep-page-transition-overlay,
  .eep-page-transition-backdrop,
  .eep-page-transition-center,
  .eep-page-transition-orb,
  .eep-page-transition-bar,
  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel,
  .eep-compare-modal,
  .eep-confirm-dialog {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .eep-app-search-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .eep-app-search-dialog {
    width: 100%;
    max-height: min(88vh, 760px);
    border-radius: 20px;
  }

  .eep-app-search-head {
    padding: 14px 14px 8px;
  }

  .eep-app-search-form {
    padding: 0 14px;
  }

  .eep-app-search-controls {
    grid-template-columns: 1fr;
  }

  .eep-app-search-ai {
    width: fit-content;
  }

  .eep-app-search-status,
  .eep-app-search-assistant {
    margin-left: 14px;
    margin-right: 14px;
  }

  .eep-app-search-results {
    margin: 0 4px;
    padding: 2px 10px 8px;
    max-height: min(48vh, 380px);
  }

  .eep-app-search-result {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .eep-app-search-result-thumb {
    width: 52px;
    height: 52px;
  }

  .eep-app-search-footer {
    padding: 8px 14px 14px;
  }
}

/* --- Base Reset --- */
.eep-layout, .eep-card, .eep-form, .eep-submit-wrap, .eep-my-events-wrap, .eep-auth-grid, .eep-my-events, .eep-theme-shell, .eep-account-shell {
  font-family: var(--eep-font);
  font-size: var(--eep-font-size-base, 16px);
  color: var(--eep-text-main);
  line-height: 1.6;
  box-sizing: border-box;
}

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

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

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

/* --- Components: Buttons --- */
.eep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--eep-primary);
  color: #fff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--eep-radius);
  text-decoration: none;
  transition: var(--eep-trans);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: var(--eep-shadow-sm);
}

.eep-btn:hover {
  background: var(--eep-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--eep-shadow);
}

.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; }

.eep-btn:disabled, .eep-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* --- Layout: Clean Grid --- */
.eep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.eep-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eep-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }

/* --- Component: Modern Card (Clean) --- */
.eep-card {
  background: #fff;
  border: 1px solid var(--eep-border);
  border-radius: var(--eep-radius-lg);
  overflow: hidden;
  transition: var(--eep-trans);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.eep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--eep-shadow-lg);
  border-color: rgba(255, 94, 20, 0.35);
}

.eep-card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--eep-surface-alt);
}

.eep-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.eep-card:hover .eep-card-cover { transform: scale(1.05); }

.eep-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eep-card-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--eep-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.eep-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--eep-navy);
}
.eep-card-title a { color: inherit; }
.eep-card-title a:hover { color: var(--eep-primary); }

.eep-card-meta {
  font-size: 0.9rem;
  color: var(--eep-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

/* --- Sidebar Layout (Archive & Single) --- */
.eep-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.eep-layout-no-sidebar { grid-template-columns: 1fr; }

.eep-sidebar {
  position: sticky;
  top: 32px;
}

.eep-filter-box {
  background: #fff;
  border: 1px solid var(--eep-border);
  border-radius: var(--eep-radius);
  padding: 24px;
  margin-bottom: 24px;
}

/* --- Form Elements (scoped) --- */
.eep-form input[type="text"], .eep-form input[type="email"], .eep-form input[type="url"], .eep-form input[type="number"],
.eep-form input[type="date"], .eep-form input[type="datetime-local"], .eep-form input[type="password"],
.eep-form textarea, .eep-form select,
.eep-filter-form input[type="text"], .eep-filter-form input[type="email"], .eep-filter-form input[type="url"], .eep-filter-form input[type="number"],
.eep-filter-form input[type="date"], .eep-filter-form input[type="datetime-local"], .eep-filter-form input[type="password"],
.eep-filter-form textarea, .eep-filter-form select,
.eep-user-event-tools input[type="text"], .eep-user-event-tools input[type="email"], .eep-user-event-tools input[type="url"], .eep-user-event-tools input[type="number"],
.eep-user-event-tools input[type="date"], .eep-user-event-tools input[type="datetime-local"], .eep-user-event-tools input[type="password"],
.eep-user-event-tools textarea, .eep-user-event-tools select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid var(--eep-border);
  border-radius: var(--eep-radius);
  font-size: 1rem;
  color: var(--eep-navy);
  background: #f8fafc;
  transition: var(--eep-trans);
  margin-bottom: 20px;
}

.eep-form input:focus, .eep-form textarea:focus, .eep-form select:focus,
.eep-filter-form input:focus, .eep-filter-form textarea:focus, .eep-filter-form select:focus,
.eep-user-event-tools input:focus, .eep-user-event-tools textarea:focus, .eep-user-event-tools select:focus {
  outline: none;
  border-color: var(--eep-primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
  background: #fff;
}

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

.eep-help-text {
  font-size: 0.85rem;
  color: var(--eep-text-muted);
  margin-top: -12px;
  margin-bottom: 20px;
  display: block;
}

/* --- Custom Radio Pills --- */
.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(255, 87, 34, 0.2);
}

/* --- Single Event Page --- */
.eep-single-hero {
  position: relative;
  height: 400px;
  border-radius: var(--eep-radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--eep-navy);
}

.eep-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.eep-single-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
  color: #fff;
}

.eep-single-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.eep-single-meta {
  display: flex;
  gap: 24px;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

.eep-single-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
}

.eep-content-body {
  font-size: 1.1rem;
  color: var(--eep-text-main);
}

.eep-content-body p { margin-bottom: 24px; }

/* Youtube Embed */
.eep-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--eep-radius-lg);
  background: #000;
  margin-bottom: 32px;
}
.eep-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Sidebar Info Box */
.eep-info-box {
  background: #fff;
  border: 1px solid var(--eep-border);
  border-radius: var(--eep-radius-lg);
  padding: 32px;
  position: sticky;
  top: 32px;
  box-shadow: var(--eep-shadow-lg);
}

.eep-info-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--eep-border);
}
.eep-info-row:last-child { border: none; margin: 0; padding: 0; }

.eep-info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--eep-text-muted);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.eep-info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--eep-navy);
}

/* --- Submit Form --- */
.eep-submit-nav {
  background: #fff;
  border-radius: var(--eep-radius);
  border: 1px solid var(--eep-border);
  overflow: hidden;
}

.eep-submit-nav a {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--eep-border);
  color: var(--eep-text-muted);
}
.eep-submit-nav a:last-child { border: none; }
.eep-submit-nav a.active, .eep-submit-nav a:hover {
  background: var(--eep-surface-alt);
  color: var(--eep-primary);
  border-left: 3px solid var(--eep-primary);
}

.eep-form-section {
  background: #fff;
  border: 1px solid var(--eep-border);
  border-radius: var(--eep-radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--eep-shadow-sm);
}

/* File Upload */
.eep-dropzone {
  border: 2px dashed var(--eep-border);
  border-radius: var(--eep-radius);
  padding: 48px;
  text-align: center;
  background: var(--eep-surface-alt);
  cursor: pointer;
  transition: var(--eep-trans);
}
.eep-dropzone:hover {
  border-color: var(--eep-primary);
  background: #fff;
}

/* Map */
.eep-map {
  width: 100%;
  height: 300px;
  border-radius: var(--eep-radius);
  overflow: hidden;
  background: #e2e8f0;
}

/* --- Mobile --- */
@media (max-width: 1024px) {
  .eep-layout, .eep-single-layout, .eep-submit-wrap {
    grid-template-columns: 1fr;
  }
  .eep-single-hero { height: 300px; }
  .eep-single-title { font-size: 2.5rem; }
  .eep-grid, .eep-grid-2, .eep-grid-3 { grid-template-columns: 1fr; }
}

/* --- Utilities --- */
.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-toast {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease;
}
.eep-toast:not(.eep-toast-hide) { opacity: 1; transform: translateY(0); }
.eep-toast.eep-toast-hide { opacity: 0; transform: translateY(10px); }

/* =========================
   Submit/Event Overrides
   ========================= */

.eep-submit-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.eep-submit-no-nav {
  grid-template-columns: 1fr;
}

.eep-submit-nav {
  position: sticky;
  top: 20px;
  border: 1px solid var(--eep-border);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  overflow: hidden;
}

.eep-submit-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.eep-submit-nav a:last-child {
  margin-bottom: 0;
}

.eep-submit-nav a.active,
.eep-submit-nav a:hover {
  background: #fff4ef;
  color: var(--eep-primary);
  border-left: 3px solid var(--eep-primary);
}

.eep-submit-form {
  border: 1px solid var(--eep-border);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.eep-form-section {
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--eep-border);
  border-radius: 12px;
  background: #fff;
}

.eep-form-section h3 {
  margin-bottom: 14px;
}

.eep-help-text {
  display: block;
  color: var(--eep-text-muted);
  font-size: 0.86rem;
  margin-top: -4px;
  margin-bottom: 12px;
}

.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;
}

.eep-checkbox-row label {
  margin: 0;
  font-size: 0.92rem;
  text-transform: none;
}

.eep-inline-date-card {
  border: 1px solid var(--eep-border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fafcfe;
}

.eep-submit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.eep-recaptcha-v2-slot {
  margin: 8px 0 14px;
  min-height: 78px;
}

.eep-recaptcha-v3-hint {
  margin: 6px 0 10px;
  font-size: 0.78rem;
  color: var(--eep-text-muted);
}

.eep-dropzone {
  border: 2px dashed #f2c3ae;
  background: #fffaf7;
  border-radius: 12px;
  padding: 22px;
}

.eep-upload-preview {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
}

.eep-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.eep-gallery > div {
  position: relative;
}

.eep-gallery > div img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.eep-mini-map {
  min-height: 220px;
  border: 1px solid var(--eep-border);
  border-radius: 10px;
}

.eep-validation-error {
  color: #b91c1c;
  font-size: 0.84rem;
}

.eep-validation-warning {
  color: #b45309;
  font-size: 0.84rem;
}

.eep-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.eep-archive-results.eep-loading {
  opacity: 0.58;
  pointer-events: none;
}

.eep-empty-state {
  border: 1px dashed var(--eep-border);
  border-radius: 12px;
  padding: 28px;
}

.eep-empty-state h4 {
  margin-bottom: 8px;
}

.eep-event-shell {
  display: grid;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.eep-event-hero {
  border-radius: 20px;
  min-height: 420px;
  background: linear-gradient(135deg, #122235, #1f3f63);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--eep-shadow-lg);
}

.eep-event-hero-has-image {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.eep-event-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 22, 0.2), rgba(6, 13, 22, 0.8));
}

.eep-event-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  padding: clamp(24px, 5vw, 56px);
  color: #fff;
}

.eep-event-hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffd8c9;
}

.eep-event-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.08;
}

.eep-event-hero-meta {
  margin: 12px 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.eep-event-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.eep-event-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
}

.eep-event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eep-event-hero-actions .eep-btn-secondary {
  background: rgba(255, 255, 255, 0.9);
}

.eep-event-layout-modern {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.eep-event-main,
.eep-event-aside {
  display: grid;
  gap: 16px;
}

.eep-event-aside {
  position: sticky;
  top: 18px;
  align-content: start;
}

.eep-event-shell .eep-event-section {
  border: 1px solid var(--eep-border);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--eep-shadow-sm);
}

.eep-event-shell .eep-event-section h3 {
  margin-bottom: 12px;
}

.eep-event-overview .eep-event-body {
  margin: 18px 0 6px;
  line-height: 1.72;
  color: var(--eep-text-main);
}

.eep-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.eep-fact-card {
  border: 1px solid var(--eep-border);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.eep-fact-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eep-text-muted);
  margin-bottom: 4px;
}

.eep-fact-value {
  color: var(--eep-navy);
  font-size: 0.96rem;
  line-height: 1.35;
}

.eep-event-details-list {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.eep-detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--eep-border);
}

.eep-detail-row:last-child {
  border-bottom: 0;
}

.eep-detail-row dt {
  color: var(--eep-text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.eep-detail-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--eep-navy);
  overflow-wrap: anywhere;
}

.eep-detail-row dd a {
  color: var(--eep-primary);
}

.eep-event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.eep-gallery-item {
  border: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  grid-column: span 4;
}

.eep-gallery-item.is-featured {
  grid-column: span 8;
  grid-row: span 2;
}

.eep-gallery-item img {
  width: 100%;
  min-height: 140px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eep-video-grid {
  display: grid;
  gap: 14px;
}

.eep-video iframe,
.eep-video video {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}

.eep-organizer-name {
  font-weight: 700;
  margin: 0 0 6px;
}

.eep-event-aside .eep-actions {
  display: grid;
  gap: 8px;
}

.eep-event-aside .eep-btn {
  width: 100%;
}

.eep-date-list {
  display: grid;
  gap: 8px;
}

.eep-date-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--eep-border);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfdff;
}

.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;
}

.eep-lightbox img {
  max-width: min(1180px, 92vw);
  max-height: 86vh;
  border-radius: 10px;
  object-fit: contain;
}

body.eep-lightbox-open {
  overflow: hidden;
}

.eep-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  font-size: 28px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

.eep-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  font-size: 28px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

.eep-lightbox-nav-prev {
  left: 20px;
}

.eep-lightbox-nav-next {
  right: 20px;
}

@media (max-width: 1024px) {
  .eep-submit-wrap,
  .eep-layout,
  .eep-event-layout-modern {
    grid-template-columns: 1fr;
  }

  .eep-submit-nav {
    position: static;
  }

  .eep-event-aside {
    position: static;
  }

  .eep-event-hero-has-image {
    background-attachment: scroll;
  }

  .eep-event-hero {
    min-height: 340px;
    border-radius: 16px;
  }

  .eep-gallery-item,
  .eep-gallery-item.is-featured {
    grid-column: span 12;
  }

  .eep-event-details-list {
    grid-template-columns: 1fr;
  }

  .eep-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* =========================
   nexdirectory Design System
   ========================= */

.eep-theme-shell,
.eep-layout,
.eep-submit-wrap,
.eep-auth-grid,
.eep-my-events,
.eep-form {
  font-family: var(--eep-font);
}

.eep-page-banner {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(22px, 4vw, 42px);
  margin: 0 0 22px;
  background: radial-gradient(circle at top right, rgba(255, 94, 20, 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::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -44px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.eep-page-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.74);
}

.eep-page-banner h1 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.eep-page-banner h2,
.eep-page-banner h3,
.eep-page-banner h4,
.eep-page-banner a {
  color: #fff !important;
}

.eep-page-banner p {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.eep-breadcrumbs {
  max-width: 1220px;
  margin: 0 auto 12px;
  padding: 0 14px;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.eep-breadcrumbs a {
  color: #475569;
  text-decoration: none;
}

.eep-breadcrumbs a:hover {
  color: var(--eep-primary);
  text-decoration: underline;
}

.eep-breadcrumbs .is-current {
  color: #0f172a;
  font-weight: 600;
}

.eep-breadcrumbs .eep-breadcrumb-sep {
  color: #94a3b8;
}

.eep-event-page .eep-event-hero-title,
.eep-event-page .eep-event-hero-subtitle,
.eep-event-page .eep-event-hero-kicker {
  color: #ffffff !important;
}

.eep-layout,
.eep-submit-wrap {
  gap: 30px;
}

.eep-sidebar,
.eep-submit-form,
.eep-event-shell .eep-event-section,
.eep-my-events,
.eep-auth-grid .eep-form {
  border-radius: 24px;
}

.eep-event-shell {
  gap: 22px;
}

.eep-event-hero {
  min-height: min(62vh, 620px);
  border-radius: 0 0 32px 32px;
}

.eep-event-hero-overlay {
  max-width: 980px;
}

.eep-event-hero-title {
  font-family: var(--eep-font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.eep-event-hero-chips {
  margin-bottom: 18px;
}

.eep-event-chip {
  font-family: var(--eep-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(11, 18, 33, 0.55);
}

.eep-event-layout-modern {
  gap: 28px;
}

.eep-event-overview h3,
.eep-event-section h3 {
  position: relative;
  padding-left: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.eep-event-overview h3::before,
.eep-event-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 1.4em;
  border-radius: 999px;
  background: var(--eep-primary);
}

.eep-fact-grid {
  gap: 12px;
}

.eep-fact-card {
  border-radius: 16px;
  border-color: #eceff3;
  box-shadow: var(--eep-shadow-sm);
}

.eep-fact-value {
  font-family: var(--eep-font-display);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.eep-event-details-list {
  gap: 0 26px;
}

.eep-detail-row {
  padding: 11px 0;
}

.eep-event-timeline .eep-date-list {
  position: relative;
  margin: 2px 0 0 10px;
  padding-left: 26px;
  border-left: 2px solid #e5e7eb;
}

.eep-event-timeline .eep-date-item {
  position: relative;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 0 18px;
}

.eep-event-timeline .eep-date-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--eep-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #dbe0e7;
}

.eep-event-timeline .eep-date-item:last-child {
  padding-bottom: 4px;
}

.eep-event-cta-card {
  background: linear-gradient(140deg, var(--eep-primary), var(--eep-primary-hover));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 20px 42px rgba(255, 94, 20, 0.28);
}

.eep-event-cta-card h3,
.eep-event-cta-card .eep-cta-text,
.eep-event-cta-card .eep-cta-status,
.eep-event-cta-card .eep-cta-status span,
.eep-event-cta-card .eep-cta-status strong {
  color: #fff;
}

.eep-event-cta-card h3::before {
  background: rgba(255, 255, 255, 0.82);
}

.eep-cta-text {
  margin: 8px 0 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.eep-cta-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.eep-cta-status span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eep-cta-status strong {
  font-family: var(--eep-font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.eep-event-cta-card .eep-actions {
  display: grid;
  gap: 9px;
}

.eep-event-cta-card .eep-btn {
  border-radius: 12px;
  width: 100%;
  font-family: var(--eep-font-display);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.eep-event-cta-card .eep-btn {
  background: var(--eep-navy);
}

.eep-event-cta-card .eep-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff !important;
}

.eep-event-cta-card .eep-event-share {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.eep-event-cta-card .eep-event-share-label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.eep-event-cta-card .eep-event-share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eep-event-cta-card .eep-share-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(9, 21, 43, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  padding: 0;
}

.eep-event-cta-card .eep-share-icon:hover,
.eep-event-cta-card .eep-share-icon:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  transform: translateY(-1px);
}

.eep-event-cta-card .eep-share-icon:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.eep-event-cta-card .eep-share-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.eep-event-aside .eep-event-section:not(.eep-event-cta-card) {
  background: #fff;
}

.eep-gallery-item,
.eep-video iframe {
  border-radius: 18px;
}

.eep-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--eep-border);
  border-radius: 18px;
  background: #fff;
}

.eep-table-wrap table th {
  font-family: var(--eep-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  background: #f7f8fb;
}

.eep-table-wrap table td,
.eep-table-wrap table th {
  border-bottom: 1px solid #eef1f5;
}

.eep-form input,
.eep-form select,
.eep-form textarea {
  border-radius: 12px;
}

.eep-auth-grid .eep-form,
.eep-my-events,
.eep-form {
  box-shadow: var(--eep-shadow-sm);
}

@media (max-width: 1024px) {
  .eep-page-banner {
    border-radius: 24px;
  }

  .eep-page-banner h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .eep-event-hero {
    min-height: 420px;
    border-radius: 0 0 22px 22px;
  }
}

/* =========================
   Single Event Pixel Pass
   ========================= */

.eep-event-page {
  max-width: 1360px;
  margin: 0 auto 56px;
}

.eep-single-template-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

.eep-event-page .eep-event-hero {
  min-height: clamp(460px, 62vh, 680px);
  border-radius: 0 0 34px 34px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eep-event-page .eep-event-hero::before {
  background: linear-gradient(180deg, rgba(11, 18, 33, 0.35), rgba(11, 18, 33, 0.72));
}

.eep-event-page .eep-event-hero-overlay {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 8vw, 88px) 24px;
}

.eep-event-page .eep-event-hero-title {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  letter-spacing: 0;
  margin-bottom: 12px;
}

.eep-event-page .eep-event-hero-subtitle {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.6;
  font-weight: 400;
}

.eep-event-page .eep-event-hero-info-cards {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  justify-content: center;
}

.eep-event-page .eep-hero-info-card {
  min-width: 200px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 11px 16px;
  text-align: left;
}

.eep-event-page .eep-hero-info-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.74);
}

.eep-event-page .eep-hero-info-card strong {
  font-family: var(--eep-font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #fff;
}

.eep-event-page .eep-event-hero-chips {
  justify-content: center;
  margin-bottom: 0;
}

.eep-event-page .eep-event-chip {
  background: rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.26);
  font-size: 0.72rem;
}

.eep-event-page .eep-event-layout-modern {
  max-width: 1240px;
  margin: 30px auto 0;
  padding: 0 18px;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
}

.eep-event-page .eep-event-main,
.eep-event-page .eep-event-aside {
  gap: 24px;
}

.eep-event-page .eep-event-shell .eep-event-section,
.eep-event-page .eep-event-section {
  border-radius: 28px;
  border: 1px solid #ebedf2;
  box-shadow: 0 12px 36px rgba(11, 18, 33, 0.06);
  padding: clamp(20px, 2.3vw, 30px);
}

.eep-event-page .eep-event-overview h3,
.eep-event-page .eep-event-section h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  letter-spacing: 0.015em;
  margin-bottom: 18px;
}

.eep-event-page .eep-event-overview h3::before,
.eep-event-page .eep-event-section h3::before {
  top: 8px;
  width: 5px;
  height: 1.25em;
}

.eep-event-page .eep-fact-grid-modern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eep-event-page .eep-fact-card {
  border-radius: 16px;
  background: #f9fafc;
  box-shadow: none;
}

.eep-event-page .eep-fact-value {
  font-size: 1rem;
}

.eep-event-page .eep-event-body {
  margin-top: 18px;
}

.eep-event-page .eep-event-body p {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.75;
}

.eep-event-page .eep-event-details-list-modern {
  margin-top: 18px;
  border-top: 1px solid #edf0f5;
  padding-top: 8px;
}

.eep-event-page .eep-detail-row {
  padding: 10px 0;
}

.eep-event-page .eep-event-timeline .eep-date-list {
  margin-left: 10px;
}

.eep-event-page .eep-date-item-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}

.eep-event-page .eep-date-item h4 {
  margin: 0;
  color: var(--eep-navy);
  font-size: 1.24rem;
}

.eep-event-page .eep-date-item span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--eep-primary);
  background: #fff2ec;
  border-radius: 999px;
  padding: 4px 10px;
}

.eep-event-page .eep-date-item p {
  margin: 10px 0 0;
  color: #64748b;
}

.eep-event-page .eep-event-gallery-grid {
  gap: 14px;
}

.eep-event-page .eep-gallery-item {
  border-radius: 24px;
  min-height: 170px;
  grid-column: span 4;
  box-shadow: var(--eep-shadow-sm);
}

.eep-event-page .eep-gallery-item.is-featured {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 360px;
}

.eep-event-page .eep-gallery-item:not(.is-featured) {
  grid-column: span 5;
}

.eep-event-page .eep-gallery-item img {
  transition: transform 0.48s ease;
}

.eep-event-page .eep-gallery-item:hover img {
  transform: scale(1.05);
}

.eep-event-page .eep-video-grid-modern {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.eep-event-page .eep-video-card {
  position: relative;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  color: #fff;
  padding: 0;
  min-height: 220px;
  cursor: pointer;
  box-shadow: var(--eep-shadow-sm);
}

.eep-event-page .eep-video-card.is-featured {
  grid-column: 1 / -1;
  min-height: 330px;
}

.eep-event-page .eep-video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 33, 0.1), rgba(11, 18, 33, 0.72));
}

.eep-event-page .eep-video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.eep-event-page .eep-video-card:hover img {
  transform: scale(1.06);
}

.eep-event-page .eep-video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--eep-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 0 0 rgba(255, 94, 20, 0.48);
  animation: eepPulse 2s infinite;
}

.eep-event-page .eep-video-title {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 16px;
  right: 16px;
  font-family: var(--eep-font-display);
  text-transform: uppercase;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.eep-event-page .eep-event-location-box {
  border: 1px solid #e6eaf0;
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(180deg, #f9fbff, #f4f7fb);
}

.eep-event-page .eep-location-venue {
  margin: 0 0 5px;
  font-family: var(--eep-font-display);
  font-size: 1.4rem;
  color: var(--eep-navy);
}

.eep-event-page .eep-location-address {
  margin: 0 0 12px;
  color: #475569;
}

.eep-event-page .eep-event-aside {
  position: sticky;
  top: 22px;
}

.eep-event-page .eep-event-cta-card {
  background: linear-gradient(145deg, #ff6a26, #e14e10);
  border: 0;
  box-shadow: 0 24px 48px rgba(255, 94, 20, 0.3);
}

.eep-event-page .eep-event-cta-card .eep-meta {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

.eep-event-page .eep-event-cta-card .eep-form {
  margin-bottom: 0;
}

.eep-event-page .eep-event-cta-card .eep-btn {
  font-size: 0.93rem;
  min-height: 46px;
}

.eep-event-page .eep-organizer-card .eep-mini-heading {
  margin: 14px 0 10px;
  font-family: var(--eep-font-display);
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #64748b;
}

.eep-event-page .eep-contact-form-modern input,
.eep-event-page .eep-contact-form-modern textarea {
  background: #f8fafc;
  border: 1px solid #e7ebf0;
}

.eep-event-page .eep-contact-form-modern .eep-btn-secondary {
  background: #eceff4;
  border-color: #dbe0e7;
}

.eep-event-page .eep-contact-meta {
  border-top: 1px solid #edf1f5;
  padding-top: 10px;
}

.eep-event-page .eep-contact-meta p {
  margin: 6px 0;
}

.eep-video-lightbox .eep-video-lightbox-frame {
  width: min(1120px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  background: #000;
}

.eep-video-lightbox iframe {
  width: 100%;
  height: 100%;
}

@keyframes eepPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 94, 20, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 94, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 94, 20, 0);
  }
}

@media (max-width: 1160px) {
  .eep-event-page .eep-event-layout-modern {
    grid-template-columns: 1fr;
  }

  .eep-event-page .eep-event-aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .eep-event-page .eep-event-hero {
    min-height: 420px;
    border-radius: 0 0 24px 24px;
  }

  .eep-event-page .eep-event-layout-modern {
    margin-top: 20px;
    padding: 0 12px;
    gap: 18px;
  }

  .eep-event-page .eep-fact-grid-modern {
    grid-template-columns: 1fr;
  }

  .eep-event-page .eep-event-details-list-modern {
    grid-template-columns: 1fr;
  }

  .eep-event-page .eep-gallery-item,
  .eep-event-page .eep-gallery-item.is-featured,
  .eep-event-page .eep-gallery-item:not(.is-featured) {
    grid-column: span 12;
    min-height: 210px;
  }

  .eep-event-page .eep-video-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Modern Dashboard Overrides (Directory V2 Alignment)
========================================================== */

.eep-directory-submit-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.eep-directory-submit-rail {
    position: sticky;
    top: 22px;
    align-self: start;
    display: grid;
    gap: 16px;
    height: max-content;
}
.eep-directory-submit-main { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.eep-directory-submit-rail-card { 
    border-radius: 24px; 
    box-shadow: var(--eep-shadow); 
    border: 1px solid var(--eep-border); 
    background: #fff; 
    padding: 24px; 
}

.eep-directory-submit-tabs { 
    border-radius: 999px; 
    box-shadow: var(--eep-shadow); 
    border: 1px solid var(--eep-border); 
    background: #fff; 
    padding: 8px; 
    margin-bottom: 0; 
    display: flex; 
    gap: 8px; 
    overflow-x: auto; 
}
.eep-directory-tab { 
    padding: 12px 20px; 
    font-weight: 700; 
    font-size: 0.9rem; 
    border-radius: 999px; 
    transition: all 0.2s; 
    color: var(--eep-text-muted); 
    background: transparent; 
    border: none; 
}
.eep-directory-tab.is-active { 
    background: #FFF0E9; 
    color: var(--eep-primary); 
}

.eep-directory-submit-form { 
    border-radius: 24px; 
    box-shadow: var(--eep-shadow); 
    border: 1px solid var(--eep-border); 
    background: #fff; 
    padding: 32px; 
}

.eep-directory-dashboard-panel { 
    border: none; 
    box-shadow: none; 
    padding: 0; 
    margin-bottom: 0; 
    background: transparent; 
}

.eep-directory-submit-form input[type="text"], 
.eep-directory-submit-form input[type="url"], 
.eep-directory-submit-form input[type="email"], 
.eep-directory-submit-form input[type="number"], 
.eep-directory-submit-form textarea, 
.eep-directory-submit-form select { 
    border-radius: 12px; 
    border: 1px solid var(--eep-border); 
    background: #f8fafc; 
    padding: 12px 16px; 
    transition: all 0.2s;
}
.eep-directory-submit-form input:focus, 
.eep-directory-submit-form textarea:focus, 
.eep-directory-submit-form select:focus { 
    border-color: var(--eep-primary); 
    box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.1); 
    background: #fff; 
}

/* Keep floating labels clear from entered values across the submit form. */
.eep-directory-submit-form input.peer[type="text"],
.eep-directory-submit-form input.peer[type="url"],
.eep-directory-submit-form input.peer[type="email"],
.eep-directory-submit-form input.peer[type="number"],
.eep-directory-submit-form textarea.peer {
    padding-top: 1.55rem;
    padding-bottom: 0.65rem;
    line-height: 1.35;
}

.eep-directory-submit-form input.peer:placeholder-shown + label,
.eep-directory-submit-form textarea.peer:placeholder-shown + label {
    top: 0.9rem;
    font-size: 0.95rem;
}

.eep-directory-submit-form input.peer:focus + label,
.eep-directory-submit-form textarea.peer:focus + label,
.eep-directory-submit-form input.peer:not(:placeholder-shown) + label,
.eep-directory-submit-form textarea.peer:not(:placeholder-shown) + label {
    top: 0.45rem;
    font-size: 0.72rem;
}

.eep-directory-submit-form .eep-dropzone { 
    border-radius: 20px; 
    background: #f8fafc; 
    border: 2px dashed #cbd5e1; 
    padding: 40px 24px; 
    transition: all 0.2s; 
}
.eep-directory-submit-form .eep-dropzone:hover { 
    border-color: var(--eep-primary); 
    background: #fff0e9; 
}

@media (max-width: 1080px) {
  .eep-directory-submit-dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .eep-directory-submit-rail {
    position: static;
    top: auto;
  }
}

.eep-directory-submit-actions .eep-btn {
    border-radius: 16px;
}

.eep-directory-certifications {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.eep-directory-cert-group {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.eep-directory-cert-group legend {
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.eep-directory-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 10px;
}

.eep-directory-cert-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}

.eep-directory-cert-item:hover {
  border-color: rgba(255, 94, 20, 0.24);
  background: #fff7f2;
}

.eep-directory-cert-item input[type="checkbox"] {
  margin-top: 2px;
}

.eep-directory-cert-item span {
  font-size: 0.88rem;
  line-height: 1.35;
}

.eep-directory-doc-upload input[type="file"] {
  margin: 0 0 10px;
}

.eep-directory-existing-docs {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.eep-directory-existing-docs strong {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.eep-directory-existing-doc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.eep-directory-existing-doc-item input[type="checkbox"] {
  margin: 0;
}

.eep-directory-existing-doc-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.eep-directory-existing-doc-item a {
  color: var(--eep-primary);
  font-weight: 700;
  text-decoration: none !important;
}

.eep-directory-repeater {
  display: grid;
  gap: 10px;
}

.eep-directory-repeater-rows {
  display: grid;
  gap: 10px;
}

.eep-directory-repeater-row {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.eep-directory-repeater-row .eep-btn-sm {
  justify-self: start;
}

.eep-directory-owner-actions {
  margin: 10px 0 0;
}

.eep-directory-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.eep-directory-edit-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}

/* =========================
   Account Inbox
========================================================== */

.eep-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.eep-account-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 172px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--eep-border);
  background: #fff;
  color: var(--eep-navy) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
}

.eep-account-tabs a.is-active {
  background: var(--eep-primary);
  border-color: var(--eep-primary);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(255, 94, 20, 0.22);
}

.eep-account-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.eep-account-tabs a.is-active .eep-account-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.eep-auth-account-type {
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--eep-border);
  border-radius: 12px;
  background: #f8fafc;
}

.eep-auth-account-type legend {
  padding: 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.eep-auth-account-type-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 10px;
  padding: 8px 8px 8px 6px;
  border-radius: 10px;
  cursor: pointer;
}

.eep-auth-account-type-option:last-child {
  margin-bottom: 0;
}

.eep-auth-account-type-option:hover {
  background: #eef2ff;
}

.eep-auth-account-type-option strong {
  display: block;
  font-size: 0.93rem;
  color: #0f172a;
}

.eep-auth-account-type-option small {
  display: block;
  color: #64748b;
  line-height: 1.35;
}

.eep-compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--eep-border);
  background: #f8fafc;
}

.eep-compare-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eep-compare-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.eep-compare-panel {
  margin: 0 0 14px;
  border: 1px solid var(--eep-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--eep-shadow-sm);
  padding: 14px;
}

.eep-compare-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eep-compare-panel-head h4 {
  margin: 0;
}

.eep-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.eep-compare-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.eep-compare-card h5 {
  margin: 0;
  font-size: 0.96rem;
}

.eep-compare-card dl {
  margin: 0;
  display: grid;
  gap: 6px;
}

.eep-compare-card dl div {
  display: grid;
  gap: 2px;
}

.eep-compare-card dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.eep-compare-card dd {
  margin: 0;
  color: #0f172a;
  font-weight: 600;
}

.eep-compare-add-btn {
  transition: all .2s ease;
}

.eep-compare-add-btn.is-active {
  border-color: rgba(255, 94, 20, .45);
  background: #fff0e9;
  color: #ff5e14 !important;
}

.eep-compare-tray {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 130;
  width: min(980px, calc(100vw - 24px));
}

.eep-compare-tray-inner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(132deg, #ffffff 0%, #f8fbff 48%, #fffaf6 100%);
  box-shadow: 0 28px 62px -34px rgba(15, 23, 42, 0.55);
  padding: 16px 16px 14px;
  color: #0f172a;
}

.eep-compare-tray-inner::before {
  content: '';
  position: absolute;
  right: -90px;
  top: -110px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 94, 20, 0.2) 0%, rgba(255, 94, 20, 0) 72%);
  pointer-events: none;
}

.eep-compare-tray-inner::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -130px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 74%);
  pointer-events: none;
}

.eep-compare-tray-head,
.eep-compare-tray-list,
.eep-compare-tray-actions {
  position: relative;
  z-index: 1;
}

.eep-compare-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.eep-compare-tray-head strong {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #0f172a;
}

.eep-compare-tray-count {
  font-size: .82rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255, 94, 20, 0.26);
  background: rgba(255, 94, 20, 0.1);
  color: #b45309;
  padding: 6px 11px;
}

.eep-compare-tray-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eep-compare-tray-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 8px 6px 12px;
  color: #0f172a;
  font-size: .9rem;
  font-weight: 600;
  max-width: min(340px, 100%);
  box-shadow: 0 8px 18px -16px rgba(15, 23, 42, 0.55);
}

.eep-compare-tray-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eep-compare-tray-chip button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}

.eep-compare-tray-chip button:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.eep-compare-tray-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.eep-compare-tray-actions .eep-btn {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 22px;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 10px 22px -18px rgba(15, 23, 42, 0.45);
}

.eep-compare-tray-actions .eep-btn:hover {
  border-color: rgba(255, 94, 20, 0.4) !important;
  color: #ea580c !important;
  background: #fff8f4 !important;
}

.eep-compare-tray-actions [data-eep-business-compare-open] {
  background: linear-gradient(120deg, #0f172a 0%, #1e293b 100%) !important;
  border-color: rgba(15, 23, 42, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.8) !important;
}

.eep-compare-tray-actions [data-eep-business-compare-open]:hover {
  background: linear-gradient(120deg, #ff5e14 0%, #f97316 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.eep-compare-tray-actions [data-eep-business-compare-clear] {
  border-color: rgba(239, 68, 68, 0.22) !important;
  color: #b91c1c !important;
  background: #fff7f7 !important;
}

.eep-compare-tray-actions [data-eep-business-compare-clear]:hover {
  border-color: rgba(239, 68, 68, 0.35) !important;
  background: #fee2e2 !important;
  color: #991b1b !important;
}

body.eep-compare-open {
  overflow: hidden;
}

.eep-compare-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 24px 18px;
  background: rgba(2, 8, 23, .62);
  backdrop-filter: blur(2px);
}

.eep-compare-modal {
  width: min(1180px, 100%);
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 30px 80px rgba(2, 8, 23, .28);
  overflow: hidden;
}

.eep-compare-modal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(95deg, #f8fbff 0%, #fff7f2 100%);
}

.eep-compare-modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f172a;
}

.eep-compare-modal-head p {
  margin: 4px 0 0;
  color: #475569;
  font-size: .92rem;
}

.eep-compare-modal-head-actions {
  display: flex;
  gap: 8px;
}

.eep-compare-priority-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
}

.eep-compare-priority-btn {
  border: 1px solid #d0d9e6;
  background: #fff;
  color: #1e293b;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}

.eep-compare-priority-btn:hover {
  border-color: #ffb28f;
  color: #ea580c;
}

.eep-compare-priority-btn.is-active {
  border-color: rgba(255, 94, 20, .35);
  background: #fff1e9;
  color: #c2410c;
}

.eep-compare-modal-body {
  padding: 18px 20px 22px;
  display: grid;
  gap: 16px;
}

.eep-compare-empty,
.eep-compare-loading {
  margin: 2px 0;
  border-radius: 14px;
  border: 1px dashed #d8e3ef;
  background: #f8fbff;
  padding: 14px 16px;
  color: #475569;
  font-weight: 600;
}

.eep-compare-recommendation {
  border: 1px solid #fde2d3;
  background: linear-gradient(130deg, #fff7f2 0%, #fff 100%);
  border-radius: 16px;
  padding: 14px 16px;
}

.eep-compare-recommendation-kicker {
  margin: 0 0 2px;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #9a3412;
  font-weight: 800;
}

.eep-compare-recommendation h4 {
  margin: 0;
  color: #0f172a;
}

.eep-compare-recommendation-score {
  margin: 4px 0 8px;
  color: #1e293b;
  font-weight: 700;
}

.eep-compare-recommendation ul {
  margin: 0;
  padding-left: 16px;
  color: #334155;
}

.eep-compare-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.eep-compare-result-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.eep-compare-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.eep-compare-result-head h4 {
  margin: 0;
  font-size: .96rem;
  color: #0f172a;
}

.eep-compare-score-badge {
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  padding: 3px 9px;
}

.eep-compare-result-subtitle {
  margin: 0;
  color: #64748b;
  font-size: .82rem;
}

.eep-compare-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.eep-compare-result-actions .eep-btn {
  flex: 1;
  justify-content: center;
}

.eep-compare-matrix-wrap {
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.eep-compare-matrix {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 660px;
  width: 100%;
}

.eep-compare-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fbff;
}

.eep-compare-matrix th,
.eep-compare-matrix td {
  border-bottom: 1px solid #edf2f7;
  padding: 10px 12px;
  text-align: left;
  font-size: .84rem;
}

.eep-compare-matrix tbody th {
  background: #fbfdff;
  color: #334155;
  font-weight: 800;
}

.eep-compare-matrix td {
  color: #0f172a;
}

.eep-compare-matrix td.is-best {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 800;
}

@media (max-width: 900px) {
  .eep-compare-tray {
    bottom: 10px;
    width: calc(100vw - 16px);
  }

  .eep-compare-tray-inner {
    padding: 12px;
  }

  .eep-compare-tray-head strong {
    font-size: 0.95rem;
  }

  .eep-compare-tray-chip {
    font-size: 0.84rem;
  }

  .eep-compare-tray-actions .eep-btn {
    flex: 1 1 170px;
    min-height: 44px;
    border-radius: 12px;
    padding: 0 14px;
  }

  .eep-compare-overlay {
    padding: 8px;
    align-items: flex-start;
  }

  .eep-compare-modal {
    border-radius: 14px;
  }

  .eep-compare-modal-head,
  .eep-compare-priority-bar,
  .eep-compare-modal-body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .eep-compare-modal-head-actions {
    width: 100%;
  }

  .eep-compare-modal-head-actions .eep-btn {
    flex: 1;
    justify-content: center;
  }

  .eep-compare-result-actions .eep-btn {
    flex-basis: 100%;
  }
}

.eep-account-inbox-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.eep-account-inbox-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.eep-account-inbox-search input[type="text"] {
  margin: 0;
}

.eep-account-inbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.eep-account-inbox-filters a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--eep-border);
  background: #fff;
  color: var(--eep-text-main) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
}

.eep-account-inbox-filters a.is-active {
  background: #fff0e9;
  border-color: rgba(255, 94, 20, 0.28);
  color: var(--eep-primary) !important;
}

.eep-account-inbox-list {
  display: grid;
  gap: 14px;
}

.eep-account-message-card {
  border: 1px solid var(--eep-border);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.eep-account-message-card.is-unread {
  border-color: rgba(255, 94, 20, 0.35);
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 48%);
}

.eep-account-message-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.eep-account-message-head h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.eep-account-message-date {
  font-size: 0.8rem;
  color: var(--eep-text-muted);
  white-space: nowrap;
}

.eep-account-message-body {
  margin-top: 10px;
  color: var(--eep-text-main);
  line-height: 1.65;
}

.eep-account-message-attachment {
  margin: 10px 0 0;
}

.eep-account-message-response {
  margin-top: 12px;
  border: 1px solid #fde5d8;
  border-radius: 14px;
  background: #fff6f1;
  padding: 12px;
}

.eep-account-message-response h5 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  color: var(--eep-navy);
}

.eep-account-reply-form {
  margin-top: 12px;
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
}

.eep-account-reply-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--eep-text-muted);
}

.eep-account-reply-form textarea {
  margin: 0 0 8px;
  width: 100%;
  min-height: 88px;
}

.eep-account-message-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eep-account-inbox-pagination {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eep-account-inbox-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--eep-border);
  background: #fff;
  color: var(--eep-text-main) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.eep-account-inbox-pagination a.is-active {
  background: var(--eep-primary);
  border-color: var(--eep-primary);
  color: #fff !important;
}

.eep-account-empty {
  border: 1px dashed #d9e2ec;
  border-radius: 18px;
  background: #f8fafc;
  padding: 28px 20px;
  text-align: center;
}

.eep-account-empty h4 {
  margin: 0 0 6px;
}

.eep-account-empty p {
  margin: 0;
  color: var(--eep-text-muted);
}

@media (max-width: 820px) {
  .eep-account-tabs {
    gap: 10px;
  }
  .eep-account-tabs a {
    min-width: 0;
    flex: 1 1 calc(50% - 10px);
  }
  .eep-account-inbox-search {
    grid-template-columns: 1fr;
  }
}

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

#eep-toast-root {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2147483647;
  display: grid;
  gap: 10px;
  width: min(92vw, 360px);
  pointer-events: none;
}

.eep-toast {
  pointer-events: auto;
  border-radius: 14px;
  border: 1px solid #dce3ed;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
  padding: 12px 12px 12px;
}

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

.eep-toast-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eep-toast-subtitle {
  margin-top: 2px;
  color: #64748b;
  font-size: 0.82rem;
}

.eep-toast-message {
  margin-top: 8px;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.45;
}

.eep-toast-close {
  border: 0;
  background: #f1f5f9;
  color: #334155;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  line-height: 1;
  font-size: 1rem;
  cursor: pointer;
}

.eep-toast-success {
  border-color: #bbf7d0;
}

.eep-toast-success .eep-toast-title {
  color: #047857;
}

.eep-toast-error {
  border-color: #fecaca;
}

.eep-toast-error .eep-toast-title {
  color: #b91c1c;
}

.eep-toast-warning {
  border-color: #fde68a;
}

.eep-toast-warning .eep-toast-title {
  color: #b45309;
}

@media (max-width: 700px) {
  #eep-toast-root {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
  }
}

.eep-confirm-overlay[hidden] {
  display: none !important;
}

.eep-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
}

.eep-confirm-dialog {
  width: min(520px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid #dbe2ee;
  background: #fff;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
  padding: 18px;
}

.eep-confirm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#eep-confirm-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #0f172a;
}

.eep-confirm-close {
  border: 1px solid #dbe2ee;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
}

.eep-confirm-message {
  margin: 12px 0 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}

.eep-confirm-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.eep-confirm-actions .button {
  margin: 0;
  min-width: 110px;
}

.eep-confirm-overlay.is-danger .eep-confirm-dialog {
  border-color: #fecaca;
}

.eep-confirm-overlay.is-danger #eep-confirm-title {
  color: #b91c1c;
}

.eep-confirm-overlay.is-danger .eep-confirm-accept {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.eep-confirm-overlay.is-danger .eep-confirm-accept:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.eep-confirm-overlay.is-warning .eep-confirm-dialog {
  border-color: #fde68a;
}

.eep-confirm-overlay.is-warning #eep-confirm-title {
  color: #b45309;
}

body.eep-confirm-open {
  overflow: hidden;
}

/* =========================
   Sticky Reliability Fixes
   ========================= */

.eep-layout.eep-archive-layout .eep-archive-sidebar,
.eep-layout.eep-map-layout .eep-map-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 24px);
  overflow: auto;
}

.eep-layout.eep-map-layout .eep-map-sidebar {
  scrollbar-width: thin;
}

@media (max-width: 1024px) {
  .eep-layout.eep-archive-layout .eep-archive-sidebar,
  .eep-layout.eep-map-layout .eep-map-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* =========================
   Directory Single Template
   ========================= */

.eep-directory-page {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.eep-directory-hero-card {
  border: 1px solid var(--eep-border);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--eep-shadow-sm);
}

.eep-directory-hero-cover {
  height: clamp(180px, 28vw, 300px);
  background: linear-gradient(135deg, #0b1221, #1f3553);
  position: relative;
}

.eep-directory-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eep-directory-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 23, 0.08), rgba(7, 12, 23, 0.65));
}

.eep-directory-hero-body {
  padding: 0 26px 24px;
  margin-top: -42px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.eep-directory-brand-avatar {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: linear-gradient(145deg, #0b1221, #1b2e4a);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.eep-directory-hero-text {
  min-width: 0;
  padding-top: 10px;
}

.eep-directory-kicker {
  margin: 0;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  font-size: 0.72rem;
}

.eep-directory-hero-text h1 {
  margin: 8px 0 8px;
  font-family: var(--eep-font-display);
  color: var(--eep-navy);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  padding-top: 10px;
}

.eep-directory-subtitle {
  margin: 0;
  color: #475569;
  max-width: 78ch;
}

.eep-directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
  color: #475569;
  align-items: center;
}

.eep-directory-rating {
  font-weight: 800;
  color: #0b1221;
}

.eep-directory-meta a {
  color: var(--eep-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eep-directory-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf3;
  color: #059669;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.eep-directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.eep-directory-main,
.eep-directory-aside {
  display: grid;
  gap: 16px;
}

.eep-directory-sticky-rail {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.eep-directory-section {
  border: 1px solid var(--eep-border);
  border-radius: 22px;
  background: #fff;
  padding: clamp(18px, 2.6vw, 32px);
  box-shadow: var(--eep-shadow-sm);
}

.eep-directory-section h3 {
  margin-bottom: 10px;
}

.eep-directory-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eep-directory-about {
  color: #334155;
  line-height: 1.76;
}

.eep-directory-subblock {
  margin-top: 22px;
}

.eep-directory-subblock h4 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.eep-directory-chip-wrap,
.eep-directory-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eep-directory-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.eep-directory-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #334155;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none !important;
}

.eep-directory-tag:hover {
  border-color: rgba(255, 94, 20, 0.26);
  color: #c2410c;
  background: rgba(255, 94, 20, 0.09);
}

.eep-directory-tag.is-primary {
  border-color: rgba(255, 94, 20, 0.22);
  background: rgba(255, 94, 20, 0.1);
  color: #c2410c;
}

.eep-directory-note {
  margin: 0 0 14px;
  color: #64748b;
}

.eep-directory-before-after {
  position: relative;
  --eep-before-after-position: 50%;
  aspect-ratio: 16 / 9;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #e2e8f0;
}

.eep-directory-before-after-after,
.eep-directory-before-after-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eep-directory-before-after-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--eep-before-after-position)) 0 0);
}

.eep-directory-before-after-handle {
  position: absolute;
  inset: 0 auto 0 var(--eep-before-after-position);
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.eep-directory-before-after-handle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.eep-directory-before-after-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.eep-directory-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.eep-directory-project-item {
  border: 0;
  padding: 0;
  margin: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #e2e8f0;
}

.eep-directory-project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.eep-directory-project-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 10px;
  background: rgba(11, 18, 33, 0.76);
  color: #fff;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .24s ease;
}

.eep-directory-project-item:hover img {
  transform: scale(1.05);
}

.eep-directory-project-item:hover .eep-directory-project-caption,
.eep-directory-project-item:focus-visible .eep-directory-project-caption {
  opacity: 1;
  transform: translateY(0);
}

.eep-directory-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.eep-directory-cost-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.eep-directory-cost-card h4 {
  margin: 0 0 6px;
  font-size: 0.94rem;
}

.eep-directory-cost-card strong {
  font-size: 1rem;
  color: var(--eep-primary);
}

.eep-directory-steps {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 14px;
}

.eep-directory-steps li h4 {
  margin: 0 0 4px;
}

.eep-directory-steps li p {
  margin: 0;
  color: #64748b;
}

.eep-directory-team-grid {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 4px;
}

.eep-directory-team-card {
  min-width: 186px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.eep-directory-team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #0b1221;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.eep-directory-team-card h4 {
  margin: 0;
}

.eep-directory-team-role {
  margin: 3px 0 8px;
  color: var(--eep-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.eep-directory-team-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
}

.eep-directory-faq-list {
  display: grid;
  gap: 8px;
}

.eep-directory-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color .24s ease, background-color .24s ease;
}

.eep-directory-faq-item[open] {
  border-color: rgba(255, 94, 20, 0.3);
  background: #fff;
}

.eep-directory-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 700;
}

.eep-directory-faq-item summary::-webkit-details-marker {
  display: none;
}

.eep-directory-faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #dbe3ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #334155;
  transition: transform .22s ease;
}

.eep-directory-faq-item[open] .eep-directory-faq-icon {
  transform: rotate(45deg);
}

.eep-directory-faq-answer {
  padding: 0 16px 14px;
  color: #64748b;
}

.eep-directory-faq-answer p {
  margin: 0;
}

.eep-directory-reviews-meta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  color: #475569;
}

.eep-directory-review-form,
.eep-directory-review-reply-form {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
  margin-bottom: 12px;
}

.eep-directory-review-form label,
.eep-directory-review-reply-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #334155;
}

.eep-directory-review-form select,
.eep-directory-review-form textarea,
.eep-directory-review-reply-form textarea {
  margin-bottom: 10px;
}

.eep-directory-review-list {
  display: grid;
  gap: 12px;
}

.eep-directory-review-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.eep-directory-review-item header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.eep-directory-review-item header strong {
  color: #0f172a;
}

.eep-directory-review-item header span {
  color: #94a3b8;
  font-size: 0.82rem;
}

.eep-directory-review-stars {
  margin: 8px 0;
  display: inline-flex;
  gap: 3px;
}

.eep-directory-review-stars span {
  color: #d1d9e6;
  font-size: 1rem;
}

.eep-directory-review-stars .is-on {
  color: #f59e0b;
}

.eep-directory-review-item p {
  margin: 0;
  color: #475569;
}

.eep-directory-review-reply {
  margin-top: 10px;
  border-left: 3px solid var(--eep-primary);
  padding-left: 10px;
}

.eep-directory-review-reply strong {
  display: block;
  margin-bottom: 4px;
}

.eep-directory-quote-box p {
  margin-top: 0;
  color: #64748b;
}

.eep-directory-availability {
  border-radius: 10px;
  padding: 10px 12px;
  background: #ecfdf3;
  color: #047857;
  font-weight: 700;
  margin: 12px 0;
}

.eep-directory-quote-actions {
  display: grid;
  gap: 8px;
}

.eep-directory-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.eep-directory-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 8px;
}

.eep-directory-info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.eep-directory-info-list span {
  color: #64748b;
}

.eep-directory-info-list strong {
  color: #0f172a;
  text-align: right;
}

.eep-directory-map-open {
  width: 100%;
  margin-top: 12px;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
}

.eep-directory-map-open:hover {
  border-color: var(--eep-primary);
  color: var(--eep-primary);
}

.eep-directory-modal[hidden] {
  display: none !important;
}

.eep-directory-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
}

.eep-directory-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 33, 0.66);
  opacity: 0;
  transition: opacity .22s ease;
}

.eep-directory-modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(94vw, 560px);
  max-height: 88vh;
  overflow: auto;
  transform: translate(-50%, -46%) scale(.98);
  border-radius: 20px;
  border: 1px solid #dbe3ed;
  background: #fff;
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.3);
  padding: 18px;
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.eep-directory-modal.is-open .eep-directory-modal-backdrop {
  opacity: 1;
}

.eep-directory-modal.is-open .eep-directory-modal-dialog {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.eep-directory-modal-close {
  border: 0;
  background: #f1f5f9;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  float: right;
}

.eep-directory-modal-dialog h3 {
  margin: 0 0 10px;
  clear: both;
}

.eep-directory-quote-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.eep-directory-quote-form input,
.eep-directory-quote-form textarea {
  width: 100%;
  box-sizing: border-box;
}

.eep-map-lightbox .eep-map-lightbox-frame {
  width: min(1120px, 94vw);
  height: min(82vh, 780px);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.eep-map-lightbox .eep-map-lightbox-frame iframe {
  width: 100%;
  height: 100%;
}

.eep-lightbox:not([hidden]) {
  animation: eepLightboxFadeIn .22s ease;
}

.eep-lightbox:not([hidden]) img {
  animation: eepLightboxZoomIn .24s ease;
}

@keyframes eepLightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes eepLightboxZoomIn {
  from {
    transform: scale(.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1160px) {
  .eep-directory-layout {
    grid-template-columns: 1fr;
  }

  .eep-directory-sticky-rail {
    position: static;
  }
}

@media (max-width: 900px) {
  .eep-directory-hero-body {
    margin-top: -34px;
    padding: 0 14px 16px;
  }

  .eep-directory-brand-avatar {
    width: 66px;
    height: 66px;
    border-radius: 16px;
    font-size: 1.55rem;
  }

  .eep-directory-hero-text h1 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

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

  .eep-directory-cost-grid {
    grid-template-columns: 1fr;
  }

  .eep-directory-modal-dialog {
    width: calc(100vw - 18px);
    left: 50%;
    top: auto;
    bottom: 10px;
    max-height: 84vh;
    transform: translate(-50%, 12px) scale(.98);
  }

  .eep-directory-modal.is-open .eep-directory-modal-dialog {
    transform: translate(-50%, 0) scale(1);
  }
}

/* ==========================================================
   Archive + Map Layout Recovery Patch
   Restores missing archive/map/filter presentation + sticky
========================================================== */

.eep-layout.eep-archive-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 70px;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.eep-layout.eep-archive-layout.eep-layout-no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.eep-archive-sidebar {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.eep-archive-sidebar h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
  font-size: 1.1rem;
}

.eep-archive-filter-card .eep-filter-group {
  margin-bottom: 12px;
}

.eep-archive-filter-card input[type='text'],
.eep-archive-filter-card input[type='date'],
.eep-archive-filter-card select {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.eep-archive-filter-card input:focus,
.eep-archive-filter-card select:focus {
  border-color: var(--eep-primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.12);
}

.eep-archive-filter-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.eep-archive-filter-card button[type='submit'] {
  width: 100%;
  min-height: 44px;
}

.eep-archive-filter-card .eep-link-reset,
.eep-archive-filter-card .eep-save-filters-local,
.eep-archive-filter-card .eep-use-filters-local {
  width: 100%;
  text-align: center;
}

.eep-archive-content .eep-grid {
  gap: 22px;
}

.eep-archive-event-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 18px 42px -30px rgba(15, 23, 42, 0.45) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
}

.eep-archive-event-card[data-eep-card-url] {
  cursor: pointer;
}

.eep-archive-event-card:focus-visible {
  outline: none;
  border-color: rgba(255, 94, 20, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.2), 0 18px 42px -30px rgba(15, 23, 42, 0.45) !important;
}

.eep-archive-event-card:hover {
  border-color: rgba(255, 94, 20, 0.28) !important;
  box-shadow: 0 28px 64px -34px rgba(15, 23, 42, 0.5) !important;
}

.eep-archive-event-card .eep-card-image-wrap {
  height: 220px;
  border-bottom: 1px solid #eef2f7;
  background: #e2e8f0;
  isolation: isolate;
}

.eep-archive-event-card .eep-card-image-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.22) 100%);
  pointer-events: none;
  z-index: 1;
}

.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.65s ease, filter 0.45s ease;
}

.eep-archive-event-card:hover .eep-card-cover {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.eep-archive-event-card .eep-card-cover-fallback {
  display: grid;
  place-items: center;
  color: #64748b;
  background: radial-gradient(circle at 20% 20%, #f8fafc 0%, #dbe8ff 100%);
}

.eep-archive-event-card .eep-card-cover-fallback svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.3;
  opacity: 0.85;
}

.eep-archive-event-card .eep-boost-badge,
.eep-archive-event-card .eep-verified-badge {
  position: absolute;
  top: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.eep-archive-event-card .eep-boost-badge {
  left: 14px;
  background: linear-gradient(100deg, #ff5e14 0%, #f97316 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 22px -14px rgba(255, 94, 20, 0.85);
}

.eep-archive-event-card .eep-boost-badge img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 999px;
  background: #fff;
}

.eep-archive-event-card .eep-verified-badge {
  right: 14px;
  background: rgba(9, 14, 23, 0.76);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.eep-card-boosted .eep-card-image-wrap {
  box-shadow: inset 0 0 0 1px rgba(255, 94, 20, 0.3);
}

.eep-card-verified .eep-card-image-wrap {
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.eep-archive-event-card .eep-card-content,
.eep-archive-card-content {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.eep-archive-event-card .eep-card-title {
  margin: 0 !important;
  font-size: clamp(1.32rem, 2.2vw, 1.72rem) !important;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #0b1221;
}

.eep-archive-event-card .eep-card-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.eep-archive-event-card .eep-card-title a:hover {
  color: var(--eep-primary);
}

.eep-archive-event-card .eep-card-meta-row {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 500;
}

.eep-archive-event-card .eep-card-meta-row svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke-width: 2;
  color: #94a3b8;
}

.eep-archive-event-card .eep-card-meta-row--type span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff0ea;
  color: #b45309;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 94, 20, 0.22);
}

.eep-archive-event-card .eep-card-meta-row--type svg {
  display: none;
}

.eep-archive-event-card-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eep-archive-event-card .eep-btn.eep-archive-view-btn {
  flex: 1 1 220px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: linear-gradient(120deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.75);
}

.eep-archive-event-card .eep-btn.eep-archive-view-btn:hover {
  background: linear-gradient(120deg, #ff5e14 0%, #f97316 100%) !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}

.eep-archive-event-card .eep-btn.eep-compare-add-btn {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  background: #fff !important;
  border: 1px solid #d8e0ec !important;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: none !important;
}

.eep-archive-event-card .eep-btn.eep-compare-add-btn:hover {
  border-color: rgba(255, 94, 20, 0.42) !important;
  color: #ff5e14 !important;
  background: #fff8f4 !important;
  transform: translateY(-1px);
}

.eep-archive-event-card .eep-btn.eep-compare-add-btn.is-active {
  border-color: rgba(255, 94, 20, 0.44) !important;
  background: #fff0e9 !important;
  color: #ff5e14 !important;
  box-shadow: 0 8px 18px -14px rgba(255, 94, 20, 0.72) !important;
}

.eep-archive-view-btn {
  width: 100%;
  margin-top: 0;
}

.eep-layout.eep-map-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 80px;
  gap: 24px;
  align-items: start;
  grid-template-columns: 300px minmax(0, 1fr);
}

.eep-layout.eep-map-layout.eep-map-layout--three-column {
  grid-template-columns: 300px minmax(0, 1fr) 340px;
}

.eep-layout.eep-map-layout.eep-map-layout--below-list,
.eep-layout.eep-map-layout.eep-map-layout--below-grid,
.eep-layout.eep-map-layout.eep-map-layout--below-grid-large,
.eep-layout.eep-map-layout.eep-map-layout--grid-no-map,
.eep-layout.eep-map-layout.eep-map-layout--grid-no-map-large {
  grid-template-columns: 300px minmax(0, 1fr);
}

.eep-layout.eep-map-layout.eep-layout-no-sidebar,
.eep-layout.eep-map-layout.eep-layout-no-sidebar.eep-map-layout--three-column,
.eep-layout.eep-map-layout.eep-layout-no-sidebar.eep-map-layout--below-list,
.eep-layout.eep-map-layout.eep-layout-no-sidebar.eep-map-layout--below-grid,
.eep-layout.eep-map-layout.eep-layout-no-sidebar.eep-map-layout--below-grid-large,
.eep-layout.eep-map-layout.eep-layout-no-sidebar.eep-map-layout--grid-no-map,
.eep-layout.eep-map-layout.eep-layout-no-sidebar.eep-map-layout--grid-no-map-large {
  grid-template-columns: minmax(0, 1fr);
}

.eep-map-sidebar {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  padding: 18px;
}

.eep-map-sidebar-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.eep-map-sidebar-head h3 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
}

.eep-map-sidebar-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eep-map-filters-close {
  display: none;
}

.eep-map-reset-inline {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.86rem;
  cursor: pointer;
}

.eep-map-reset-inline:hover {
  color: var(--eep-primary);
  text-decoration: underline;
}

.eep-map-sidebar.eep-form input[type='text'],
.eep-map-sidebar.eep-form input[type='date'],
.eep-map-sidebar.eep-form select {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.eep-map-sidebar.eep-form input:focus,
.eep-map-sidebar.eep-form select:focus {
  border-color: var(--eep-primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.12);
}

.eep-map-primary-action {
  margin-top: 4px;
}

.eep-map-primary-action .eep-btn {
  width: 100%;
  min-height: 44px;
}

.eep-map-quick-actions {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.eep-map-quick-actions .eep-btn {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  white-space: normal;
  text-align: center;
}

.eep-map-layout .eep-map {
  width: 100%;
  min-height: 420px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

#eep-events-map {
  min-height: var(--eep-map-height-desktop, 600px);
}

.eep-map-main-col,
.eep-map-results-col,
.eep-map-results-below {
  min-width: 0;
}

.eep-map-results-col {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.eep-map-results-heading {
  margin: 0 0 12px;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.eep-map-list {
  display: grid;
  gap: 12px;
}

.eep-map-item-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  padding: 8px;
}

.eep-map-item-thumb {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: #eff4fa;
}

.eep-map-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eep-map-item-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eep-map-item-thumb-placeholder span {
  font-weight: 800;
  font-size: 1rem;
  color: #334155;
}

.eep-map-item-body {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-content: start;
}

.eep-map-item-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.eep-map-item-date,
.eep-map-item-location {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.3;
}

.eep-map-item-mode {
  margin: 0;
  color: #1f2937;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 600;
}

.eep-map-item-view {
  margin-top: 4px;
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: #1e293b !important;
  font-size: 0.84rem;
}

.eep-map-item-view:hover {
  border-color: var(--eep-primary);
  background: var(--eep-primary);
  color: #fff !important;
}

.eep-map-item-meta,
.eep-map-item-excerpt,
.eep-map-item-badge {
  display: none !important;
}

#eep-map-list.eep-map-list--grid,
#eep-map-list.eep-map-list--grid-large {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px !important;
}

#eep-map-list.eep-map-list--grid .eep-map-item-card,
#eep-map-list.eep-map-list--grid-large .eep-map-item-card {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
}

#eep-map-list.eep-map-list--grid .eep-map-item-thumb,
#eep-map-list.eep-map-list--grid-large .eep-map-item-thumb {
  width: 100%;
  height: 180px;
  border-radius: 0;
}

#eep-map-list.eep-map-list--grid .eep-map-item-body,
#eep-map-list.eep-map-list--grid-large .eep-map-item-body {
  padding: 14px;
}

.eep-map-main-col--no-map .eep-map {
  display: none !important;
}

.eep-map-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.eep-map-load-more-wrap[hidden] {
  display: none !important;
}

.eep-map-mobile-toolbar {
  display: none;
}

.eep-map-sidebar-backdrop {
  display: none;
}

.eep-map-mobile-apply-wrap {
  display: none;
}

body.eep-map-filters-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .eep-layout.eep-archive-layout,
  .eep-layout.eep-map-layout,
  .eep-layout.eep-map-layout.eep-map-layout--three-column,
  .eep-layout.eep-map-layout.eep-map-layout--below-list,
  .eep-layout.eep-map-layout.eep-map-layout--below-grid,
  .eep-layout.eep-map-layout.eep-map-layout--below-grid-large,
  .eep-layout.eep-map-layout.eep-map-layout--grid-no-map,
  .eep-layout.eep-map-layout.eep-map-layout--grid-no-map-large {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 14px 56px;
    gap: 16px;
  }

  .eep-map-hero {
    padding-top: 6px !important;
    padding-bottom: 2px !important;
  }

  .eep-map-hero .eep-page-hero-card {
    border-radius: 1.25rem;
    padding: 1rem 1rem 1.2rem !important;
  }

  .eep-map-hero .eep-page-hero-card h1 {
    font-size: clamp(1.52rem, 7vw, 2.1rem) !important;
    margin-bottom: 0.42rem !important;
  }

  .eep-map-hero .eep-page-hero-card p {
    font-size: 0.95rem !important;
    line-height: 1.45;
  }

  .eep-archive-sidebar,
  .eep-map-sidebar,
  .eep-map-results-col {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-toolbar {
    display: flex;
    grid-column: 1 / -1;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-toolbar .eep-btn {
    width: 100%;
  }

  .eep-map-main-col {
    gap: 14px !important;
  }

  .eep-map-layout .eep-map {
    border-radius: 14px;
  }

  #eep-events-map {
    min-height: clamp(220px, 43vh, var(--eep-map-height-mobile, 340px)) !important;
    max-height: 58vh;
  }

  #eep-map-list.eep-map-list--grid,
  #eep-map-list.eep-map-list--grid-large {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .eep-map-item-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
    padding: 7px;
  }

  .eep-map-item-thumb {
    width: 84px;
    height: 84px;
  }

  .eep-map-item-title {
    font-size: 0.94rem;
  }

  .eep-map-item-view {
    margin-top: 2px;
    padding: 6px 9px;
    font-size: 0.81rem;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 9998;
    display: block;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 360px);
    max-width: 360px;
    height: 100dvh;
    max-height: 100dvh;
    overflow: auto;
    z-index: 9999;
    margin: 0 !important;
    border-radius: 0 18px 18px 0 !important;
    transform: translateX(-108%);
    transition: transform .24s ease;
    padding: 14px !important;
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.3);
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel:not(.is-open) {
    display: none !important;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel.is-open {
    display: flex !important;
    flex-direction: column;
    transform: translateX(0);
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-filters-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d7e0ec;
    border-radius: 999px;
    background: #fff;
    color: #1e293b;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-apply-wrap {
    display: block;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-apply-wrap .eep-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  #eep-events-map {
    min-height: clamp(206px, 40vh, var(--eep-map-height-mobile, 300px)) !important;
    max-height: 52vh;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel {
    width: min(92vw, 360px);
  }

  .eep-map-results-heading {
    font-size: 1.05rem;
  }
}

@media (min-width: 981px) {
  .eep-layout.eep-archive-layout,
  .eep-layout.eep-map-layout,
  .eep-directory-layout,
  .eep-directory-page,
  .eep-event-page .eep-event-layout-modern,
  .eep-submit-wrap {
    overflow: visible !important;
    align-items: start !important;
  }

  .eep-layout.eep-archive-layout > .eep-archive-sidebar,
  .eep-layout.eep-archive-layout > .eep-sidebar,
  .eep-layout.eep-map-layout > .eep-map-sidebar,
  .eep-layout.eep-map-layout > .eep-map-results-col,
  .eep-directory-submit-dashboard > .eep-directory-submit-rail,
  .eep-submit-wrap > .eep-submit-nav,
  .eep-event-page .eep-event-aside,
  .eep-directory-sticky-rail,
  .eep-sticky-target {
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    height: max-content !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  .eep-submit-wrap > .eep-submit-nav {
    max-height: calc(100vh - 26px) !important;
    overflow: auto !important;
  }
}

.eep-sticky-ancestor-fix {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.eep-sticky-context {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* =========================
   Global Top Nav
   ========================= */

.eep-top-nav-shell {
  position: sticky;
  top: 0;
  z-index: 11020;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.92) 55%, rgba(45, 26, 22, 0.9) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.26);
  transition:
    transform var(--eep-motion-base) var(--eep-ease-out),
    box-shadow var(--eep-motion-base) var(--eep-ease-out),
    background var(--eep-motion-base) var(--eep-ease-out),
    border-color var(--eep-motion-base) var(--eep-ease-out);
}

.eep-top-nav-shell.is-scrolled {
  border-bottom-color: rgba(148, 163, 184, 0.44);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(18px);
}

.eep-top-nav-shell.is-scrolling-down {
  transform: translateY(-2px);
}

.eep-top-nav-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.25), rgba(255, 94, 20, 0.42), rgba(56, 189, 248, 0.25));
  pointer-events: none;
}

.admin-bar .eep-top-nav-shell {
  top: 32px;
}

.eep-top-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: padding var(--eep-motion-base) var(--eep-ease-out);
}

.eep-top-nav-shell.is-scrolled .eep-top-nav-inner {
  padding-top: 9px;
  padding-bottom: 9px;
}

.eep-top-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0 !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.eep-top-nav-brand:hover {
  color: #f8fafc !important;
  border-color: rgba(248, 250, 252, 0.42);
  background: rgba(30, 41, 59, 0.7);
}

.eep-top-nav-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff5e14 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14), 0 8px 16px rgba(255, 94, 20, 0.28);
}

.eep-top-nav-brand-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eep-top-nav-desktop {
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eep-top-nav-dropdown {
  position: relative;
}

.eep-top-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.42);
  color: #f8fafc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eep-top-nav-dropdown-caret {
  font-size: 9px;
  line-height: 1;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.eep-top-nav-dropdown.is-open .eep-top-nav-dropdown-caret {
  transform: rotate(180deg);
}

.eep-top-nav-dropdown-toggle:hover,
.eep-top-nav-dropdown.is-open .eep-top-nav-dropdown-toggle {
  border-color: rgba(248, 250, 252, 0.48);
  background: rgba(30, 41, 59, 0.8);
}

.eep-top-nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  min-width: 240px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 52px rgba(2, 6, 23, 0.2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.eep-top-nav-dropdown.is-open .eep-top-nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eep-top-nav-dropdown-menu a {
  display: block;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 11px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.eep-top-nav-dropdown-menu a:hover,
.eep-top-nav-dropdown-menu a.is-active {
  color: var(--eep-primary);
  background: #fff3ec;
  border-color: #ffd7c3;
}

.eep-top-nav-auth {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eep-top-nav-auth-link {
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.4);
  color: #f8fafc !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.eep-top-nav-auth-link:hover {
  color: #fff !important;
  border-color: rgba(248, 250, 252, 0.52);
  background: rgba(30, 41, 59, 0.8);
}

.eep-top-nav-auth-link.is-primary {
  border-color: #ff7a2e;
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5e14 100%);
  box-shadow: 0 12px 26px rgba(255, 94, 20, 0.34);
}

.eep-floating-auth-links {
  position: fixed;
  right: 16px;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  z-index: 11024;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-bar .eep-floating-auth-links {
  top: calc(env(safe-area-inset-top, 0px) + 44px);
}

.eep-floating-auth-link {
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 11px 15px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  transition: all 0.18s ease;
}

.eep-floating-auth-link:hover {
  border-color: #ffcfb5;
  color: var(--eep-primary) !important;
  transform: translateY(-1px);
}

.eep-floating-auth-link.eep-floating-auth-link--primary {
  border-color: #ff7a2e;
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5e14 100%);
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(255, 94, 20, 0.34);
}

.eep-floating-auth-link.eep-floating-auth-link--primary:hover {
  color: #ffffff !important;
  border-color: #ff9b64;
  background: linear-gradient(135deg, #ff8a44 0%, #f05a19 100%);
}

@media (max-width: 782px) {
  .admin-bar .eep-floating-auth-links {
    top: calc(env(safe-area-inset-top, 0px) + 58px);
  }
}

@media (max-width: 720px) {
  .eep-floating-auth-links {
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    gap: 8px;
  }

  .eep-floating-auth-link {
    font-size: 11px;
    padding: 10px 12px;
  }
}

.eep-top-nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.42);
  color: #f8fafc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
}

.eep-top-nav-toggle-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.88;
}

.eep-top-nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11021;
  background: rgba(2, 6, 23, 0.62);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.eep-top-nav-mobile-backdrop.is-open {
  opacity: 1;
}

.eep-top-nav-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 370px);
  height: 100dvh;
  z-index: 11022;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-left: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: -24px 0 52px rgba(2, 6, 23, 0.24);
  transform: translateX(105%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}

.eep-top-nav-mobile-drawer.is-open {
  transform: translateX(0);
}

.eep-top-nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.eep-top-nav-mobile-head strong {
  font-size: 13px;
  color: #0f172a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eep-top-nav-mobile-head button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #fff;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1;
}

.eep-top-nav-mobile-group {
  padding: 14px;
  display: grid;
  gap: 8px;
  overflow: auto;
}

.eep-top-nav-mobile-group a {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.78);
  transition: all 0.18s ease;
}

.eep-top-nav-mobile-group a:hover,
.eep-top-nav-mobile-group a.is-active {
  color: var(--eep-primary);
  border-color: #ffcfb5;
  background: #fff3ec;
}

.eep-top-nav-mobile-auth {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.eep-mobile-app-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 11015;
  display: none;
  gap: 6px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.16);
}

.eep-mobile-app-nav a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 4px;
  transition: all 0.18s ease;
}

.eep-mobile-app-nav a.is-active {
  color: var(--eep-primary);
  background: #fff3ec;
  border-color: #ffd7c3;
}

/* =========================
   Shared Page Hero
   ========================= */

.eep-page-hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.18);
}

.eep-page-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.eep-page-hero-card h1 {
  text-wrap: balance;
}

.eep-page-hero-minimal {
  background: linear-gradient(130deg, #0b1221 0%, #1f2a44 46%, #4a2f2a 100%);
  padding: clamp(1.8rem, 4vw, 2.9rem) clamp(1.1rem, 4vw, 3rem);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.22);
}

.eep-page-hero-minimal::before,
.eep-page-hero-minimal::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(54px);
}

.eep-page-hero-minimal::before {
  width: 280px;
  height: 280px;
  top: -110px;
  right: -80px;
  background: rgba(255, 94, 20, 0.25);
}

.eep-page-hero-minimal::after {
  width: 240px;
  height: 240px;
  left: -100px;
  bottom: -110px;
  background: rgba(56, 189, 248, 0.2);
}

.eep-page-hero-minimal > .eep-page-kicker {
  color: #f6b28e !important;
  letter-spacing: 0.16em;
}

.eep-page-hero-minimal > h1,
.eep-page-hero-minimal > h2 {
  color: #f8fafc !important;
}

.eep-page-hero-minimal > p {
  color: #d5dfed !important;
  max-width: 64ch;
}

@media (max-width: 980px) {
  .admin-bar .eep-top-nav-shell {
    top: 46px;
  }

  .eep-top-nav-inner {
    padding: 10px 12px;
  }

  .eep-top-nav-desktop,
  .eep-top-nav-auth {
    display: none;
  }

  .eep-top-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .eep-mobile-app-nav {
    display: flex;
  }

  body.eep-mobile-app-nav-active {
    padding-bottom: 88px;
  }
}

body.eep-top-nav-open {
  overflow: hidden;
}

/* =========================
   Mobile Optimization Pass
   ========================= */

@media (max-width: 900px) {
  .eep-layout.eep-archive-layout,
  .eep-layout.eep-map-layout,
  .eep-submit-wrap,
  .eep-auth-grid,
  .eep-account-shell,
  .eep-event-page .eep-event-layout-modern {
    gap: 12px !important;
  }

  .eep-card,
  .eep-form-section,
  .eep-account-panel,
  .eep-auth-panel,
  .eep-archive-sidebar,
  .eep-map-sidebar,
  .eep-map-results-col {
    border-radius: 14px;
  }

  .eep-card-content,
  .eep-form-section,
  .eep-archive-sidebar,
  .eep-map-sidebar,
  .eep-map-results-col,
  .eep-account-panel,
  .eep-auth-panel {
    padding: 14px;
  }

  .eep-submit-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .eep-submit-actions .eep-btn {
    width: 100%;
  }

  .eep-form input[type="text"],
  .eep-form input[type="email"],
  .eep-form input[type="url"],
  .eep-form input[type="number"],
  .eep-form input[type="date"],
  .eep-form input[type="datetime-local"],
  .eep-form input[type="password"],
  .eep-form textarea,
  .eep-form select,
  .eep-filter-form input[type="text"],
  .eep-filter-form input[type="email"],
  .eep-filter-form input[type="url"],
  .eep-filter-form input[type="number"],
  .eep-filter-form input[type="date"],
  .eep-filter-form input[type="datetime-local"],
  .eep-filter-form input[type="password"],
  .eep-filter-form textarea,
  .eep-filter-form select,
  .eep-account-shell input[type="text"],
  .eep-account-shell input[type="email"],
  .eep-account-shell input[type="url"],
  .eep-account-shell input[type="number"],
  .eep-account-shell input[type="password"],
  .eep-account-shell textarea,
  .eep-account-shell select {
    font-size: 16px;
    min-height: 44px;
  }

  .eep-account-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .eep-account-tabs a {
    white-space: nowrap;
    min-width: max-content;
    scroll-snap-align: start;
  }

  .eep-page-hero-card {
    border-radius: 1.25rem;
  }

  .eep-page-hero-minimal {
    padding: 1.1rem 0.95rem;
  }

  .eep-page-hero-minimal > p {
    font-size: 0.95rem !important;
    line-height: 1.45;
  }

  .eep-archive-event-card .eep-card-image-wrap {
    height: 196px;
  }

  .eep-archive-card-content {
    padding: 16px 16px 14px;
    gap: 10px;
  }

  .eep-archive-event-card .eep-btn.eep-archive-view-btn,
  .eep-archive-event-card .eep-btn.eep-compare-add-btn {
    min-height: 46px;
    border-radius: 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .eep-top-nav-inner {
    padding: 9px 10px;
  }

  .eep-mobile-app-nav {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 6px;
    border-radius: 14px;
  }

  .eep-mobile-app-nav a {
    font-size: 10px;
    padding: 10px 2px;
  }

  .eep-submit-form,
  .eep-form-section,
  .eep-card-content {
    padding: 14px;
  }

  .eep-card-title {
    font-size: 1.05rem;
  }

  .eep-account-tabs a {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .eep-archive-event-card .eep-card-image-wrap {
    height: 178px;
  }

  .eep-archive-event-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .eep-archive-event-card .eep-btn.eep-archive-view-btn,
  .eep-archive-event-card .eep-btn.eep-compare-add-btn {
    width: 100%;
    flex: 1 1 100%;
    padding: 0 14px;
  }

  .eep-archive-event-card .eep-card-meta-row {
    font-size: 0.92rem;
  }

  .eep-archive-event-card .eep-card-meta-row--type span {
    min-height: 25px;
    font-size: 0.68rem;
    padding: 0 10px;
  }
}

/* Get Quotes board */
.eep-jobs-shell {
  background:
    radial-gradient(900px 480px at 100% -4%, rgba(249, 115, 22, 0.12), transparent 62%),
    radial-gradient(860px 420px at -4% 0%, rgba(15, 23, 42, 0.08), transparent 64%),
    #f8fafc;
}

.eep-jobs-shell > .max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.eep-jobs-shell > .max-w-7xl > header {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(125deg, #0b1730 0%, #0f2c6f 54%, #5f2f52 100%);
  box-shadow: 0 18px 50px -28px rgba(2, 6, 23, 0.65);
}

.eep-jobs-shell > .max-w-7xl > header > p:first-child {
  margin: 0 0 12px;
  color: #fdba74;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.eep-jobs-shell > .max-w-7xl > header > h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  line-height: 1.08;
  font-weight: 850;
}

.eep-jobs-shell > .max-w-7xl > header > p:last-of-type {
  margin: 14px 0 0;
  color: rgba(241, 245, 249, 0.88);
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
}

.eep-jobs-shell > .max-w-7xl > header > div {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.28);
  color: #f8fafc;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.eep-jobs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

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

.eep-jobs-shell .grid {
  display: grid;
}

.eep-jobs-shell .flex {
  display: flex;
}

.eep-jobs-shell .inline-flex {
  display: inline-flex;
}

.eep-jobs-shell .flex-wrap {
  flex-wrap: wrap;
}

.eep-jobs-shell .items-center {
  align-items: center;
}

.eep-jobs-shell .items-start {
  align-items: flex-start;
}

.eep-jobs-shell .justify-between {
  justify-content: space-between;
}

.eep-jobs-shell .justify-center {
  justify-content: center;
}

.eep-jobs-shell .w-full {
  width: 100%;
}

.eep-jobs-shell .gap-2 {
  gap: 0.5rem;
}

.eep-jobs-shell .gap-2\.5 {
  gap: 0.625rem;
}

.eep-jobs-shell .gap-3 {
  gap: 0.75rem;
}

.eep-jobs-shell .gap-4 {
  gap: 1rem;
}

.eep-jobs-shell .gap-5 {
  gap: 1.25rem;
}

.eep-jobs-shell .gap-6 {
  gap: 1.5rem;
}

.eep-jobs-shell .space-y-3 > * + * {
  margin-top: 0.75rem;
}

.eep-jobs-shell .space-y-4 > * + * {
  margin-top: 1rem;
}

.eep-jobs-shell .space-y-5 > * + * {
  margin-top: 1.25rem;
}

.eep-jobs-shell .space-y-7 > * + * {
  margin-top: 1.75rem;
}

.eep-jobs-shell .pt-2 {
  padding-top: 0.5rem;
}

.eep-jobs-shell .pt-6 {
  padding-top: 1.5rem;
}

.eep-jobs-shell .pb-5 {
  padding-bottom: 1.25rem;
}

.eep-jobs-shell .mb-2 {
  margin-bottom: 0.5rem;
}

.eep-jobs-shell .mb-3 {
  margin-bottom: 0.75rem;
}

.eep-jobs-shell .mb-4 {
  margin-bottom: 1rem;
}

.eep-jobs-shell .mb-5 {
  margin-bottom: 1.25rem;
}

.eep-jobs-shell .mb-6 {
  margin-bottom: 1.5rem;
}

.eep-jobs-shell .mb-7 {
  margin-bottom: 1.75rem;
}

.eep-jobs-shell .mt-1 {
  margin-top: 0.25rem;
}

.eep-jobs-shell .mt-2 {
  margin-top: 0.5rem;
}

.eep-jobs-shell .mt-4 {
  margin-top: 1rem;
}

.eep-jobs-shell .mt-5 {
  margin-top: 1.25rem;
}

.eep-jobs-shell .border {
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.eep-jobs-shell .border-t {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.eep-jobs-shell .rounded-xl {
  border-radius: 12px;
}

.eep-jobs-shell .rounded-2xl {
  border-radius: 16px;
}

.eep-jobs-list {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 2px;
}

.eep-jobs-form,
.eep-jobs-board,
.eep-jobs-detail {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 42px -26px rgba(15, 23, 42, 0.35);
}

.eep-jobs-form h2,
.eep-jobs-board h2,
.eep-jobs-detail h3 {
  margin-top: 0;
}

.eep-jobs-form input,
.eep-jobs-form textarea,
.eep-jobs-form select,
.eep-jobs-detail input,
.eep-jobs-detail textarea,
.eep-jobs-detail select,
.eep-jobs-filter-field input,
.eep-jobs-filter-field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.eep-jobs-form textarea,
.eep-jobs-detail textarea {
  min-height: 100px;
}

.eep-jobs-form input:focus,
.eep-jobs-form textarea:focus,
.eep-jobs-form select:focus,
.eep-jobs-detail input:focus,
.eep-jobs-detail textarea:focus,
.eep-jobs-detail select:focus,
.eep-jobs-filter-field input:focus,
.eep-jobs-filter-field select:focus {
  border-color: var(--eep-primary, #f97316);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--eep-primary, #f97316) 18%, transparent);
  outline: none;
}

.eep-jobs-form button[type="submit"],
.eep-jobs-detail button[type="submit"] {
  border: 0;
  border-radius: 12px;
  background: var(--eep-primary, #f97316);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-height: 46px;
  padding: 0 16px;
  cursor: pointer;
}

.eep-jobs-form button[type="submit"]:hover,
.eep-jobs-detail button[type="submit"]:hover {
  background: var(--eep-primary-hover, #ea580c);
}

.eep-jobs-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.eep-jobs-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eep-jobs-filter-field > span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #475569;
}

.eep-jobs-map-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 12px;
}

.eep-jobs-map-card.is-disabled {
  opacity: 0.8;
}

.eep-jobs-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.eep-jobs-map-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}

.eep-jobs-map-recenter {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.eep-jobs-map-canvas {
  min-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #e2e8f0;
}

.eep-jobs-map-note {
  margin: 9px 2px 2px;
  font-size: 0.76rem;
  color: #64748b;
}

.eep-jobs-map-popup {
  display: grid;
  gap: 4px;
  min-width: 170px;
}

.eep-jobs-map-popup strong {
  color: #0f172a;
  font-size: 0.85rem;
}

.eep-jobs-map-popup span {
  font-size: 0.75rem;
  color: #334155;
}

.eep-jobs-map-popup a {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--eep-primary, #f97316);
  text-decoration: none;
}

.eep-jobs-map-popup a:hover {
  text-decoration: underline;
}

.eep-job-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.eep-job-card:hover {
  border-color: color-mix(in srgb, var(--eep-primary, #f97316) 42%, #cbd5e1);
  box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.4);
  transform: translateY(-1px);
}

.eep-jobs-no-results {
  margin-top: 10px;
}

.eep-jobs-detail .text-xs,
.eep-jobs-board .text-xs {
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .eep-jobs-shell .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eep-jobs-shell .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .eep-jobs-shell .sm\:flex-row {
    flex-direction: row;
  }

  .eep-jobs-shell .sm\:items-center {
    align-items: center;
  }

  .eep-jobs-shell .sm\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  .eep-jobs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
    gap: 28px;
  }

  .eep-jobs-form-wrap {
    position: sticky;
    top: 104px;
    align-self: start;
  }
}

@media (max-width: 860px) {
  .eep-jobs-shell > .max-w-7xl > header {
    border-radius: 20px;
    padding: 20px;
  }

  .eep-jobs-form,
  .eep-jobs-board,
  .eep-jobs-detail {
    border-radius: 18px;
    padding: 16px;
  }

  .eep-jobs-map-canvas {
    min-height: 208px;
  }
}
