.ew-gig-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ew-gig-card {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 350px; /* You can adjust this */
  position: relative;
}

.ew-gig-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #0073aa;
}

@media screen and (max-width: 768px) {
  .ew-gig-card {
    flex: 1 1 100%;
  }
}

.ew-ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #e91e63;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

.ew-urgency-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
}

.ew-urgency-badge.urgent {
  background-color: #ff5722;
  color: #fff;
}

.ew-urgency-badge.non-urgent {
  background-color: #e0e0e0;
  color: #333;
}
