/* --- Grid list (generic) --- */
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.card {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-title a {
  text-decoration: none;
}

.card-title a:hover,
.card-title a:focus {
  text-decoration: underline;
}

.card p {
  margin: 0;
  line-height: 1.45; /* tighter for better readability */
  font-size: 1.8rem; /* slightly smaller than title */
}
