/* ==========================================================
   CO Evenementen - Frontend Styling
   ========================================================== */

/* ===== Filterformulier ===== */
#coeven-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
  align-items: center;
}

#coeven-filter input[type="text"],
#coeven-filter select {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

#coeven-filter button {
  background: #0c20a3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#coeven-filter button:hover {
  background: #091b82;
}

/* ===== Resultaatgrid ===== */
.coeven-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.coeven-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coeven-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.coeven-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.coeven-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.coeven-content h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #0c20a3;
}

.coeven-dates {
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
}

.coeven-location {
  color: #666;
  margin-bottom: 10px;
}

.coeven-website {
  display: inline-block;
  color: #0c20a3;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 8px;
}

.coeven-website:hover {
  text-decoration: underline;
}

.coeven-more {
  margin-top: auto;
  background: #8CC63E;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.coeven-more:hover {
  background: #76a72e;
}

/* ===== Premium Highlight ===== */
.coeven-card.premium {
  border: 2px solid #8CC63E;
  box-shadow: 0 3px 10px rgba(140,198,62,0.15);
}

/* ===== Responsiviteit ===== */
@media (max-width: 600px) {
  #coeven-filter {
    flex-direction: column;
    align-items: stretch;
  }

  #coeven-filter button {
    width: 100%;
  }
}
