/* =============================================================================
   Events Calendar Styles — v4 Redesign
   Warm coastal design with progressive disclosure, storytelling empty states
   Extends style.css (Surf City Pier palette, Fraunces + Plus Jakarta Sans)
   ============================================================================= */

/* Hero — Dramatic gradient with decorative elements */
.evt-hero {
  background: linear-gradient(135deg, var(--midnight) 0%, #1a4a6e 40%, var(--coastal-blue) 70%, #3a9cb5 100%);
  padding: 7rem 0 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.evt-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(75,188,170,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.evt-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath d='M0,20 C240,80 480,0 720,40 C960,80 1200,0 1440,20 L1440,80 L0,80 Z' fill='%23F7F4EE'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}
.evt-hero .container {
  position: relative;
  z-index: 1;
}
.evt-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0.25rem 0 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  letter-spacing: -0.02em;
}
.evt-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.9;
  max-width: 540px;
  line-height: 1.6;
}
.evt-hero__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.evt-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.evt-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--seafoam);
  line-height: 1.2;
}

/* Floating decorative icons in hero */
.evt-hero__decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.evt-hero__decor i {
  position: absolute;
  color: rgba(255,255,255,0.06);
  font-size: 3rem;
}
.evt-hero__decor i:nth-child(1) { top: 30px; right: 80px; font-size: 4rem; transform: rotate(-15deg); }
.evt-hero__decor i:nth-child(2) { top: 120px; right: 200px; font-size: 2.5rem; transform: rotate(10deg); }
.evt-hero__decor i:nth-child(3) { bottom: 100px; right: 60px; font-size: 3.5rem; transform: rotate(20deg); }
.evt-hero__decor i:nth-child(4) { bottom: 80px; left: 5%; font-size: 2rem; transform: rotate(-10deg); }

/* Page header (category/town/detail pages) */
.evt-page-header {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--coastal-blue) 100%);
  padding: var(--space-md) 0 var(--space-sm);
  color: white;
}
.evt-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0.25rem 0 0.25rem;
}
.evt-page-header p {
  opacity: 0.8;
  margin: 0;
}

/* Breadcrumbs in dark header */
.evt-hero .dir-breadcrumbs,
.evt-page-header .dir-breadcrumbs {
  margin-bottom: 0.75rem;
}
.evt-hero .dir-breadcrumbs a,
.evt-page-header .dir-breadcrumbs a {
  color: rgba(255,255,255,0.65);
}
.evt-hero .dir-breadcrumbs a:hover,
.evt-page-header .dir-breadcrumbs a:hover {
  color: white;
}
.evt-hero .dir-breadcrumbs__current,
.evt-page-header .dir-breadcrumbs__current {
  color: rgba(255,255,255,0.4);
}
.evt-hero .dir-breadcrumbs i,
.evt-page-header .dir-breadcrumbs i {
  color: rgba(255,255,255,0.25);
}

/* Section */
.evt-section {
  padding: var(--space-md) 0 var(--space-lg);
}

/* =========================================================================
   Filter Toolbar — Glass card with progressive disclosure
   ========================================================================= */
.evt-toolbar {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(26,60,77,0.04);
}
.evt-toolbar__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.evt-toolbar__row + .evt-toolbar__row {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(232,240,236,0.6);
}
.evt-toolbar__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--driftwood);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 50px;
}

/* More Filters toggle button */
.evt-more-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px dashed rgba(46,125,150,0.3);
  border-radius: var(--radius-full);
  background: rgba(46,125,150,0.04);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--coastal-blue);
  transition: all 0.25s;
  flex-shrink: 0;
}
.evt-more-filters-btn:hover {
  background: rgba(46,125,150,0.08);
  border-color: var(--coastal-blue);
}
.evt-more-filters-btn[aria-expanded="true"] {
  background: var(--coastal-blue);
  color: white;
  border-color: var(--coastal-blue);
  border-style: solid;
}
.evt-more-filters-btn i {
  font-size: 0.75rem;
  transition: transform 0.25s;
}
.evt-more-filters-btn[aria-expanded="true"] i {
  transform: rotate(90deg);
}

