/* Past-events directory (Chinese + English). Two jobs only:
   1) the issue sorting control above the list — a functional UI row, not
      part of a card, so it never adds a call to action, source link or issue
      chip to the cards themselves;
   2) the card layout: a metadata column on the left that holds the issue
      number and, where one is verified, the event date — plus typography for
      that neutral, non-clickable metadata.
   Ordering is driven only by the numeric issue number (data-issue). Verified
   dates are display-only: they are never a sort key and never a tie-break.
   Cards without an issue number form a fixed group that stays first in both
   directions. No reader-facing note explains the ordering rules.
   No webfont is declared: metadata uses the existing system UI stack and the
   sentence keeps the page's editorial face. */

/* Every entry is a fixed two-column record at every viewport width.
   The left rail always reserves two stacked lines: issue, then date. Empty
   fields remain empty; the right rail contains only the linked title and one
   plain-language work/session description. */
.film-index .event-card{grid-template-columns:minmax(7.5rem,max-content) minmax(0,1fr);gap:0 1.5rem;align-items:start}
.film-index .event-body{min-width:0}

.event-facts{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;margin:0;min-width:0;min-height:2.9em;padding-top:.15rem;font-size:12px;line-height:1.5;letter-spacing:.02em;color:var(--muted);font-variant-numeric:tabular-nums}
html[lang^="zh"] .film-index .event-card .event-facts,
html[lang="en"] .film-index .event-card .event-facts,
.film-index .event-card .event-facts{margin:0;max-width:none;color:var(--muted);font-size:12px;line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Helvetica Neue",system-ui,sans-serif;font-weight:400}
.event-facts .issue-label,
.event-facts .event-day{color:var(--muted);background:none;border:0;border-radius:0;padding:0;font:inherit;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.event-facts .issue-label::after,
.event-facts .event-day::after{content:none}

.event-sort{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;margin:0 0 1.25rem;padding:0 0 .9rem;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--muted)}
.event-sort label{color:var(--muted)}
.event-sort select{font:inherit;font-size:13px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:4px;padding:4px 8px;max-width:100%}
.event-sort select:focus-visible{outline:2px solid var(--berry);outline-offset:2px}

/* Keep the two columns on phones. The rail shrinks only when necessary;
   it never becomes a stacked one-column card. */
@media(max-width:700px){
  .film-index .event-card{grid-template-columns:minmax(5.5rem,38%) minmax(0,1fr);gap:0 .75rem}
  .film-index .event-card h2{font-size:19px;line-height:1.3}
  .event-facts{min-height:3em}
  .event-sort{gap:.4rem .75rem}
  .event-sort select{min-height:44px}
  .film-index .event-body h2 a{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
  .film-index .event-facts{padding-top:.65rem}
  .film-index .event-body h2 a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
}
