/* ==========================================================================
   Southern Tier Lights — Holiday Events Platform Styles (events.css)
   Matches existing Navy (#081022 / #0f1b36), Gold (#f5b82e), Emerald (#10b981)
   ========================================================================== */

:root {
  --evt-plum: #6d28d9;
  --evt-plum-light: #a78bfa;
  --evt-crimson: #dc2626;
  --evt-amber: #f59e0b;
  --evt-emerald: #10b981;
  --evt-navy-deep: #070e1e;
  --evt-navy-card: #101d38;
  --evt-navy-elevated: #162647;
  --evt-gold: #f5b82e;
  --evt-gold-bright: #fde08d;
  --evt-border: rgba(255, 255, 255, 0.11);
  --evt-border-gold: rgba(245, 184, 46, 0.38);
}

/* --------------------------------------------------------------------------
   1. Gentle Pulse for "Happening Now" Markers & Badges (Reduced-Motion Safe)
   -------------------------------------------------------------------------- */
@keyframes stlEventGentlePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55), 0 4px 14px rgba(0, 0, 0, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(239, 68, 68, 0), 0 6px 18px rgba(245, 184, 46, 0.45);
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marker-event-now,
  .evt-live-dot-pulse {
    animation: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   2. Map Multi-Layer Chips, Event Filter Strip & Distinct Event Markers
   -------------------------------------------------------------------------- */
.stl-multilayer-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.stl-layer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 21, 40, 0.88);
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}

.stl-layer-chip:hover {
  border-color: var(--evt-gold);
  color: #ffffff;
}

.stl-layer-chip.active[data-layer-toggle="homes"] {
  background: linear-gradient(135deg, rgba(245, 184, 46, 0.24), rgba(217, 119, 6, 0.28));
  border-color: var(--evt-gold);
  color: var(--evt-gold-bright);
}

.stl-layer-chip.active[data-layer-toggle="businesses"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(5, 150, 105, 0.3));
  border-color: #34d399;
  color: #a7f3d0;
}

.stl-layer-chip.active[data-layer-toggle="events"] {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(245, 158, 11, 0.26));
  border-color: #c4b5fd;
  color: #f5f3ff;
}

.stl-layer-count {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #f8fafc;
}

/* Map Event-Only Filter Bar */
.map-event-filter-strip {
  position: absolute;
  top: 58px;
  left: 12px;
  right: 12px;
  z-index: 520;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(9, 17, 34, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 181, 253, 0.28);
  scrollbar-width: none;
}
.map-event-filter-strip::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .map-event-filter-strip {
    top: 14px;
    left: auto;
    right: 14px;
    max-width: calc(100% - 260px);
  }
}

.map-evt-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c4b5fd;
  white-space: nowrap;
  margin-right: 2px;
}