/* Advanced filters panel — hidden by default */
.evt-toolbar__advanced {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
  opacity: 0;
}
.evt-toolbar__advanced.evt-toolbar__advanced--open {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(232,240,236,0.6);
}

/* Controls (view toggle + filters) */
.evt-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* View toggle */
.evt-view-toggle {
  display: flex;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sand);
}
.evt-view-btn {
  padding: 0.5rem 1.1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--driftwood);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--radius-full);
}
.evt-view-btn:hover {
  color: var(--midnight);
}
.evt-view-btn--active {
  background: var(--coastal-blue);
  color: white;
  box-shadow: 0 2px 8px rgba(46,125,150,0.3);
}

/* Filter pills */
.evt-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex: 1;
}
.evt-towns {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.evt-pill {
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-full);
  background: white;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.evt-pill i {
  font-size: 0.75rem;
  opacity: 0.6;
}
.evt-pill:hover {
  border-color: var(--coastal-blue);
  color: var(--coastal-blue);
  background: rgba(46,125,150,0.04);
}
.evt-pill:hover i {
  opacity: 1;
}
.evt-pill--active {
  background: var(--coastal-blue);
  color: white;
  border-color: var(--coastal-blue);
  box-shadow: 0 2px 8px rgba(46,125,150,0.2);
}
.evt-pill--active i {
  opacity: 1;
}
.evt-pill--town {
  background: var(--sand);
  border-color: transparent;
  font-weight: 500;
}
.evt-pill--town:hover {
  background: var(--coastal-blue);
  color: white;
  border-color: var(--coastal-blue);
}
.evt-pill--town.evt-pill--active {
  background: var(--coastal-blue);
  color: white;
  border-color: var(--coastal-blue);
}

/* Date filters */
.evt-date-filters {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.evt-date-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--driftwood);
  font-weight: 600;
}
.evt-date-label i {
  margin-right: 0.3rem;
  color: var(--coastal-blue);
}
.evt-date-input {
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--midnight);
  background: white;
  min-width: 150px;
  transition: all 0.2s;
}
.evt-date-input:focus {
  outline: none;
  border-color: var(--coastal-blue);
  box-shadow: 0 0 0 3px rgba(46,125,150,0.1);
}
.evt-pill--clear {
  background: transparent;
  border: 1.5px solid var(--sand);
  color: var(--driftwood);
  font-size: 0.8rem;
  align-self: flex-end;
}
.evt-pill--clear:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(232,114,92,0.04);
}

/* =========================================================================
   Event Grid & Cards
   ========================================================================= */
.evt-grid {
  display: grid;
  gap: 0.75rem;
}

/* Event card */
.evt-card {
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(232,240,236,0.8);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.evt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,60,77,0.1);
  border-color: rgba(46,125,150,0.2);
}
.evt-card--featured {
  border-color: var(--seafoam);
  box-shadow: 0 0 0 1px var(--seafoam), 0 4px 16px rgba(75,188,170,0.1);
}
.evt-card__link {
  display: flex;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 1.25rem;
  gap: 1rem;
  align-items: flex-start;
}
.evt-card__date-badge {
  flex-shrink: 0;
  width: 56px;
  height: 60px;
  background: linear-gradient(135deg, var(--coral) 0%, #d45a3a 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(232,114,92,0.3);
}
.evt-card__month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1;
  opacity: 0.9;
}
.evt-card__day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}
.evt-card__body {
  flex: 1;
  min-width: 0;
}
.evt-card__meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.evt-card__category {
  font-size: 0.75rem;
  color: var(--driftwood);
  font-weight: 500;
}
.evt-card__free {
  font-size: 0.7rem;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}
