/* Blog + article styles for Truth by LetBe.ai — reuses theme tokens from styles.css
   (light/dark aware: every color goes through a custom property). */

/* Quick-answer / key-takeaway box (featured-snippet bait) */
.takeaway {
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: var(--accent-soft);
  padding: 20px 24px;
  margin: 26px 0 8px;
}
.takeaway b {
  display: block;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 8px;
}
.takeaway p { margin: 0; color: var(--ink); font-size: 17.5px; line-height: 1.6; }

/* Copy-paste agenda template box */
.template {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel-weak-2);
  padding: 22px 26px;
  margin: 22px 0;
}
.template p { margin: 0 0 10px; color: var(--soft); }
.template p strong { color: var(--ink); }
.template ul { margin: 12px 0; padding-left: 22px; }
.template li { margin: 0 0 8px; color: var(--soft); }

.crumbs {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 0 40px;
}
.article__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.article__title {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 20px;
}
.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 14px; color: var(--muted); margin-bottom: 28px;
}
.article__meta .dot { opacity: 0.4; }
.article__lede {
  font-size: 20px; line-height: 1.6; color: var(--soft); margin-bottom: 8px;
}

.article__hero {
  width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--line-soft); margin: 26px 0 8px;
  box-shadow: var(--shadow);
}
figure { margin: 30px 0; }
figure img {
  width: 100%; height: auto; border-radius: 16px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); display: block;
}
figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }

.prose { color: var(--soft); font-size: 17.5px; line-height: 1.75; }
.prose h2 {
  font-size: 27px; font-weight: 800; letter-spacing: -0.01em;
  color: var(--ink); margin: 44px 0 14px; scroll-margin-top: 90px; clear: both;
}

/* Small inline figure that text wraps around (float right on desktop) */
.figure--side {
  float: right; width: 340px; max-width: 44%;
  margin: 6px 0 18px 30px;
}
.figure--side img { height: auto; }
.figure--side figcaption { text-align: left; }
@media (max-width: 720px) {
  .figure--side { float: none; width: 100%; max-width: 100%; margin: 24px 0; }
}
.prose h3 {
  font-size: 20px; font-weight: 700; color: var(--ink); margin: 30px 0 10px;
}
.prose p { margin: 0 0 18px; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-line); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose li { margin: 0 0 10px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 24px 0; padding: 16px 22px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 12px 12px 0;
  color: var(--ink); font-size: 18px;
}

/* Step blocks for how-to */
.step {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px 24px;
  background: var(--panel-weak-2); margin: 20px 0;
}
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; font-weight: 800; font-size: 16px;
  background: linear-gradient(135deg, var(--btn-g1), var(--btn-g2)); color: var(--on-accent); margin-bottom: 12px;
}
.step h3 { margin-top: 0; }

/* Stat callout */
.stat {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline;
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px 24px;
  background: var(--accent-soft);
  margin: 26px 0;
}
.stat__num { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; grid-row: span 2; }
.stat__txt { color: var(--ink); font-size: 17px; }
.stat__src { color: var(--muted); font-size: 13px; }
.stat__src a { color: var(--muted); }

/* TOC */
.toc {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 18px 22px;
  background: var(--panel-weak-2); margin: 8px 0 30px;
}
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; color: var(--soft); }
.toc a { color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* Inline product CTA */
.postCta {
  margin: 34px 0; border-radius: 20px; padding: 28px 30px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
}
.postCta__copy { flex: 1 1 320px; }
.postCta h3 { margin: 0 0 8px; color: var(--ink); font-size: 22px; }
.postCta p { margin: 0; color: var(--soft); font-size: 16px; }

/* FAQ (article-style Q&A list used inside blog posts) */
.faq { margin: 34px 0; }
.faq__item { border-top: 1px solid var(--line-soft); padding: 20px 0; }
.faq__item h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.faq__item p { margin: 0; color: var(--soft); font-size: 16.5px; line-height: 1.65; }

/* Author / E-E-A-T box */
.author {
  display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 0;
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 22px 24px;
  background: var(--panel-weak-2);
}
.author img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.author b { color: var(--ink); font-size: 16px; }
.author p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.author a { color: var(--accent); text-decoration: none; }

/* Blog index cards */
.blogHead { max-width: 820px; margin: 0 auto; padding: 30px 0 8px; text-align: center; }
.blogHead h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.blogHead p { color: var(--soft); font-size: 18px; margin-top: 12px; }
.postGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin: 30px 0; }
.postCard {
  border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden;
  background: var(--panel); text-decoration: none; display: flex; flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.postCard:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.postCard img { width: 100%; height: 190px; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.postCard__body { padding: 20px 22px 24px; }
.postCard__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.postCard__body h2 { font-size: 21px; color: var(--ink); margin: 10px 0; line-height: 1.3; font-weight: 700; }
.postCard__body p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }

@media (max-width: 720px) {
  .prose { font-size: 17px; }
  .postCta { padding: 22px; }
}
