/* ==========================================================================
   EventGo Australia — Past events (/events/past/)
   --------------------------------------------------------------------------
   Real past listings only. Until the first one ends the page says so, and
   the layout is shown with SAMPLE cards that say "Sample" on the image and
   in the title — never presented as history.
   ========================================================================== */
.eg-c-past__hero { padding: calc(var(--hdr-h) + clamp(2rem, 6vh, 4.5rem)) 0 clamp(1rem, 3vh, 2rem); }
.eg-c-past__empty { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .eg-c-past__empty { grid-template-columns: auto minmax(0, 1fr); gap: 4rem; } }
.eg-c-past__big {
  font: 800 clamp(6rem, 4rem + 10vw, 12rem)/.85 var(--font-ui); letter-spacing: -.05em;
  background: var(--eg-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eg-c-past__empty .eg-c-btn { margin-top: 1.5rem; }
.eg-c-past__empty .eg-c-lead a { color: var(--c-accent); text-decoration: underline; text-underline-offset: .2em; }
.eg-c-past__grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .eg-c-past__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.eg-c-past__card, .eg-c-past__card > a {
  display: grid; gap: .875rem; padding: .75rem; border-radius: 20px; border: 1px solid var(--c-line-strong);
  background: var(--c-ink-soft); color: inherit;
}
.eg-c-past__card > a { padding: 0; border: 0; }
.eg-c-past__img { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--c-surface); }
.eg-c-past__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.eg-c-past__tx { display: grid; gap: .25rem; padding: 0 .25rem .25rem; }
.eg-c-past__tx b { font-size: 1.0625rem; line-height: 1.25; }
.eg-c-past__tx > span { font-size: .875rem; color: var(--c-text-2); }
.eg-c-past__mo { margin-top: .5rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.eg-c-past__mo::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.eg-c-past__mo--gallery { color: var(--c-teal) !important; }
.eg-c-past__mo--gallery::before { background: var(--c-teal); }
.eg-c-past__mo--soon { color: var(--c-text) !important; }
.eg-c-past__mo--soon::before { border: 2px solid var(--c-text-2); }
.eg-c-past__mo--none::before { background: var(--c-text-3); }
.eg-c-sample {
  position: absolute; left: .625rem; top: .625rem; padding: .3rem .55rem; border-radius: 6px;
  background: var(--eg-white); color: var(--eg-ink-900);
  font: 800 .6875rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase;
}
