/* Base Styles */
.events-list {
  font-family: Arial, sans-serif;
  width: 100%;
  margin: 20px auto;
}

.events-filter {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.events-filter input {
  flex-grow: 1;
  padding: 8px;
  font-size: 16px;
}

.events-filter button {
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  background-color: #068800 !important;
  color: white !important;
  border: none;
  border-radius: 5px;
}

.events-filter button:hover {
  background-color: #38a033 !important;
}

.event-item {
  display: flex;
  position: relative;
  gap: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
  width: 100%; /* Make sure it always takes full width */
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-image {
  width: 150px;
  height: 150px;
  overflow: hidden;
}

.event-item .event-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.event-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-details h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: bold;
}

.short-description {
  display: inline;
  font-size: 14px;
  color: #555;
}

.event-icon {
  margin-right: 8px;
  font-size: 18px;
}

.expired-button {
  display: flex;
  align-self: end;
  padding: 10px 15px;
  background: #068800;
  color: white !important;
  text-decoration: none;
  border-radius: 5px;
}

.expired-button:hover {
  background: #38a033;
}

.lees-verder-link {
  color: #068800; /* Same color as buttons */
  text-decoration: underline; /* Underline to show it's clickable */
  font-size: 14px;
  margin-left: 5px; /* Space between the description and the "Lees verder" link */
}

.lees-verder-link:hover {
  color: #38a033; /* Hover color change */
  text-decoration: none; /* Remove underline on hover */
}

/* Mobile Responsiveness */
@media (max-width: 425px) {
  .event-item {
    flex-direction: column;
  }

  .event-image {
    width: 100%;
    max-height: 250px;
    margin-bottom: 15px;
  }

  .event-details {
    padding: 10px;
  }

  .events-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .events-list {
    justify-content: center;
  }
}
