/* Events listing layout; event detail panel below. */
.gt-events { max-width: var(--gt-maxw); margin: 0 auto; }

/* Featured spotlight above the listing — absent when no event is featured, so
   its spacing rides on the spotlight itself rather than a wrapper. */
.gt-events .gt-spotlight { min-height: 420px; margin-bottom: var(--gt-space-8); }

/* Header row — "Upcoming events" with the type filter on the end; the filter
   drops below the heading once the row runs out of width. */
.gt-events__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--gt-space-4); margin-bottom: var(--gt-space-5); }
.gt-events__title { margin: 0; }

/* Exposed type filter — inline label + select; the Views form chrome is
   flattened so the control sits on the heading baseline. Both the wrapper and
   the form carry the class depending on how Views renders the block. */
.gt-events__filter .views-exposed-form,
.gt-events__filter form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gt-space-3); margin: 0; }
/* Row direction is explicit: gt-field stacks its label by default. */
.gt-events__filter .form-item { display: flex; flex-direction: row; align-items: center; gap: var(--gt-space-2); margin: 0; }
.gt-events__filter label { font-size: var(--gt-text-xs); font-weight: var(--gt-w-regular); color: var(--gt-ink-3); white-space: nowrap; }
.gt-events__filter .gt-select { width: auto; min-width: 200px; }
.gt-events__filter .form-actions { margin: 0; }

/* Event rows — the unformatted template drops .views-row, so the cards are the
   grid items. */
.gt-events__list { display: grid; gap: var(--gt-space-4); }
.gt-events__empty { color: var(--gt-ink-2); }
/* Centred pagination under the rows (matches the news and search pages). */
.gt-events .gt-pagination { justify-content: center; margin-top: var(--gt-space-8); }

/* ── Event detail page (2026-09 event-page design) ── */
/* The event body sits on the page ground under the event banner, with the
   design's breathing room; matches the article surface (article.css). */
.gt-event {
  padding-block: clamp(40px, 5vw, 56px) 0;
}

/* Readability measure: lede and prose stack in a 900px column, aligned to the
   wrap's left edge. */
.gt-event__inner {
  max-width: 900px;
  padding-bottom: clamp(48px, 6vw, 64px);
}

/* The sub-title reads as the opening line of the piece, over the body prose. */
.gt-event__lede {
  margin: 0 0 var(--gt-space-5);
  font-family: var(--gt-font-head);
  font-weight: var(--gt-w-medium);
  letter-spacing: var(--gt-head-tracking);
  font-size: var(--gt-text-xl);
  line-height: 1.45;
  color: var(--gt-ink);
  max-width: 60ch;
}

/* "More events" closes the page: a full-bleed band on the page ground,
   separated from the body by a hairline (the banner treatment, mirrored). */
.gt-event__more {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-top: var(--gt-border-width) solid var(--gt-border);
}
.gt-event__more-inner {
  max-width: var(--gt-maxw);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 56px) var(--gt-space-6) clamp(48px, 6vw, 64px);
}

/* The .gt-event-details panel (date chip + Date/Time/Location/Type rows) is
   gone: the event banner variant carries all of it (badge, meta row, register
   action), so the panel only restated the band above it. */
