/* ── Events Page — The Sentinel Room ── */
:root {
  --ev-dark-1: #0D0B08; --ev-dark-2: #13100B; --ev-dark-3: #1B1610;
  --ev-gold: #F9AF36; --ev-gold-light: #FDE8C4; --ev-gold-dim: rgba(249,175,54,0.12);
  --ev-border: #2A1F14; --ev-text: #F0E6D4; --ev-muted: #C8B8A0;
  --ev-green: #27ae60; --ev-red: #E05040;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--ev-dark-1); color: var(--ev-text); font-family: system-ui, -apple-system, sans-serif; }
a { color: inherit; }
.hidden { display: none !important; }

/* Buttons (shared with home.css) */
.btn-primary {
  display: inline-block; background: var(--ev-gold); color: var(--ev-dark-1);
  font-size: 14px; font-weight: 700; padding: 10px 24px; border-radius: 4px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
}
.btn-secondary {
  display: inline-block; background: transparent; color: var(--ev-gold);
  font-size: 14px; font-weight: 600; padding: 10px 24px; border-radius: 4px;
  border: 1px solid var(--ev-gold); text-decoration: none; cursor: pointer; font-family: inherit;
}

/* ═══ HERO ═══ */
.ev-hero {
  min-height: 40vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 20px 40px; text-align: center;
  background: linear-gradient(rgba(13,11,8,0.55), rgba(19,16,11,0.85)),
    url('/img/venue/cocktail-lounge.webp') center/cover no-repeat fixed;
}
.ev-hero h1 { font-family: Georgia, serif; font-size: clamp(28px, 6vw, 42px); color: var(--ev-gold-light); margin-bottom: 8px; }
.ev-hero p { font-size: 15px; color: var(--ev-muted); }

/* ═══ TOOLBAR ═══ */
.ev-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; max-width: 800px; margin: 0 auto;
}
.ev-view-toggle { display: flex; gap: 2px; background: var(--ev-dark-3); border-radius: 4px; padding: 2px; }
.ev-view-btn {
  background: none; border: none; color: var(--ev-muted); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 4px; cursor: pointer; font-family: inherit;
  transition: all 0.15s;
}
.ev-view-btn.active { background: var(--ev-gold-dim); color: var(--ev-gold); }
.ev-c33-badge {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--ev-gold);
  background: var(--ev-gold-dim); padding: 4px 10px; border-radius: 4px;
}

/* ═══ LIST VIEW ═══ */
.ev-list-view { max-width: 80%; margin: 0 auto; padding: 0 20px 40px; }
.ev-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: var(--ev-muted); font-size: 14px; }
.ev-spinner { width: 20px; height: 20px; border: 2px solid var(--ev-border); border-top-color: var(--ev-gold); border-radius: 50%; animation: ev-spin 0.6s linear infinite; }
@keyframes ev-spin { to { transform: rotate(360deg); } }

.ev-empty { text-align: center; padding: 48px 20px; color: var(--ev-muted); font-size: 15px; }
.ev-empty svg { margin-bottom: 12px; }
.ev-empty-sub { font-size: 13px; margin-top: 8px; }
.ev-empty-sub a { color: var(--ev-gold); }

