.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  flex-shrink: 0;
}

.event-card img {
  width: 100%;
  aspect-ratio: 9/10;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #0000000d;
}

.event-card .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 14px;
}

.event-card .content .title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  width: 100%;
}

.event-card .content .title h3 {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -2%;
  word-spacing: 1%;
  line-height: 20px;
  color: #0f0f0f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-card .content .title .lieu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 4px;
}

.event-card .content .title .lieu .date {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -2%;
  word-spacing: 1%;
  color: #00000066;
}

.event-card .content .title .lieu .ville {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -3%;
  color: #0000009e;
}

.event-card .content .title .lieu .ville::first-letter {
  text-transform: uppercase;
}

.event-card .content .tags {
  padding: 4px 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.051);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -3%;
  word-spacing: 1%;
  color: #0000009e;
}

.event-card .content .tags::first-letter {
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .event-card {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    height: 84px;
  }

  .event-card img {
    width: 76px;
    border-radius: 4px;
  }

  .event-card .content {
    gap: 3px;
  }

  .event-card .content .tags {
    display: none;
  }

  .event-card .content .title h3,
  .event-card .content .title .lieu .date,
  .event-card .content .title .lieu .ville {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
