.locations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 20px 0;
  justify-content: flex-start;
  font-family: inherit;
}

.location-card {
  flex: 1 1 280px;   /* min width 280px, grows if space allows */
  max-width: 320px;  /* optional, keeps them from stretching too wide */
  border: 1px solid #e9e9e9;
  padding: 50px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background:#f4f5fa;
}

.location-card:hover {
  transform: translateY(-5px);
  --box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.location-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px!important;
  color: #333;
}

.location-card p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

.location-card a {
  color: #0073aa;
  text-decoration: none;
  font-weight: bold;
  background:#fff;
  padding:10px;
  border-radius:20px;
}

.location-card a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .location-card {
    flex: 1 1 100%; /* full width on small screens */
  }
}