/* Section headers */
.ev-section-header {
  font-family: Georgia, serif; font-size: 20px; color: var(--ev-gold-light);
  padding: 16px 0 8px; border-bottom: 1px solid var(--ev-border);
}
.ev-section-header--past {
  display: flex; align-items: center; justify-content: space-between;
}
.ev-past-hide-btn {
  background: none; border: none; color: var(--ev-muted, #B0A08C);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; padding: 4px 0;
}
.ev-past-hide-btn:hover { color: var(--ev-gold, #F9AF36); }

/* Show past events toggle */
.ev-past-toggle {
  text-align: center; padding: 28px 0 12px;
}
.ev-past-btn {
  background: none; border: 1px solid rgba(249,175,54,0.25);
  color: var(--ev-muted, #B0A08C); font-size: 13px; letter-spacing: 0.04em;
  padding: 9px 22px; border-radius: 4px; cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.ev-past-btn:hover { border-color: var(--ev-gold, #F9AF36); color: var(--ev-gold, #F9AF36); }

.ev-no-upcoming {
  text-align: center; padding: 32px 20px; color: var(--ev-muted); font-size: 14px;
  border-bottom: 1px solid rgba(42,31,20,0.3);
}

/* Month group header */
.ev-month-group { font-size: 12px; color: var(--ev-gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; padding: 20px 0 8px; border-bottom: 1px solid var(--ev-border); }

/* Past event card (muted) */
.ev-card-past { opacity: 0.75; }
.ev-card-past:hover { opacity: 0.9; }
.ev-card-external { border-left: 3px solid rgba(100,140,170,0.35); }

/* Event card */
.ev-card {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid rgba(42,31,20,0.5);
  cursor: pointer; transition: background 0.15s;
}
.ev-card:hover { background: rgba(249,175,54,0.02); }
.ev-date-box {
  flex-shrink: 0; width: 56px; text-align: center;
  background: var(--ev-dark-3); border: 1px solid var(--ev-border); border-radius: 4px;
  padding: 8px 4px;
}
.ev-date-month { font-size: 10px; color: var(--ev-gold); text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.ev-date-day { font-size: 24px; color: var(--ev-text); font-weight: 700; font-family: Georgia, serif; }
.ev-date-dow { font-size: 10px; color: var(--ev-muted); }
/* Sentinel-hosted events: gold date box */
.ev-date-box-sentinel { background: var(--ev-gold); border-color: var(--ev-gold); }
.ev-date-box-sentinel .ev-date-month { color: rgba(0,0,0,0.72); } /* ~6.5:1 on gold — passes AA */
.ev-date-box-sentinel .ev-date-day { color: #0D0B08; }            /* ~11:1 on gold — passes AAA */
.ev-date-box-sentinel .ev-date-dow { color: rgba(0,0,0,0.82); }  /* ~8.5:1 on gold — passes AAA */

.ev-card-body { flex: 1; min-width: 0; }
.ev-card-title { font-family: Georgia, serif; font-size: 17px; color: var(--ev-gold-light); margin-bottom: 4px; }
.ev-card-meta { font-size: 13px; color: var(--ev-muted); margin-bottom: 6px; }
.ev-card-distillery { font-size: 12px; color: var(--ev-gold); margin-bottom: 6px; font-style: italic; }
.ev-distillery-link { color: var(--ev-gold); text-decoration: underline; text-decoration-color: rgba(249,175,54,0.35); text-underline-offset: 2px; }
.ev-distillery-link:hover { text-decoration-color: var(--ev-gold); }
.ev-card-desc { font-size: 13px; color: var(--ev-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ev-card-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ev-badge {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.3px;
}
.ev-badge-type { background: var(--ev-dark-3); color: var(--ev-muted); border: 1px solid var(--ev-border); }
.ev-badge-free { background: rgba(39,174,96,0.12); color: var(--ev-green); }
.ev-badge-charity { background: rgba(46,204,113,0.12); color: #2ecc71; font-weight: 600; }
.ev-badge-c33 { background: var(--ev-gold-dim); color: var(--ev-gold); }
.ev-badge-early { background: var(--ev-gold-dim); color: var(--ev-gold); }

/* Availability indicator */
.ev-availability { margin-top: 8px; font-size: 12px; font-weight: 600; }
.ev-avail-bar { height: 4px; background: var(--ev-dark-3, #1B1610); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.ev-avail-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }
.ev-avail-label { letter-spacing: 0.02em; }
.ev-sold-out { color: #E05040; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ev-badge-sold-out { background: rgba(224,80,64,0.15); color: #E05040; font-weight: 700; letter-spacing: 0.5px; }
.ev-badge-external { background: rgba(100,140,170,0.1); color: #8aafc2; border: 1px solid rgba(100,140,170,0.2); }
.ev-avail-text { margin-top: 8px; }

/* Full-width banner image — sits above the date/body row */
.ev-card { flex-wrap: wrap; }
.ev-card-img {
  order: -1; width: 100%; height: 200px; aspect-ratio: unset;
  border-radius: 4px; object-fit: cover;
  background: var(--ev-dark-3); border: 1px solid var(--ev-border);
  margin-bottom: 4px;
}
/* Pull top padding so image bleeds to card edge (mobile only — desktop restores it) */
.ev-card:has(.ev-card-img) { padding-top: 0; }

/* Co-host partnership strip — full-width at card bottom */
.ev-cohost-strip {
  width: 100%; flex-basis: 100%; order: 9;
  padding: 10px 14px;
  background: rgba(249,175,54,0.07);
  border-top: 1px solid rgba(249,175,54,0.2);
  margin-top: 8px;
}
.ev-cohost-strip-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--ev-muted); margin-bottom: 8px;
}
.ev-cohost-strip-logos { display: flex; gap: 12px; align-items: flex-start; }
.ev-cohost-strip-logos > div { flex: 1; min-width: 0; }

/* Desktop: image to the right of event content */
@media (min-width: 601px) {
  .ev-card:has(.ev-card-img) {
    display: grid;
    grid-template-columns: auto 1fr 40%;
    column-gap: 16px;
    row-gap: 0;
    padding-top: 20px; /* restore — image is no longer a top banner */
    align-items: start;
  }
  .ev-card:has(.ev-card-img) .ev-cohost-strip {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 16px;
  }
  .ev-card:has(.ev-card-img) .ev-card-img {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
    width: 100%;
    height: 280px;
    margin-bottom: 0;
    border-radius: 6px;
    object-fit: cover;
    position: sticky;
    top: 72px;
  }
}
/* ═══ RESPONSIVE ═══ */

/* Tablet */
@media (max-width: 768px) {
  .ev-list-view, .ev-month-view { padding: 0 14px 40px; }
  .ev-cta { padding: 36px 16px; }
}

/* Mobile */
@media (max-width: 600px) {
  .ev-hero { background-attachment: scroll; padding: 60px 16px 24px; min-height: 30vh; }
  .ev-hero h1 { margin-bottom: 4px; }
  .ev-hero p { font-size: 13px; }
  .ev-toolbar { padding: 10px 14px; }
  .ev-section-header { font-size: 17px; padding: 12px 0 6px; }
  .ev-month-group { font-size: 11px; padding: 14px 0 6px; }
  .ev-list-view { max-width: 100%; }
  .ev-card { gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ev-date-box { width: 48px; padding: 6px 2px; }
  .ev-date-day { font-size: 20px; }
  .ev-date-month, .ev-date-dow { font-size: 9px; }
  .ev-card-title { font-size: 15px; }
  .ev-card-meta { font-size: 12px; }
  .ev-card-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .ev-card-img { height: 150px; }
  .ev-detail-panel { padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); max-width: 100%; }
  .ev-detail-title { font-size: 20px; margin-bottom: 8px; }
  .ev-detail-meta { font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
  .ev-detail-desc { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
  .ev-detail-price { font-size: 15px; margin-bottom: 12px; }
  .ev-detail-actions { flex-direction: column; gap: 8px; }
  .ev-detail-actions .btn-primary,
  .ev-detail-actions .btn-secondary { width: 100%; text-align: center; padding: 12px 16px; }
  .ev-cta-btns { flex-direction: column; gap: 8px; }
  .ev-cta-btns .btn-primary,
  .ev-cta-btns .btn-secondary { width: 100%; text-align: center; }
  .ev-month-grid { gap: 1px; }
  .ev-day { padding: 4px 1px; font-size: 12px; min-height: 40px; }
  .ev-dow-header { font-size: 9px; padding: 6px 0; }
  .ev-month-label { font-size: 17px; min-width: 150px; }
}

/* Share bar in detail modal */
.ev-share-bar { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ev-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ev-dark-3); border: 1px solid var(--ev-border); border-radius: 4px;
  color: var(--ev-muted); font-size: 12px; padding: 6px 12px; cursor: pointer;
  font-family: inherit; transition: border-color 0.2s, color 0.2s; text-decoration: none;
}
.ev-share-btn:hover { border-color: var(--ev-gold); color: var(--ev-gold); }

/* ═══ MONTH VIEW ═══ */
.ev-month-view { max-width: 80%; margin: 0 auto; padding: 0 20px 40px; }
.ev-month-nav {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  padding: 16px 0;
}
.ev-month-arrow {
  background: none; border: 1px solid var(--ev-border); border-radius: 4px;
  color: var(--ev-muted); width: 36px; height: 36px; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.ev-month-arrow:hover { border-color: var(--ev-gold); color: var(--ev-gold); }
.ev-month-label { font-family: Georgia, serif; font-size: 20px; color: var(--ev-gold-light); min-width: 180px; text-align: center; }

.ev-month-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px;
}
.ev-dow-header { font-size: 10px; color: var(--ev-muted); text-align: center; padding: 8px 0; font-weight: 600; text-transform: uppercase; }
.ev-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; padding: 6px 2px;
  font-size: 13px; color: var(--ev-muted); border: 1px solid transparent;
  border-radius: 4px; cursor: default; transition: border-color 0.15s;
}
.ev-day.empty { opacity: 0; }
.ev-day.today { border-color: var(--ev-border); color: var(--ev-text); }
.ev-day.has-event { cursor: pointer; }
.ev-day.has-event:hover { border-color: var(--ev-gold); }
.ev-day-num { font-weight: 500; }
.ev-day-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ev-gold); margin-top: 4px; }
.ev-day-dots { display: flex; gap: 3px; margin-top: 3px; }

.ev-month-details { padding: 16px 0; }

/* ═══ DETAIL OVERLAY — EDITORIAL LAYOUT ═══ */
.ev-overlay {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--ev-dark-1, #0D0B08); display: flex; align-items: stretch; justify-content: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.ev-detail-panel {
  background: var(--ev-dark-1, #0D0B08); border-radius: 0;
  width: 100%; max-width: 100%; min-height: 100vh;
  padding: 0;
}
@media (min-width: 769px) {
  .ev-overlay { background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); align-items: center; overflow-y: hidden; }
  .ev-detail-panel { border-radius: 12px; max-height: 90vh; max-width: 1100px; min-height: auto; overflow-y: auto; }
}

/* ── Hero ── */
.evd-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at top center, rgba(120,92,43,0.18), transparent 55%),
              linear-gradient(180deg, #171615 0%, var(--ev-dark-1, #0D0B08) 100%);
  border-bottom: 1px solid #2b2a28;
  padding: 32px 24px 28px;
}
.evd-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.06;
  background-image: linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
                     linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.evd-hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
.evd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.evd-badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em;
  padding: 6px 14px; border-radius: 4px; border: 1px solid #6e5730;
  background: #1b1814; color: var(--ev-gold);
}
.evd-badge-muted { border-color: #34312b; color: #d4cec1; background: transparent; }
.evd-badge-external { border-color: #3a4d5c; color: #8aafc2; background: rgba(100,140,170,0.08); }
.evd-external-notice {
  font-size: 13px; line-height: 1.6; color: #a89f8f;
  background: rgba(100,140,170,0.06); border: 1px solid rgba(100,140,170,0.15);
  border-radius: 6px; padding: 10px 12px; margin-bottom: 16px;
}
.evd-title {
  font-family: Georgia, serif; font-size: 36px; font-weight: 600;
  line-height: 1.15; letter-spacing: -0.01em;
  color: #f7f3eb; margin-bottom: 12px;
}
.evd-subtitle {
  font-size: 17px; line-height: 1.6; color: #d3cdc2; max-width: 720px; margin-bottom: 24px;
}
.evd-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px;
}
.evd-info-tile {
  border-radius: 8px; border: 1px solid #34312b;
  background: rgba(23,22,21,0.8); backdrop-filter: blur(4px);
  padding: 12px 14px;
}
.evd-info-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; color: #a89f8f; margin-bottom: 4px;
}
.evd-info-value { font-size: 14px; font-weight: 500; color: #f3efe6; }
.evd-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.evd-tile-cta {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600;
  color: var(--ev-gold, #F9AF36); text-decoration: none; letter-spacing: 0.02em;
}
.evd-tile-cta:hover { text-decoration: underline; }

/* ── Content Grid ── */
.evd-content {
  display: grid; gap: 24px; padding: 24px;
}
.evd-card {
  border-radius: 8px; border: 1px solid #2f2d2a;
  background: #151413; padding: 24px;
}
.evd-card-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--ev-gold); margin-bottom: 16px;
}
.evd-card p { font-size: 15px; line-height: 1.75; color: #ddd6ca; margin-bottom: 12px; }
.evd-card p:last-child { margin-bottom: 0; }
.evd-card h2 { font-family: Georgia, serif; font-size: 22px; color: #f7f3eb; margin-bottom: 12px; }
.evd-card h3 { font-family: Georgia, serif; font-size: 18px; color: #f7f3eb; margin-bottom: 8px; }
.evd-card ul, .evd-card ol { padding-left: 20px; margin-bottom: 12px; }
.evd-card li { font-size: 15px; line-height: 1.75; color: #ddd6ca; margin-bottom: 4px; }
.evd-card hr { border: none; border-top: 1px solid #2f2d2a; margin: 16px 0; }

/* Event image */
.evd-event-img {
  width: 100%; border-radius: 8px; border: 1px solid #2f2d2a;
  object-fit: cover; aspect-ratio: 16/9;
}

/* Pour/tasting grid */
.evd-pour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.evd-pour-card {
  border-radius: 8px; border: 1px solid #35322d; background: #121211; padding: 14px;
}
.evd-pour-num { font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; color: #8e856f; margin-bottom: 6px; }
.evd-pour-name { font-size: 15px; font-weight: 500; color: #f3efe6; }

/* ── Sidebar (reservation card) ── */
.evd-sidebar-card {
  border-radius: 8px; border: 1px solid #3c3225;
  background: linear-gradient(180deg, #1a1713 0%, #111 100%);
  padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.evd-price { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; color: #f7f3eb; margin-top: 12px; }
.evd-price-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: #a89f8f; margin-top: 2px; }
.evd-sidebar-details {
  border-top: 1px solid #312d28; margin-top: 20px; padding-top: 16px;
}
.evd-sidebar-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 6px 0;
}
.evd-sidebar-row .evd-label { color: #9e9586; }
.evd-sidebar-row .evd-value { color: #ddd6ca; text-align: right; }
.evd-sidebar-note { font-size: 13px; line-height: 1.6; color: #bfb7a8; margin-top: 16px; }

/* Series identity card */
.evd-series-card {
  border-radius: 8px; border: 1px solid #2f2d2a;
  background: #151413; padding: 20px; margin-top: 16px;
}

/* ── Buttons ── */
.evd-btn-primary {
  display: inline-block; width: 100%; text-align: center;
  border-radius: 4px; border: 1px solid var(--ev-gold);
  background: var(--ev-gold); color: #111;
  padding: 14px 20px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: opacity 0.15s; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.evd-btn-primary:hover { opacity: 0.9; }
.evd-btn-secondary {
  display: inline-block; text-align: center;
  border-radius: 4px; border: 1px solid #4a4339; background: transparent;
  color: #f3efe6; padding: 14px 20px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: background 0.15s;
}
.evd-btn-secondary:hover { background: #1a1918; }

/* Close button */
.evd-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(13,11,8,0.7); border: 1px solid #34312b; border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: #a89f8f; font-size: 18px; cursor: pointer; backdrop-filter: blur(4px);
  transition: color 0.15s;
}
.evd-close:hover { color: #f3efe6; }

/* Share bar */
.evd-share-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}

/* ── Desktop: two-column ── */
@media (min-width: 769px) {
  .evd-hero { padding: 48px 40px 36px; }
  .evd-title { font-size: 48px; }
  .evd-subtitle { font-size: 18px; }
  .evd-info-grid { grid-template-columns: repeat(4, 1fr); }
  .evd-content { grid-template-columns: minmax(0, 1.5fr) 340px; padding: 32px 40px; }
  .evd-sidebar { position: sticky; top: 16px; align-self: start; }
  .evd-pour-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile tweaks ── */
@media (max-width: 768px) {
  .evd-title { font-size: 28px; }
  .evd-hero { padding: 24px 16px 20px; }
  .evd-content { padding: 16px; gap: 16px; }
  .evd-card { padding: 16px; }
  .evd-pour-grid { grid-template-columns: 1fr; }
}

/* Legacy detail classes (keep for backward compat) */
.ev-detail-past-label { font-size: 13px; color: var(--ev-muted); font-style: italic; }

/* ═══ SEO CONTENT (server-rendered, hidden by JS) ═══ */
.ev-seo-content { max-width: 80%; margin: 40px auto; padding: 0 20px; }
.ev-seo-content h1 { font-family: Georgia, serif; font-size: 28px; color: var(--ev-gold-light); margin-bottom: 8px; }
.ev-seo-content .ev-seo-meta { font-size: 14px; color: var(--ev-muted); margin-bottom: 16px; }
.ev-seo-content .ev-seo-desc { font-size: 15px; line-height: 1.7; color: var(--ev-text); margin-bottom: 20px; }
.ev-seo-content .ev-seo-desc p { margin-bottom: 12px; }
.ev-seo-content .ev-seo-price { font-size: 16px; color: var(--ev-gold); font-weight: 700; margin-bottom: 16px; }
.ev-seo-content .ev-seo-cta a { color: var(--ev-gold); text-decoration: underline; font-weight: 600; }

/* ═══ CHARITY IMPACT TRACKER ═══ */
.ev-charity {
  background: radial-gradient(ellipse at center, rgba(39,174,96,0.06), transparent 60%), var(--ev-dark-1);
  padding: 48px 20px; text-align: center; border-top: 1px solid var(--ev-border);
}
.ev-charity-inner { max-width: 700px; margin: 0 auto; }
.ev-charity-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.28em; color: #27ae60; margin-bottom: 8px; }
.ev-charity-title { font-family: Georgia, serif; font-size: 24px; color: var(--ev-gold-light); margin: 0 0 8px; }
.ev-charity-desc { font-size: 14px; color: var(--ev-muted); line-height: 1.6; margin-bottom: 24px; }
.ev-charity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ev-charity-stat {
  background: var(--ev-dark-2); border: 1px solid var(--ev-border); border-radius: 8px;
  padding: 16px; text-align: center;
}
.ev-charity-stat-value { font-family: Georgia, serif; font-size: 28px; font-weight: 600; color: #27ae60; }
.ev-charity-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ev-muted); margin-top: 4px; }
@media (min-width: 600px) { .ev-charity-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 599px) { .ev-charity-stat-value { font-size: 22px; } }

/* ═══ CTA SECTION ═══ */
.ev-cta { background: var(--ev-dark-2); padding: 48px 20px; text-align: center; border-top: 1px solid var(--ev-border); }
.ev-cta-inner { max-width: 480px; margin: 0 auto; }
.ev-cta h2 { font-family: Georgia, serif; font-size: 22px; color: var(--ev-gold-light); margin-bottom: 8px; }
.ev-cta p { font-size: 14px; color: var(--ev-muted); line-height: 1.6; margin-bottom: 20px; }
.ev-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Shared footer from home.css */
.sn-footer { background: var(--ev-dark-1); border-top: 1px solid var(--ev-border); padding: 32px 24px; text-align: center; color: var(--ev-muted); font-size: 13px; }
.sn-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 16px; }
.sn-footer-links a { color: var(--ev-muted); text-decoration: none; }
.sn-footer-links a:hover { color: var(--ev-gold); }
.sn-footer-copy { font-size: 12px; }

/* ── Pending Event Cards ── */
.ev-card-pending { cursor: default; opacity: 0.85; }
.ev-card-pending:hover { transform: none; box-shadow: none; }
.ev-card-pending-label {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--ev-gold); background: var(--ev-gold-dim); padding: 4px 10px;
  border-radius: 4px; margin-top: 4px;
}

/* ── Planning Signal block ── */
.ev-signal-banner {
  background: rgba(176,160,140,0.07);
  border: 1px solid rgba(176,160,140,0.18);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 4px;
}
.ev-signal-headline {
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ev-text, #F0E6D4);
  margin-bottom: 6px;
}
.ev-signal-body {
  font-size: 13px;
  color: var(--ev-muted, #C8B8A0);
  line-height: 1.6;
  margin-bottom: 8px;
}
.ev-signal-note {
  font-size: 11px;
  color: #8A7A66;
  font-style: italic;
}

/* ═══ EVENT DETAIL PAGE (standalone /events/[slug]) ═══ */
/* Hide list chrome — list elements still exist in DOM so views.js doesn't crash */
.ev-slug-page .ev-hero,
.ev-slug-page .ev-toolbar,
.ev-slug-page .ev-list-view,
.ev-slug-page .ev-month-view,
.ev-slug-page .ev-charity { display: none !important; }

/* Page wrapper — mirrors overlay max-width so evd-* layout is identical */
.ev-page-wrapper { max-width: 1100px; margin: 0 auto; }

/* Back-to-events link */
.evd-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ev-muted, #C8B8A0); font-size: 13px; text-decoration: none;
  padding: 16px 24px 4px; transition: color 0.15s;
}
.evd-back-btn:hover { color: var(--ev-gold, #F9AF36); }
@media (min-width: 769px) { .evd-back-btn { padding: 20px 40px 4px; } }
