:root {
  --bg: #F4F6F8;
  --text: #263238;
  --muted: #546E7A;
  --primary: #2C3E50;
  --accent: #3498DB;
  --card-bg: #FFFFFF;
  --border: #CFD8DC;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--card-bg);
}
header h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--primary);
  letter-spacing: 0.03em;
}
header p { color: var(--muted); 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: 8px;
  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; }
.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; }
}
