: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: #e5e7eb;
  --eep-text-main: #1f2937;
  --eep-text-muted: #6b7280;
  --eep-text-inv: #ffffff;
  --eep-radius: 12px;
  --eep-radius-lg: 24px;
  --eep-radius-pill: 999px;
  --eep-space-unit: 16px;
  --eep-space-scale: 1;
  --eep-shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.04);
  --eep-shadow: 0 12px 30px rgba(11, 18, 33, 0.08);
  --eep-shadow-lg: 0 22px 45px rgba(11, 18, 33, 0.14);
  --eep-font: 'Inter', system-ui, -apple-system, sans-serif;
  --eep-font-display: 'Oswald', 'Inter', sans-serif;
  --eep-trans: all 0.2s ease-in-out;
}

/* --- 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, 18px);
  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: var(--eep-primary);
}

.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%;
  padding: 12px 16px;
  border: 1px solid var(--eep-border);
  border-radius: var(--eep-radius);
  font-size: 1rem;
  color: var(--eep-navy);
  background: #fff;
  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);
}

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

/* =========================
   OpenStage 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-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;
  }
}

/* =========================
   Single Event Refinement
   ========================= */

.eep-event-page {
  max-width: 1240px;
}

.eep-event-page,
.eep-event-page * {
  letter-spacing: normal;
}

.eep-event-page .eep-event-hero {
  min-height: clamp(420px, 56vh, 560px);
}

.eep-event-page .eep-event-hero-overlay {
  max-width: 880px;
  padding: clamp(28px, 5vw, 64px) 18px;
}

.eep-event-page .eep-event-hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.eep-event-page .eep-event-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  max-width: 620px;
  margin-bottom: 18px;
}

.eep-event-page .eep-hero-info-card {
  min-width: 176px;
  padding: 9px 12px;
  border-radius: 14px;
}

.eep-event-page .eep-hero-info-card span {
  font-size: 0.66rem;
}

.eep-event-page .eep-hero-info-card strong {
  font-size: 0.98rem;
  font-family: var(--eep-font);
  font-weight: 700;
}

.eep-event-page .eep-event-chip {
  font-size: 0.64rem;
  padding: 5px 10px;
}

.eep-event-page .eep-event-layout-modern {
  max-width: 1080px;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  margin-top: 16px;
}

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

.eep-event-page .eep-event-section {
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.eep-event-page .eep-event-overview h3,
.eep-event-page .eep-event-section h3 {
  font-size: clamp(1.95rem, 2.4vw, 2.6rem);
  margin-bottom: 12px;
}

.eep-event-page .eep-event-overview h3::before,
.eep-event-page .eep-event-section h3::before {
  top: 7px;
}

.eep-event-page .eep-fact-grid-modern {
  gap: 8px;
}

.eep-event-page .eep-fact-card {
  padding: 10px 11px;
  border-radius: 10px;
}

.eep-event-page .eep-fact-label {
  font-size: 0.62rem;
  margin-bottom: 2px;
}

.eep-event-page .eep-fact-value {
  font-family: var(--eep-font);
  font-size: 0.88rem;
  font-weight: 700;
}

.eep-event-page .eep-event-body {
  margin: 12px 0 2px;
}

.eep-event-page .eep-event-body,
.eep-event-page .eep-event-body p,
.eep-event-page .eep-event-body li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.eep-event-page .eep-event-details-list-modern {
  margin-top: 10px;
  column-gap: 16px;
}

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

.eep-event-page .eep-detail-row dt {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.eep-event-page .eep-detail-row dd {
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
  color: #0f172a;
}

.eep-event-page .eep-date-item h4 {
  font-size: 1rem;
}

.eep-event-page .eep-date-item span {
  font-size: 0.62rem;
  padding: 3px 8px;
}

.eep-event-page .eep-date-item p {
  font-size: 0.95rem;
  margin-top: 6px;
}

.eep-event-page .eep-event-gallery-grid[data-count='1'] .eep-gallery-item,
.eep-event-page .eep-event-gallery-grid[data-count='1'] .eep-gallery-item.is-featured {
  grid-column: span 12;
  min-height: 220px;
}

.eep-event-page .eep-gallery-item {
  border-radius: 14px;
}

.eep-event-page .eep-video-grid-modern {
  gap: 12px;
}

.eep-event-page .eep-video-grid-modern[data-count='1'] {
  grid-template-columns: 1fr;
}

.eep-event-page .eep-video-grid-modern[data-count='1'] .eep-video-card {
  min-height: 240px;
}

.eep-event-page .eep-video-card {
  border-radius: 14px;
  min-height: 150px;
}

.eep-event-page .eep-video-card.is-featured {
  min-height: 220px;
}

.eep-event-page .eep-video-title {
  font-size: 0.95rem;
}

.eep-event-page .eep-video-play {
  width: 48px;
  height: 48px;
  font-size: 0.9rem;
}

.eep-event-page .eep-location-venue {
  font-size: 1.08rem;
  font-family: var(--eep-font);
  font-weight: 700;
}

.eep-event-page .eep-location-address {
  font-size: 0.95rem;
}

.eep-event-page .eep-event-cta-card {
  border-radius: 18px;
  padding: 16px;
}

.eep-event-page .eep-event-cta-card h3 {
  font-size: 2rem;
  line-height: 1;
}

.eep-event-page .eep-cta-text {
  font-size: 0.98rem;
  margin: 6px 0 10px;
}

.eep-event-page .eep-cta-status {
  margin-bottom: 10px;
  padding-top: 8px;
}

.eep-event-page .eep-event-cta-card .eep-btn {
  min-height: 40px;
  border-radius: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}

.eep-event-page .eep-organizer-card h3 {
  font-size: 2rem;
  line-height: 1;
}

.eep-event-page .eep-organizer-name {
  font-size: 0.98rem;
}

.eep-event-page .eep-event-hero-info-cards {
  gap: 10px;
  margin-bottom: 12px;
}

.eep-event-page .eep-hero-info-card {
  min-width: 150px;
  max-width: 460px;
  padding: 7px 10px;
  border-radius: 12px;
}

.eep-event-page .eep-hero-info-card span {
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  margin-bottom: 1px;
}

.eep-event-page .eep-hero-info-card strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.eep-event-page .eep-event-chip {
  min-width: 86px;
  min-height: 26px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 0.61rem;
  padding: 4px 9px;
}

.eep-event-page .eep-fact-grid-modern {
  gap: 6px;
}

.eep-event-page .eep-fact-card {
  padding: 7px 8px;
  border-radius: 8px;
}

.eep-event-page .eep-fact-label {
  font-size: 0.56rem;
  margin-bottom: 1px;
}

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

.eep-event-page .eep-event-cta-card .eep-actions {
  gap: 6px;
}

.eep-event-page .eep-event-cta-card .eep-btn {
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a {
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 500;
}

.eep-event-page .eep-organizer-card .eep-meta a {
  color: var(--eep-primary);
}

.eep-event-page .eep-mini-heading {
  font-size: 0.66rem;
}

.eep-event-page .eep-contact-form-modern input,
.eep-event-page .eep-contact-form-modern textarea {
  margin-bottom: 10px;
  font-size: 0.82rem;
  padding: 10px 12px;
}

@media (max-width: 1160px) {
  .eep-event-page .eep-event-layout-modern {
    max-width: 980px;
  }
}

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

  .eep-event-page .eep-event-overview h3,
  .eep-event-page .eep-event-section h3 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

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

/* =========================
   Single Event Micro Fixes
   ========================= */

.eep-event-page .eep-event-overview h3,
.eep-event-page .eep-event-section h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.eep-event-page .eep-fact-grid-modern {
  gap: 4px;
}

.eep-event-page .eep-fact-card {
  padding: 6px 7px;
  border-radius: 7px;
  align-content: start;
}

.eep-event-page .eep-fact-label {
  font-size: 0.5rem;
  line-height: 1.15;
}

.eep-event-page .eep-fact-value {
  font-size: 0.74rem;
  line-height: 1.08;
  font-weight: 600;
  display: block;
  margin: 0;
  white-space: normal !important;
  word-break: break-word;
}

.eep-event-page .eep-event-hero-info-cards {
  gap: 7px;
}

.eep-event-page .eep-hero-info-card {
  min-width: 120px;
  max-width: 460px;
  padding: 5px 8px;
  border-radius: 10px;
}

.eep-event-page .eep-hero-info-card span {
  font-size: 0.52rem;
  margin-bottom: 1px;
}

.eep-event-page .eep-hero-info-card strong {
  font-size: 0.74rem;
  line-height: 1.2;
}

.eep-event-page .eep-event-chip {
  min-width: 90px;
  min-height: 22px;
  height: 22px;
  font-size: 0.54rem;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.eep-event-page .eep-event-cta-card .eep-actions {
  gap: 5px;
}

.eep-event-page .eep-event-cta-card .eep-btn {
  min-height: 30px;
  height: 30px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
}

.eep-event-page .eep-event-cta-card .eep-cta-status {
  margin-bottom: 7px;
}

.eep-event-page .eep-event-cta-card .eep-cta-status span {
  font-size: 0.58rem;
}

.eep-event-page .eep-event-cta-card .eep-cta-status strong {
  font-size: 0.64rem;
  padding: 3px 8px;
}

.eep-event-page .eep-event-cta-card .eep-rsvp-meta {
  font-size: 0.7rem;
  line-height: 1.2;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a {
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 500;
}

.eep-event-page .eep-contact-meta {
  word-break: break-word;
}

.eep-event-page .eep-contact-meta p,
.eep-event-page .eep-contact-meta strong {
  font-size: 0.76rem;
  line-height: 1.25;
  margin: 3px 0;
}

.eep-event-page .eep-contact-meta a {
  color: var(--eep-primary);
  text-decoration: none;
  font-weight: 600;
}

.eep-event-page .eep-location-map-wrap {
  margin-bottom: 10px;
}

.eep-event-page .eep-location-map {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 12px;
  display: block;
}

@media (max-width: 900px) {
  .eep-event-page .eep-location-map {
    height: 180px;
  }
}

/* =========================
   Platform Page Polish
   ========================= */

.eep-layout,
.eep-submit-wrap,
.eep-auth-grid,
.eep-my-events {
  max-width: 1220px;
  margin: 0 auto 24px;
  padding: 0 14px;
}

.eep-page-banner {
  max-width: 1220px;
  margin: 0 auto 16px;
  border-radius: 24px;
}

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

.eep-page-banner p {
  font-size: 0.94rem;
}

.eep-layout {
  gap: 20px;
}

.eep-layout .eep-sidebar {
  top: 20px;
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.eep-layout .eep-sidebar h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.eep-layout .eep-filter-form label {
  margin-bottom: 5px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eep-layout .eep-filter-form input,
.eep-layout .eep-filter-form select {
  margin-bottom: 10px;
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.86rem;
}

.eep-layout .eep-filter-form .eep-link-reset {
  display: inline-flex;
  margin-right: 8px;
  font-size: 0.8rem;
}

.eep-layout .eep-content .eep-grid {
  gap: 16px;
}

.eep-map-layout .eep-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e9edf3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.eep-map-sidebar #eep-map-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.eep-map-sidebar .eep-map-item {
  border: 1px solid #e9edf3;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
}

.eep-map-sidebar .eep-map-item a {
  font-size: 0.86rem;
}

.eep-submit-wrap {
  gap: 18px;
}

.eep-submit-nav {
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.eep-submit-nav a {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 9px;
  border-radius: 10px;
  color: #334155;
}

.eep-submit-nav a:hover {
  color: var(--eep-primary);
  background: #fff3ec;
}

.eep-submit-form {
  border: 1px solid #e9edf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.eep-submit-form .eep-form-section h3 {
  font-size: 1.2rem;
}

.eep-submit-form input,
.eep-submit-form select,
.eep-submit-form textarea {
  margin-bottom: 12px;
}

.eep-auth-grid {
  gap: 18px;
}

.eep-auth-grid .eep-form {
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.eep-auth-grid .eep-form h3 {
  font-size: 1.25rem;
}

.eep-table-wrap {
  border-radius: 14px;
}

/* =========================
   Submit Form UX Fixes
   ========================= */

.eep-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

#eep-submit-form .wp-editor-tabs .switch-html,
#eep-submit-form .wp-editor-tabs .switch-text,
#eep-submit-form .quicktags-toolbar {
  display: none !important;
}

#eep-submit-form .mce-container,
#eep-submit-form .wp-editor-wrap {
  border-radius: 12px;
}

#eep-submit-form .eep-validation-error {
  margin-top: -8px;
  margin-bottom: 10px;
}

#eep-submit-form .eep-video-repeater {
  display: grid;
  gap: 8px;
}

#eep-submit-form .eep-video-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.eep-account-quick-actions {
  max-width: 1220px;
  margin: 0 auto 14px;
  padding: 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eep-account-quick-actions .eep-btn {
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

/* =========================
   Map List Cards
   ========================= */

.eep-map-sidebar #eep-map-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

#eep-map-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.eep-map-sidebar .eep-map-item-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  padding: 9px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

#eep-map-list .eep-map-item-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  padding: 9px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.eep-map-sidebar .eep-map-item-thumb {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
  flex-shrink: 0;
}

#eep-map-list .eep-map-item-thumb {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
  flex-shrink: 0;
}

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

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

.eep-map-sidebar .eep-map-item-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0b1221, #334155);
}

#eep-map-list .eep-map-item-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0b1221, #334155);
}

.eep-map-sidebar .eep-map-item-thumb-placeholder span {
  color: #fff;
  font-family: var(--eep-font-display);
  font-size: 1.25rem;
  line-height: 1;
}

#eep-map-list .eep-map-item-thumb-placeholder span {
  color: #fff;
  font-family: var(--eep-font-display);
  font-size: 1.25rem;
  line-height: 1;
}

