/* The Together page (together_events.html, 13 Oct redesign): mobile first, one column, cards with 16:9 art. */
.evp-head { margin: 8px 0 16px; }
.evp-head h1 { margin: 4px 0 8px; }
.evp-h { font-size: 1.2rem; margin: 28px 0 12px; }
.evc-img, .evc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.evc-art, .evp-hero-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2, var(--bg)); }
.evc-badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink, inherit); }
.evc-badge.is-live { background: var(--live-fill, #c0392b); color: var(--on-live, #fff); }
.evc-badge.is-live::before { content: "● "; }
@media (prefers-reduced-motion: no-preference) { .evc-badge.is-live { animation: twh-pulse 2.4s ease-in-out infinite; } }

/* hero: the next event (or the live one) big */
.evp-hero { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface); margin: 0 0 20px; }
.evp-hero-body { padding: 16px 18px 18px; }
.evp-hero-body h2 { margin: 2px 0 6px; font-size: 1.4rem; }
.evp-hero-body h2 a { color: inherit; text-decoration: none; }
@media (min-width: 760px) { .evp-hero { grid-template-columns: 1.25fr 1fr; align-items: center; } }

/* chips: Live now · All · 2hives hosted · Individual hosted · language · Times that suit me */
.evp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; font-size: .95rem; }
.chip.is-on { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
.chip select { border: 0; background: transparent; color: inherit; font: inherit; min-height: 32px; }
.chip-check input { width: 18px; height: 18px; }
.chip-live .chip-dot { color: var(--muted); }
.chip-live.has-live .chip-dot { color: var(--live-fill, #c0392b); }
.chip-live.is-on.has-live .chip-dot { color: var(--on-accent); }
@media (prefers-reduced-motion: no-preference) { .chip-live.has-live .chip-dot { animation: twh-pulse 1.8s ease-in-out infinite; } }

/* the card grid */
.evc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .evc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .evc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.evc-grid .ev-day { grid-column: 1 / -1; list-style: none; font-weight: 600; margin: 10px 0 0; color: var(--muted); }
.evc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); min-width: 0; }
.evc.is-live { border-color: var(--live-fill, #c0392b); }
.evc-body { padding: 12px 14px 4px; flex: 1 1 auto; min-width: 0; }
.evc-title { margin: 4px 0; font-size: 1.05rem; }
.evc-title a { color: inherit; text-decoration: none; }
.evc-title a:hover, .evc-title a:focus-visible { text-decoration: underline; }
.evc-meta { margin: 4px 0 0; color: var(--muted); }
.evc-lang { white-space: nowrap; }
.evc-host { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.evc-avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--accent-fill); color: var(--on-accent); font-size: .75rem; font-weight: 700; }
.evc-avatar-2h { background: var(--accent-fill) url("/static/brand/favicon/favicon-32.png") center / 16px no-repeat; }
.evc-actions { display: flex; align-items: center; gap: 8px; padding: 10px 14px 14px; flex-wrap: wrap; }
.evc-actions .btn { min-height: 44px; }
.evc-fav { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.evc-fav[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.evc-more { position: relative; margin-left: auto; }
.evc-more > summary { list-style: none; display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); }
.evc-more > summary::-webkit-details-marker { display: none; }
.evc-menu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 5; display: grid; min-width: 220px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.evc-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 6px; color: inherit; text-decoration: none; }
.evc-menu a:hover, .evc-menu a:focus-visible { background: var(--bg); }
.evc-grid-compact .evc-art { aspect-ratio: 21 / 9; }
.evp-empty { display: grid; gap: 8px; }
.evp-host-cta { margin: 16px 0; }
.evp-paths { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 4px; }
.ev-how { margin: 12px 0; }
.ev-how > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.evp-head { display: block; padding: 0; background: none; }
.evp-head .lead { max-width: 40rem; }
.evp-anchor { display: block; position: relative; top: -80px; }
.evp-head .ev-sub, .evp-head .ev-sub a { color: var(--muted); }
.evp-head .ev-sub a { text-decoration: underline; }
.evp-head .ev-next { background: var(--surface); color: var(--ink, inherit); border: 1px solid var(--line); }
.evp-more { margin: 14px 0; }
.evp-more > summary { list-style: none; cursor: pointer; display: inline-flex; }
.evp-more > summary::-webkit-details-marker { display: none; }
.evp-more[open] > summary { margin-bottom: 12px; }