.evt-card__badge {
  font-size: 0.7rem;
  background: #fff3e0;
  color: #e65100;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}
.evt-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--midnight);
  line-height: 1.3;
}
.evt-card__when,
.evt-card__where {
  font-size: 0.85rem;
  color: var(--driftwood);
  margin: 0.15rem 0;
}
.evt-card__when i,
.evt-card__where i {
  width: 16px;
  text-align: center;
  margin-right: 0.3rem;
  color: var(--coastal-blue);
  opacity: 0.7;
}
.evt-card__desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}
.evt-card__town {
  font-size: 0.75rem;
  color: var(--driftwood);
}

/* =========================================================================
   Empty State — Storytelling with seasonal warmth
   ========================================================================= */
.evt-empty {
  text-align: center;
  padding: 3rem 2rem 4rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Scene wrapper for illustration + wave */
.evt-empty__scene {
  position: relative;
  margin-bottom: 2rem;
}
.evt-empty__wave {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M0,10 C25,0 50,20 75,10 C100,0 125,20 150,10 C175,0 200,20 200,10' fill='none' stroke='%232E7D96' stroke-width='2' opacity='0.15'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.evt-empty__illustration {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
}
.evt-empty__illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,125,150,0.06) 0%, rgba(75,188,170,0.06) 50%, rgba(232,114,92,0.04) 100%);
  border-radius: 50%;
  animation: evt-pulse 3s ease-in-out infinite;
}
@keyframes evt-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}
.evt-empty__illustration > i:first-child {
  font-size: 3.5rem;
  color: var(--coastal-blue);
  opacity: 0.4;
  position: relative;
}
.evt-empty__illustration .evt-empty__accent {
  position: absolute;
  font-size: 1.3rem;
  color: var(--coral);
  opacity: 0.5;
}
.evt-empty__accent:nth-child(2) { top: 10px; right: 12px; animation: evt-float 4s ease-in-out infinite; }
.evt-empty__accent:nth-child(3) { bottom: 18px; left: 8px; animation: evt-float 4s ease-in-out 1s infinite; }

@keyframes evt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.evt-empty h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--midnight);
  margin: 0 0 0.75rem;
}
.evt-empty p {
  color: var(--driftwood);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 440px;
}

/* "What Topsail does best" preview grid */
.evt-empty__upcoming {
  margin-bottom: 2rem;
}
.evt-empty__upcoming h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--driftwood);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}
.evt-empty__preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}
.evt-empty__preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: linear-gradient(135deg, rgba(46,125,150,0.03) 0%, rgba(75,188,170,0.03) 100%);
  border: 1px solid rgba(232,240,236,0.8);
  border-radius: 12px;
  transition: all 0.25s;
}
.evt-empty__preview-item:hover {
  background: linear-gradient(135deg, rgba(46,125,150,0.06) 0%, rgba(75,188,170,0.06) 100%);
  border-color: rgba(46,125,150,0.15);
  transform: translateY(-2px);
}
.evt-empty__preview-item i {
  font-size: 1.25rem;
  color: var(--coastal-blue);
  opacity: 0.6;
}
.evt-empty__preview-item span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.3;
}

/* CTA in empty state */
.evt-empty__cta {
  margin-top: 0.5rem;
}

/* Legacy hint badge */
.evt-empty__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--coastal-blue);
  font-weight: 500;
  background: rgba(46,125,150,0.06);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}
.evt-empty__hint i {
  font-size: 0.85rem;
}

/* Legacy simple empty state fallback */
.evt-empty:not(:has(.evt-empty__illustration)):not(:has(.evt-empty__scene)) {
  padding: 3rem 1rem;
  color: var(--driftwood);
}
.evt-empty:not(:has(.evt-empty__illustration)):not(:has(.evt-empty__scene)) > i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
  display: block;
}

/* =========================================================================
   Submit Event CTA — Premium card treatment
   ========================================================================= */