.map-evt-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.map-evt-pill:hover { border-color: var(--evt-gold); color: #fff; }
.map-evt-pill.active {
  background: var(--evt-gold);
  border-color: var(--evt-gold);
  color: #081022;
  font-weight: 700;
}

.map-evt-select {
  background: rgba(15, 27, 54, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

/* Event Map Markers */
.custom-event-marker {
  background: transparent;
  border: none;
}

.marker-event-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-event-core {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 2px solid #fde08d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.48);
  color: #ffffff;
}

.marker-event-upcoming {
  background: linear-gradient(135deg, #5b21b6, #3b0764);
}

.marker-event-today {
  background: linear-gradient(135deg, #d97706, #92400e);
  border-color: #fef08a;
}

.marker-event-now {
  background: linear-gradient(135deg, #dc2626, #b45309);
  border-color: #fde047;
  animation: stlEventGentlePulse 2.4s ease-in-out infinite;
}

.marker-event-postponed {
  background: linear-gradient(135deg, #475569, #1e293b);
  border-color: #cbd5e1;
}

.marker-event-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--evt-gold);
  color: #081022;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #081022;
}

.marker-event-tag {
  margin-top: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #081022;
  color: #fde08d;
  border: 1px solid rgba(245, 184, 46, 0.5);
  white-space: nowrap;
}
.marker-event-tag.is-now {
  background: #dc2626;
  color: #ffffff;
  border-color: #fca5a5;
}

/* Attached event badge on Business / Sponsor pins */
.marker-biz-event-pill {
  position: absolute;
  top: -7px;
  right: -8px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1.5px solid #fde08d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

/* Cluster Marker */
.marker-cluster-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5b82e, #b45309);
  border: 2.5px solid #fffbeb;
  color: #081022;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   3. "+ Add" 3-Option Chooser Modal
   -------------------------------------------------------------------------- */
.stl-add-chooser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}

.stl-add-choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 14px;
  background: var(--evt-navy-elevated);
  border: 1px solid var(--evt-border);
  color: #f8fafc;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.stl-add-choice-card:hover {
  transform: translateY(-1px);
  border-color: var(--evt-gold);
  background: rgba(30, 49, 92, 0.95);
}

.stl-add-choice-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  background: rgba(245, 184, 46, 0.14);
  border: 1px solid rgba(245, 184, 46, 0.35);
}

.stl-add-choice-body {
  flex: 1;
}

.stl-add-choice-title {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.stl-add-choice-desc {
  display: block;
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.stl-add-choice-arrow {
  color: var(--evt-gold);
  font-size: 1.15rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Public Event Submission Modal & Mini Map Preview
   -------------------------------------------------------------------------- */
.evt-submit-sheet {
  max-width: 720px !important;
}

.evt-section-card {
  background: rgba(10, 19, 38, 0.72);
  border: 1px solid var(--evt-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.evt-section-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--evt-gold-bright);
  margin: 0 0 10px;
}

.evt-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .evt-grid-2 { grid-template-columns: 1fr 1fr; }
}

.evt-weekday-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.evt-weekday-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--evt-navy-elevated);
  border: 1px solid var(--evt-border);
  font-size: 0.8rem;
  color: #e2e8f0;
  cursor: pointer;
}
.evt-weekday-pill input { accent-color: var(--evt-gold); }

.evt-pin-preview-map {
  width: 100%;
  height: 210px;
  border-radius: 10px;
  border: 1px solid var(--evt-border-gold);
  margin-top: 10px;
  overflow: hidden;
  background: #0b1528;
}

/* --------------------------------------------------------------------------
   5. Public Holiday Events Calendar (/lights/events/) & Event/Venue Pages
   -------------------------------------------------------------------------- */
.evt-page-body {
  background: radial-gradient(circle at 50% 0%, #13254c 0%, #070e1e 55%, #050a15 100%);
  color: #f8fafc;
  min-height: 100dvh;
  font-family: 'Inter', system-ui, sans-serif;
  padding-bottom: 84px;
}

@media (min-width: 768px) {
  .evt-page-body { padding-bottom: 32px; }
}

.evt-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* Calendar Hero */
.evt-hero {
  background: linear-gradient(135deg, rgba(20, 38, 76, 0.92), rgba(11, 20, 40, 0.96));
  border: 1px solid var(--evt-border-gold);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .evt-hero {
    padding: 32px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
}

.evt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--evt-gold-bright);
  background: rgba(245, 184, 46, 0.13);
  border: 1px solid rgba(245, 184, 46, 0.32);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.evt-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.65rem, 3.3vw, 2.45rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.18;
}

.evt-hero-sub {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 650px;
  margin: 0;
}

.evt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .evt-hero-actions { margin-top: 0; flex-direction: column; align-items: stretch; min-width: 225px; }
}

/* Events Presenting Sponsor / Open Opportunity Banner */
.evt-sponsor-banner {
  background: linear-gradient(90deg, rgba(16, 42, 45, 0.9), rgba(16, 29, 56, 0.94));
  border: 1px solid rgba(52, 211, 153, 0.38);
  border-radius: 14px;
  padding: 13px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.evt-sponsor-banner.is-paid {
  border-color: var(--evt-border-gold);
  background: linear-gradient(90deg, rgba(35, 29, 15, 0.88), rgba(16, 29, 56, 0.95));
}

.evt-sponsor-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.evt-sponsor-logo {
  width: 84px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
}

.evt-sponsor-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--evt-gold-bright);
}

.evt-sponsor-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.evt-sponsor-desc {
  display: block;
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Filter Deck & View Switcher */
.evt-toolbar {
  background: rgba(15, 27, 54, 0.88);
  border: 1px solid var(--evt-border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.evt-toolbar-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

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

.evt-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #081022;
  color: var(--evt-gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.evt-filters-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--evt-border);
}

.evt-timeframe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.evt-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 7px 13px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.evt-chip:hover { border-color: var(--evt-gold); color: #fff; }
.evt-chip.active {
  background: var(--evt-gold);
  border-color: var(--evt-gold);
  color: #081022;
  font-weight: 700;
}

.evt-view-switcher {
  display: inline-flex;
  background: rgba(7, 14, 30, 0.85);
  border: 1px solid var(--evt-border);
  border-radius: 999px;
  padding: 3px;
}

.evt-view-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.evt-view-btn.active {
  background: var(--evt-gold);
  color: #081022;
  font-weight: 700;
}

.evt-toolbar-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 768px) {
  .evt-toolbar-filters {
    grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
    align-items: center;
  }
}

.evt-quick-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Happening Now Spotlight Strip */
.evt-now-spotlight {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.35), rgba(120, 53, 15, 0.35));
  border: 1px solid rgba(252, 165, 165, 0.45);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.evt-now-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fecaca;
  margin-bottom: 12px;
}

.evt-live-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  animation: stlEventGentlePulse 2s infinite;
}

