:root {
  --max-width: 760px;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --bg: #fdfcfa;
  --card-bg: #ffffff;
  --border: #e4e0d8;
  --accent: #7a5c3e;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); }
a:hover { color: #543f2a; }

.site-header {
  background: #2f2a24;
  color: #f0ece4;
  padding: 24px 20px;
  text-align: center;
}
.site-header h1 { margin: 0; font-size: 28px; letter-spacing: 0.5px; }
.site-header h1 a { color: #fff; text-decoration: none; }
.site-header p { margin: 6px 0 0; color: #cfc7ba; font-size: 15px; font-style: italic; }
.site-nav { margin-top: 14px; }
.site-nav a {
  color: #f0ece4;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 14px;
  border: 1px solid #5c5346;
  border-radius: 4px;
  margin: 0 4px;
  display: inline-block;
}
.site-nav a:hover { background: #453e34; }

main { max-width: var(--max-width); margin: 0 auto; padding: 30px 20px 60px; }

.trip-heading {
  font-size: 22px;
  color: var(--accent);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin: 40px 0 20px;
}
.trip-heading:first-child { margin-top: 0; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-card {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.post-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #eee;
}
.post-card-body h2 { margin: 0 0 4px; font-size: 19px; }
.post-card-body h2 a { text-decoration: none; color: var(--text); }
.post-card-body h2 a:hover { color: var(--accent); }
.post-meta { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.post-excerpt { color: #4a4a4a; font-size: 15px; margin: 0; }

article.post h1 { font-size: 30px; margin-bottom: 4px; }
.post .post-meta { margin-bottom: 24px; font-size: 14px; }

article.post img, article.post video, article.post iframe {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
figure.wp-caption { margin: 20px 0; text-align: center; }
figure.wp-caption img { margin: 0 auto; }
figure.wp-caption figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; font-style: italic; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 20px 0;
}
.gallery-grid img { width: 100%; height: 130px; object-fit: cover; border-radius: 4px; }

.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 20px 0; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 6px; }

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.post-nav a { text-decoration: none; }
.post-nav .spacer { flex: 1; }

.category-badge {
  display: inline-block;
  background: #efe8db;
  color: var(--accent);
  border-radius: 10px;
  padding: 2px 10px;
  font-size: 12px;
  margin-right: 6px;
}

.about-photo { max-width: 300px; float: right; margin: 0 0 16px 20px; border-radius: 6px; }
.about-photo + p { margin-top: 0; }

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .post-card { flex-direction: column; }
  .post-card img { width: 100%; height: 180px; }
  .about-photo { float: none; display: block; margin: 0 auto 16px; }
}