.eep-map-sidebar .eep-map-item-body {
  min-width: 0;
}

#eep-map-list .eep-map-item-body {
  min-width: 0;
}

.eep-map-sidebar .eep-map-item-title {
  display: block;
  color: var(--eep-navy);
  font-family: var(--eep-font-display);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

#eep-map-list .eep-map-item-title {
  display: block;
  color: var(--eep-navy);
  font-family: var(--eep-font-display);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.eep-map-sidebar .eep-map-item-date,
.eep-map-sidebar .eep-map-item-location,
.eep-map-sidebar .eep-map-item-excerpt,
.eep-map-sidebar .eep-map-item-meta {
  margin: 0 0 4px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #475569;
}

#eep-map-list .eep-map-item-date,
#eep-map-list .eep-map-item-location,
#eep-map-list .eep-map-item-excerpt,
#eep-map-list .eep-map-item-meta {
  margin: 0 0 4px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #475569;
}

.eep-map-sidebar .eep-map-item-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#eep-map-list .eep-map-item-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eep-map-sidebar .eep-map-item-meta {
  color: #64748b;
}

#eep-map-list .eep-map-item-meta {
  color: #64748b;
}

.eep-map-sidebar .eep-map-item-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  background: #fff0e9;
  color: var(--eep-primary);
}

#eep-map-list .eep-map-item-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  background: #fff0e9;
  color: var(--eep-primary);
}

@media (max-width: 900px) {
  .eep-map-sidebar .eep-map-item-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  #eep-map-list .eep-map-item-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

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

  #eep-map-list .eep-map-item-thumb {
    width: 64px;
    height: 64px;
  }

  #eep-submit-form .eep-video-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Final UX + Mobile Overrides
   ========================= */

:root {
  --eep-base-font-size: 18px;
  --eep-h2-size: 1.75rem;
  --eep-h3-size: 1.35rem;
  --eep-font-weight-body: 400;
  --eep-font-weight-heading: 700;
}

.eep-theme-shell,
.eep-layout,
.eep-submit-wrap,
.eep-auth-grid,
.eep-my-events,
.eep-form,
.eep-card {
  font-family: var(--eep-font);
  font-size: var(--eep-base-font-size);
  font-weight: var(--eep-font-weight-body);
  line-height: 1.5;
}

.eep-theme-shell h2,
.eep-layout h2,
.eep-submit-wrap h2,
.eep-auth-grid h2,
.eep-my-events h2 {
  font-size: var(--eep-h2-size);
  font-family: var(--eep-font-display);
  font-weight: var(--eep-font-weight-heading);
}

.eep-theme-shell h3,
.eep-layout h3,
.eep-submit-wrap h3,
.eep-auth-grid h3,
.eep-my-events h3 {
  font-size: var(--eep-h3-size);
  font-family: var(--eep-font-display);
  font-weight: var(--eep-font-weight-heading);
}

.eep-notice {
  margin: 0 auto 14px;
  max-width: 1220px;
  border-radius: 12px;
  border: 1px solid #e6ebf2;
  background: #f8fbff;
  color: #0f172a;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.eep-notice.eep-notice-error {
  background: #fff5f5;
  border-color: #fecaca;
  color: #7f1d1d;
}

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

.eep-submit-completion-note {
  background: #fffaf0;
  border-color: #fbd38d;
  color: #7a3410;
}

.eep-submit-completion-note p {
  margin: 4px 0 0;
}

.eep-submit-completion-note ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.eep-submit-completion-note li {
  margin: 0 0 4px;
}

#eep-toast-root {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483647 !important;
  display: grid;
  gap: 10px;
}

.eep-toast {
  min-width: 260px;
  max-width: min(92vw, 440px);
  margin: 0;
  border-radius: 12px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, #0f172a, #1f2937);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.34);
}

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

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

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

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