/* Date Group Headers & Event Cards */
.evt-date-group {
  margin-bottom: 26px;
}

.evt-date-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--evt-gold-bright);
  padding-bottom: 8px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(245, 184, 46, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.evt-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 820px) {
  .evt-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

.evt-card {
  background: var(--evt-navy-card);
  border: 1px solid var(--evt-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.evt-card:hover {
  transform: translateY(-2px);
  border-color: var(--evt-border-gold);
}
.evt-card.is-featured {
  border-color: var(--evt-gold);
  box-shadow: 0 8px 24px rgba(245, 184, 46, 0.12);
}

.evt-card-media {
  position: relative;
  height: 175px;
  background: linear-gradient(135deg, #172554, #0f172a);
  overflow: hidden;
}

.evt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tasteful Editorial Typography Fallback (No AI stock art) */
.evt-editorial-fallback {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 184, 46, 0.18), transparent 45%),
    linear-gradient(145deg, #16264c 0%, #0b152b 100%);
  border-bottom: 1px solid rgba(245, 184, 46, 0.2);
}

.evt-editorial-cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--evt-gold-bright);
  margin-bottom: 4px;
}

.evt-editorial-town {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #f8fafc;
  opacity: 0.9;
}

.evt-status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.evt-status-happening_now { background: rgba(220, 38, 38, 0.92); color: #fff; }
.evt-status-happening_today { background: rgba(217, 119, 6, 0.92); color: #fff; }
.evt-status-upcoming { background: rgba(15, 23, 42, 0.85); color: #fde08d; border: 1px solid rgba(245, 184, 46, 0.4); }
.evt-status-postponed { background: rgba(71, 85, 105, 0.95); color: #f8fafc; }
.evt-status-cancelled { background: rgba(153, 27, 27, 0.95); color: #fecaca; }
.evt-status-completed { background: rgba(30, 41, 59, 0.9); color: #94a3b8; }

.evt-featured-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--evt-gold);
  color: #081022;
}

.evt-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.evt-card-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--evt-gold-bright);
  font-weight: 600;
  margin-bottom: 6px;
}

.evt-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.evt-card-title a {
  color: #ffffff;
  text-decoration: none;
}
.evt-card-title a:hover { color: var(--evt-gold-bright); }

.evt-card-when {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.evt-card-where {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.evt-card-summary {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}

.evt-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.evt-mini-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.evt-mini-tag.is-free {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

.evt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Month Grid View */
.evt-month-panel {
  background: var(--evt-navy-card);
  border: 1px solid var(--evt-border);
  border-radius: 16px;
  padding: 16px;
}

.evt-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.evt-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.evt-month-dow {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 4px 0;
}

.evt-month-cell {
  min-height: 82px;
  background: rgba(8, 16, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 6px;
  font-size: 0.75rem;
}
.evt-month-cell.is-today { border-color: var(--evt-gold); }
.evt-month-cell.is-outside { opacity: 0.35; }
.evt-month-daynum { font-weight: 700; color: #cbd5e1; margin-bottom: 4px; }
.evt-month-item {
  display: block;
  font-size: 0.68rem;
  padding: 2px 5px;
  margin-bottom: 3px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.25);
  color: #f5f3ff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.evt-month-item:hover { background: var(--evt-gold); color: #081022; }

/* Calendar Map View */
.evt-calendar-map {
  width: 100%;
  height: 520px;
  border-radius: 16px;
  border: 1px solid var(--evt-border-gold);
  overflow: hidden;
}

/* Permanent Event & Venue Detail Page */
.evt-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 920px) {
  .evt-detail-layout { grid-template-columns: 1.85fr 1fr; align-items: start; }
}

.evt-detail-main {
  background: var(--evt-navy-card);
  border: 1px solid var(--evt-border);
  border-radius: 20px;
  overflow: hidden;
}

.evt-detail-hero-media {
  max-height: 410px;
  overflow: hidden;
  background: #0b152b;
}
.evt-detail-hero-media img {
  width: 100%;
  max-height: 410px;
  object-fit: cover;
  display: block;
}

.evt-detail-content {
  padding: 24px 22px;
}
@media (min-width: 768px) {
  .evt-detail-content { padding: 30px 32px; }
}

.evt-alert-banner {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}
.evt-alert-cancelled {
  background: rgba(153, 27, 27, 0.28);
  border: 1px solid #f87171;
  color: #fecaca;
}
.evt-alert-postponed {
  background: rgba(180, 83, 9, 0.28);
  border: 1px solid #fbbf24;
  color: #fef3c7;
}

.evt-detail-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.evt-side-card {
  background: var(--evt-navy-card);
  border: 1px solid var(--evt-border);
  border-radius: 16px;
  padding: 18px;
}

.evt-side-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--evt-gold-bright);
  margin: 0 0 12px;
}

.evt-session-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.evt-session-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
}

.evt-nearby-lights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 640px) {
  .evt-nearby-lights-grid { grid-template-columns: repeat(2, 1fr); }
}

.evt-nearby-light-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(8, 16, 34, 0.72);
  border: 1px solid var(--evt-border);
  color: #f8fafc;
  text-decoration: none;
}
.evt-nearby-light-card:hover { border-color: var(--evt-gold); }
.evt-nearby-light-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #162647;
}

/* Drawer Nearby Events Cross-Discovery Panel on /lights/ */
.drawer-events-nearby-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(46, 16, 101, 0.35), rgba(15, 27, 54, 0.85));
  border: 1px solid rgba(196, 181, 253, 0.3);
}
.drawer-events-nearby-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  color: #e9d5ff;
  margin: 0 0 8px;
}
.drawer-event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(8, 16, 34, 0.6);
  margin-bottom: 6px;
  text-decoration: none;
  color: #f8fafc;
  font-size: 0.83rem;
}
.drawer-event-row:hover { border: 1px solid var(--evt-gold); }