.evt-section--alt {
  background: linear-gradient(180deg, var(--shell) 0%, var(--sand) 100%);
  padding: var(--space-lg) 0;
}
.evt-submit-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(26,60,77,0.06);
  border: 1px solid rgba(232,240,236,0.6);
  position: relative;
  overflow: hidden;
}
.evt-submit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--seafoam) 50%, var(--coastal-blue) 100%);
}
.evt-submit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(232,114,92,0.1) 0%, rgba(75,188,170,0.1) 100%);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.evt-submit-card__icon i {
  font-size: 1.6rem;
  color: var(--coral);
}
.evt-submit-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--midnight);
  margin: 0 0 0.5rem;
}
.evt-submit-card > p {
  color: var(--driftwood);
  margin: 0 auto 1.75rem;
  max-width: 480px;
  line-height: 1.6;
}
.evt-submit-card__actions {
  margin-bottom: 0.5rem;
}
.evt-submit-card__note {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.evt-submit-card__note i {
  font-size: 0.8rem;
  color: var(--coastal-blue);
  opacity: 0.5;
}

/* Legacy submit section */
.evt-submit-section {
  max-width: 700px;
  margin: 0 auto;
}
.evt-submit-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--midnight);
  margin: 0 0 0.5rem;
}
.evt-submit-section > p {
  color: var(--driftwood);
  margin: 0 0 1.5rem;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.evt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.evt-btn--primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 4px 16px rgba(232,114,92,0.3);
}
.evt-btn--primary:hover {
  background: #d45a3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,114,92,0.4);
}
.evt-btn--secondary {
  background: white;
  color: var(--coastal-blue);
  border: 1.5px solid var(--coastal-blue);
}
.evt-btn--secondary:hover {
  background: var(--coastal-blue);
  color: white;
  transform: translateY(-2px);
}
.evt-btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* =========================================================================
   Map
   ========================================================================= */
.evt-map {
  height: 450px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: 0 4px 16px rgba(26,60,77,0.06);
}
.evt-map--hidden {
  display: none;
}

/* =========================================================================
   Detail page
   ========================================================================= */
.evt-detail {
  padding: var(--space-md) 0;
}
.evt-detail__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.evt-detail__main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0 0 0.75rem;
  color: var(--midnight);
}
.evt-detail__image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.evt-detail__image img {
  width: 100%;
  height: auto;
  display: block;
}
.evt-detail__description {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-top: 1rem;
}

/* Sidebar info card */
.evt-detail__info-card {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(26,60,77,0.04);
}
.evt-detail__info-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--midnight);
}
.evt-detail__row {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(232,240,236,0.6);
  align-items: flex-start;
}
.evt-detail__row:last-of-type {
  border-bottom: none;
}
.evt-detail__row > i {
  color: var(--coastal-blue);
  width: 20px;
  text-align: center;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.evt-detail__row div {
  flex: 1;
}
.evt-detail__row strong {
  display: block;
  color: var(--midnight);
  font-size: 0.95rem;
}
.evt-detail__row span {
  font-size: 0.85rem;
  color: var(--driftwood);
}
.evt-detail__row a {
  color: var(--coastal-blue);
  text-decoration: none;
}
.evt-detail__row a:hover {
  text-decoration: underline;
}

/* Action buttons */
.evt-detail__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Detail map */
.evt-detail__map {
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid var(--sand);
}

/* Organizer */
.evt-detail__organizer {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--sand);
  border-radius: 12px;
}
.evt-detail__organizer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.evt-detail__organizer p {
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.evt-detail__organizer a {
  font-size: 0.85rem;
  color: var(--coastal-blue);
  text-decoration: none;
}
.evt-detail__organizer a:hover {
  text-decoration: underline;
}

/* =========================================================================
   Yard sale layout
   ========================================================================= */
.evt-yard-sale-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
}
.evt-yard-sale-map {
  height: 500px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sand);
}
.evt-yard-sale-list {
  max-height: 500px;
  overflow-y: auto;
}
.evt-yard-sale-print {
  margin-bottom: 1rem;
}
.evt-yard-sale-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sand);
}
.evt-yard-sale-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--coral);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.evt-yard-sale-item strong {
  color: var(--midnight);
}
.evt-yard-sale-item p {
  font-size: 0.85rem;
  color: var(--driftwood);
  margin: 0.15rem 0 0;
}
.evt-yard-sale-desc {
  font-style: italic;
}

