/* ===================== */
/* EVENTS GRID */
/* ===================== */

.nxt-evts {
  margin: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nxt-evts-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1000px) {
  .nxt-evts-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nxt-evts-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===================== */
/* EVENT CARD FIX */
/* ===================== */

.evt-card {
  background: white;
  cursor: pointer;

  display: flex;
  flex-direction: column;

  overflow: hidden; /* verhindert text overflow */
  border-radius: 10px;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* IMAGE */
.card-img {
  height: 160px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BODY */
.evt-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* TEXT SAFE AREA */
.evt-city {
  font-size: 18px;
  font-weight: 600;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evt-location {
  font-size: 13px;
  opacity: 0.75;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FOOTER */
.evt-footer {
  padding: 12px 18px;
  margin-top: auto;

  border-top: 1px solid rgba(0,0,0,0.06);

  font-size: 13px;
  opacity: 0.8;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 1100px) {
  .nxt-evts-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nxt-evts-wrapper {
    grid-template-columns: 1fr;
  }
}