/* Event cards on manifestation pages reuse the museum's archive-card language. */
.hpm-manifestation-events {
  border-top: 1px solid hsl(var(--border) / 0.65);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
}

.hpm-manifestation-events__heading {
  margin-bottom: 1.5rem;
}

.hpm-manifestation-events__eyebrow {
  color: rgb(var(--base));
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.hpm-manifestation-events__heading h2 {
  color: hsl(var(--dark));
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.2;
  margin: 0;
}

.hpm-manifestation-events__grid > [class*="col-"] {
  display: flex;
}

.hpm-manifestation-event-card {
  width: 100%;
}

.hpm-manifestation-event-card--link {
  color: hsl(var(--dark));
  text-decoration: none;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hpm-manifestation-event-card--link:hover,
.hpm-manifestation-event-card--link:focus-visible {
  border-color: rgb(var(--base) / 0.72);
  box-shadow: 0 0 0 3px rgb(var(--base) / 0.14), 0 18px 40px hsl(var(--dark) / 0.1);
  color: hsl(var(--dark));
  text-decoration: none;
  transform: translateY(-3px);
}

.hpm-manifestation-event-card--link:focus-visible {
  outline: 3px solid rgb(var(--base) / 0.32);
  outline-offset: 3px;
}

.hpm-manifestation-event-card--link .hpm-department-card__body {
  width: 100%;
}

.hpm-manifestation-event-card--link .hpm-department-card__meta {
  display: block;
}

.hpm-manifestation-event-card--link .hpm-department-card__title {
  display: block;
}

.hpm-manifestation-event-card--link .hpm-department-card__cta {
  margin-top: auto;
}

.hpm-manifestation-event-card__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, hsl(var(--light)) 0%, hsl(var(--white)) 100%);
}

.hpm-manifestation-event-card__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hpm-manifestation-event-card__meta {
  color: rgb(var(--base));
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hpm-manifestation-event-detail__text {
  color: hsl(var(--text));
  line-height: 1.75;
}

.hpm-manifestation-event-detail__text > :last-child {
  margin-bottom: 0;
}