/* =========================================================================
   Food Trucks Today section
   ========================================================================= */
.evt-section--ft {
  background: linear-gradient(135deg, #fff8f0 0%, #fef3e8 100%);
  padding: var(--space-md) 0;
  border-top: 3px solid var(--coral);
}
.evt-ft-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--midnight);
  margin: 0 0 0.25rem;
}
.evt-ft-heading i {
  color: var(--coral);
  margin-right: 0.5rem;
}
.evt-ft-subtitle {
  color: var(--driftwood);
  margin: 0 0 1.5rem;
}
.evt-ft-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  align-items: start;
}
.evt-ft-map {
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sand);
}
.evt-ft-list {
  max-height: 400px;
  overflow-y: auto;
}
.evt-ft-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: flex-start;
}
.evt-ft-item:last-child {
  border-bottom: none;
}
.evt-ft-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--coral);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.evt-ft-item strong {
  color: var(--midnight);
}
.evt-ft-item strong a {
  color: var(--midnight);
  text-decoration: none;
}
.evt-ft-item strong a:hover {
  color: var(--coastal-blue);
  text-decoration: underline;
}
.evt-ft-item p {
  font-size: 0.85rem;
  color: var(--driftwood);
  margin: 0.1rem 0 0;
}
.evt-ft-time {
  font-size: 0.8rem;
}
.evt-ft-time i {
  margin-right: 0.25rem;
}

/* =========================================================================
   Map markers
   ========================================================================= */
.evt-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coastal-blue);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.evt-marker--featured {
  background: var(--coral);
}
.evt-marker--food-truck {
  background: var(--coral);
  font-weight: 700;
  font-size: 12px;
}
.evt-marker--yard-sale {
  background: var(--seafoam);
  font-weight: 700;
  font-size: 12px;
}

/* Loading state */
.evt-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--driftwood);
  font-size: 1rem;
}
.evt-loading i {
  margin-right: 0.5rem;
  color: var(--coastal-blue);
}

/* =========================================================================
   Print styles
   ========================================================================= */
@media print {
  .nav, .footer, .evt-view-toggle, .evt-filters, .evt-towns, .evt-hero,
  .evt-page-header, .evt-yard-sale-print, .evt-toolbar { display: none !important; }
  .evt-yard-sale-layout { grid-template-columns: 1fr; }
  .evt-yard-sale-map { height: 400px; page-break-after: always; }
  .evt-yard-sale-list { max-height: none; overflow: visible; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
  .evt-hero {
    padding: 5.5rem 0 3rem;
  }
  .evt-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  .evt-hero__decor {
    display: none;
  }
  .evt-hero__stats {
    gap: 0.75rem;
  }
  .evt-stat {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
  .evt-stat strong {
    font-size: 1.3rem;
  }
  .evt-toolbar {
    padding: 1rem;
    border-radius: 12px;
  }
  .evt-toolbar__label {
    min-width: auto;
    width: 100%;
  }
  .evt-toolbar__row {
    gap: 0.5rem;
  }
  .evt-more-filters-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }
  .evt-detail__grid {
    grid-template-columns: 1fr;
  }
  .evt-yard-sale-layout {
    grid-template-columns: 1fr;
  }
  .evt-ft-layout {
    grid-template-columns: 1fr;
  }
  .evt-ft-map {
    height: 300px;
  }
  .evt-card__link {
    padding: 0.85rem;
  }
  .evt-card__date-badge {
    width: 48px;
    height: 52px;
  }
  .evt-card__day {
    font-size: 1.25rem;
  }
  .evt-date-filters {
    flex-direction: column;
    gap: 0.5rem;
  }
  .evt-date-input {
    width: 100%;
  }
  .evt-submit-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .evt-section--alt {
    padding: var(--space-md) 0;
  }

  /* Empty state responsive */
  .evt-empty {
    padding: 2rem 1rem 3rem;
  }
  .evt-empty__preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .evt-empty__cta {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
  }
}
