/* css/style.css */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 1rem;
}

header h1 {
  margin-bottom: 0;
}

header p {
  margin-top: 0.25rem;
  color: #555;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  display: block;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list li + li {
  margin-top: 0.5rem;
}

.link-list a {
  text-decoration: none;
  color: #0066cc;
}

/* breadcrumb link above each category page */
.breadcrumb {
  display: inline-block;
  margin-bottom: 1rem;
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
}

/* tighter typography inside each card */
.card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card p {
  margin-bottom: 0;
  color: #555;
  font-size: 0.9rem;
}