.eep-toast-title {
  font-family: var(--eep-font-display, "Inter", sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

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

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

@media (max-width: 640px) {
  #eep-toast-root {
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2147483647 !important;
  }
  .eep-toast {
    min-width: 0;
    max-width: 100%;
  }
}

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

.eep-btn,
.eep-form button[type='submit']:not(.eep-btn),
.eep-filter-form button[type='submit']:not(.eep-btn) {
  border-radius: 999px;
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.eep-btn-sm {
  min-height: 34px !important;
  padding: 7px 12px !important;
  font-size: 0.69rem !important;
  border-radius: 999px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
}

.eep-inline-form {
  display: inline-flex;
  margin: 0;
}

.eep-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #334155;
}

.eep-pill-success {
  background: #dcfce7;
  color: #166534;
}

.eep-pill-muted {
  background: #e2e8f0;
  color: #475569;
}

.eep-btn.eep-loading {
  position: relative;
  opacity: 0.9;
}

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

@keyframes eep-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.eep-page-banner {
  border-radius: 20px;
  padding: clamp(18px, 3.6vw, 36px);
}

.eep-page-banner h1 {
  margin: 0 0 8px;
}

.eep-page-banner p {
  margin: 0;
}

.eep-account-tabs {
  max-width: 1220px;
  margin: 0 auto 12px;
  padding: 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eep-account-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid #e4e9f1;
  background: #fff;
  color: #334155;
  padding: 8px 14px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eep-account-tabs a:hover,
.eep-account-tabs a.is-active {
  border-color: #f3b08f;
  background: #fff3ec;
  color: var(--eep-primary);
}

.eep-account-tabs.eep-loading {
  opacity: 0.75;
}

.eep-account-shell {
  min-height: 120px;
}

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

.eep-recommended-card {
  border-radius: 14px;
  overflow: hidden;
}

.eep-recommended-card .eep-card-content {
  padding: 12px 14px;
}

.eep-recommended-card h4 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.eep-recommended-card .eep-meta {
  margin: 0 0 4px;
  font-size: 0.82rem;
}

.eep-event-page .eep-event-hero {
  min-height: clamp(340px, 52vh, 520px);
  border-radius: 0 0 28px 28px;
}

.eep-event-page .eep-event-hero-overlay {
  padding: clamp(22px, 4vw, 56px) 14px;
  max-width: 980px;
}

.eep-event-page .eep-event-hero-title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.eep-event-page .eep-event-hero-subtitle {
  margin: 0 auto 14px;
  max-width: 640px;
  font-size: clamp(0.95rem, 1.3vw, 1.06rem);
  line-height: 1.45;
}

.eep-event-page .eep-event-hero-info-cards {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 8px;
  width: min(100%, 640px);
  margin: 0 auto 10px;
}

.eep-event-page .eep-hero-info-card {
  min-width: 0;
  max-width: none;
  width: 100%;
  border-radius: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.45);
}

.eep-event-page .eep-hero-info-card span {
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  margin-bottom: 1px;
}

.eep-event-page .eep-hero-info-card strong {
  display: block;
  font-family: var(--eep-font);
  font-size: 0.92rem;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
}

.eep-event-page .eep-event-hero-chips {
  gap: 6px;
}

.eep-event-page .eep-event-chip {
  min-width: 84px;
  min-height: 24px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  line-height: 1;
  white-space: nowrap;
}

.eep-event-page .eep-event-layout-modern {
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 0 12px;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
}

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

.eep-event-page .eep-event-section {
  padding: 15px;
  border-radius: 16px;
}

.eep-event-page .eep-event-overview h3,
.eep-event-page .eep-event-section h3 {
  margin-bottom: 10px;
}

.eep-event-page .eep-fact-grid-modern {
  gap: 7px;
}

.eep-event-page .eep-fact-card {
  border-radius: 10px;
  padding: 9px 10px;
}

.eep-event-page .eep-fact-label {
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.eep-event-page .eep-fact-value {
  font-family: var(--eep-font);
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal !important;
  word-break: break-word;
}

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

.eep-event-page .eep-event-body p {
  margin: 0 0 12px;
  line-height: 1.56;
}

.eep-event-page .eep-event-details-list-modern {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

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

.eep-event-page .eep-detail-row dd {
  font-size: 0.92rem;
  line-height: 1.32;
}

.eep-event-page .eep-location-map {
  height: 200px;
  border-radius: 12px;
}

.eep-event-page .eep-event-location-box {
  border-radius: 12px;
  padding: 10px 12px;
}

.eep-event-page .eep-location-venue {
  font-size: 1rem;
  margin-bottom: 4px;
}

.eep-event-page .eep-location-address {
  font-size: 0.9rem;
  line-height: 1.35;
}

.eep-event-page .eep-event-cta-card .eep-cta-status {
  margin-bottom: 8px;
}

.eep-event-page .eep-event-cta-card .eep-cta-status span {
  font-size: 0.58rem;
}

.eep-event-page .eep-event-cta-card .eep-cta-status strong {
  font-size: 0.62rem;
  padding: 3px 8px;
}

.eep-event-page .eep-event-cta-card .eep-actions {
  gap: 6px;
}

.eep-event-page .eep-event-cta-card .eep-btn,
.eep-event-page .eep-event-cta-card .eep-btn-secondary {
  min-height: 32px;
  height: 32px;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.58rem;
}

.eep-event-page .eep-rsvp-meta {
  margin-top: 8px;
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a,
.eep-event-page .eep-contact-meta p,
.eep-event-page .eep-contact-meta strong,
.eep-event-page .eep-contact-meta a {
  font-size: 0.86rem !important;
  line-height: 1.35 !important;
  word-break: break-word;
}

.eep-event-page .eep-organizer-card .eep-meta a,
.eep-event-page .eep-contact-meta a {
  color: var(--eep-primary);
}

.eep-map-layout {
  align-items: start;
}

.eep-map-layout--three-column {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(260px, 320px);
}

.eep-map-layout--below,
.eep-map-layout--sidebar {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
}

.eep-layout-no-sidebar.eep-map-layout--three-column {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

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

.eep-map-layout .eep-sidebar {
  gap: 8px;
}

.eep-map-layout .eep-sidebar .eep-btn {
  width: 100%;
}

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

.eep-map-layout .eep-map {
  min-height: 520px;
}

.eep-map-results-col,
.eep-map-results-below {
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.eep-map-results-col {
  position: sticky;
  top: 18px;
  align-self: start;
}

.eep-map-results-heading {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.eep-map-sidebar #eep-map-list {
  margin-top: 10px;
}

.eep-map-results-col #eep-map-list,
.eep-map-results-below #eep-map-list {
  margin-top: 8px;
}

.eep-map-sidebar .eep-map-item-card {
  border-radius: 12px;
  padding: 8px;
}

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

.eep-map-sidebar .eep-map-item-date,
.eep-map-sidebar .eep-map-item-location,
.eep-map-sidebar .eep-map-item-excerpt,
.eep-map-sidebar .eep-map-item-meta {
  font-size: 0.76rem;
}

.eep-submit-wrap {
  gap: 20px;
  align-items: start;
}

.eep-submit-wrap .eep-submit-nav {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-radius: 16px;
  padding: 10px;
}

.eep-submit-wrap .eep-submit-nav .eep-submit-nav-link {
  margin: 0 0 6px;
  border-bottom: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #334155;
}

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

.eep-submit-wrap .eep-submit-nav .eep-submit-nav-link.is-active,
.eep-submit-wrap .eep-submit-nav .eep-submit-nav-link:hover {
  color: var(--eep-primary);
  background: #fff3ec;
}

.eep-submit-wrap .eep-form-section {
  scroll-margin-top: 88px;
  border-radius: 18px;
  padding: clamp(16px, 2.3vw, 24px);
  margin-bottom: 14px;
}

.eep-submit-wrap .eep-form-section.is-current {
  border-color: #f7b794;
  box-shadow: 0 0 0 2px rgba(255, 94, 20, 0.14), 0 12px 26px rgba(15, 23, 42, 0.08);
}

.eep-submit-wrap .eep-help-text {
  display: block;
  margin: -2px 0 8px;
  font-size: 0.82rem;
  color: #64748b;
}

.eep-submit-wrap .eep-meta {
  margin-top: -4px;
  margin-bottom: 8px;
}

.eep-submit-wrap #eep-location-preview {
  margin-top: 8px;
}

.eep-submit-wrap .eep-dropzone {
  padding: 16px;
}

.eep-submit-wrap .eep-dropzone p {
  margin: 0;
  font-size: 0.86rem;
}

.eep-submit-wrap .eep-gallery > div .eep-btn {
  margin-top: 5px;
}

.eep-my-events,
.eep-user-management {
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.eep-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
}

.eep-admin-table {
  width: 100%;
  border-collapse: collapse;
}

.eep-admin-table th,
.eep-admin-table td {
  vertical-align: top;
  border-bottom: 1px solid #e8edf4;
  padding: 10px 8px;
  font-size: 0.84rem;
}

.eep-admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  background: #f8fafc;
}

.eep-admin-table td a {
  color: var(--eep-primary);
}

.eep-admin-table .eep-actions,
.eep-admin-table .eep-admin-actions,
.eep-admin-table .eep-my-events-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.eep-admin-table .eep-actions > form,
.eep-admin-table .eep-actions > a {
  margin: 0;
}

.eep-moderation-bulk-form .eep-actions-inline {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.eep-moderation-bulk-form .eep-actions-inline select,
.eep-moderation-bulk-form .eep-actions-inline input[type='text'] {
  margin: 0;
}

.eep-moderation-bulk-form .eep-actions-inline .eep-btn {
  min-height: 40px;
  padding: 0 16px;
  justify-content: center;
}

.eep-moderation-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
  margin-top: 8px;
  align-items: stretch !important;
}

.eep-moderation-actions .eep-btn {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center;
}

.eep-moderation-row-form textarea[name='moderator_note'],
.eep-moderation-row-form textarea[name='claim_reject_reason'] {
  margin-top: 2px;
}

.eep-moderation-table td:last-child .eep-moderation-row-form {
  min-width: 320px;
}

.eep-admin-legend {
  border: 1px solid #fde0d2;
  background: #fff7f3;
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 12px;
}

.eep-admin-legend p {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: #334155;
}

.eep-admin-legend p:last-child {
  margin-bottom: 0;
}

.eep-user-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}

.eep-user-search-form label {
  flex: 1 0 100%;
  margin: 0;
}

.eep-user-search-form input {
  flex: 1 1 300px;
  margin: 0;
}

.eep-user-search-form .eep-meta {
  margin: 0;
  font-size: 0.74rem;
}

.eep-user-search-form.eep-loading input,
.eep-user-search-form.eep-loading button {
  opacity: 0.78;
}

#eep-user-management-body.eep-loading {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.eep-user-event-tools {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 8px;
  background: #f8fafc;
}

.eep-user-event-tools label {
  margin-bottom: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eep-user-event-tools select,
.eep-user-event-tools input,
.eep-user-event-tools textarea {
  margin-bottom: 7px;
  font-size: 0.78rem;
  padding: 7px 9px;
}

.eep-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eep-organizers-wrap .eep-organizers-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.eep-organizer-card-item {
  border-radius: 14px;
  border: 1px solid #e6ebf2;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.eep-organizer-card-item h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.eep-organizer-card-item .eep-meta {
  margin: 0 0 7px;
  font-size: 0.84rem;
  color: #475569;
}

.eep-auth-grid .eep-form,
.eep-account-quick-actions + .eep-form {
  border-radius: 16px;
}

@media (max-width: 1160px) {
  .eep-map-layout--three-column,
  .eep-map-layout--below,
  .eep-map-layout--sidebar,
  .eep-layout-no-sidebar.eep-map-layout--three-column {
    grid-template-columns: 1fr;
  }

  .eep-map-results-col {
    position: static;
  }

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

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

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

  .eep-submit-wrap .eep-submit-nav {
    position: static;
    transform: none;
    max-height: none;
  }

  .eep-submit-wrap .eep-submit-nav .eep-submit-nav-link {
    display: inline-flex;
    align-items: center;
    margin: 0 6px 6px 0;
  }
}

@media (max-width: 900px) {
  .eep-layout,
  .eep-submit-wrap,
  .eep-auth-grid,
  .eep-my-events {
    padding: 0 10px;
  }

  .eep-page-banner {
    margin-bottom: 12px;
    border-radius: 16px;
    padding: 16px 14px;
  }

  .eep-account-tabs {
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .eep-account-tabs a {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.68rem;
    padding: 8px 10px;
  }

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

  .eep-map-layout .eep-sidebar {
    position: static;
    margin-bottom: 10px;
  }

  .eep-map-layout .eep-map {
    min-height: 360px;
  }

  .eep-event-page .eep-event-hero {
    min-height: 320px;
  }

  .eep-event-page .eep-event-hero-overlay {
    padding: 22px 10px;
  }

  .eep-event-page .eep-event-hero-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .eep-event-page .eep-event-hero-info-cards {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 7px;
  }

  .eep-event-page .eep-event-hero-chips {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .eep-event-page .eep-event-chip {
    flex: 0 0 auto;
  }

  .eep-event-page .eep-event-layout-modern {
    padding: 0 8px;
  }

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

  .eep-admin-table th,
  .eep-admin-table td {
    font-size: 0.8rem;
    padding: 8px 6px;
  }
}

@media (max-width: 740px) {
  .eep-responsive-table thead {
    display: none;
  }

  .eep-responsive-table,
  .eep-responsive-table tbody,
  .eep-responsive-table tr,
  .eep-responsive-table td {
    display: block;
    width: 100%;
  }

  .eep-responsive-table tbody tr {
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
    padding: 8px;
  }

  .eep-responsive-table td {
    border: 0;
    padding: 7px 6px;
  }

  .eep-responsive-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
  }

  .eep-responsive-table .eep-actions::before,
  .eep-responsive-table .eep-admin-actions::before,
  .eep-responsive-table .eep-my-events-actions::before {
    margin-bottom: 5px;
  }

  .eep-responsive-table .eep-actions,
  .eep-responsive-table .eep-admin-actions,
  .eep-responsive-table .eep-my-events-actions {
    justify-content: flex-start;
  }
}

/* =========================
   Final Fit & Precision Overrides
   ========================= */

#eep-submit-form .wp-editor-tabs button[id$='-html'],
#eep-submit-form .wp-editor-tabs .switch-html,
#eep-submit-form .wp-editor-tabs .switch-text,
#eep-submit-form .quicktags-toolbar {
  display: none !important;
}

.eep-event-page .eep-event-hero-info-cards {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr) !important;
  gap: 8px !important;
  width: min(100%, 620px) !important;
}

.eep-event-page .eep-hero-info-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 8px 11px !important;
  border-radius: 12px !important;
}

.eep-event-page .eep-hero-info-card span {
  font-size: 0.56rem !important;
  margin-bottom: 1px !important;
}

.eep-event-page .eep-hero-info-card strong {
  font-size: 0.9rem !important;
  line-height: 1.28 !important;
}

.eep-event-page .eep-event-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 84px !important;
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
}

.eep-event-page .eep-fact-grid-modern {
  gap: 8px !important;
}

.eep-event-page .eep-fact-card {
  min-height: 0 !important;
  height: auto !important;
  padding: 9px 10px !important;
}

.eep-event-page .eep-fact-label {
  margin-bottom: 2px !important;
}

.eep-event-page .eep-fact-value {
  font-size: 0.9rem !important;
  line-height: 1.22 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.eep-event-page .eep-event-cta-card .eep-actions {
  gap: 6px !important;
}

.eep-event-page .eep-event-cta-card .eep-btn,
.eep-event-page .eep-event-cta-card .eep-btn-secondary {
  min-height: 32px !important;
  height: 32px !important;
  padding: 6px 10px !important;
  font-size: 0.58rem !important;
}

.eep-event-page .eep-event-cta-card .eep-rsvp-meta {
  margin-top: 8px !important;
  font-size: 0.69rem !important;
  line-height: 1.18 !important;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a,
.eep-event-page .eep-contact-meta p,
.eep-event-page .eep-contact-meta strong,
.eep-event-page .eep-contact-meta a {
  font-size: 0.84rem !important;
  line-height: 1.3 !important;
}

.eep-map-layout #eep-map-list {
  display: grid !important;
  gap: 10px !important;
}

.eep-map-layout #eep-map-list .eep-map-item-card {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
}

.eep-map-layout #eep-map-list.eep-map-list--grid .eep-map-item-card {
  grid-template-columns: 1fr !important;
}

.eep-map-layout #eep-map-list.eep-map-list--grid-large .eep-map-item-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px;
}

.eep-map-layout #eep-map-list.eep-map-list--grid-large .eep-map-item-thumb {
  width: 100% !important;
  height: 210px !important;
  border-radius: 0 !important;
}

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

@media (max-width: 900px) {
  .eep-event-page .eep-event-hero {
    min-height: 320px !important;
  }

  .eep-event-page .eep-event-hero-overlay {
    padding: 22px 10px !important;
  }

  .eep-event-page .eep-event-hero-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem) !important;
  }
}

@media (max-width: 640px) {
  .eep-event-page .eep-event-hero-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 7px !important;
  }

  .eep-event-page .eep-hero-info-card {
    padding: 7px 9px !important;
  }

  .eep-event-page .eep-hero-info-card strong {
    font-size: 0.84rem !important;
  }
}

/* =========================
   Archive + My Events UX
   ========================= */

