/* Blog pages only. Loaded after style.css, so nothing on the rest of the site changes. */

.post, .blog-index {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.crumbs {
  font-size: 0.88rem;
  color: #6B6154;
  margin-bottom: 18px;
}
.crumbs a { text-decoration: underline; }

.post h1, .blog-index h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 10px;
}

.byline {
  color: #6B6154;
  font-size: 0.92rem;
  margin: 0 0 26px;
}

.post-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0 0 8px;
}
.photo-credit {
  font-size: 0.85rem;
  color: #6B6154;
  margin: 0 0 28px;
}

/* The short answer: first thing a reader (or an AI answer tool) sees */
.answer {
  background: var(--parchment);
  border-left: 4px solid var(--ember);
  padding: 18px 22px;
  margin: 0 0 32px;
  font-size: 1.05rem;
}
.answer strong:first-child { display: block; margin-bottom: 4px; }

.post h2 {
  font-size: 1.55rem;
  margin: 40px 0 12px;
}
.post p { margin: 0 0 16px; max-width: 64ch; }
.post a { text-decoration: underline; }

.post blockquote {
  margin: 0 0 18px;
  padding: 14px 20px;
  border-left: 3px solid var(--cedar);
  background: var(--paper);
  font-family: 'Fraunces', serif;
  font-size: 1.12rem;
  line-height: 1.45;
}
.post blockquote cite {
  display: block;
  margin-top: 8px;
  font-family: 'Public Sans', sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  color: #6B6154;
}

.post ol { margin: 0 0 18px; padding-left: 22px; }
.post ol li { margin-bottom: 10px; max-width: 64ch; }

/* FAQ list, same look as the site's FAQ page */
.post details {
  border-top: 1px solid #d9cfbd;
  padding: 16px 0;
}
.post details:last-of-type { border-bottom: 1px solid #d9cfbd; }
.post summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.post details p { margin: 10px 0 0; }

.cta-box {
  background: var(--forest-ink);
  color: var(--paper);
  padding: 28px 26px;
  border-radius: 4px;
  margin: 44px 0 28px;
}
.cta-box h2 { color: var(--paper); margin: 0 0 8px; font-size: 1.45rem; }
.cta-box p { margin: 0 0 6px; }
.cta-box .cabin-links { margin-top: 10px; line-height: 2; }
.cta-box .cabin-links a { text-decoration: underline; margin-right: 14px; white-space: nowrap; }

.author-box {
  border-top: 1px solid #d9cfbd;
  padding-top: 20px;
  font-size: 0.95rem;
  color: #3d362c;
}
.author-box strong { font-family: 'Fraunces', serif; font-size: 1.05rem; }

/* Blog index */
.blog-index .lede { color: #6B6154; margin: 8px 0 30px; max-width: 56ch; }
.post-card {
  border-top: 1px solid #d9cfbd;
  padding: 22px 0;
}
.post-card:last-of-type { border-bottom: 1px solid #d9cfbd; }
.post-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card .meta { color: #6B6154; font-size: 0.88rem; margin: 0 0 8px; }
.post-card p { margin: 0; max-width: 60ch; }

@media (max-width: 600px) {
  .post, .blog-index { padding: 32px 20px 56px; }
  .answer { padding: 16px 18px; }
}

/* keep the footer from floating up on a short page like the blog index */
.blog-index { min-height: 60vh; }
