:root {
  --bg: #FDF6E3;
  --text: #3E2723;
  --muted: #6D4C41;
  --primary: #8B4513;
  --accent: #D2691E;
  --card-bg: #FFF8E7;
  --border: #D7CCC8;
  --font-body: Georgia, 'Times New Roman', serif;
  --font-head: 'Georgia', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
header {
  border-bottom: 2px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--card-bg);
}
header h1 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--primary);
  letter-spacing: 0.05em;
}
header p { color: var(--muted); font-style: italic; margin-top: 0.25rem; }
main { max-width: 900px; margin: 2rem auto; padding: 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--primary); }
.card p { font-size: 0.95rem; color: var(--muted); }
.card .meta { font-size: 0.8rem; color: var(--accent); margin-top: 0.75rem; }
.load-more {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.load-more:hover { background: var(--accent); }
.article-page { max-width: 760px; margin: 2rem auto; padding: 0 1rem; }
.article-page h1 { font-family: var(--font-head); font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; }
.article-page .meta { color: var(--muted); margin-bottom: 2rem; font-style: italic; }
.article-page p { margin-bottom: 1.25rem; }
.back { display: inline-block; margin-top: 2rem; color: var(--accent); }
footer { text-align: center; padding: 2rem 1rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); margin-top: 3rem; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  header h1 { font-size: 1.8rem; }
  .grid { grid-template-columns: 1fr; }
}
