.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
/* The card is not itself focusable — this lifts it when any link inside is
   tabbed to, so keyboard users get the same affordance as a hover. */
.card:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

/* --- media ---------------------------------------------------------------- */
.media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--color-surface-sunken);
  overflow: hidden;
}
.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .banner { transform: scale(1.04); }

/* Stands in for artwork rather than leaving a grey rectangle: brand ground,
   the wordmark ghosted over it. */
.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 25% 15%, rgb(52 203 247 / 22%), transparent 70%),
    linear-gradient(135deg, var(--carisca-blue) 0%, var(--carisca-navy) 100%);
}
.placeholderMark {
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.22em;
  color: rgb(255 255 255 / 40%);
}

.badges {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  right: var(--space-3);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* --- body ----------------------------------------------------------------- */
.body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  flex: 1;
}

.title { font-size: var(--text-lg); line-height: 1.35; }
.title a { color: var(--color-text); text-decoration: none; }
.title a:hover { color: var(--color-accent-text); }

/*
 * Clamped to three lines and reserving all three, so a one-line description
 * does not pull its card's date/venue block up out of line with the cards
 * beside it. Cards in a grid row are stretched to a common height regardless;
 * reserving the space here spends it where it reads as deliberate.
 */
.summary {
  color: var(--color-text-subtle);
  font-size: var(--text-base);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(3 * 1.55em);
}

.meta {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
/*
 * An icon column rather than a spelled-out "WHEN / WHERE / FEE" label column:
 * the icon carries the same distinction in a fraction of the width, and the
 * label survives for screen readers as visually-hidden text.
 */
.fact { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--space-3); }
.fact dt { display: flex; align-items: center; height: 1.4em; color: var(--color-text-subtle); }
.factIcon { flex: none; }
.fact dd { margin: 0; color: var(--color-text-muted); }

.more {
  margin-top: auto;
  padding-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
}
.more:hover { text-decoration: underline; }
.moreIcon { transition: transform var(--dur) var(--ease); }
.card:hover .moreIcon { transform: translateX(3px); }
