:root {
  --ink: #22252a;
  --muted: #6b7280;
  --bg: #fdfcfb;
  --accent: #b5533c;
  --border: #e8e4df;
  --max: 880px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; border-radius: 6px; }

.site-header { border-bottom: 1px solid var(--border); padding: 18px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.site-title { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.site-nav a { margin-left: 18px; color: var(--ink); font-weight: 500; }
.site-nav a:first-child { margin-left: 0; }

.hero { padding: 48px 0 24px; text-align: center; }
.hero h1 { font-size: 2.2rem; margin-bottom: 6px; }
.tagline { color: var(--muted); font-size: 1.1rem; }

.section-heading { margin-top: 40px; font-size: 1.4rem; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin: 24px 0 48px;
}
.post-card { display: block; color: inherit; }
.post-card:hover { text-decoration: none; }
.post-card img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.post-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.post-date { color: var(--muted); font-size: 0.88rem; margin: 0; }

article.post { padding: 20px 0 60px; max-width: var(--max); margin: 0 auto; }
article.post h1 { font-size: 2rem; margin-bottom: 6px; }
.featured-image { margin: 18px 0; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-content { margin-top: 24px; font-size: 1.05rem; }
.post-content h2 { margin-top: 2em; }
.post-content img { margin: 18px auto; }
.post-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.4em 0;
  padding: 0.2em 1.2em;
  color: var(--muted);
  font-style: italic;
}

.gallery, .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.gallery img, .wp-block-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: zoom-in;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.7rem; }
  article.post h1 { font-size: 1.5rem; }
}
