/* ============================================================
   IGNITE MY AI — blog / article styles
   Reuses tokens.css + styles.css (nav, buttons, footer, cta, modal).
   This file adds readable long-form prose + the blog index.
   ============================================================ */

/* ---------- breadcrumb ---------- */
.crumb { font-family: var(--font-text); font-size: 0.85rem; color: var(--muted); padding-top: 28px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ember-deep); }
.crumb span { color: var(--faint); margin: 0 6px; }

/* ---------- article shell ---------- */
.article { max-width: 720px; margin: 0 auto; padding-bottom: var(--s-9); position: relative; z-index: 2; }
.article__head { padding: 28px 0 8px; }
.article__eyebrow { margin-bottom: 18px; }
.article__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 18px; text-wrap: balance;
}
.article__standfirst { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--body); margin: 0 0 22px; }
.article__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article__meta .dot { color: var(--line-strong); }
.article__meta strong { color: var(--ink); font-weight: 600; }

/* ---------- prose ---------- */
.prose { font-family: var(--font-text); }
.prose > p { font-size: 1.075rem; line-height: 1.75; color: var(--body); margin: 0 0 22px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; margin: 52px 0 16px; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.012em; color: var(--ink); margin: 32px 0 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ember-deep); text-decoration: underline; text-decoration-color: var(--ember-line); text-underline-offset: 2px; transition: text-decoration-color var(--dur-ui) var(--ease-out); }
.prose a:hover { text-decoration-color: var(--ember); }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { font-size: 1.075rem; line-height: 1.7; color: var(--body); margin-bottom: 10px; }
.prose li strong { color: var(--ink); }
.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ember-line);
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink);
}
.prose hr { border: none; border-top: 1px solid var(--line); margin: 44px 0; }

/* key takeaways box */
.takeaways {
  background: var(--ember-pale); border: 1px solid var(--ember-line); border-radius: var(--r-lg);
  padding: 24px 26px; margin: 0 0 36px;
}
.takeaways h2 { font-family: var(--font-text); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-deep); margin: 0 0 12px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { font-size: 1rem; line-height: 1.55; color: var(--ink); margin-bottom: 8px; }
.takeaways li:last-child { margin-bottom: 0; }

/* a soft callout / stat row inside prose */
.callout {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; margin: 0 0 28px; box-shadow: var(--shadow-sm);
}
.callout p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--body); }
.callout strong { color: var(--ink); }

/* FAQ block on article */
.article-faq { margin-top: 8px; }
.article-faq h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--ink); margin: 26px 0 8px; }
.article-faq p { font-size: 1.05rem; line-height: 1.7; color: var(--body); margin: 0; }

/* author / sign-off */
.author { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.author__mark { width: 46px; height: 46px; border-radius: 12px; background: var(--ember-pale); display: grid; place-items: center; flex-shrink: 0; }
.author__mark img { width: 22px; height: 28px; }
.author__name { font-weight: 600; color: var(--ink); }
.author__role { font-size: 0.9rem; color: var(--muted); }

/* ---------- blog index ---------- */
.blog-hero { max-width: 760px; padding: 56px 0 8px; }
.blog-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.04; color: var(--ink); margin: 16px 0 16px; }
.blog-hero p { font-size: 1.2rem; line-height: 1.6; color: var(--body); margin: 0; max-width: 56ch; }

.post-list { display: grid; gap: 4px; margin: 48px 0 0; border-top: 1px solid var(--line); }
.post-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
  padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background var(--dur-ui) var(--ease-out), padding var(--dur-ui) var(--ease-out);
}
.post-card:hover { background: var(--surface); padding-left: 18px; padding-right: 18px; }
.post-card__tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 8px; }
.post-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 8px; line-height: 1.2; }
.post-card__excerpt { font-size: 1.02rem; line-height: 1.55; color: var(--body); margin: 0; max-width: 62ch; }
.post-card__arrow { width: 26px; height: 26px; color: var(--ember); opacity: 0.5; transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); }
.post-card:hover .post-card__arrow { opacity: 1; transform: translateX(4px); }

@media (max-width: 600px) {
  .post-card { grid-template-columns: 1fr; gap: 10px; }
  .post-card__arrow { display: none; }
  .prose blockquote { font-size: 1.15rem; }
}
