/* ── StudyEdge AI Blog Design System ───────────────────────────────────────── */
/* Extends seo.css — load after it. Covers blog-specific layout, visual        */
/* hierarchy, CTA banners, pull quotes, stat highlights, and conversion panels. */

/* ── Variable Bridge ──────────────────────────────────────────────────────── */
/* Old-style posts define --brand/--muted/--card. New posts use seo.css vars.  */
/* This block makes all blog.css components work in both contexts.              */
:root {
  --accent: var(--brand, #3B61C4);
  --accent-d: #2d4fa3;
  --text-muted: var(--muted, #555555);
  --text-dim: #b0b0b0;
  --bg1: var(--card, #ffffff);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, "Palatino Linotype", serif;
  --radius: 12px;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ── Blog Layout ──────────────────────────────────────────────────────────── */
.blog-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Blog Hero ────────────────────────────────────────────────────────────── */
.blog-hero {
  background: var(--bg);
  padding: 56px 24px 0;
  border-bottom: 1px solid var(--border);
}
.blog-hero .container { max-width: 760px; }
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.blog-breadcrumb a { color: var(--text-muted); font-weight: 500; }
.blog-breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.blog-breadcrumb-sep { color: var(--text-dim); }
.blog-title {
  font-family: var(--sans);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.blog-title em, .blog-title .italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.blog-deck {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 680px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.blog-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59, 97, 196, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Hero image */
.blog-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
  margin-top: 28px;
}
.blog-hero-img-wrap {
  margin: 28px -24px 0;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.blog-hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* ── Article Body ─────────────────────────────────────────────────────────── */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.article-body h2 {
  font-family: var(--sans);
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.2;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.article-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--text-muted);
}
.article-body p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.article-body li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}
.article-body ul li::marker { color: var(--accent); }
.article-body strong { color: var(--text); }
.article-body a { color: var(--accent); }
.article-body a:hover { text-decoration: underline; }
.article-body em { font-style: italic; color: var(--text); }

/* ── Table of Contents ────────────────────────────────────────────────────── */
.toc {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  margin: 0 0 36px;
}
.toc-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
}
.toc li {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
  line-height: 1.5;
}
.toc a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.toc a:hover { color: var(--accent); }

/* ── Key Takeaways Box ────────────────────────────────────────────────────── */
.key-takeaways {
  background: linear-gradient(135deg, rgba(59, 97, 196, 0.07) 0%, rgba(59, 97, 196, 0.02) 100%);
  border: 1px solid rgba(59, 97, 196, 0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 0 0 36px;
}
.key-takeaways-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.key-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.65;
}
.key-takeaways li::before {
  content: "";
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Step Blocks ──────────────────────────────────────────────────────────── */
.step-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 14px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.step-block:hover {
  border-color: rgba(59, 97, 196, 0.25);
  box-shadow: 0 4px 16px rgba(59, 97, 196, 0.08);
}
.step-block .step-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #4F75E8, var(--accent));
  box-shadow: 0 2px 8px rgba(59, 97, 196, 0.3);
}
.step-block h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.step-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

/* ── Callout Boxes ────────────────────────────────────────────────────────── */
.callout {
  border-left: 3px solid var(--accent);
  background: rgba(59, 97, 196, 0.05);
  border-radius: 0 var(--radius-sm, 10px) var(--radius-sm, 10px) 0;
  padding: 16px 22px;
  margin: 24px 0;
}
.callout p { font-size: 15px; color: var(--text); line-height: 1.7; margin: 0; }
.callout p + p { margin-top: 10px; }
.callout-warning {
  border-color: #E8A23E;
  background: rgba(232, 162, 62, 0.07);
}
.callout-success {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.06);
}
.callout-tip {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.06);
}

/* ── Verdict / Highlight Box ──────────────────────────────────────────────── */
.verdict-box {
  background: linear-gradient(135deg, var(--accent) 0%, #4F75E8 100%);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.verdict-box::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.verdict-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.verdict-box p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.68;
  position: relative;
  z-index: 1;
}

/* ── Pull Quote ───────────────────────────────────────────────────────────── */
.pull-quote {
  padding: 20px 32px;
  margin: 40px 0;
  position: relative;
}
.pull-quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 80px;
  color: var(--accent);
  opacity: 0.18;
  position: absolute;
  top: -16px;
  left: 6px;
  line-height: 1;
}
.pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}
.pull-quote cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

