/* Стили для контейнера с карточками */
#events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 20px 10px;
  font-family: Arial, sans-serif;
  align-items: flex-start;
}

/* Карточка события */
.event-card {
  background: #190f15;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  width: 460px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #ddd;
}

.event-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #eedddd !important;
  text-decoration: none;
  font-family: 'TildaSans';
  text-transform: uppercase;
}

.event-date {
  font-size: 14px;
  color: #eedddd;
  margin-bottom: 12px;
  font-family: 'TildaSans';
}

.event-link {
  margin-top: auto;
  text-align: center;
}

.event-link a {
  background-color: #cb9f74;
  color: #191919 !important;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
  font-family: 'TildaSans';
}

.event-link a:hover {
  background-color: #eedddd;
  color: #000 !important;
}

.event-description-wrapper {
  margin-top: 10px;
}

.event-description-toggle {
  background: none;
  border: 1px solid white;
  color: #fff;
  font-size: 14px;
  padding: 2px 5px;
  cursor: pointer;
  margin-bottom: 5px;
  border-radius: 5px;
}

.event-description {
  font-size: 14px;
  color: #eedddd;
  margin-top: 5px;
  display: none;
  font-family: 'TildaSans';
}

.event-venue {
  color: #eedddd;
  font-family: 'TildaSans';
}
