/* Extra styles for the blog and generic pages only. Everything else on the
   site uses the original compiled stylesheet (assets/styles-*.css) — nothing
   here targets the header, footer, body or the CMS page sections. All rules
   are scoped under .site-content so they cannot leak into the design. */

.site-content {
  --tkm-line: #e2e0d9;
  --tkm-muted: #6b6b63;
  --tkm-brand: #263024;
  padding-top: 48px;
  padding-bottom: 72px;
  min-height: 50vh;
}
.site-content h1, .site-content h2, .site-content h3, .site-content h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}

.site-content .page-title { font-size: clamp(30px, 4vw, 44px); margin: 0 0 .3em; }
.site-content .page-lede { color: var(--tkm-muted); font-size: 17px; max-width: 60ch; margin: 0 0 32px; }

/* Blog index — card grid */
.site-content .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-content .post-card {
  background: #fff;
  border: 1px solid var(--tkm-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.site-content .post-card-media {
  aspect-ratio: 16 / 10;
  background: #eeece5 url("/assets/logo-mark-D7p-WtvG.png") center / 48px no-repeat;
}
.site-content .post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.site-content .post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.site-content .post-card-date { color: var(--tkm-muted); font-size: 13px; margin: 0 0 6px; }
.site-content .post-card-title { font-size: 20px; margin: 0 0 8px; }
.site-content .post-card-title a { color: inherit; text-decoration: none; }
.site-content .post-card-title a:hover { color: var(--tkm-brand); text-decoration: underline; }
.site-content .post-card-excerpt { color: var(--tkm-muted); font-size: 15px; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.site-content .post-card-link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--tkm-brand); }
.site-content .post-card-link:hover { text-decoration: underline; }
.site-content .empty-state { color: var(--tkm-muted); padding: 40px 0; text-align: center; }

.site-content .pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; font-size: 14px; }
.site-content .pager a { text-decoration: none; font-weight: 600; color: var(--tkm-brand); }
.site-content .pager span { color: var(--tkm-muted); }

/* Single post / page */
.site-content .article-header { margin-bottom: 28px; }
.site-content .article-date { color: var(--tkm-muted); font-size: 14px; margin: 0 0 10px; }
.site-content .article-featured-image { border-radius: 16px; overflow: hidden; margin-bottom: 32px; }
.site-content .article-featured-image img { width: 100%; height: auto; display: block; }
.site-content .article-body { max-width: 68ch; font-size: 17px; line-height: 1.75; }
.site-content .article-body p { margin: 0 0 1.4em; }
.site-content .article-body h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.site-content .article-body h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.site-content .article-body ul, .site-content .article-body ol { margin: 0 0 1.4em; padding-left: 1.4em; list-style: revert; }
.site-content .article-body li { margin-bottom: .4em; }
.site-content .article-body a { text-decoration: underline; color: var(--tkm-brand); }
.site-content .article-body img { border-radius: 10px; margin: 1.6em 0; max-width: 100%; height: auto; }
.site-content .article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--tkm-brand); color: #3a4a37; font-style: italic; }

.site-content .not-found { text-align: center; padding: 60px 20px; }
.site-content .not-found h1 { font-size: 32px; }
.site-content .not-found p { color: var(--tkm-muted); }
