:root {
  --primary: #c4a484;
  --primary-dark: #a37f67;
  --bg: #fdfaf6;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: #333;
  line-height: 1.6;
}



nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  opacity: 0.85;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
}

@media (max-width: 640px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--primary);
    display: none;
  }

  nav ul.open {
    display: block;
  }

  #menu-toggle {
    display: block;
  }
}

main {
  padding: 2rem 1.5rem;
}

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card img.thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0.8rem 0.8rem 0 0;
  margin: -1.25rem -1.25rem 1rem;
}

.card h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

article.full img.feature {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

footer {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}
