/* Blog: the listing (blog/index.html) and every post. Page width and fonts come from
   brand.css (main.help = --page-reading); this file only adds the article bits. */

.blog-hero { text-align: center; padding: 56px 0 32px; }
.blog-hero h1 { font-size: clamp(26px, 4vw, 38px); margin: 10px 0 14px; }
.blog-hero p { max-width: 58ch; margin: 0 auto; color: #3a3730; font-size: 16.5px; }
.blog-hero .eyebrow { color: var(--thread-deep); }
.blog-meta { color: var(--chalk); font-size: 14px; margin-top: 10px; }

/* Post list */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.post-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--paper-deep); border-radius: var(--radius);
  padding: 16px; color: inherit; text-decoration: none;
}
.post-card:hover { border-color: var(--chalk); }
.post-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
.post-card h2 { font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.post-card p { margin: 0 0 8px; color: #3a3730; font-size: 15px; line-height: 1.55; }
.post-card .blog-meta { margin: 0; }
@media (max-width: 600px) { .post-card { grid-template-columns: 1fr; } }

/* Post body */
.post p, .post li { font-size: 16px; line-height: 1.65; color: #3a3730; }
.post p { margin: 0 0 18px; }
.post h2 { font-size: 22px; margin: 40px 0 10px; }
.post h3 { font-size: 18px; margin: 28px 0 8px; }
.post ul, .post ol { padding-left: 22px; margin: 0 0 18px; }
.post li { margin-bottom: 6px; }
.post figure { margin: 28px 0; }
.post figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.post figcaption { color: var(--chalk); font-size: 13px; text-align: center; margin-top: 8px; }
.post figcaption a { color: inherit; }
.post table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; background: #fff; }
.post th, .post td { border: 1px solid var(--paper-deep); padding: 10px 12px; text-align: left; vertical-align: top; color: #3a3730; }
.post th { background: var(--mat); color: var(--paper); font-weight: 700; }
@media (max-width: 600px) { .post table { display: block; overflow-x: auto; } }
.post .faq dt { font-weight: 800; color: var(--ink); font-size: 16px; margin: 22px 0 6px; }
.post .faq dd { margin: 0; color: #3a3730; font-size: 15px; line-height: 1.6; }

.cta-card {
  background: var(--mat); color: var(--paper); border-radius: var(--radius);
  padding: 28px 26px; margin: 36px 0; text-align: center;
}
.cta-card h2 { color: var(--paper); margin: 0 0 8px; font-size: 20px; }
.cta-card p { color: rgba(241, 243, 236, 0.88); margin: 0 0 18px; font-size: 15px; }

.back-to-blog { margin: 40px 0 0; text-align: center; }