.eep-archive-event-card {
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 12px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eep-archive-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.eep-archive-event-card:focus-visible {
  outline: 2px solid var(--eep-primary);
  outline-offset: 2px;
}

.eep-archive-event-card .eep-card-cover-link {
  display: block;
}

.eep-archive-event-card .eep-card-cover {
  margin-bottom: 12px;
}

.eep-archive-event-card h4,
.eep-archive-event-card .eep-meta {
  padding-left: 14px;
  padding-right: 14px;
}

.eep-archive-event-card-footer {
  margin-top: auto;
  padding: 10px 14px 0;
}

.eep-archive-event-card-footer .eep-btn {
  width: 100%;
  text-align: center;
}

.eep-archive-filter-form .eep-link-reset {
  margin-right: 8px;
}

.eep-archive-filter-form .eep-btn,
.eep-archive-filter-form button[type='submit'] {
  margin-top: 2px;
}

.eep-submit-wrap .eep-submit-nav {
  top: 120px !important;
  transform: none !important;
  z-index: 1;
}

@media (max-width: 1160px) {
  .eep-submit-wrap .eep-submit-nav {
    top: auto !important;
  }
}

/* =========================
   Video Card Fixes
   ========================= */

.eep-event-page .eep-video-grid-modern {
  align-items: start;
}

.eep-event-page .eep-video-item {
  display: grid;
  gap: 8px;
}

.eep-event-page .eep-video-item.is-featured {
  grid-column: 1 / -1;
}

.eep-event-page .eep-video-item-title {
  margin: 0;
  font-family: var(--eep-font-display);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}

.eep-event-page .eep-video-item.is-featured .eep-video-item-title {
  color: var(--eep-primary);
}

.eep-event-page .eep-video-item .eep-video-card {
  min-height: 220px;
}

.eep-event-page .eep-video-item.is-featured .eep-video-card {
  min-height: 330px;
}

.eep-event-page .eep-video-card .eep-video-title {
  display: none !important;
}

.eep-event-page .eep-video-play {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eep-event-page .eep-video-play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #fff;
  margin-left: 2px;
}

/* =========================
   My Events Buttons
   ========================= */

.eep-my-events-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eep-my-events-actions .eep-btn,
.eep-my-events-actions .eep-inline-form .eep-btn {
  min-width: 92px;
  justify-content: center;
}

/* =========================
   Archive + Event Final Polish
   ========================= */

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

.eep-archive-filter-form button[type='submit'] {
  margin-right: 6px;
}

.eep-archive-filter-form .eep-link-reset,
.eep-archive-filter-form .eep-save-filters-local,
.eep-archive-filter-form .eep-use-filters-local {
  margin-top: 4px;
}

.eep-archive-filter-form .eep-use-filters-local {
  width: 100%;
}

.eep-archive-event-card {
  border: 1px solid #e6ebf2 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

.eep-archive-event-card h4 {
  margin: 0 0 6px !important;
}

.eep-archive-event-card .eep-meta {
  margin: 0 0 6px !important;
}

.eep-event-page .eep-fact-card {
  padding: 8px 10px !important;
  min-height: 0 !important;
}

.eep-event-page .eep-fact-value {
  line-height: 1.25 !important;
}

.eep-event-page .eep-video-item-title {
  margin-bottom: 1px !important;
}

.eep-event-page .eep-video-play {
  background: #ff5e14 !important;
  border: 2px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28) !important;
}

.eep-map-list {
  display: grid !important;
  gap: 10px !important;
}

.eep-map-list .eep-map-item-card {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
}

.eep-my-events-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px !important;
  align-items: stretch !important;
}

.eep-my-events-actions > a,
.eep-my-events-actions > button,
.eep-my-events-actions > form {
  margin: 0 !important;
}

.eep-my-events-actions .eep-inline-form {
  display: flex;
  width: 100%;
}

.eep-my-events-actions .eep-btn {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center;
}

.eep-file-upload {
  width: 100%;
  font-size: 0.8rem;
  color: #334155;
}

.eep-file-upload::file-selector-button {
  border: 1px solid #d9e0ea;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 8px;
}

.eep-file-upload::-webkit-file-upload-button {
  border: 1px solid #d9e0ea;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 8px;
}

.eep-event-overview-chips {
  margin: 10px 0 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eep-event-overview-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d8dee8;
  background: #f8fafc;
  color: #334155;
  font-family: var(--eep-font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.eep-event-overview-chip.is-primary {
  background: #0b1221;
  border-color: #0b1221;
  color: #fff;
}

.eep-event-overview-chip:hover {
  border-color: #f3b08f;
  color: var(--eep-primary);
  background: #fff3ec;
}

.eep-event-overview-chip.is-primary:hover {
  background: #111c31;
  border-color: #111c31;
  color: #fff;
}

.eep-account-panel {
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  .eep-my-events-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eep-moderation-bulk-form .eep-actions-inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .eep-my-events-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Final Event Page Tune
   ========================= */

.eep-event-page .eep-event-hero-info-cards {
  grid-template-columns: minmax(0, 172px) minmax(0, 1fr) !important;
  width: min(100%, 560px) !important;
  gap: 8px !important;
}

.eep-event-page .eep-hero-info-card {
  min-height: 0 !important;
  padding: 8px 11px !important;
  border-radius: 14px !important;
}

.eep-event-page .eep-hero-info-card span {
  margin-bottom: 2px !important;
  font-size: 0.57rem !important;
}

.eep-event-page .eep-hero-info-card strong {
  font-size: 0.9rem !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
}

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

.eep-event-page .eep-fact-card {
  padding: 8px 10px !important;
  border-radius: 10px !important;
  min-height: 0 !important;
}

.eep-event-page .eep-fact-value {
  font-size: 0.88rem !important;
  line-height: 1.22 !important;
}

.eep-event-page .eep-event-details-list-modern {
  gap: 0 !important;
}

.eep-event-page .eep-detail-row {
  padding: 7px 0 !important;
}

.eep-event-page .eep-detail-row dt,
.eep-event-page .eep-detail-row dd {
  margin: 0 !important;
  line-height: 1.26 !important;
}

.eep-event-page .eep-detail-row dd {
  font-size: 0.88rem !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.eep-event-page .eep-event-cta-card .eep-actions {
  gap: 5px !important;
}

.eep-event-page .eep-event-cta-card .eep-btn,
.eep-event-page .eep-event-cta-card .eep-btn-secondary {
  min-height: 30px !important;
  height: 30px !important;
  padding: 5px 9px !important;
  font-size: 0.56rem !important;
  letter-spacing: 0.05em !important;
}

.eep-event-page .eep-event-cta-card .eep-rsvp-meta {
  font-size: 0.66rem !important;
  line-height: 1.18 !important;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a {
  margin: 0 0 6px !important;
  font-size: 0.82rem !important;
  line-height: 1.28 !important;
  word-break: break-word !important;
}

.eep-event-page .eep-contact-meta p,
.eep-event-page .eep-contact-meta strong,
.eep-event-page .eep-contact-meta a {
  font-size: 0.82rem !important;
  line-height: 1.25 !important;
}

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

.eep-event-page .eep-event-overview-chip {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
}

@media (max-width: 780px) {
  .eep-event-page .eep-fact-grid-modern {
    grid-template-columns: 1fr !important;
  }

  .eep-event-page .eep-event-hero-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
}

/* =========================
   Auth + Map UX Tune
   ========================= */

.eep-auth-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  padding: 14px;
}

.eep-auth-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.eep-auth-tab {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #d9e0ea;
  background: #f8fafc;
  color: #334155;
  font-family: var(--eep-font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.eep-auth-tab.is-active {
  background: var(--eep-primary);
  border-color: var(--eep-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 94, 20, 0.25);
}

.eep-auth-panels {
  display: grid;
  gap: 10px;
}

.eep-auth-panel {
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.eep-auth-panel .eep-meta {
  margin-bottom: 10px;
}

.eep-auth-panel h3 {
  margin-bottom: 6px;
}

.eep-auth-panel[hidden] {
  display: none !important;
}

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

.eep-map-quick-actions .eep-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 640px) {
  .eep-auth-shell {
    padding: 10px;
    border-radius: 14px;
  }

  .eep-auth-panel {
    padding: 12px;
  }
}

/* =========================
   Settings-Driven Overrides
   ========================= */

.eep-event-page .eep-event-cta-card {
  background: linear-gradient(145deg, var(--eep-primary), var(--eep-primary-hover));
  box-shadow: 0 24px 48px color-mix(in srgb, var(--eep-primary) 40%, transparent);
}

.eep-event-page .eep-event-cta-card,
.eep-event-page .eep-event-cta-card h3,
.eep-event-page .eep-event-cta-card .eep-cta-text,
.eep-event-page .eep-event-cta-card .eep-cta-status,
.eep-event-page .eep-event-cta-card .eep-cta-status span,
.eep-event-page .eep-event-cta-card .eep-cta-status strong,
.eep-event-page .eep-event-cta-card .eep-meta {
  color: var(--eep-on-primary, #ffffff) !important;
}

.eep-event-page .eep-event-cta-card .eep-cta-status {
  border-top-color: color-mix(in srgb, var(--eep-on-primary, #ffffff) 35%, transparent);
}

.eep-event-page .eep-event-cta-card .eep-cta-status strong {
  background: color-mix(in srgb, var(--eep-on-primary, #ffffff) 20%, transparent);
}

.eep-event-page .eep-event-cta-card .eep-btn-secondary {
  border-color: color-mix(in srgb, var(--eep-on-primary, #ffffff) 42%, transparent);
  color: var(--eep-on-primary, #ffffff) !important;
}

.eep-event-page.eep-hero-layout-compact .eep-event-hero {
  min-height: clamp(320px, 44vh, 440px);
}

.eep-event-page.eep-hero-layout-compact .eep-event-hero-overlay {
  max-width: 760px;
  padding: clamp(22px, 4vw, 44px) 18px;
}

.eep-event-page.eep-hero-layout-compact .eep-event-hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}

.eep-event-page.eep-hero-layout-compact .eep-event-hero-subtitle {
  margin-bottom: 12px;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
}

.eep-event-page.eep-hero-layout-split .eep-event-hero {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
}

.eep-event-page.eep-hero-layout-split .eep-event-hero-overlay {
  margin: 0;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 5vw, 64px);
  max-width: 640px;
}

.eep-event-page.eep-hero-layout-split .eep-event-hero-subtitle {
  margin: 0 0 16px;
}

.eep-event-page.eep-hero-layout-split .eep-event-hero-info-cards,
.eep-event-page.eep-hero-layout-split .eep-event-hero-chips {
  justify-content: flex-start;
}

.eep-event-page.eep-hero-layout-minimal .eep-event-hero {
  min-height: clamp(300px, 40vh, 400px);
}

.eep-event-page.eep-hero-layout-minimal .eep-event-hero-overlay {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.eep-event-page.eep-hero-layout-immersive .eep-event-hero {
  min-height: clamp(480px, 68vh, 760px);
}

.eep-event-page.eep-hero-layout-immersive .eep-event-hero-overlay {
  max-width: 960px;
  padding-bottom: clamp(36px, 8vw, 82px);
}

.eep-event-page.eep-hero-layout-spotlight .eep-event-hero {
  align-items: center;
}

.eep-event-page.eep-hero-layout-spotlight .eep-event-hero-overlay {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.eep-event-page.eep-page-layout-balanced .eep-event-layout-modern {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.eep-event-page.eep-page-layout-compact-aside .eep-event-layout-modern {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.eep-event-page.eep-page-layout-single-column .eep-event-layout-modern {
  grid-template-columns: 1fr;
}

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

.eep-event-page.eep-page-layout-cards-heavy .eep-event-main,
.eep-event-page.eep-page-layout-cards-heavy .eep-event-aside {
  gap: 20px;
}

.eep-event-page.eep-page-layout-cards-heavy .eep-event-section {
  border-radius: 20px;
}

.eep-event-page.eep-page-layout-editorial .eep-event-layout-modern {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.eep-event-page .eep-report-event-box {
  margin-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--eep-on-primary, #fff) 22%, transparent);
  padding-top: 10px;
}

.eep-event-page .eep-report-event-box summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eep-event-page .eep-report-event-form textarea {
  margin-top: 8px;
  min-height: 84px;
}

.eep-map-density--comfortable #eep-map-list:not(.eep-map-list--grid) .eep-map-item-card {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  gap: 10px !important;
}

.eep-map-density--comfortable #eep-map-list:not(.eep-map-list--grid) .eep-map-item-thumb {
  width: 84px !important;
  height: 84px !important;
}

.eep-map-density--comfortable #eep-map-list:not(.eep-map-list--grid) .eep-map-item-title {
  font-size: 0.95rem !important;
}

.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-card {
  grid-template-columns: 68px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 8px !important;
}

.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-thumb {
  width: 68px !important;
  height: 68px !important;
}

.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-title {
  font-size: 0.84rem !important;
}

.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-date,
.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-location,
.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-excerpt,
.eep-map-density--compact #eep-map-list:not(.eep-map-list--grid) .eep-map-item-meta {
  font-size: 0.72rem !important;
}

#eep-events-map:focus-visible {
  outline: 3px solid var(--eep-primary);
  outline-offset: 2px;
}

/* =========================
   Runtime Fixes
   ========================= */

.eep-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  color: #334155;
}

.eep-status-pending {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.eep-status-publish {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.eep-status-draft {
  background: #e2e8f0;
  color: #475569;
  border-color: #cbd5e1;
}

.eep-event-page .eep-event-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 6px 0 10px;
}

.eep-event-page .eep-countdown-col {
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--eep-on-primary, #ffffff) 36%, transparent);
  background: color-mix(in srgb, #000 16%, transparent);
  padding: 6px 5px;
  text-align: center;
}

.eep-event-page .eep-countdown-col span {
  display: block;
  font-family: var(--eep-font-display);
  font-size: 1rem;
  line-height: 1.05;
  font-weight: 700;
}

.eep-event-page .eep-countdown-col small {
  display: block;
  margin-top: 2px;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.88;
}

.eep-event-page .eep-event-countdown[data-ended='1'] .eep-countdown-col {
  opacity: 0.78;
}

#eep-submit-form .eep-dropzone {
  cursor: pointer;
}

#eep-submit-form .eep-custom-fields-wrap-submit {
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #fff;
  overflow: auto;
  margin-top: 10px;
}

#eep-submit-form .eep-custom-fields-wrap-submit .eep-custom-fields-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

#eep-submit-form .eep-custom-fields-wrap-submit th,
#eep-submit-form .eep-custom-fields-wrap-submit td {
  border-bottom: 1px solid #edf2f7;
  padding: 8px;
  vertical-align: top;
}

#eep-submit-form .eep-custom-fields-wrap-submit th {
  background: #f8fafc;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
}

#eep-submit-form .eep-custom-fields-wrap-submit .eep-custom-fields-empty {
  padding: 12px;
  color: #64748b;
  font-size: 0.86rem;
}

#eep-submit-form .eep-custom-builder-row input[type='text'],
#eep-submit-form .eep-custom-builder-row select,
#eep-submit-form .eep-custom-builder-row textarea {
  margin: 0;
  width: 100%;
  font-size: 0.84rem;
  padding: 8px 9px;
  border-radius: 10px;
}

#eep-submit-form .eep-custom-builder-row .eep-cbf-required,
#eep-submit-form .eep-custom-builder-row .eep-cbf-show {
  margin-right: 4px;
}

#eep-submit-form .eep-custom-builder-row label {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 2px;
}

#eep-submit-form .eep-custom-fields-controls {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#eep-submit-form .eep-custom-upload-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

#eep-submit-form .eep-custom-gallery-preview {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

#eep-submit-form .eep-custom-gallery-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dbe4ef;
}

.eep-event-page .eep-custom-display-list {
  display: grid;
  gap: 10px;
}

.eep-event-page .eep-custom-display-row {
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
}

.eep-event-page .eep-custom-display-row h4 {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.eep-event-page .eep-custom-display-row p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.42;
  color: #0f172a;
}

.eep-event-page .eep-custom-display-row a {
  color: var(--eep-primary);
  word-break: break-word;
}

.eep-event-page .eep-custom-display-image-wrap img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
  display: block;
}

.eep-event-page .eep-custom-display-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
}

.eep-event-page .eep-custom-display-gallery .eep-gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
}

.eep-event-page .eep-custom-display-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dbe4ef;
}