/* ==========================================================================
   BOLD EDITORIAL DESTINATION MODULES & ORGANIZER TOOLKIT (Phase C/D)
   ========================================================================== */
.stl-ed-band {
  margin: 26px 0;
}
.stl-ed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 18px;
}
.stl-ed-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(4, 9, 20, 0.45);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.stl-ed-box:hover {
  transform: translateY(-2px);
}
.stl-ed-box.theme-emerald {
  background: linear-gradient(145deg, #0b2e25 0%, #071e1a 60%, #0a192f 100%);
  border-color: rgba(52, 211, 153, 0.35);
}
.stl-ed-box.theme-crimson {
  background: linear-gradient(145deg, #47121b 0%, #2a0c14 60%, #111827 100%);
  border-color: rgba(248, 113, 113, 0.42);
}
.stl-ed-box.theme-gold {
  background: linear-gradient(145deg, #3b260b 0%, #1f170d 58%, #0c162b 100%);
  border-color: rgba(245, 184, 46, 0.55);
}
.stl-ed-box.theme-midnight {
  background: linear-gradient(145deg, #122244 0%, #0b152c 65%, #070d1c 100%);
  border-color: rgba(148, 163, 184, 0.32);
}
.stl-ed-box.is-sponsored {
  border-width: 1.5px;
  border-color: rgba(245, 184, 46, 0.72);
}
.stl-ed-media {
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 175px;
  overflow: hidden;
  background: #070f20;
}
.stl-ed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stl-ed-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.stl-ed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.stl-ed-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fde68a;
}
.stl-ed-sponsored-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(245, 184, 46, 0.18);
  border: 1px solid rgba(245, 184, 46, 0.55);
  color: #fde68a;
}
.stl-ed-headline {
  font-family: 'Outfit', var(--font-heading, sans-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin: 0;
}
.stl-ed-desc {
  font-size: 0.91rem;
  line-height: 1.58;
  color: #dbeafe;
  margin: 0;
}
.stl-ed-county-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.stl-ed-county-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.stl-ed-county-pill:hover {
  background: rgba(245, 184, 46, 0.18);
  border-color: rgba(245, 184, 46, 0.6);
}
.stl-ed-county-pill span {
  color: #fde68a;
  font-size: 0.75rem;
}
.stl-ed-actions {
  margin-top: auto;
  padding-top: 8px;
}
.stl-ed-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  background: #f5b82e;
  color: #081022;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease;
}
.stl-ed-cta:hover {
  filter: brightness(1.08);
}
.evt-toolkit-card {
  border: 1.5px solid rgba(245, 184, 46, 0.55);
  background: linear-gradient(160deg, rgba(15, 34, 61, 0.96), rgba(8, 19, 36, 0.96));
}
.evt-toolkit-card.is-highlighted {
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.45), 0 16px 36px rgba(0, 0, 0, 0.5);
}
.evt-qr-preview-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.evt-qr-preview-wrap canvas {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}
.map-evt-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 16, 34, 0.92);
  border: 1px solid rgba(245, 184, 46, 0.58);
  color: #fde68a;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
