/* Blog pages (kyniembe.com/blog/, mylittlekeep.com/blog/). Builds on /home/home.css (buttons, header,
   footer) and /brand/tokens.css. Reading first: one comfortable column, big pictures. */
.blog .top { border-bottom: 1px solid var(--line); }
.blog-nav { display: flex; gap: 14px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.blog .logo img { height: 28px; }
.blog-nav a { text-decoration: none; color: var(--ink); }
.blog-nav a:hover { color: var(--brand-accent-text); }

.post { max-width: 720px; margin: 0 auto; padding: 18px 16px 40px; }
.blog-index { max-width: 1100px; }
.blog-index h1 { font-size: clamp(32px, 8vw, 46px); text-align: center; margin-top: 16px; }
.crumb { margin: 0 0 14px; font-size: 15px; }
.crumb a { text-decoration: none; font-weight: 600; }
.post h1 { font-size: clamp(30px, 7.4vw, 44px); line-height: 1.15; }
.post-meta { color: var(--soft); font-size: 14px; margin: 10px 0 18px; }
.post-hero { margin: 0 0 26px; }
.post-hero img, .post-body figure img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow); }

.post-body { font-size: 18px; line-height: 1.75; }
.post-body p { margin: 0 0 18px; }
.post-body h2 { font-size: clamp(24px, 5.8vw, 30px); margin: 36px 0 14px; }
.post-body h3 { font-size: 21px; margin: 26px 0 10px; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 18px; }
.post-body li { margin-bottom: 8px; }
.post-body figure { margin: 28px 0; }
.post-body figcaption { color: var(--soft); font-size: 14px; text-align: center; margin-top: 8px; }
.post-body blockquote { margin: 26px 0; padding: 18px 22px; background: var(--brand-accent-soft); border-left: 4px solid var(--brand-accent); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.5; }
.post-body blockquote p { margin: 0; }

.post-cta { margin: 36px 0 10px; padding: 26px 22px; background: var(--card); border: 1.5px solid var(--brand-accent-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; }
.post-cta h2 { font-size: 24px; margin: 0 0 10px; }
.post-cta p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; }
.post-cta-buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; margin: 0 !important; }
.post-cta .btn { text-decoration: none; }

.related { margin-top: 40px; }
.related h2 { font-size: 26px; margin-bottom: 16px; }
.post-list { display: grid; gap: 18px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1024 / 559; object-fit: cover; }
.post-card-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.post-card time { color: var(--soft); font-size: 13px; }
.post-card strong { font-family: var(--font-display); font-size: 20px; line-height: 1.3; }
.post-card span span, .post-card-text > span { color: var(--soft); font-size: 15px; }
.post-card em { font-style: normal; font-weight: 600; color: var(--brand-accent-text); font-size: 15px; }
.post-card:hover { border-color: var(--brand-accent); }

@media (min-width: 720px) {
  .post-cta-buttons { flex-direction: row; justify-content: center; }
  .blog-index .post-list { grid-template-columns: repeat(3, 1fr); }
  .related .post-list { grid-template-columns: repeat(3, 1fr); }
  .related .post-card strong { font-size: 17px; }
}
