/* Component: ev-list (pager rules come from cc-list, tags from post-card) */

.ev-list {
  background: #fff;
}

.ev-list__inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px clamp(20px, 2.78vw, 40px) 60px;
}

.ev-list__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ev-row {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-gold);
}

.ev-row__media {
  flex: none;
  width: 232px;
}

.ev-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-row__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.ev-row__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.9px;
  color: #000;
}

.ev-row__meta,
.ev-row__text {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.8px;
  color: #000;
}

.ev-row__meta strong {
  font-weight: 700;
}

@media (max-width: 640px) {
  .ev-list__inner {
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .ev-row {
    flex-direction: column;
  }

  .ev-row__media {
    width: 100%;
    height: 180px;
  }
}

/* Whole row is clickable: the title link stretches over the card */
.ev-row__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.ev-row:hover .ev-row__title {
  text-decoration: underline;
}
