/* IGotAPro blog — design-fit pass (Nov 20, 2026).
   Linked ONLY from the /blog/ pages (index + four guide posts), after
   site.css. Every rule is scoped to blog pages via body[data-page^="blog"]
   or blog-only class names, so nothing here can affect the rest of the site. */

/* Reading column: narrow the article text column from 860px to ~700px. */
body[data-page^="blog"] .content-layout { max-width: 700px; }

/* One heading font: the site's heading serif (Fraunces) for the blog H1 too.
   (The blog H1 previously fell back to the body sans; H2/H3 already use the
   serif in site.css.) */
body[data-page^="blog"] .content-layout h1 {
  font: 600 clamp(32px, 4.6vw, 42px) / 1.12 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 10px;
}

/* "Published · X min read" byline under each post title. */
.content-layout .byline { font-size: 15px; color: var(--muted); margin: 0 0 12px; }

/* Source citations: smaller and grey; links stay visible and clickable. */
.content-layout .cite { font-size: 0.82em; color: var(--muted); }
.content-layout .cite a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* In-page table of contents (two longest posts). */
.toc { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px 16px; margin: 18px 0 4px; }
.content-layout .toc-title { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.content-layout .toc li { font-size: 16px; }
.toc a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

/* Collapsible FAQs (native details/summary, no JS). */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.faq-item summary { font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--ink); cursor: pointer; }
.faq-item p { margin: 8px 0 2px; }

/* Checkbox-style lists (maintenance checklist post). */
ul.checklist { list-style: none; padding-left: 0; }
ul.checklist li { position: relative; padding-left: 32px; }
ul.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--green);
}

/* Blog index guide cards: two columns on desktop, one on phone.
   Light treatment — white surface, thin border, no heavy shadow. */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 26px; }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; gap: 7px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.guide-card:hover { border-color: var(--line-dark); }
.guide-card-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.guide-card-title { font: 600 21px / 1.28 var(--serif); color: var(--ink); }
.guide-card-text { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.guide-card-more { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--green); }

/* Index intro tightening: bring the first card sooner on phone. */
body[data-page="blog-index"] .page-lede { margin-bottom: 0; }
