/* ── DESIGN TOKENS ── */
.ev {
  --ev-ink:      #24343f;
  --ev-ink-mid:  #4a5860;
  --ev-ink-soft: #6a7880;
  --ev-paper:    #fbf8f2;
  --ev-cream:    #f0ece4;
  --ev-gold:     #f2cb49;
  --ev-sky:      #c7dce8;
  --ev-line:     rgba(36,52,63,0.11);
  --ev-sans:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ── RESET / BASE ── */
.ev {
  font-family: var(--ev-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ev-ink);
  background: var(--ev-cream);
  container-type: inline-size;
  max-width: 1440px;
  margin: 0 auto;
}
.ev *, .ev *::before, .ev *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ev a { text-decoration: none; color: inherit; }

/* ── VARIANT BORDER COLORS ── */
.ev--jsc       { --ev-meta-border: rgba(36,52,63,0.18); }
.ev--community { --ev-meta-border: var(--ev-line); }

/* ── TYPE ── */
.ev-display {
  font-family: 'Bitter', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.0;
}
.ev-heading {
  font-family: 'Bitter', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-size: 20px;
}
.ev-eyebrow {
  font-family: var(--ev-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ev-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.ev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: 2px;
  font-family: var(--ev-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.ev-btn.ev-btn--gold    { background: var(--ev-gold);  color: var(--ev-ink)  !important; }
.ev-btn.ev-btn--dark    { background: var(--ev-ink);   color: #fbf8f2        !important; }
.ev-btn.ev-btn--ghost   { background: transparent; border: 1.5px solid rgba(255,255,255,0.28); color: #fff !important; }
.ev-btn.ev-btn--outline { background: transparent; border: 1.5px solid rgba(36,52,63,0.22);   color: var(--ev-ink) !important; }
.ev-btn--full { width: 100%; }

/* ── TAGS ── */
.ev-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.ev-tag {
  font-family: var(--ev-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  background: var(--ev-cream);
  color: var(--ev-ink);
  border: 1px solid rgba(36,52,63,0.2);
  white-space: nowrap;
}
.ev-tag--gold { background: var(--ev-gold); border-color: transparent; }
.ev-tag--sky  { background: var(--ev-sky);  border-color: transparent; }

/* ── HERO — mobile base (single column) ── */
.ev-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.ev-hero__copy {
  padding: 28px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}
.ev-hero__img    { position: relative; overflow: hidden; min-height: 190px; }
.ev-hero__ph     { width: 100%; height: 100%; min-height: 190px; display: flex; align-items: center; justify-content: center; }
.ev-hero__title  { margin: 12px 0 14px; }
.ev-hero__summary { font-size: 15px; line-height: 1.65; display: none; }
@media (min-width: 640px) { .ev-hero__summary { display: block; } }
.ev-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.ev-hero__date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 14px;
  font-family: var(--ev-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  color: #fff;
}
.ev-hero__date--dark { color: var(--ev-ink); }

/* JSC hero */
.ev--jsc .ev-hero         { background: var(--ev-ink); }
.ev--jsc .ev-hero__copy   { color: var(--ev-paper); }
.ev--jsc .ev-hero__eyebrow { color: var(--ev-gold); }
.ev--jsc .ev-hero__summary { color: rgba(251,248,242,0.68); }
.ev--jsc .ev-hero__ph     { background: #1a2831; }
.ev--jsc .ev-display      { color: #fff; font-size: clamp(36px, 9vw, 54px); }

/* Community hero */
.ev--community .ev-hero         { background: var(--ev-paper); padding: 16px 0 20px; }
.ev--community .ev-hero__copy   { background: #fff; border: 1px solid var(--ev-line); box-shadow: 0 4px 20px rgba(36,52,63,0.07); border-radius: 4px; margin: 0 16px; justify-content: flex-start; padding: 24px 20px; }
.ev--community .ev-hero__img    { margin: 12px 16px 0; border-radius: 4px; overflow: hidden; align-self: start; background: var(--ev-paper); }
.ev--community .ev-hero__ph     { background: var(--ev-sky); min-height: 180px; }
.ev--community .ev-hero__eyebrow { color: var(--ev-ink-soft); }
.ev--community .ev-hero__summary { color: var(--ev-ink-mid); }
.ev--community .ev-display      { color: var(--ev-ink); font-size: clamp(28px, 7vw, 44px); }

/* ── META STRIP — mobile base (2×2 grid) ── */
.ev-meta { display: grid; grid-template-columns: 1fr 1fr; }
.ev-meta__item {
  padding: 12px 14px;
  border-right: 1px solid var(--ev-meta-border);
  border-bottom: 1px solid var(--ev-meta-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ev-meta__item:nth-child(even)      { border-right: none; }
.ev-meta__item:nth-last-child(-n+2) { border-bottom: none; }
.ev-meta__label {
  font-family: var(--ev-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ev-meta__val { font-family: var(--ev-sans); font-size: 14px; font-weight: 700; }
.ev-meta__sub { font-family: var(--ev-sans); font-size: 11px; }

.ev--jsc .ev-meta        { background: var(--ev-gold); }
.ev--jsc .ev-meta__label { opacity: 0.6; }
.ev--jsc .ev-meta__sub   { opacity: 0.65; }

.ev--community .ev-meta        { background: #fff; border-top: 1px solid var(--ev-line); border-bottom: 1px solid var(--ev-line); }
.ev--community .ev-meta__label { color: var(--ev-ink-soft); }
.ev--community .ev-meta__sub   { color: var(--ev-ink-soft); }

/* ── BODY — mobile base (single column) ── */
.ev-body { padding: 18px 16px 40px; }
.ev-body__grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
/* Let columns shrink below their longest word, and break long unspaced text (pasted URLs)
   so one long link can't push the whole page wider than a phone screen. */
.ev-body__grid > * { min-width: 0; }
.ev-panel__body, .ev-notice p, .ev-org-copy, .ev-hero__title { overflow-wrap: anywhere; }
.ev-main    { display: flex; flex-direction: column; gap: 12px; }
.ev-sidebar { display: flex; flex-direction: column; }

/* ── MAIN PANELS ── */
.ev-panel { background: #fff; border: 1px solid var(--ev-line); border-radius: 4px; overflow: hidden; }
.ev-panel__bar  { height: 3px; background: var(--ev-gold); }
.ev-panel__head { padding: 14px 18px 12px; border-bottom: 1px solid var(--ev-line); }
/* Non-collapsible panel heads keep their own padding; collapsible ones use head-inner */
.ev-panel__details > summary { padding: 0; border-bottom: none; }
.ev-panel__body { padding: 18px; }

/* Collapsible panels */
.ev-collapsible__head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; -webkit-user-select: none; }
.ev-panel__chevron { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(36,52,63,0.08); flex-shrink: 0; font-size: 20px; line-height: 1; color: var(--ev-ink); transition: transform 0.2s; transform: rotate(90deg); }
.ev-collapsible__head--open .ev-panel__chevron { transform: rotate(270deg); }
.ev-panel__chevron--dark { background: rgba(36,52,63,0.18); }
.ev-panel__body p + p { margin-top: 11px; }
.ev-panel__body h3 {
  font-family: var(--ev-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ev-ink-soft);
  margin: 16px 0 8px;
}
.ev--community .ev-panel__bar { background: var(--ev-sky); }

/* Ticket display in main panel */
.ev-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ev-line);
  margin-bottom: 12px;
}
.ev-ticket-name   { font-family: var(--ev-sans); font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.ev-ticket-note   { font-family: var(--ev-sans); font-size: 12px; color: var(--ev-ink-soft); }
.ev-ticket-price  { font-family: var(--ev-sans); font-size: 18px; font-weight: 700; color: var(--ev-ink); }
.ev-ticket-fine   { font-family: var(--ev-sans); font-size: 11px; color: var(--ev-ink-soft); margin-top: 9px; line-height: 1.5; }

/* ── SQUARE BULLETS ── */
.ev-sq-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ev-sq-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; }
.ev-sq { width: 8px; height: 8px; flex-shrink: 0; margin-top: 6px; }
.ev-sq--gold { background: var(--ev-gold); }
.ev-sq--sky  { background: #92ADC5; }

/* ── CAROUSEL (mobile) ── */
.ev-carousel { position: relative; }
.ev-carousel__track { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x; height: 280px; }
.ev-carousel__track::-webkit-scrollbar { display: none; }
.ev-carousel__slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; overflow: hidden; }
.ev-carousel__slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; max-width: none !important; max-height: none !important; }
.ev-carousel__btn { position: absolute; top: 140px; transform: translateY(-50%); background: rgba(255,255,255,0.88); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ev-ink); display: flex !important; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,0.18); z-index: 2; }
.ev-carousel__btn--prev { left: 10px; }
.ev-carousel__btn--next { right: 10px; }
.ev-carousel__dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 14px; }
.ev-carousel__dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(36,52,63,0.2); cursor: pointer; padding: 0; }
.ev-carousel__dot--active { background: var(--ev-gold); }

/* ── SCROLLABLE STRIP (desktop ≥ 640px): ~3 photos in view, arrows step one photo ── */
@media (min-width: 640px) {
  .ev-carousel__track {
    gap: 6px;
    height: 300px;
    touch-action: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
  }
  .ev-carousel__slide {
    flex: 0 0 calc((100% - 12px) / 3);
    min-width: 0;
  }
  .ev-carousel__btn { top: 150px; width: 40px; height: 40px; }
  .ev-carousel__dots { display: none !important; }
}

.ev-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 120px 120px 120px; gap: 6px; }
.ev-gallery__item { border-radius: 2px; overflow: hidden; position: relative; background: linear-gradient(145deg, #b8d4e3, #8ab8d0); }
.ev-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-gallery__big  { grid-column: 1 / 3; }
.ev-gallery__cap  {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.52));
  color: #fff;
  font-family: var(--ev-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Single photo: fill the whole grid */
.ev-gallery__item:only-child { grid-column: 1 / -1; grid-row: 1 / -1; }

/* ── FAQ ── */
.ev-faq-item { border-top: 1px solid var(--ev-line); }
.ev-faq-item:last-child { border-bottom: 1px solid var(--ev-line); }

/* native details wrapper */
details.ev-faq-item { display: block; }
details.ev-faq-item > summary { list-style: none; }
details.ev-faq-item > summary::-webkit-details-marker { display: none; }

.ev-faq-row  { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; cursor: pointer; }
.ev-faq-q    {
  font-family: var(--ev-sans);
  font-size: 15px;
  font-weight: 700;
  flex: 1;
}
.ev-faq-mk {
  width: 22px;
  height: 22px;
  border-radius: 2px;
  flex-shrink: 0;
  background: var(--ev-cream);
  color: var(--ev-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ev-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  font-size: 0;
}
.ev-faq-mk::before { content: "+"; font-size: 15px; }
details[open].ev-faq-item .ev-faq-mk { background: var(--ev-gold); }
details[open].ev-faq-item .ev-faq-mk::before { content: "−"; }
.ev-faq-answer { padding: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--ev-ink-mid); }

/* ── ATTENDEE STATS ── */
.ev-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.ev-stat { display: flex; flex-direction: column; align-items: center; min-width: 72px; }
.ev-stat__val { font-family: 'Bitter', Georgia, serif; font-size: 32px; font-weight: 700; color: var(--ev-ink); line-height: 1; }
.ev-stat__label { font-family: var(--ev-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ev-ink-soft); margin-top: 4px; }
.ev-stat__age { font-size: 13px; color: var(--ev-ink-mid); margin: 0 0 8px; }
.ev-stat__notes { font-size: 13px; color: var(--ev-ink-soft); margin: 0; font-style: italic; }

/* ── CRUSH ── */
.ev-crush { background: var(--ev-gold); border-radius: 4px; padding: 24px 18px; }
.ev-crush__eyebrow { font-family: var(--ev-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
.ev-crush .ev-heading { font-size: 22px; color: var(--ev-ink); margin: 4px 0 0; }
.ev-crush p { font-size: 15px; line-height: 1.65; margin-top: 10px; }
.ev-crush .ev-btn--dark { margin-top: 14px; }

/* ── COMMUNITY NOTICE ── */
.ev-notice { background: #fff; border: 1px solid var(--ev-line); border-left: 3px solid var(--ev-sky); border-radius: 4px; padding: 14px 16px; }
.ev-notice p { font-size: 15px; line-height: 1.7; color: var(--ev-ink-mid); margin-top: 8px; }

/* ── SIDEBAR ── */
.ev-sidebar { border-radius: 4px; overflow: hidden; border: 1px solid; }
.ev-sb { padding: 15px 16px; border-bottom: 1px solid; }
.ev-sb:last-child { border-bottom: none; }
.ev-sb-bar  { height: 2px; width: 22px; margin-bottom: 11px; }
.ev-sb-head {
  font-family: var(--ev-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-bottom: 11px;
}

.ev--jsc .ev-sidebar  { background: var(--ev-ink); border-color: rgba(255,255,255,0.06); }
.ev--jsc .ev-sb       { background: var(--ev-ink); color: var(--ev-paper); border-bottom-color: rgba(255,255,255,0.07); }
.ev--jsc .ev-sb-bar   { background: var(--ev-gold); }
.ev--jsc .ev-sb-head  { color: rgba(242,203,73,0.8); }

.ev--community .ev-sidebar { background: #fff; border-color: var(--ev-line); }
.ev--community .ev-sb      { background: #fff; border-bottom-color: var(--ev-line); }
.ev--community .ev-sb-bar  { background: var(--ev-ink); }
.ev--community .ev-sb-head { color: var(--ev-ink-mid); }

/* Snapshot list */
.ev-snap { list-style: none; padding: 0; display: flex; flex-direction: column; }
.ev-snap li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid; }
.ev-snap li:first-child { padding-top: 0; }
.ev-snap li:last-child  { border-bottom: none; padding-bottom: 0; }
.ev--jsc       .ev-snap li { border-bottom-color: rgba(255,255,255,0.07); }
.ev--community .ev-snap li { border-bottom-color: var(--ev-line); }
.ev-snap__lbl {
  font-family: var(--ev-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ev-snap__val { font-family: var(--ev-sans); font-size: 13px; font-weight: 600; }
.ev--jsc       .ev-snap__lbl { color: rgba(242,203,73,0.75); }
.ev--community .ev-snap__lbl { color: var(--ev-ink-soft); }
.ev-snap__sub { font-family: var(--ev-sans); font-size: 12px; line-height: 1.45; }
/* Snapshot's Request Ticket button: phones already have the floating ticket bar */
@media (max-width: 639px) { .ev-snap-cta { display: none; } }
.ev--jsc       .ev-snap__sub { color: rgba(251,248,242,0.6); }
.ev--community .ev-snap__sub { color: var(--ev-ink-soft); }
@container (min-width: 900px) { .ev-snap__sub { font-size: 13px; } }

/* Ticket block inside sidebar (community) */
.ev-sb-price-row { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 10px; }
.ev-sb-price     { font-family: var(--ev-sans); font-size: 22px; font-weight: 700; }
.ev-sb-price-sub { font-family: var(--ev-sans); font-size: 12px; color: var(--ev-ink-soft); }

/* Action links */
.ev-acts { list-style: none; padding: 0; display: flex; flex-direction: column; }
.ev-acts li { border-bottom: 1px solid; }
.ev-acts li:last-child { border-bottom: none; }
.ev--jsc       .ev-acts li { border-bottom-color: rgba(255,255,255,0.07); }
.ev--community .ev-acts li { border-bottom-color: var(--ev-line); }
.ev-act {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  font-family: var(--ev-sans);
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.ev-act-ico {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev--jsc       .ev-act-ico { background: rgba(255,255,255,0.1); }
.ev--community .ev-act-ico { background: var(--ev-cream); border: 1px solid rgba(36,52,63,0.14); }

/* Share row layout */
.ev-acts--row { flex-direction: row !important; gap: 8px; align-items: center; padding: 4px 0; flex-wrap: nowrap; }
.ev-acts--row li { border-bottom: none !important; flex: 0 0 auto; }
.ev-acts--row .ev-act { padding: 4px; width: auto; }
.ev-acts--row .ev-act-ico { width: 36px; height: 36px; border-radius: 4px; }

/* Sidebar polish: one centered axis for every block */
.ev-sb { padding: 20px 20px; }
.ev-sb-bar { margin: 0 auto 11px; }
.ev-acts--row { justify-content: center; }
.ev-venue-name, .ev-venue-addr { text-align: left; }
.ev-org-copy { text-align: center; }
.ev-org-copy, .ev-org-copy p { font-size: 13px !important; line-height: 1.6 !important; margin: 0; }
.ev-org-copy p + p { margin-top: 8px; }

/* Map */
.ev-map { height: 90px; border-radius: 3px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ev--jsc       .ev-map { background: #1a2831; }
.ev--community .ev-map { background: #d9e8f2; }
.ev-map-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 21px, rgba(255,255,255,0.05) 21px, rgba(255,255,255,0.05) 22px),
    repeating-linear-gradient(90deg, transparent, transparent 21px, rgba(255,255,255,0.05) 21px, rgba(255,255,255,0.05) 22px);
}
.ev--community .ev-map-grid {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 21px, rgba(36,52,63,0.07) 21px, rgba(36,52,63,0.07) 22px),
    repeating-linear-gradient(90deg, transparent, transparent 21px, rgba(36,52,63,0.07) 21px, rgba(36,52,63,0.07) 22px);
}
.ev-map-pin { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; z-index: 1; }
.ev--jsc       .ev-map-pin { background: var(--ev-gold); }
.ev--community .ev-map-pin { background: var(--ev-ink); }

/* Venue */
.ev-venue-name { font-family: var(--ev-sans); font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.ev-venue-addr { font-size: 12px; line-height: 1.5; }
.ev--jsc       .ev-venue-addr { color: rgba(251,248,242,0.52); }
.ev--community .ev-venue-addr { color: var(--ev-ink-soft); }

/* Organizer */
.ev-org-logo { height: 110px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; overflow: hidden; }
.ev-org-logo img { max-height: 110px !important; max-width: 180px !important; width: auto !important; height: auto !important; object-fit: contain; }
.ev-org-name { font-family: var(--ev-sans); font-size: 13px; font-weight: 700; margin-bottom: 5px; text-align: center; }
.ev-org-copy { font-size: 13px; line-height: 1.6; margin-bottom: 9px; }
.ev--jsc       .ev-org-copy { color: rgba(251,248,242,0.6); }
.ev--community .ev-org-copy { color: var(--ev-ink-soft); }
.ev-org-link {
  font-family: var(--ev-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.ev--jsc       .ev-org-link { color: var(--ev-gold); }
.ev--community .ev-org-link { color: var(--ev-ink); }

/* ── HERO ACTIONS — mobile: full-width CTA ── */
.ev--jsc .ev-hero__actions .ev-btn--gold    { width: 100%; }
.ev--jsc .ev-hero__actions .ev-btn--ghost   { display: none; }
.ev--community .ev-hero__actions .ev-btn    { width: 100%; }

/* ── MOBILE STICKY CTA (JSC only) ── */
.ev-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
  padding: 10px 16px;
  background: var(--ev-ink);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 10px;
}
.ev-sticky-cta .ev-btn { flex: 1; justify-content: center; text-align: center; }
.ev-sticky-spacer { height: 80px; }

/* Body text line-height for system sans */
.ev-panel__body, .ev-notice p, .ev-org-copy, .ev-crush p { line-height: 1.6; }

/* WordPress content inside panels */
.ev-panel__body .wp-block-paragraph,
.ev-panel__body p { font-size: 15px; line-height: 1.7; }
.ev-panel__body ul,
.ev-panel__body ol { padding-left: 1.4em; margin: 10px 0; }
.ev-panel__body li { font-size: 15px; line-height: 1.7; }
.ev-panel__body h1,
.ev-panel__body h2,
.ev-panel__body h3 { margin: 16px 0 8px; }
.ev-panel__body strong { font-weight: 700; }

/* ── DESKTOP — restore two-column layout via container query ── */
@container (min-width: 640px) {
  .ev-hero__grid { grid-template-columns: 56% 44%; min-height: 320px; }
  .ev-hero__copy { padding: 40px 32px 44px; justify-content: flex-end; }
  .ev-hero__img  { overflow: hidden; }
  .ev-hero__ph   { min-height: 280px; }

  .ev--community .ev-hero        { padding: 24px 0; }
  .ev--community .ev-hero__copy  { margin: 0 0 0 36px; padding: 30px 26px; justify-content: flex-start; }
  /* Tall flyers: let the title card keep its own height instead of stretching
     to match the poster (a portrait flyer left a mostly empty white card). */
  .ev--community .ev-hero__copy  { align-self: start; }
  .ev--community .ev-hero__img   { margin: 0 36px 0 0; }
  .ev--community .ev-hero__ph    { min-height: 260px; }

  .ev-meta { display: flex; }
  .ev-meta__item {
    flex: 1;
    padding: 13px 18px;
    border-right: 1px solid var(--ev-meta-border);
    border-bottom: none;
  }
  .ev-meta__item:nth-child(even)      { border-right: 1px solid var(--ev-meta-border); }
  .ev-meta__item:nth-last-child(-n+2) { border-bottom: none; }
  .ev-meta__item:last-child           { border-right: none; }

  .ev-hero__grid { max-width: 1200px; margin: 0 auto; }
  .ev-body { padding: 26px 36px 52px; max-width: 1200px; margin: 0 auto; }
  .ev-body__grid { grid-template-columns: 1fr 292px; gap: 22px; }
  .ev-sidebar { position: sticky; top: 24px; }

  .ev-gallery { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 144px 144px; gap: 8px; }
  .ev-gallery__big { grid-column: auto; grid-row: 1 / 3; }

  .ev-sticky-cta, .ev-sticky-spacer { display: none; }

  /* Restore hero button layout at desktop */
  .ev--jsc .ev-hero__actions .ev-btn--gold    { width: auto; }
  .ev--jsc .ev-hero__actions .ev-btn--ghost   { display: inline-flex; }
  .ev--community .ev-hero__actions .ev-btn    { width: auto; }
}

/* ── DESKTOP TYPE SCALE: every tier one step up on wide screens ── */
@container (min-width: 900px) {
  /* Labels 10 → 11 */
  .ev-eyebrow, .ev-tag, .ev-panel__body h3, .ev-gallery__cap,
  .ev-stat__label, .ev-crush__eyebrow, .ev-snap__lbl { font-size: 11px; }
  /* Section labels read as headings, so they sit a step higher */
  .ev-meta__label { font-size: 12px; }
  .ev-sb-head { font-size: 13px; }
  /* Fine print 11 → 12 */
  .ev-btn, .ev-meta__sub, .ev-ticket-fine, .ev-org-link { font-size: 12px; }
  /* Small 12 → 13 */
  .ev-ticket-note, .ev-sb-price-sub, .ev-act, .ev-venue-addr { font-size: 13px; }
  /* Sidebar 13 → 14 */
  .ev-hero__date, .ev-stat__age, .ev-stat__notes, .ev-snap__val,
  .ev-venue-name, .ev-org-name { font-size: 14px; }
  .ev-org-copy, .ev-org-copy p { font-size: 14px !important; }
  /* Values 14 → 15 */
  .ev-meta__val, .ev-ticket-name { font-size: 15px; }
  /* Body 15 → 17 */
  .ev-hero__summary, .ev-sq-list li, .ev-faq-q, .ev-faq-answer, .ev-crush p,
  .ev-notice p, .ev-panel__body p, .ev-panel__body li { font-size: 17px; }
  /* Headings 20 → 22 */
  .ev-heading { font-size: 22px; }
}

/* Add to Calendar: two compact side-by-side buttons */
.ev-acts--cal { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.ev-acts--cal li { flex: 1 1 auto; border-bottom: none !important; }
.ev-acts--cal .ev-act {
  justify-content: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.ev-acts--cal .ev-act-ico { width: auto; height: auto; background: none !important; border: none !important; }
.ev-acts--cal .ev-act-ico svg { width: 15px; height: 15px; }
.ev--community .ev-acts--cal .ev-act { border: 1px solid rgba(36,52,63,0.18); background: var(--ev-cream); }
.ev--community .ev-acts--cal .ev-act:hover { border-color: var(--ev-ink); }
.ev--jsc .ev-acts--cal .ev-act { border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }
.ev--jsc .ev-acts--cal .ev-act:hover { border-color: var(--ev-gold); }

/* ── PAST EVENT NOTICE ── */
.ev-notice--past { border-left-color: var(--ev-gold); }
.ev-notice--past a { color: var(--ev-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ── ABOUT JSC (main column) ── */
.ev-about__text p { margin: 0 0 10px; }
.ev-about__text p:last-child { margin-bottom: 0; }
.ev-about__stats {
  list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ev-line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.ev-about__stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-about__stats--1 { grid-template-columns: 1fr; }
.ev-about__stats li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-about__stats .ev-stat__val { font-size: 24px; overflow-wrap: anywhere; }
.ev-about__stats .ev-stat__label { margin-top: 0; }
.ev-about__btn { margin-top: 18px; }
@container (min-width: 900px) { .ev-about__stats .ev-stat__val { font-size: 30px; } }

/* ── TICKETS: row layout ── */
.ev-ticket-row { gap: 10px 16px; }
.ev-ticket-buy { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* Quantity picker: only rendered when WooCommerce allows more than one per order */
.ev-ticket-qty-form { display: flex; align-items: center; gap: 10px; margin: 0; }
.ev-ticket-qty select {
  width: 72px; height: 44px; padding: 0 26px 0 12px; cursor: pointer;
  border: 1px solid rgba(36,52,63,0.22); border-radius: 2px; color: var(--ev-ink);
  font-family: var(--ev-sans); font-size: 15px; font-weight: 700; line-height: 44px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%2324343f' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.ev-ticket-qty select:focus { border-color: var(--ev-ink); outline: none; }
/* Fine print: beat the generic `.ev-panel__body p` body size */
.ev-panel__body p.ev-ticket-fine { font-size: 12px; line-height: 1.5; }
/* Compact ticket rows: name over price on the left, action on the right */
.ev-ticket-row--compact { align-items: center; flex-wrap: nowrap; padding: 14px 0; margin-bottom: 0; }
.ev-ticket-row--compact .ev-ticket-info { flex: 1 1 auto; min-width: 0; }
.ev-ticket-row--compact .ev-ticket-name { margin-bottom: 2px; line-height: 1.3; overflow-wrap: anywhere; }
.ev-ticket-row--compact .ev-ticket-price { font-size: 15px; font-weight: 600; color: var(--ev-ink-mid); line-height: 1.3; }
.ev-ticket-row--compact .ev-ticket-desc,
.ev-ticket-row--compact .ev-ticket-desc p {
  font-family: var(--ev-sans); font-size: 13px !important; line-height: 1.45 !important; color: var(--ev-ink-soft);
  margin: 0 0 4px !important; overflow-wrap: anywhere;
}
.ev-ticket-row--compact .ev-ticket-desc p:last-child { margin-bottom: 0 !important; }
.ev-ticket-row--compact .ev-ticket-desc { margin-bottom: 4px !important; }
.ev-ticket-row--compact .ev-ticket-price .amount,
.ev-ticket-row--compact .ev-ticket-price bdi { font-weight: 600; }
.ev-ticket-row--unavailable .ev-ticket-name,
.ev-ticket-row--unavailable .ev-ticket-price { color: var(--ev-ink-soft); }
.ev-ticket-row--compact .ev-ticket-status {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px;
}
.ev-tix-group .ev-ticket-fine { margin-top: 14px; }
@container (min-width: 900px) {
  .ev-ticket-row--compact .ev-ticket-price { font-size: 16px; }
}

/* ── TICKETS: unavailable status + Event Tickets' own form ── */
.ev-ticket-status {
  font-family: var(--ev-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ev-ink-soft); padding: 8px 12px;
  border: 1px solid var(--ev-line); border-radius: 3px; white-space: nowrap;
}
.ev-native-tickets .tribe-common,
.ev-native-tickets .tribe-common *,
.ev-native-tickets .tribe-tickets,
.ev-native-tickets .tribe-block { font-family: var(--ev-sans) !important; }
.ev-native-tickets .tribe-common .tribe-common-h2,
.ev-native-tickets .tribe-common .tribe-common-h3,
.ev-native-tickets .tribe-common .tribe-common-h4 { font-family: 'Bitter', Georgia, serif !important; }
.ev-native-tickets .tribe-block,
.ev-native-tickets .tribe-tickets__tickets-form,
.ev-native-tickets .tribe-tickets__rsvp-wrapper { margin: 0 !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.ev-native-tickets .tribe-common .tribe-common-c-btn,
.ev-native-tickets .tribe-common button.tribe-common-c-btn,
.ev-native-tickets .tribe-common a.tribe-common-c-btn {
  background: var(--ev-gold) !important; color: var(--ev-ink) !important; border-radius: 3px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ev-native-tickets .tribe-common .tribe-common-c-btn:disabled { opacity: 0.5; }
/* Tickets panel parts: Tickets / Waitlist / RSVP, each labeled and separated */
.ev-tix-group + .ev-tix-group { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ev-line); }
.ev-tix-group__label {
  font-family: var(--ev-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ev-ink); margin-bottom: 4px;
}
.ev-tix-group__intro { font-family: var(--ev-sans); font-size: 13px !important; line-height: 1.5 !important; color: var(--ev-ink-soft); margin: 0 0 12px !important; }

/* Waitlist: keep only Event Tickets' sign-up form (the ticket list above already shows status) */
.ev-native-tickets--waitlist .tribe-tickets__tickets-form > h2,
.ev-native-tickets--waitlist .tribe-tickets__tickets-item,
.ev-native-tickets--waitlist .tribe-tickets__tickets-footer,
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-container h3 { display: none !important; }
.ev-native-tickets--waitlist .tribe-tickets__tickets-wrapper,
.ev-native-tickets--waitlist .tribe-tickets__tickets-form,
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-container { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-container__inner-wrap {
  display: grid; grid-template-columns: 1fr; gap: 10px; align-items: end; margin: 0 !important; padding: 0 !important;
}
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-container--input,
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-container--submit { margin: 0 !important; padding: 0 !important; }
.ev-native-tickets--waitlist label {
  display: block; margin: 0 0 5px !important; font-family: var(--ev-sans) !important; font-size: 11px !important;
  font-weight: 700 !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ev-ink-soft) !important;
}
.ev-native-tickets--waitlist input[type="text"],
.ev-native-tickets--waitlist input[type="email"],
.ev-native-tickets--waitlist input:not([type]) {
  width: 100% !important; height: 44px !important; padding: 0 12px !important; margin: 0 !important;
  border: 1px solid rgba(36,52,63,0.22) !important; border-radius: 2px !important; background: #fff !important;
  font-family: var(--ev-sans) !important; font-size: 14px !important; color: var(--ev-ink) !important; box-shadow: none !important;
}
.ev-native-tickets--waitlist input:focus { border-color: var(--ev-ink) !important; outline: none; }
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-submit {
  display: inline-flex !important; align-items: center; justify-content: center; width: 100%;
  height: 44px !important; padding: 0 20px !important; border: 0 !important; border-radius: 2px !important;
  background: var(--ev-gold) !important; color: var(--ev-ink) !important; cursor: pointer;
  font-family: var(--ev-sans) !important; font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: 0.12em !important; text-transform: uppercase; white-space: nowrap;
}
.ev-native-tickets--waitlist .tec-tickets-plus-waitlist-submit:disabled { opacity: 0.5; cursor: not-allowed; }
@media (min-width: 640px) {
  .ev-native-tickets--waitlist .tec-tickets-plus-waitlist-container__inner-wrap { grid-template-columns: 1fr 1fr auto; }
  .ev-native-tickets--waitlist .tec-tickets-plus-waitlist-submit { width: auto; }
}

/* RSVP title: undo Event Tickets' heading letter-spacing */
.ev-native-tickets .tribe-tickets__rsvp-title { letter-spacing: normal !important; text-transform: none !important; }

/* RSVP: make Event Tickets' RSVP block read like one of our ticket rows */
.ev-native-tickets .tribe-common,
.ev-native-tickets .tribe-tickets__rsvp-wrapper { width: 100% !important; max-width: none !important; }
.ev-native-tickets .tribe-tickets__rsvp-wrapper { display: flex; flex-direction: column; }
.ev-native-tickets .tribe-tickets__rsvp-wrapper .tribe-tickets__rsvp {
  display: flex !important; align-items: center; justify-content: space-between; gap: 16px;
  width: 100% !important; margin: 0 0 12px !important; padding: 10px 0 !important; border-bottom: 1px solid var(--ev-line); flex-wrap: nowrap;
}
.ev-native-tickets .tribe-tickets__rsvp-details-wrapper,
.ev-native-tickets .tribe-tickets__rsvp-actions-wrapper { padding: 0 !important; margin: 0 !important; flex: 0 1 auto; width: auto !important; max-width: none !important; }
.ev-native-tickets .tribe-tickets__rsvp-details-wrapper { flex: 1 1 auto; }
.ev-native-tickets .tribe-tickets__rsvp-details { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
.ev-native-tickets .tribe-tickets__rsvp-title {
  flex-basis: 100%; margin: 0 0 1px !important; color: var(--ev-ink) !important;
  font-family: var(--ev-sans) !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.3 !important;
}
.ev-native-tickets .tribe-tickets__rsvp-description,
.ev-native-tickets .tribe-tickets__rsvp-description p,
.ev-native-tickets .tribe-tickets__rsvp-attendance,
.ev-native-tickets .tribe-tickets__rsvp-attendance *,
.ev-native-tickets .tribe-tickets__rsvp-availability,
.ev-native-tickets .tribe-tickets__rsvp-availability * {
  margin: 0 !important; color: var(--ev-ink-soft) !important;
  font-family: var(--ev-sans) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.4 !important;
}
.ev-native-tickets .tribe-tickets__rsvp-attendance { display: inline-flex !important; flex-direction: row !important; align-items: baseline; gap: 4px; border: 0 !important; padding: 0 !important; }
.ev-native-tickets .tribe-tickets__rsvp-attendance::before { content: "·"; margin-right: 4px; }
.ev-native-tickets .tribe-tickets__rsvp-description:empty,
.ev-native-tickets .tribe-tickets__rsvp-availability:empty { display: none; }
.ev-native-tickets .tribe-tickets__rsvp-actions,
.ev-native-tickets .tribe-tickets__rsvp-actions-rsvp { display: flex; align-items: center; margin: 0 !important; padding: 0 !important; }
.ev-native-tickets .tribe-tickets__rsvp-actions-rsvp > span { display: none !important; } /* "RSVP Here" label */
.ev-native-tickets .tribe-tickets__rsvp-actions-button-going,
.ev-native-tickets .tribe-tickets__rsvp-actions-button-not-going {
  display: inline-flex !important; align-items: center; justify-content: center;
  height: 44px !important; min-height: 44px !important; padding: 0 20px !important; width: auto !important; min-width: 0 !important; border-radius: 2px !important;
  font-size: 11px !important; letter-spacing: 0.12em !important; line-height: 1 !important;
}
.ev-native-tickets .tribe-tickets__rsvp-message {
  order: 2; margin: 9px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
}
.ev-native-tickets .tribe-tickets__rsvp-message,
.ev-native-tickets .tribe-tickets__rsvp-message * {
  font-family: var(--ev-sans) !important; font-size: 11px !important; font-weight: 400 !important;
  color: var(--ev-ink-soft) !important; line-height: 1.5 !important;
}
.ev-native-tickets .tribe-tickets__rsvp-message-link { text-decoration: underline !important; color: var(--ev-ink) !important; }
.ev-native-tickets .tribe-tickets__rsvp-message svg,
.ev-native-tickets .tribe-tickets__rsvp-message-icon { display: none !important; }
/* The form that opens after "Going" */
.ev-native-tickets .tribe-tickets__rsvp-form input[type="text"],
.ev-native-tickets .tribe-tickets__rsvp-form input[type="email"],
.ev-native-tickets .tribe-tickets__rsvp-form input[type="number"] {
  border: 1px solid rgba(36,52,63,0.22) !important; border-radius: 2px !important; font-family: var(--ev-sans) !important;
}

/* ── TICKET QUANTITY: phone layout ──
   Last in the file on purpose: the compact-row rules above also match these
   elements, so these have to come after them to win. */
@media (max-width: 639px) {
  /* Every ticket row stacks: name + description + price on top, action below.
     Side by side squeezed the text into a narrow column once descriptions were shown. */
  .ev-ticket-row--compact { flex-wrap: wrap; align-items: flex-start; }
  .ev-ticket-row--compact .ev-ticket-info { flex: 1 1 100%; min-width: 0; margin-bottom: 12px; }
  .ev-ticket-row--compact .ev-ticket-buy { flex: 1 1 100%; }
  .ev-ticket-row--compact .ev-ticket-buy > .ev-btn { flex: 1 1 auto; }
  .ev-ticket-row--qty .ev-ticket-qty-form { width: 100%; }
  .ev-ticket-row--qty .ev-ticket-qty { flex: 0 0 auto; }
  .ev-ticket-row--qty .ev-ticket-qty-form .ev-btn { flex: 1 1 auto; }
  /* Status pill ("Sold out", "Not on sale yet") hugs its text instead of stretching */
  .ev-ticket-row--compact .ev-ticket-status { align-self: flex-start; }
}

/* Hosted By in the snapshot links to the JSC events page */
.ev-snap__val a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ev--jsc .ev-snap__val a:hover { color: var(--ev-gold); }
.ev-meta__val a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ev-meta__val a:hover { color: var(--ev-ink); }

/* Legal small print under the ticket rows */
.ev-panel__body p.ev-ticket-legal { margin-top: 8px; }
.ev-ticket-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ev-ticket-legal a:hover { color: var(--ev-ink); }
