/* Card component */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid #eaeaea;
  padding: 20px;
  border-radius: 8px;
  /* Increase the shadow and add a transition to create more depth.  */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Elevate cards slightly on hover to add a sense of depth */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 6px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0070f3;
}

.card .muted {
  color: #888;
  font-size: 0.9rem;
}