:root {
  --bg: #fdf6f0;
  --primary: #5a3e36;
  --accent: #c97b63;
  --card-bg: #fff;
  --text: #333;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

header {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

header h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--primary);
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 14px;
}

nav a:hover {
  color: var(--accent);
}

.breadcrumb {
  margin: 15px auto;
  max-width: 800px;
  font-size: 13px;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 15px;
}

.category-header {
  text-align: center;
  margin-bottom: 30px;
}

.category-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--primary);
}

.category-header p {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.card a {
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-content {
  padding: 10px;
}

.card-content h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.card-content p {
  color: #666;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  margin-top: 30px;
  font-size: 13px;
}

footer a {
  color: #f5d6cc;
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media(max-width:600px) {
  header h1 {
    font-size: 22px;
  }

  nav a {
    margin: 0 6px;
    font-size: 13px;
  }
}