/* Blog index + single post. Scoped under .page-blog / .page-post. */

.container-narrow { max-width: 760px; }

/* ---------------------------------------------------------------- Index --- */
.page-blog .blog-hero { padding-bottom: 56px; }
.page-blog .blog-list { padding-top: 0; }

.page-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 36px;
}
.page-blog .post-card { display: flex; flex-direction: column; }
.page-blog .post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: var(--card);
}
.page-blog .post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.page-blog .post-card-media:hover img { transform: scale(1.04); }
.page-blog .post-card-body { padding-top: 18px; }
.post-meta { color: var(--grey); font-size: 14px; margin-bottom: 8px; }
.page-blog .post-card-title { font-size: 21px; line-height: 1.25; margin-bottom: 0.5em; }
.page-blog .post-card-title a:hover { color: var(--green); }
.page-blog .post-card-excerpt { font-size: 15px; margin-bottom: 14px; }
.post-card-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
}
.post-card-link:hover { color: var(--green-dark); }

/* ---------------------------------------------------------------- Post ---- */
.page-post .article { padding: 70px 0 96px; }
.page-post .article-title {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.1;
  margin: 0.2em 0 0.4em;
}
.page-post .article-meta { font-size: 15px; margin-bottom: 8px; }
.page-post .article-feature {
  width: 100%;
  border-radius: 14px;
  margin: 28px 0 8px;
}
.page-post .article-body {
  font-size: 18px;
  line-height: 1.75;
  color: #2a2a2a;
  margin-top: 28px;
}
.page-post .article-body h2 { font-size: 28px; margin: 1.4em 0 0.5em; }
.page-post .article-body h3 { font-size: 22px; margin: 1.3em 0 0.5em; }
.page-post .article-body p { margin: 0 0 1.1em; }
.page-post .article-body img { border-radius: 12px; margin: 1.2em 0; }
.page-post .article-body a { color: var(--green-dark); text-decoration: underline; }
.page-post .article-body ul,
.page-post .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.page-post .article-body li { margin-bottom: 0.5em; }
.page-post .article-body blockquote {
  margin: 1.4em 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--green);
  color: var(--grey);
  font-style: italic;
}
.page-post .article-note { font-size: 14px; margin-top: 24px; font-style: italic; }
.page-post .article-back { margin-top: 40px; }

@media (max-width: 900px) {
  .page-blog .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .page-blog .blog-grid { grid-template-columns: 1fr; }
}
