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

/* Карточка события */
.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: #cb9f74 !important;
  text-decoration: none;
  font-family: 'TildaSans';
  text-transform: uppercase;
}

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

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

.event-buttons .event-description-toggle {
  background-color: transparent !important;
  color: white !important;
  border: 1px solid white !important;
  padding: 10px 16px;
  font-size: 12px;
  font-family: 'TildaSans', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.event-buttons .event-description-toggle:hover {
  background-color: #eedddd !important;
  color: #000 !important;
  border-color: #eedddd !important;
}


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

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

.event-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.event-buttons a,
.event-buttons button {
  color: #000 !important;
  font-size: 12px;
  font-family: 'TildaSans', Arial, sans-serif;
  line-height: 1.55;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 10px;
  background-color: #cb9f74;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
}

.event-buttons a:hover,
.event-buttons button:hover {
  background-color: #eedddd !important;
}

.event-buttons a,
.event-buttons button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  border-width: 0;
}

@media (max-width: 768px) {
  .event-image {
    width: 100%;
    height: 180px;
  }

  .event-card {
    width: 310px;
    background: #180F15;
  }
  #events-list {
    background-color: #1F0E17;
  }
}
