.event-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 400;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
}

.event-status--current {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(17, 17, 17, .2);
}

.event-status--ended {
  background: rgba(17, 17, 17, .92);
  border: 1px solid rgba(255, 255, 255, .24);
  color: var(--white);
}

.archive-poster-section {
  padding-block: clamp(78px, 10vw, 148px);
}

.past-events-grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.past-event-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
}

.past-event-card__link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.past-event-card__link:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 5px;
}

.past-event-card__poster {
  background: var(--ink);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.past-event-card__poster--red {
  background: #9e2425;
}

.past-event-card__poster--olive {
  background: #d3c99f;
}

.past-event-card__poster--sand {
  background: #d7c0a1;
}

.past-event-card__poster img {
  display: block;
  height: auto;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
  width: 100%;
}

.past-event-card__link:hover .past-event-card__poster img,
.past-event-card__link:focus-visible .past-event-card__poster img {
  opacity: .9;
  transform: scale(1.012);
}

.past-event-card__caption {
  min-height: 196px;
  padding: clamp(22px, 3vw, 34px);
}

.past-event-card__caption time {
  color: var(--orange-deep);
  display: block;
  font-family: "CY", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.past-event-card__caption h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 300;
  line-height: 1.35;
  margin: 0 0 10px;
}

.past-event-card__caption p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .past-events-grid {
    grid-template-columns: 1fr;
  }

  .past-event-card__caption {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .event-status {
    min-height: 31px;
    padding: 5px 12px;
    right: 12px;
    top: 12px;
  }

  .past-event-card__caption {
    padding: 24px 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .past-event-card__poster img {
    transition: none;
  }
}
