/* Navigation Buttons */
.event-years {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.btn--year {
  padding: 0.5rem 1rem;
  background-color: var(--white);
  border: 2px solid var(--orange);
  border-radius: 0.5rem;
  font-weight: bold;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--year.active,
.btn--year:hover {
  background-color: var(--orange);
  color: var(--white);
}

/* Event Card */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}


.event-card {
  background-color: var(--blue-cloud);
  border: 1px solid var(--orange);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-header {
  margin-bottom: 1rem;
}

.event-date {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--black);
}

.event-time {
  font-size: 1rem;
  color: var(--black-50);
  margin: 0.5rem 0;
}

.event-title {
  font-size: 1.4rem;
  margin: 0.5rem 0;
  color: var(--orange);
}

.event-img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  max-height: 300px;
}

.event-description {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--bg-yellow);
  border-radius: 0.5rem;
  color: var(--black);
  font-size: 1rem;
  line-height: 1.6rem;
}

.event-footer {
  margin-top: 1.5rem;
}

.event-footer a {
  color: var(--orange);
  text-decoration: none;
}

.event-footer a:hover {
  text-decoration: underline;
}
.event-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


/* Responsive */
@media (max-width: 768px) {
  .event-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .event-description {
    font-size: 0.95rem;
  }

  .event-img {
    max-height: 200px;
  }

  .btn--year {
    font-size: 0.9rem;
  }
}