@media (max-width: 767px) {
  #mapEventPartnerSlot { display: none; }
}

/* Homepage Featured Holiday Events Band (#dtHomeEventsEditorialSlot / #mwHomeEventsEditorialSlot) */
.stl-home-events-section {
  background: rgba(12, 23, 43, 0.9);
  border: 1px solid var(--evt-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
}

.stl-home-events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.stl-home-events-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #fff;
}

.stl-home-events-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.stl-home-events-link {
  text-decoration: none;
  font-size: 0.82rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.stl-home-events-link:hover {
  border-color: var(--evt-gold);
  color: #fff;
}

.stl-home-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .stl-home-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stl-home-event-card {
  background: rgba(8, 16, 34, 0.78);
  border: 1px solid var(--evt-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.stl-home-event-card:hover {
  border-color: rgba(245, 184, 46, 0.55);
  transform: translateY(-2px);
}

.stl-home-event-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, rgba(22, 36, 71, 0.95), #070e1e);
  overflow: hidden;
}
.stl-home-event-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.stl-home-event-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: radial-gradient(circle at 30% 30%, rgba(245, 184, 46, 0.22), rgba(15, 27, 54, 0.95));
}

.stl-home-event-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.stl-home-event-badge.is-featured {
  background: var(--evt-gold);
  color: #081022;
}
.stl-home-event-badge.is-live {
  background: #dc2626;
  color: #fff;
}
.stl-home-event-badge.is-sponsored {
  background: rgba(8, 16, 34, 0.9);
  border: 1px solid rgba(245, 184, 46, 0.65);
  color: #fde68a;
}

.stl-home-event-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.stl-home-event-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}
.stl-home-event-title a {
  color: #fff;
  text-decoration: none;
}
.stl-home-event-title a:hover {
  color: #fde08d;
}

.stl-home-event-meta {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.stl-home-event-actions {
  margin-top: auto;
  padding-top: 8px;
}

.stl-home-events-empty {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(8, 16, 34, 0.65);
  border: 1px dashed rgba(245, 184, 46, 0.35);
}
.stl-home-events-empty-text {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.stl-home-events-sponsor-strip {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(245, 184, 46, 0.1);
  border: 1px solid rgba(245, 184, 46, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: #fde68a;
}
.stl-home-events-sponsor-strip a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.stl-home-events-submit-link {
  cursor: pointer;
}

.stl-home-inline-submit {
  background: none;
  border: none;
  padding: 0;
  color: var(--evt-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.stl-home-events-empty-text a {
  color: #fde08d;
  font-weight: 600;
}

/* Single Featured Event Full-Width Promotional Banner */
.stl-home-featured-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: linear-gradient(135deg, rgba(15, 27, 54, 0.96), rgba(8, 16, 34, 0.95));
  border: 1.5px solid rgba(245, 184, 46, 0.48);
  border-radius: 16px;
  overflow: hidden;
  padding: 14px;
}
@media (min-width: 768px) {
  .stl-home-featured-hero {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 22px;
    padding: 18px;
  }
}

.stl-home-featured-hero-media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(22, 36, 71, 0.95), #070e1e);
  max-height: 360px;
}
.stl-home-featured-hero-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

.stl-home-featured-hero-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stl-home-featured-hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stl-home-featured-hero-top .stl-home-event-badge {
  position: static;
  display: inline-flex;
}

.stl-home-featured-hero-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}
.stl-home-featured-hero-title a {
  color: #fff;
  text-decoration: none;
}
.stl-home-featured-hero-title a:hover {
  color: #fde08d;
}

.stl-home-featured-hero-desc {
  margin: 4px 0;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.stl-home-featured-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
  white-space: nowrap;
}
