:root {
  --ink: #1a1a1a;
  --muted: #666;
  --line: #e2e2e2;
  --bg: #fafaf8;
  --accent: #2f5d3a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.site-header {
  padding: 24px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.site-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 6px 0 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-card, .single-post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.post-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.post-category {
  background: var(--accent);
  color: #fff;
  padding: 2px 9px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  text-transform: capitalize;
}

.post-image, .post-image-full {
  width: 100%;
  display: block;
  margin-top: 10px;
}

.post-video {
  position: relative;
  padding-top: 56.25%;
  margin-top: 10px;
}
.post-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-title {
  font-size: 1.1rem;
  margin: 12px 14px 0;
}
.post-title a { color: var(--ink); text-decoration: none; }

.post-body {
  padding: 8px 14px 0;
  color: var(--ink);
}

.post-location {
  padding: 4px 14px 14px;
}
.post-location a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  font-weight: 600;
}
.pagination a { color: var(--accent); text-decoration: none; }

.category-heading {
  text-transform: capitalize;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 20px;
}

.empty { color: var(--muted); }
