body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f7f3e8;
  color: #222;
}

.hero,
main {
  max-width: 1040px;
  margin: auto;
  padding: 24px;
}

.hero {
  padding-top: 40px;
}

.eyebrow {
  color: #2f6f4e;
  font-weight: bold;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin: 8px 0;
}

.controls {
  background: #fffaf0;
  border: 1px solid #eadfca;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
}

.controls label {
  display: grid;
  gap: 8px;
  font-weight: bold;
}

input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #aaa;
  border-radius: 12px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

button {
  padding: 9px 15px;
  border: 1px solid #888;
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font: inherit;
}

button.active {
  background: #2f6f4e;
  color: white;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px #0002;
}

.photo-placeholder {
  height: 160px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dfeedd, #fff3d1);
  color: #2f6f4e;
  font-weight: bold;
}

.card-body {
  padding: 18px;
}

.category {
  color: #2f6f4e;
  font-weight: bold;
  margin-top: 0;
}

.badge {
  display: inline-block;
  color: white;
  background: #d0702f;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: bold;
  font-size: 14px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.links a {
  display: inline-block;
  color: #2f6f4e;
  background: #edf7f1;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: bold;
}

.empty {
  background: white;
  border-radius: 16px;
  padding: 20px;
}

@media (max-width: 600px) {
  .hero,
  main {
    padding: 18px;
  }

  .buttons {
    gap: 10px;
  }

  button {
    width: 100%;
  }
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #ddd;
}