.events-list {
  display: grid;
  gap: 1rem;
  width: min(100%, 900px);
}

.event-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
  background: #111111e6;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  box-shadow: 0 18px 38px #00000055;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 0.8rem;
  box-sizing: border-box;
  color: #0C1D81;
  background: #f0f0f0;
  text-align: center;
}

.event-day {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
}

.event-month {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.event-year {
  margin-top: 0.15rem;
  font-size: 0.85rem;
}

.event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.3rem 1.5rem;
}

.event-content h2 {
  margin: 0;
  color: #f7f3ed;
}

.event-content p {
  margin: 0.7rem 0 0;
}

.events-empty {
  padding: 1rem 1.25rem;
  background: #111111e6;
  border: 1px solid #ffffff26;
  border-radius: 8px;
}

@media screen and (max-width: 520px) {
  .event-card {
    grid-template-columns: 82px 1fr;
  }

  .event-date {
    min-height: 105px;
    padding: 0.5rem;
  }

  .event-day {
    font-size: 2rem;
  }

  .event-content {
    padding: 1rem;
  }

  .event-content h2 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 700px) {
  .older-event {
    display: none;
  }
}