.eep-event-page .eep-fact-value {
  line-height: 1.26 !important;
}

.eep-event-page .eep-detail-row dd,
.eep-event-page .eep-detail-row dd a {
  line-height: 1.28 !important;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a,
.eep-event-page .eep-organizer-card .eep-organizer-name,
.eep-event-page .eep-contact-meta p,
.eep-event-page .eep-contact-meta a,
.eep-event-page .eep-contact-meta strong {
  font-size: 0.86rem !important;
  line-height: 1.3 !important;
  word-break: break-word;
}

.eep-event-page .eep-video-grid-modern[data-count='1'] {
  grid-template-columns: 1fr;
}

.eep-event-page .eep-video-grid-modern[data-count='2'] {
  grid-template-columns: 1fr;
}

.eep-event-page .eep-video-grid-modern[data-count='3'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eep-event-page .eep-video-grid-modern[data-count='4'],
.eep-event-page .eep-video-grid-modern[data-count='5'],
.eep-event-page .eep-video-grid-modern[data-count='6'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eep-event-page .eep-video-grid-modern[data-count='1'] .eep-video-item,
.eep-event-page .eep-video-grid-modern[data-count='2'] .eep-video-item,
.eep-event-page .eep-video-grid-modern[data-count='4'] .eep-video-item,
.eep-event-page .eep-video-grid-modern[data-count='5'] .eep-video-item,
.eep-event-page .eep-video-grid-modern[data-count='6'] .eep-video-item {
  grid-column: auto !important;
}

.eep-event-page .eep-video-grid-modern[data-count='3'] .eep-video-item.is-featured {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .eep-event-page .eep-event-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #eep-submit-form .eep-custom-fields-wrap-submit .eep-custom-fields-table {
    min-width: 760px;
  }

  .eep-event-page .eep-video-grid-modern[data-count='2'],
  .eep-event-page .eep-video-grid-modern[data-count='3'],
  .eep-event-page .eep-video-grid-modern[data-count='4'],
  .eep-event-page .eep-video-grid-modern[data-count='5'],
  .eep-event-page .eep-video-grid-modern[data-count='6'] {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Admin-requested Map Layout Modes
   ========================= */

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

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

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

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

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

.eep-map-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.eep-map-list--grid .eep-map-item-thumb {
  width: 100%;
  height: 148px;
  border-radius: 12px;
}

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

.eep-map-list--grid-large .eep-map-item-card {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 12px !important;
}

.eep-map-list--grid-large .eep-map-item-thumb {
  width: 100%;
  height: 210px;
  border-radius: 14px;
}

.eep-map-list--grid-large .eep-map-item-title {
  font-size: 1rem;
  line-height: 1.35;
}

.eep-map-list--grid-large .eep-map-item-date {
  margin-top: 2px;
  font-size: 0.82rem;
  color: #475569;
}

.eep-map-item-card[data-eep-card-url] {
  cursor: pointer;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.eep-map-item-card[data-eep-card-url]::after {
  content: '↗';
  position: absolute;
  right: 10px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(11, 18, 33, .75);
  color: #fff;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}

.eep-map-item-card[data-eep-card-url]:hover,
.eep-map-item-card[data-eep-card-url]:focus-visible {
  border-color: rgba(255, 94, 20, .45);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
  transform: translateY(-1px);
}

.eep-map-item-card[data-eep-card-url]:hover::after,
.eep-map-item-card[data-eep-card-url]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.eep-map-item-card .eep-map-item-title {
  margin: 0;
}

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

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

.eep-map-load-more {
  min-width: 190px;
}

@media (max-width: 1160px) {
  .eep-map-layout--below-list,
  .eep-map-layout--below-grid,
  .eep-map-layout--below-grid-large,
  .eep-map-layout--grid-no-map {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .eep-map-list--grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Consistent Thumbnails + Moderation UI
   ========================= */

.eep-archive-event-card .eep-card-cover-link {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eef5;
}

.eep-archive-event-card .eep-card-cover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.eep-map-list .eep-map-item-thumb {
  overflow: hidden;
  border-radius: 12px;
}

.eep-map-list:not(.eep-map-list--grid):not(.eep-map-list--grid-large) .eep-map-item-thumb {
  flex: 0 0 86px;
  width: 86px !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
}

.eep-map-list--grid .eep-map-item-thumb,
.eep-map-list--grid-large .eep-map-item-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  height: auto !important;
}

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

.eep-moderation-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.eep-moderation-actions .eep-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .eep-moderation-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Mobile Filter Drawer + Event Page Spacing
   ========================= */

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

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

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

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

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

.eep-event-page .eep-event-layout-modern {
  margin-top: 20px !important;
  padding: 0 clamp(16px, 2.2vw, 30px) !important;
  gap: 20px !important;
}

.eep-event-page .eep-event-section {
  padding: clamp(18px, 2.2vw, 24px) !important;
}

.eep-event-page .eep-event-body {
  margin-top: 14px !important;
}

.eep-event-page .eep-event-body p {
  margin: 0 0 14px !important;
  line-height: 1.62 !important;
}

.eep-event-page .eep-event-overview-chips {
  margin-top: 14px !important;
}

.eep-event-page .eep-event-hero,
.eep-event-page .eep-event-hero-has-image {
  background-size: cover !important;
  background-position: var(--eep-hero-bg-pos, center center) !important;
  background-attachment: scroll !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.eep-event-page .eep-event-hero::before {
  inset: 0 !important;
}

@media (max-width: 900px) {
  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-toolbar {
    display: flex;
    grid-column: 1 / -1;
    margin: 0 0 10px;
  }

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

  .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 0.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 0.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-sidebar-head h3 {
    margin: 0 !important;
    font-size: 1rem !important;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-head .eep-map-filters-close {
    display: inline-flex;
    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;
    margin: 0;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-apply-wrap {
    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%;
  }

  .eep-map-layout.eep-map-mobile-filters--inline .eep-map-mobile-toolbar,
  .eep-map-layout.eep-map-mobile-filters--inline .eep-map-sidebar-backdrop {
    display: none !important;
  }

  .eep-map-layout.eep-map-mobile-filters--inline .eep-map-sidebar-panel {
    position: static !important;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    overflow: visible;
    transform: none !important;
    border-radius: 14px !important;
    box-shadow: none;
    padding: 10px !important;
  }

  .eep-map-layout .eep-map-main-col,
  .eep-map-layout .eep-map-results-col,
  .eep-map-layout .eep-map-results-below {
    grid-column: 1 / -1;
  }

  .eep-map-layout .eep-map {
    min-height: 320px !important;
  }

  .eep-event-page .eep-event-hero {
    min-height: 300px !important;
    border-radius: 0 0 22px 22px !important;
  }

  .eep-event-page .eep-event-hero-overlay {
    padding: 24px 14px 18px !important;
  }

  .eep-event-page .eep-event-hero-info-cards {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .eep-event-page .eep-hero-info-card {
    padding: 8px 10px !important;
  }

  .eep-event-page .eep-event-layout-modern {
    margin-top: 16px !important;
    padding: 0 12px !important;
    gap: 14px !important;
  }

  .eep-event-page .eep-event-section {
    padding: 14px !important;
    border-radius: 14px !important;
  }

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

  .eep-event-page .eep-event-details-list-modern {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .eep-event-page .eep-detail-row {
    border: 1px solid #e4e9f1;
    border-radius: 10px;
    background: #f8fafc;
    padding: 9px 10px !important;
  }

  .eep-event-page .eep-detail-row:not(.eep-detail-row--compact) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .eep-event-page .eep-event-hero-title {
    line-height: 1.03 !important;
  }

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

  .eep-event-page .eep-fact-card {
    padding: 8px !important;
  }

  .eep-event-page .eep-event-details-list-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =========================
   Submit Form Prefill + Media Tiles
   ========================= */

.eep-submit-form .eep-upload-preview-wrap {
  position: relative;
  width: 100%;
}

.eep-submit-form .eep-upload-preview-wrap .eep-upload-preview {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

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

.eep-submit-form .eep-gallery .eep-gallery-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d9e3f0;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
}

.eep-submit-form .eep-gallery .eep-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eep-submit-form .eep-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 18, 33, 0.8);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.eep-submit-form .eep-upload-remove:hover {
  background: rgba(220, 38, 38, 0.9);
}

.eep-submit-form .eep-upload-remove-sm {
  width: 28px;
  height: 28px;
  top: 6px;
  right: 6px;
}

.eep-submit-form .eep-email-template-notes {
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px 12px;
  margin: 8px 0 12px;
}

.eep-submit-form .eep-email-template-notes p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #334155;
}

.eep-submit-form .eep-email-template-notes p:last-child {
  margin-bottom: 0;
}

.eep-submit-form .eep-email-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.eep-submit-form .eep-email-template-card {
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.eep-submit-form .eep-email-template-card label {
  margin-top: 8px;
}

.eep-submit-form .eep-email-template-card label:first-child {
  margin-top: 0;
}

.eep-submit-form .eep-email-template-card textarea {
  min-height: 106px;
}

@media (max-width: 900px) {
  .eep-submit-form .eep-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eep-submit-form .eep-email-template-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eep-submit-form .eep-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   Account Panel Cleanup
   ========================= */

.eep-account-actions-panel {
  margin-bottom: 12px;
}

.eep-account-actions-panel .eep-actions {
  margin-top: 10px;
  gap: 8px;
}

.eep-account-actions-panel .eep-btn {
  min-width: 150px;
}

/* =========================
   Design Token Spacing/Radius Overrides
   ========================= */

.eep-layout,
.eep-submit-wrap,
.eep-my-events,
.eep-auth-shell,
.eep-event-page {
  border-radius: var(--eep-radius);
}

.eep-event-page .eep-event-layout-modern {
  padding-inline: calc(var(--eep-space-unit) * var(--eep-space-scale)) !important;
  gap: calc(1rem * var(--eep-space-scale)) !important;
}

.eep-event-page .eep-event-section {
  border-radius: var(--eep-radius) !important;
  padding: calc(1rem * var(--eep-space-scale) + 8px) !important;
}

.eep-map-quick-actions {
  gap: calc(8px * var(--eep-space-scale));
}

@media (max-width: 900px) {
  .eep-event-page .eep-event-layout-modern {
    padding-inline: calc(12px * var(--eep-space-scale)) !important;
  }

  .eep-event-page .eep-event-hero {
    margin-top: 0 !important;
  }
}

/* -----------------------------------------------------------------
   Calendar + Tickets + Attendees + Local Time
------------------------------------------------------------------ */
.eep-local-time-hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.01em;
}

.eep-my-tickets-wrap .eep-status-pill {
  min-width: 106px;
  text-align: center;
}

.eep-attendees-panel {
  margin-top: calc(var(--eep-space-unit, 16px) * 1.5);
  padding: calc(var(--eep-space-unit, 16px) * 1.1);
  border: 1px solid #dbe1ea;
  border-radius: var(--eep-radius, 12px);
  background: #fff;
}

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

.eep-attendees-panel-head h3 {
  margin: 0;
}

.eep-calendar-content {
  width: 100%;
}

.eep-calendar-shell {
  background: #fff;
  border: 1px solid #dbe1ea;
  border-radius: var(--eep-radius-lg, 24px);
  padding: calc(var(--eep-space-unit, 16px) * 1.2);
}

.eep-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.eep-calendar-toolbar h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
}

.eep-calendar-grid-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.eep-calendar-weekday {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #6b7280;
  text-align: center;
}

.eep-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.eep-calendar-cell {
  min-height: 120px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eep-calendar-cell.is-today {
  border-color: var(--eep-primary, #FF5E14);
  box-shadow: 0 0 0 2px rgba(255, 94, 20, 0.14);
}

.eep-calendar-cell-empty {
  background: transparent;
  border-style: dashed;
  opacity: 0.45;
}

.eep-calendar-day {
  font-weight: 700;
  font-size: 0.92rem;
  color: #111827;
}

.eep-calendar-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.eep-calendar-events li a {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 6px 7px;
  color: inherit;
  text-decoration: none;
}

.eep-calendar-events li a:hover {
  border-color: var(--eep-primary, #FF5E14);
  transform: translateY(-1px);
}

.eep-calendar-event-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--eep-primary, #FF5E14);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eep-calendar-event-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

.eep-calendar-event-city {
  display: block;
  font-size: 0.74rem;
  color: #6b7280;
  margin-top: 2px;
}

.eep-calendar-footer {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

@media (max-width: 920px) {
  .eep-attendees-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .eep-calendar-grid-head {
    display: none;
  }

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

  .eep-calendar-cell {
    min-height: 0;
  }

  .eep-calendar-day {
    font-size: 1rem;
  }
}

/* =========================
   Global UX Polish Pass
   ========================= */

.eep-page-banner,
.eep-layout,
.eep-submit-wrap,
.eep-auth-grid,
.eep-account-shell,
.eep-my-events,
.eep-organizers-wrap,
.eep-user-management {
  max-width: 1220px;
  margin-inline: auto;
}

.eep-page-banner {
  margin-bottom: 24px;
  padding: clamp(20px, 3.5vw, 40px);
  border-radius: 24px;
}

.eep-page-banner h1 {
  color: #ffffff !important;
  text-shadow: 0 3px 16px rgba(11, 18, 33, 0.32);
  letter-spacing: 0.01em;
}

.eep-page-banner p {
  max-width: 64ch;
  line-height: 1.55;
}

.eep-page-banner.eep-page-banner-has-image {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: var(--eep-page-hero-bg-pos, center center) !important;
  background-color: var(--eep-navy);
}

.eep-page-banner.eep-page-banner-has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 18, 33, 0.78), rgba(11, 18, 33, 0.48));
  pointer-events: none;
}

.eep-page-banner.eep-page-banner-has-image > * {
  position: relative;
  z-index: 1;
}

.eep-breadcrumbs {
  margin-bottom: 14px;
  font-size: 0.8rem;
}

.eep-breadcrumbs a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.eep-breadcrumbs a:hover {
  border-bottom-color: color-mix(in srgb, var(--eep-primary) 60%, transparent);
}

.eep-layout {
  gap: clamp(16px, 2vw, 28px);
}

.eep-btn,
.eep-form button[type="submit"],
.eep-filter-form button[type="submit"] {
  min-height: 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.eep-btn:hover,
.eep-form button[type="submit"]:hover,
.eep-filter-form button[type="submit"]:hover {
  transform: translateY(-1px);
}

.eep-btn-sm {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.eep-card,
.eep-account-panel,
.eep-form-section,
.eep-auth-panel,
.eep-empty-state {
  border: 1px solid #e4ebf3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.eep-card:hover {
  border-color: #ffd2bc;
}

.eep-table-wrap {
  border: 1px solid #e4ebf3;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.eep-admin-table tbody tr {
  transition: background-color 0.2s ease;
}

.eep-admin-table tbody tr:hover {
  background: #f8fafc;
}

.eep-admin-table td,
.eep-admin-table th {
  vertical-align: top;
}

.eep-form-section {
  border-radius: 18px;
  padding: clamp(14px, 2vw, 20px);
}

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

.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 {
  margin-bottom: 14px;
}

.eep-form input:focus-visible,
.eep-form textarea:focus-visible,
.eep-form select:focus-visible,
.eep-btn:focus-visible,
.eep-auth-tab:focus-visible,
.eep-submit-nav-link:focus-visible {
  outline: 3px solid rgba(255, 94, 20, 0.25);
  outline-offset: 1px;
}

.eep-submit-wrap {
  gap: 16px;
}

.eep-submit-wrap .eep-submit-nav {
  top: 120px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.eep-submit-wrap .eep-submit-nav .eep-submit-nav-link {
  min-height: 44px;
}

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

.eep-account-panel {
  border-radius: 18px;
  padding: clamp(14px, 2vw, 20px);
}

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

.eep-my-events-actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 8px !important;
}

.eep-my-events-actions > a,
.eep-my-events-actions > button,
.eep-my-events-actions > form {
  width: 100%;
  margin: 0 !important;
}

.eep-my-events-actions .eep-inline-form {
  display: flex;
}

.eep-my-events-actions .eep-btn {
  width: 100%;
  justify-content: center;
}

.eep-auth-shell {
  max-width: 640px;
  border-radius: 20px;
  padding: clamp(12px, 2vw, 18px);
}

.eep-auth-toggle {
  margin-bottom: 14px;
}

.eep-auth-tab {
  min-height: 44px;
  font-size: 0.78rem;
}

.eep-auth-panel {
  border-radius: 16px;
}

.eep-map-layout .eep-map {
  border: 1px solid #d9e3ef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.eep-map-sidebar {
  border: 1px solid #e4ebf3;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.eep-map-sidebar-head {
  margin-bottom: 10px;
}

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

.eep-map-quick-actions .eep-btn:last-child {
  grid-column: 1 / -1;
}

.eep-map-results-heading {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.eep-map-list {
  gap: 12px !important;
}

.eep-map-item-card {
  border: 1px solid #e4ebf3 !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #ffffff;
}

.eep-map-item-card .eep-map-item-thumb {
  background: #eff4fa;
}

.eep-map-item-card .eep-map-item-body {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.eep-map-list--grid-large {
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)) !important;
  gap: 16px !important;
}

.eep-map-list--grid-large .eep-map-item-card {
  display: flex !important;
  flex-direction: column !important;
}

.eep-map-list--grid-large .eep-map-item-thumb {
  width: 100% !important;
  height: 190px !important;
}

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

.eep-archive-event-card .eep-card-image-wrap {
  aspect-ratio: 16 / 10;
  height: auto;
}

.eep-archive-event-card .eep-card-content {
  padding: 16px 18px;
}

.eep-archive-event-card .eep-card-title {
  font-size: 1.04rem;
  line-height: 1.3;
}

.eep-event-page .eep-event-layout-modern {
  gap: clamp(16px, 2.5vw, 30px) !important;
  padding-top: 24px !important;
  padding-bottom: 28px !important;
}

.eep-event-page .eep-event-section {
  border-radius: 20px !important;
  border: 1px solid #e4ebf3;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.eep-event-page .eep-event-hero-title {
  color: #ffffff !important;
  text-wrap: balance;
}

.eep-event-page .eep-event-hero-info-cards {
  width: min(100%, 520px) !important;
  gap: 10px !important;
}

.eep-event-page .eep-hero-info-card {
  min-height: 0 !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

.eep-event-page .eep-hero-info-card strong {
  font-size: 0.94rem !important;
  line-height: 1.24 !important;
}

.eep-event-page .eep-fact-grid-modern {
  gap: 8px !important;
}

.eep-event-page .eep-fact-card {
  padding: 8px 10px !important;
}

.eep-event-page .eep-fact-value,
.eep-event-page .eep-detail-row dd {
  line-height: 1.3 !important;
}

.eep-event-page .eep-video-item-title {
  margin: 0 0 8px !important;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eep-event-page .eep-video-play {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eep-event-page .eep-event-cta-card .eep-actions {
  gap: 6px !important;
}

.eep-event-page .eep-event-cta-card .eep-btn,
.eep-event-page .eep-event-cta-card .eep-btn-secondary {
  min-height: 34px !important;
  height: auto !important;
  padding: 7px 10px !important;
  font-size: 0.66rem !important;
}

.eep-event-page .eep-rsvp-meta {
  font-size: 0.7rem !important;
}

.eep-event-page .eep-organizer-card .eep-meta,
.eep-event-page .eep-organizer-card .eep-meta a,
.eep-event-page .eep-contact-meta p,
.eep-event-page .eep-contact-meta a {
  font-size: 0.86rem !important;
  line-height: 1.34 !important;
}

.eep-event-page .eep-contact-meta p {
  margin-bottom: 8px !important;
}

.eep-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--eep-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.eep-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eep-account-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1220px;
}

.eep-account-tabs a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #d7e1ed;
  background: #ffffff;
  color: #1f2937;
  font-family: var(--eep-font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.eep-account-tabs a:hover {
  border-color: #f3b08f;
  background: #fff7f2;
  color: var(--eep-primary);
}

.eep-account-tabs a.is-active {
  border-color: var(--eep-primary);
  background: var(--eep-primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 94, 20, 0.28);
}

.eep-my-tickets-wrap .eep-my-events-actions .eep-btn,
.eep-my-tickets-wrap .eep-my-events-actions .eep-btn-secondary,
.eep-my-tickets-wrap .eep-my-events-actions .eep-btn-danger {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.leaflet-popup-content .eep-map-popup {
  display: grid;
  gap: 6px;
  min-width: 170px;
}

.leaflet-popup-content .eep-map-popup-thumb-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.leaflet-popup-content .eep-map-popup-thumb {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.leaflet-popup-content .eep-map-popup strong a {
  color: #0f172a;
  text-decoration: none;
}

.leaflet-popup-content .eep-map-popup strong a:hover {
  color: var(--eep-primary);
}

.leaflet-popup-content .eep-map-popup-date,
.leaflet-popup-content .eep-map-popup-location {
  display: block;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .eep-page-banner {
    border-radius: 18px;
    margin-bottom: 18px;
    padding: 18px 14px;
  }

  .eep-layout,
  .eep-submit-wrap,
  .eep-auth-grid,
  .eep-account-shell,
  .eep-my-events {
    padding-inline: 10px;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-toolbar {
    position: sticky;
    top: 12px;
    z-index: 35;
    margin-bottom: 10px;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel {
    width: min(90vw, 360px);
    max-width: 360px;
    border-radius: 20px 0 0 20px;
  }

  .eep-map-quick-actions {
    grid-template-columns: 1fr;
  }

  .eep-map-quick-actions .eep-btn:last-child {
    grid-column: auto;
  }

  .eep-event-page .eep-event-layout-modern {
    padding-top: 18px !important;
  }

  .eep-event-page .eep-event-hero {
    border-radius: 0 0 24px 24px;
  }

  .eep-event-page .eep-event-hero-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

  .eep-event-page .eep-detail-row {
    padding: 7px 0 !important;
  }

  .eep-account-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .eep-map-list--grid-large {
    grid-template-columns: 1fr !important;
  }

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

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

/* Mobile readability: prevent background bleed behind sticky filters/cards */
@media (max-width: 900px) {
  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-mobile-toolbar {
    background: #ffffff !important;
    border: 1px solid #e4ebf3;
    border-radius: 14px;
    padding: 8px;
  }

  .eep-map-layout.eep-map-mobile-filters--drawer .eep-map-sidebar-panel,
  .eep-layout .eep-sidebar,
  .eep-map-sidebar,
  .eep-map-results-col,
  .eep-map-results-below,
  .eep-map-list .eep-map-item-card,
  .eep-archive-event-card,
  .eep-archive-event-card .eep-card-content {
    background: #ffffff !important;
  }
}

/* =========================
   Events Archive Style Pass
   ========================= */

.eep-breadcrumbs {
  max-width: 1280px;
  margin: 0 auto 8px;
  padding: 20px 20px 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #64748b;
  font-weight: 500;
}

.eep-breadcrumbs a {
  color: #64748b;
  font-weight: 500;
}

.eep-breadcrumbs .is-current {
  color: #1e293b;
  font-weight: 600;
}

.eep-breadcrumbs .eep-breadcrumb-sep {
  margin: 0 7px;
  color: #94a3b8;
}

.eep-page-banner.eep-archive-hero {
  max-width: 1280px;
  margin: 0 auto 40px;
  border-radius: 24px;
  padding: 84px 24px;
  min-height: 290px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.92));
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.14), 0 4px 6px -4px rgba(15, 23, 42, 0.12);
}

.eep-page-banner.eep-archive-hero.eep-page-banner-has-image {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.eep-page-banner.eep-archive-hero.eep-page-banner-has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.78));
}

.eep-page-banner.eep-archive-hero.eep-page-banner-has-image > * {
  position: relative;
  z-index: 1;
}

.eep-page-banner.eep-archive-hero .eep-page-kicker {
  margin: 0;
  font-family: var(--eep-font);
  font-size: 0.875rem;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9a47c;
}

.eep-page-banner.eep-archive-hero h1 {
  margin: 0;
  font-family: var(--eep-font) !important;
  font-weight: 800 !important;
  font-size: clamp(2rem, 4.4vw, 3rem) !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.eep-page-banner.eep-archive-hero p {
  margin: 0 auto;
  max-width: 600px;
  font-family: var(--eep-font);
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92) !important;
}

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

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

.eep-archive-sidebar {
  position: sticky;
  top: 24px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
}

.eep-archive-sidebar h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  font-family: var(--eep-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 2px solid #f1f5f9;
}

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

.eep-archive-filter-card label {
  display: block;
  margin-bottom: 8px;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--eep-font);
}

.eep-archive-filter-card input[type='text'],
.eep-archive-filter-card input[type='date'],
.eep-archive-filter-card select {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #1e293b;
  border-radius: 8px;
  margin-bottom: 0;
  padding: 12px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.eep-archive-filter-card input:focus,
.eep-archive-filter-card select:focus {
  border-color: var(--eep-primary);
  box-shadow: 0 0 0 3px rgba(224, 79, 13, 0.12);
  background: #fff;
}

.eep-archive-filter-actions {
  margin-top: 4px;
}

.eep-archive-filter-card button[type='submit'] {
  width: 100%;
  margin-top: 2px;
  margin-bottom: 0;
  border-radius: 8px;
  border: 0;
  background: #e04f0d;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--eep-font);
  padding: 13px 14px;
}

.eep-archive-filter-card button[type='submit']:hover {
  background: #c2420a;
}

.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%;
  display: block;
  text-align: center;
  margin: 10px 0 0;
  font-family: var(--eep-font);
}

.eep-archive-filter-card .eep-save-filters-local,
.eep-archive-filter-card .eep-use-filters-local {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569 !important;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: none;
}

.eep-archive-filter-card .eep-save-filters-local:hover,
.eep-archive-filter-card .eep-use-filters-local:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1f2937 !important;
}

.eep-archive-filter-card .eep-link-reset {
  color: #64748b !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.eep-archive-filter-card .eep-link-reset:hover {
  color: #e04f0d !important;
}

.eep-archive-content .eep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.eep-archive-event-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--eep-shadow-sm) !important;
  overflow: hidden;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.eep-archive-event-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: var(--eep-shadow) !important;
  transform: translateY(-4px);
}

.eep-archive-event-card .eep-card-image-wrap {
  height: 200px;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.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;
  margin-bottom: 0 !important;
}

.eep-archive-event-card .eep-card-cover-fallback {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.eep-archive-event-card .eep-card-title {
  margin: 0 0 10px !important;
  font-family: var(--eep-font) !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  line-height: 1.35;
  color: #1e293b;
}

.eep-archive-event-card .eep-card-title a {
  color: inherit;
}

.eep-archive-event-card .eep-card-title a:hover {
  color: #e04f0d;
}

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

.eep-archive-event-card .eep-card-meta-row svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: #e04f0d;
}

.eep-archive-event-card-footer {
  margin-top: auto;
  padding: 20px 0 0 !important;
}

.eep-archive-view-btn {
  width: 100%;
  border: 1px solid #e04f0d;
  border-radius: 8px;
  background: #fff;
  color: #e04f0d !important;
  font-family: var(--eep-font);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 12px 14px;
  box-shadow: none;
}

.eep-archive-view-btn:hover {
  border-color: #c2420a;
  background: #e04f0d;
  color: #fff !important;
}

.eep-archive-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  background: #f8fafc;
  border: 1px dashed #d9e2ec;
  border-radius: 18px;
}

.eep-archive-empty-state h4 {
  margin: 0 0 8px;
  font-family: var(--eep-font);
  font-size: 1.25rem;
  font-weight: 700;
}

.eep-archive-empty-state p {
  margin: 0;
  color: #64748b;
}

@media (max-width: 900px) {
  .eep-page-banner.eep-archive-hero {
    margin: 0 16px 26px;
    min-height: 230px;
    padding: 56px 18px;
  }

  .eep-layout.eep-archive-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 16px 56px;
  }

  .eep-archive-sidebar {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eep-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .eep-btn,
  .eep-card,
  .eep-map-item-card,
  .eep-auth-tab {
    transition: none !important;
  }
}

/* =========================
   Archive + Map + Gallery Final Polish
   ========================= */

.eep-page-banner.eep-archive-hero .eep-page-kicker {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto 8px !important;
  text-align: center !important;
  align-self: center;
  line-height: 1.2;
}

.eep-page-banner.eep-map-hero {
  max-width: 1400px;
  margin: 0 auto 30px;
  border-radius: 24px;
  min-height: 220px;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.14), 0 4px 6px -4px rgba(15, 23, 42, 0.12);
}

.eep-page-banner.eep-map-hero.eep-page-banner-has-image {
  position: relative;
  background-size: cover;
  background-position: var(--eep-page-hero-bg-pos, center center);
}

.eep-page-banner.eep-map-hero.eep-page-banner-has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8));
}

.eep-page-banner.eep-map-hero.eep-page-banner-has-image > * {
  position: relative;
  z-index: 1;
}

.eep-page-banner.eep-map-hero .eep-page-kicker {
  display: block;
  width: 100%;
  max-width: none;
  text-align: center;
  margin: 0 auto 8px !important;
  color: #fba177;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.2;
}

.eep-page-banner.eep-map-hero p.eep-page-kicker,
.eep-page-banner.eep-archive-hero p.eep-page-kicker {
  margin: 0 auto 8px !important;
  max-width: none !important;
  width: 100%;
}

.eep-page-banner.eep-map-hero h1 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.2;
  text-transform: none;
}

.eep-page-banner.eep-map-hero p {
  max-width: 640px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
}

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

.eep-map-sidebar {
  position: sticky;
  top: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  padding: 24px;
}

.eep-map-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.eep-map-sidebar-head h3 {
  margin: 0;
  font-size: 1.25rem;
  font-family: var(--eep-font);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

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

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

.eep-map-reset-inline:hover {
  color: #e04f0d;
  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%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.eep-map-sidebar.eep-form input:focus,
.eep-map-sidebar.eep-form select:focus {
  border-color: #e04f0d;
  box-shadow: 0 0 0 3px rgba(224, 79, 13, 0.1);
}

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

.eep-map-primary-action .eep-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.eep-map-quick-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.eep-map-quick-actions .eep-btn {
  width: 100%;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 12px !important;
  border-radius: 999px !important;
  font-size: 0.84rem;
  line-height: 1.2 !important;
  white-space: normal;
  text-align: center !important;
  word-break: normal;
  overflow-wrap: break-word;
  overflow: hidden;
  font-family: var(--eep-font);
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-width: 0;
}

.eep-map-quick-actions .eep-btn:last-child {
  grid-column: auto;
}

.eep-map-layout .eep-map {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

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

.eep-map-layout .eep-map-results-heading {
  margin: 0 0 16px;
  font-size: 1.22rem;
  font-family: var(--eep-font);
  text-transform: none;
  letter-spacing: 0;
  color: #1e293b;
}

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

.eep-map-layout #eep-map-list.eep-map-list--grid .eep-map-item-card,
.eep-map-layout #eep-map-list.eep-map-list--grid-large .eep-map-item-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  padding: 0 !important;
}

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

.eep-map-layout #eep-map-list.eep-map-list--grid .eep-map-item-body,
.eep-map-layout #eep-map-list.eep-map-list--grid-large .eep-map-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px !important;
}

.eep-map-layout .eep-map-item-title {
  margin: 0;
  font-size: 1.125rem;
  font-family: var(--eep-font);
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
}

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

.eep-map-layout .eep-map-item-date {
  white-space: normal;
}

.eep-map-layout .eep-map-item-location {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

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

.eep-map-layout .eep-map-item-body > p:nth-of-type(n+3) {
  display: none !important;
}

.eep-map-layout .eep-map-item-view {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: #1e293b !important;
  font-size: 0.95rem;
  font-weight: 600;
}

.eep-map-layout .eep-map-item-view:hover {
  border-color: #e04f0d;
  background: #e04f0d;
  color: #fff !important;
}

.leaflet-popup-content .eep-map-popup {
  min-width: 210px;
  gap: 8px;
}

.leaflet-popup-content .eep-map-popup-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

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

.eep-event-page .eep-event-gallery-grid .eep-event-gallery-item {
  display: block;
  grid-column: span 4;
  min-height: 180px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  background: #edf2f7;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
}

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

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

.eep-event-page .eep-event-gallery-grid .eep-event-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.eep-event-page .eep-event-gallery-grid .eep-event-gallery-item.eep-event-gallery-item-has-more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.eep-event-page .eep-event-gallery-grid .eep-event-gallery-item.eep-event-gallery-item-has-more {
  position: relative;
}

.eep-event-page .eep-event-gallery-grid .eep-event-gallery-more-overlay {
  position: absolute;
  inset: auto 14px 14px auto;
  z-index: 2;
  min-width: 52px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 18, 33, 0.88);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

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

.eep-event-page .eep-event-gallery-grid[data-count='1'] .eep-event-gallery-item,
.eep-event-page .eep-event-gallery-grid[data-count='1'] .eep-event-gallery-item.is-featured {
  grid-column: span 12;
  grid-row: span 1;
  min-height: 260px;
}

.eep-event-page .eep-event-gallery-grid[data-count='2'] .eep-event-gallery-item,
.eep-event-page .eep-event-gallery-grid[data-count='2'] .eep-event-gallery-item.is-featured {
  grid-column: span 6;
  grid-row: span 1;
  min-height: 240px;
}

.eep-event-page .eep-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.eep-event-page .eep-doc-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 178px;
}

.eep-event-page .eep-doc-open {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 14px 10px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 8px;
}

.eep-event-page .eep-doc-open:hover h4 {
  color: var(--eep-primary, #FF5E14);
}

.eep-event-page .eep-doc-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 58px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 94, 20, 0.14);
  color: var(--eep-primary, #FF5E14);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.eep-event-page .eep-doc-open h4 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.35;
}

.eep-event-page .eep-doc-open p {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  word-break: break-word;
  line-height: 1.45;
}

.eep-event-page .eep-doc-download {
  margin: auto 14px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.eep-event-page .eep-doc-download:hover {
  border-color: var(--eep-primary, #FF5E14);
  background: var(--eep-primary, #FF5E14);
  color: #fff;
}

.eep-doc-lightbox .eep-doc-lightbox-frame {
  width: min(1040px, calc(100vw - 64px));
  max-height: calc(100vh - 190px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f172a;
}

.eep-doc-lightbox .eep-doc-lightbox-frame iframe {
  width: 100%;
  height: min(76vh, 820px);
  border: 0;
  background: #fff;
}

.eep-doc-lightbox .eep-doc-lightbox-meta {
  margin-top: 12px;
  width: min(1040px, calc(100vw - 64px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.eep-doc-lightbox .eep-doc-lightbox-meta strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.eep-doc-lightbox .eep-doc-lightbox-meta .eep-btn {
  min-height: 38px;
}

.eep-event-page .eep-custom-display-gallery .eep-custom-gallery-item {
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 0 !important;
  border-radius: 10px;
  box-shadow: none;
}

@media (max-width: 960px) {
  .eep-layout.eep-map-layout {
    grid-template-columns: 1fr;
    padding: 0 16px 60px;
    gap: 18px;
  }

  .eep-map-sidebar {
    position: static;
  }

  .eep-map-quick-actions {
    grid-template-columns: 1fr;
  }

  .eep-page-banner.eep-map-hero {
    margin: 0 16px 24px;
    padding: 52px 16px;
  }
}

@media (max-width: 900px) {
  .eep-map-quick-actions .eep-btn {
    min-height: 46px;
    font-size: 0.82rem;
  }

  .eep-event-page .eep-event-gallery-item,
  .eep-event-page .eep-event-gallery-item.is-featured {
    grid-column: span 12;
    grid-row: span 1;
    min-height: 220px;
  }

  .eep-doc-lightbox .eep-doc-lightbox-frame,
  .eep-doc-lightbox .eep-doc-lightbox-meta {
    width: calc(100vw - 28px);
  }

  .eep-doc-lightbox .eep-doc-lightbox-frame iframe {
    height: min(68vh, 520px);
  }

  .eep-doc-lightbox .eep-doc-lightbox-meta {
    flex-direction: column;
    align-items: stretch;
  }
}

.eep-claim-listing-wrap {
  max-width: 960px;
}

.eep-claim-listing-wrap .eep-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}

.eep-claim-listing-wrap .eep-form-card h2 {
  margin-top: 0;
}

.eep-claim-form textarea {
  min-height: 120px;
}

/* -----------------------------------------------------------------
   Auth Links + Claim Layout + Calendar Overflow Modal
------------------------------------------------------------------ */
.eep-page-auth-links {
  position: sticky;
  top: 10px;
  z-index: 92;
  margin: 8px auto 10px;
  max-width: 1220px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;
  pointer-events: none;
}

.eep-page-auth-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.eep-page-auth-link:hover {
  border-color: var(--eep-primary, #FF5E14);
  color: var(--eep-primary, #FF5E14);
  transform: translateY(-1px);
}

.eep-page-auth-link.eep-page-auth-link-primary {
  background: var(--eep-primary, #FF5E14);
  border-color: var(--eep-primary, #FF5E14);
  color: #ffffff;
}

.eep-page-auth-link.eep-page-auth-link-primary:hover {
  background: var(--eep-primary-hover, #E04F0D);
  border-color: var(--eep-primary-hover, #E04F0D);
  color: #ffffff;
}

.eep-claim-listing-wrap {
  max-width: 1220px;
}

.eep-claim-listing-wrap .eep-form-card {
  padding: 0;
  overflow: hidden;
}

.eep-claim-listing-wrap .eep-claim-letterbox {
  display: grid;
  grid-template-columns: minmax(240px, 32%) 1fr;
  gap: 0;
  min-height: 220px;
}

.eep-claim-listing-wrap .eep-claim-media {
  background: #0b1221;
  min-height: 220px;
}

.eep-claim-listing-wrap .eep-claim-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eep-claim-listing-wrap .eep-claim-content {
  padding: 22px 22px 20px;
}

.eep-claim-listing-wrap .eep-claim-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.eep-claim-listing-wrap .eep-claim-meta-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 8px 10px;
}

.eep-claim-listing-wrap .eep-claim-meta-item strong {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.eep-claim-listing-wrap .eep-claim-meta-item span {
  display: block;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.eep-calendar-events {
  gap: 5px;
}

.eep-calendar-more {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 7px;
  line-height: 1.2;
  cursor: pointer;
}

.eep-calendar-more:hover {
  border-color: var(--eep-primary, #FF5E14);
  color: var(--eep-primary, #FF5E14);
}

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

.eep-calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(11, 18, 33, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.eep-calendar-modal-dialog {
  width: min(620px, 100%);
  max-height: min(80vh, 760px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #dbe1ea;
  background: #fff;
  box-shadow: 0 30px 80px rgba(11, 18, 33, 0.28);
}

.eep-calendar-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.eep-calendar-modal-head h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.eep-calendar-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.eep-calendar-modal-close:hover {
  border-color: var(--eep-primary, #FF5E14);
  color: var(--eep-primary, #FF5E14);
}

.eep-calendar-modal-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px 18px;
}

.eep-calendar-modal-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px 12px;
  text-decoration: none;
  color: #0f172a;
}

.eep-calendar-modal-item:hover {
  border-color: var(--eep-primary, #FF5E14);
  background: #fff;
}

.eep-calendar-modal-item-time {
  display: block;
  color: var(--eep-primary, #FF5E14);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eep-calendar-modal-item-title {
  display: block;
  margin-top: 3px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.eep-calendar-modal-item-city {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.82rem;
}

.eep-autogenerated-disclaimer {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
}

.eep-autogenerated-disclaimer[hidden] {
  display: none !important;
}

.eep-autogenerated-disclaimer-inner {
  border: 1px solid #dbe1ea;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eep-autogenerated-disclaimer-text {
  margin: 0;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.45;
  flex: 1 1 auto;
}

.eep-autogenerated-disclaimer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}

.eep-autogenerated-disclaimer-actions .eep-btn {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.eep-map-quick-actions .eep-btn {
  white-space: normal;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .eep-page-auth-links {
    justify-content: center;
    top: 8px;
    padding-inline: 10px;
  }

  .eep-claim-listing-wrap .eep-claim-letterbox {
    grid-template-columns: 1fr;
  }

  .eep-claim-listing-wrap .eep-claim-media {
    min-height: 180px;
  }

  .eep-claim-listing-wrap .eep-claim-content {
    padding: 16px;
  }

  .eep-claim-listing-wrap .eep-claim-meta-grid {
    grid-template-columns: 1fr;
  }

  .eep-autogenerated-disclaimer {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .eep-autogenerated-disclaimer-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
  }

  .eep-autogenerated-disclaimer-actions {
    width: 100%;
  }

  .eep-autogenerated-disclaimer-actions .eep-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    min-width: 0;
  }
}

/* Directory-mode polish overrides */
.eep-page-banner.eep-archive-hero,
.eep-page-banner.eep-map-hero {
  text-align: center;
}

.eep-page-banner.eep-archive-hero .eep-page-kicker,
.eep-page-banner.eep-map-hero .eep-page-kicker {
  display: inline-block;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto 10px !important;
  text-align: center !important;
}

.eep-map-layout .eep-map-quick-actions .eep-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px !important;
  line-height: 1.2 !important;
  font-size: 0.9rem;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: center !important;
}

/* Submit form input consistency */
#eep-submit-form textarea[name="post_excerpt"] {
  font-family: var(--eep-font, "Inter", sans-serif);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
}

/* Organizer card spacing refinements */
.eep-event-page .eep-organizer-card .eep-organizer-name {
  margin-top: 8px;
  padding-top: 8px;
}

/* My Events attendees modal */
.eep-attendees-modal {
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.eep-attendees-modal .eep-attendees-modal-dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.35);
  position: relative;
  padding: 20px;
}

.eep-attendees-modal .eep-attendees-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #1e293b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.eep-attendees-modal .eep-attendees-modal-close:hover {
  border-color: var(--eep-primary, #FF5E14);
  color: var(--eep-primary, #FF5E14);
}

/* Final override: keep account tab pills underline-free across themes */
.eep-account-tabs a,
.eep-account-tabs a:link,
.eep-account-tabs a:visited,
.eep-account-tabs a:hover,
.eep-account-tabs a:focus,
.eep-account-tabs a:active,
.eep-account-tabs a.is-active {
  text-decoration: none !important;
}

/* Events I'm Attending empty-state sizing */
.eep-my-tickets-empty-state {
  max-width: 760px;
  margin: 14px auto;
  padding: clamp(28px, 4.2vw, 48px);
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.eep-my-tickets-empty-state h3 {
  margin: 0 0 12px;
}

.eep-my-tickets-empty-state p {
  margin: 0 0 22px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.eep-my-tickets-empty-state .eep-btn {
  min-width: 190px;
}

/* --- EEP EVENT PAGE: UN-SQUISH & SPACING ENHANCEMENTS --- */

/* 1. Main Layout & Sidebar Spacing */
.eep-event-layout-modern {
    display: flex !important;
    flex-wrap: wrap;
    gap: 50px !important; /* Huge spacing between main content and sidebar */
    max-width: 1200px;
    margin: 60px auto !important;
    padding: 0 20px;
}

.eep-event-main {
    flex: 1 1 60% !important; /* Main content takes up ~60% */
}

aside.eep-event-aside {
    flex: 1 1 30% !important; /* Sidebar takes up ~30% */
    min-width: 320px;
}

/* 2. Card Styling for Sections (Adds breathing room) */
.eep-event-section {
    background: #ffffff;
    padding: 40px !important; /* Big internal padding so content isn't touching edges */
    margin-bottom: 40px !important; /* Space between vertical sections */
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.eep-event-section h3 {
    margin-top: 0;
    margin-bottom: 25px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

/* 3. Hero Section Spacing */
.eep-event-hero-overlay {
    padding: 80px 40px !important;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;

    backdrop-filter: blur(10px);
}

.eep-event-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    margin: 20px 0 !important;
    line-height: 1.2 !important;
}

/* 4. Event Details & Fact Grid */
.eep-fact-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.eep-fact-card {
    padding: 20px !important;

    border-radius: 12px;
}

.eep-detail-row {
    padding: 15px 0 !important;
    border-bottom: 1px solid #f1f5f9;
}

.eep-event-body {
    line-height: 1.8 !important;
    margin-bottom: 30px !important;
    font-size: 1.05rem;
}

/* 5. Sidebar Specific Spacing */
.eep-event-countdown {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px !important;
    margin: 20px 0 !important;
}

.eep-countdown-col {

    padding: 15px 10px !important;
    border-radius: 10px;
    text-align: center;
}

.eep-cta-status {
    padding: 15px !important;

    border-radius: 8px;
    margin-bottom: 25px !important;
    display: flex;
    justify-content: space-between;
}

.eep-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    margin-top: 25px !important;
}

/* 6. Responsive adjustments for Mobile */
@media (max-width: 900px) {
    .eep-event-layout-modern {
        gap: 30px !important;
    }
    .eep-event-section {
        padding: 25px !important; /* Slightly smaller padding on mobile */
    }
}