/* ── Stat Highlights ──────────────────────────────────────────────────────── */
.stat-highlight {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.stat-item {
  flex: 1;
  min-width: 130px;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.stat-number {
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-family: var(--sans);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Comparison Table ─────────────────────────────────────────────────────── */
.comparison-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin: 24px 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th {
  background: var(--accent);
  color: #fff;
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.comparison-table th:first-child { background: var(--accent-d, #2d4fa3); }
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.5;
}
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { color: var(--text); font-weight: 600; }
.check { color: #22c55e; font-weight: 700; }
.cross { color: var(--text-dim, #9B9B9B); }
.partial { color: #E8A23E; font-weight: 600; }

/* ── Inline CTA Banner ─────────────────────────────────────────────────────── */
.inline-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #4F75E8 100%);
  border-radius: 18px;
  padding: 40px 44px;
  margin: 52px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.inline-cta::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.inline-cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.inline-cta h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.inline-cta p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 26px;
  max-width: 480px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  z-index: 1;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--accent-d, #2d4fa3);
}
.inline-cta .cta-fine {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
}

/* ── Social Proof Strip ───────────────────────────────────────────────────── */
.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 32px;
  margin: 32px 0;
  box-shadow: var(--card-shadow);
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.proof-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  font-family: var(--sans);
}
.proof-divider { width: 1px; height: 28px; background: var(--border); }
@media (max-width: 480px) { .proof-divider { display: none; } }

/* ── FAQ Section ──────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 24px;
}
.faq-section .blog-layout { max-width: 720px; }
.faq-section h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.18s;
}
.faq-item:hover { border-color: rgba(59, 97, 196, 0.22); }
.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.faq-a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Bottom CTA Section ───────────────────────────────────────────────────── */
.blog-cta-section {
  background: var(--bg2, #EDECEA);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}
.blog-cta-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: var(--bg1);
  border: 1px solid var(--border);
  color: var(--accent);
}
.blog-cta-section .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 97, 196, 0.18);
  display: inline-block;
}
.blog-cta-section h2 {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.12;
}
.blog-cta-section p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.65;
}
.cta-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.blog-cta-section .cta-fine {
  font-size: 13px;
  color: var(--text-dim, #9B9B9B);
  margin-top: 14px;
}
.cta-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cta-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.cta-badge-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(59, 97, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

/* ── Related Articles ─────────────────────────────────────────────────────── */
.related-section {
  padding: 56px 24px;
  background: var(--bg1);
  border-top: 1px solid var(--border);
}
.related-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.related-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  display: block;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.related-card:hover {
  border-color: rgba(59, 97, 196, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 97, 196, 0.08);
  text-decoration: none;
}
.related-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.related-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  transition: color 0.15s;
}
.related-card:hover h3 { color: var(--accent); }

/* ── Image within article ─────────────────────────────────────────────────── */
.article-img {
  width: 100%;
  border-radius: var(--radius);
  margin: 28px 0;
  display: block;
}
.article-img-caption {
  font-size: 13px;
  color: var(--text-dim, #9B9B9B);
  text-align: center;
  margin-top: -20px;
  margin-bottom: 28px;
  font-style: italic;
}
.article-img-wrap {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-img-wrap img { width: 100%; display: block; }

/* ── Research citation / source block ────────────────────────────────────── */
.source-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 10px);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.source-block strong { color: var(--text); }

/* ── Divider ──────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.bg-accent-soft {
  background: rgba(59, 97, 196, 0.07);
  border-radius: var(--radius);
}
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59, 97, 196, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .blog-hero { padding: 36px 20px 0; }
  .article-body { padding: 32px 20px 48px; }
  .article-body h2 { font-size: 21px; }
  .inline-cta { padding: 28px 24px; margin: 36px 0; }
  .inline-cta h3 { font-size: 20px; }
  .inline-cta p { font-size: 14.5px; }
  .verdict-box { padding: 22px 24px; }
  .step-block { flex-direction: column; gap: 14px; }
  .step-block .step-num { width: 36px; height: 36px; min-width: 36px; font-size: 18px; }
  .stat-highlight { gap: 10px; }
  .stat-item { min-width: 110px; padding: 16px 14px; }
  .stat-number { font-size: 30px; }
  .blog-cta-section { padding: 56px 20px; }
  .blog-cta-section h2 { font-size: 24px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pull-quote { padding: 14px 22px; }
  .pull-quote p { font-size: 18px; }
  .proof-strip { gap: 18px; padding: 18px 20px; }
  .key-takeaways { padding: 22px 22px; }
  .faq-section { padding: 48px 20px; }
  .related-section { padding: 40px 20px; }
}
@media (max-width: 420px) {
  .related-grid { grid-template-columns: 1fr; }
  .blog-meta { gap: 8px; }
}

/* ── Author Bio ──────────────────────────────────────────────────────────── */
.author-bio-section {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--sans);
  letter-spacing: -0.01em;
}
.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  font-family: var(--sans);
}
.author-creds {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.author-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 600px) {
  .author-bio { flex-direction: column; padding: 20px; }
}

/* ── Updated Badge ───────────────────────────────────────────────────────── */
.updated-badge {
  background: #eef2ff;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
