/* /css/blog-post.css
   Refreshed typography and "what this means for your business" callout for
   architecturally aligned blog posts (Architecture A and C posts that load
   /css/design-system.css). Path X scope. Path Z migration queue lives in
   MIGRATION-QUEUE.md.

   Architecture
   ────────────
   This file is purpose built for blog posts. The <link> for it lives only
   on blog post files (the 14 listed in MIGRATION-QUEUE.md as currently in
   scope plus blog/_TEMPLATE.html). Nothing else loads it, so no CSS scoping
   gymnastics are needed; selectors target <article> directly.

   The <link> goes immediately before </head> on every host file so this
   stylesheet always loads AFTER any inline <style> block present on the
   8 Architecture C posts. That guarantees my rules win source order ties
   when an inline rule has matching specificity (the one known collision is
   what-is-aeo-complete-guide.html, which has its own article { ... } rule).

   Palette: navy #0a0e1a, cyan #00e5ff. Tasteful, not heavy on cyan. */

/* ── Reading container ─────────────────────────────────────────────── */
article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  color: #d0d7e2;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 19px;
  line-height: 1.75;
}

/* ── Post header (title, meta, lede) ───────────────────────────────── */
article > header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}

article > header h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 700;
}

article .article-meta {
  font-size: 14px;
  line-height: 1.6;
  color: #8c97a8;
  margin: 0 0 28px;
}
article .article-meta strong { color: #b8c1d1; }

article .article-intro {
  font-size: 21px;
  line-height: 1.65;
  color: #e6ecf2;
  padding: 4px 0 4px 20px;
  margin: 0;
  border-left: 3px solid #00e5ff;
}
article .article-intro strong { color: #ffffff; font-weight: 600; }

/* ── Section rhythm ────────────────────────────────────────────────── */
article section { margin-top: 56px; }
article section:first-of-type { margin-top: 64px; }

/* ── Headings inside the body ─────────────────────────────────────── */
article h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 24px;
  padding: 6px 0 6px 16px;
  border-left: 3px solid #00e5ff;
  font-weight: 700;
}

article h3 {
  font-size: 20px;
  line-height: 1.35;
  color: #ffffff;
  margin: 36px 0 14px;
  font-weight: 600;
}

/* ── Paragraphs and lists ─────────────────────────────────────────── */
article p {
  font-size: 19px;
  line-height: 1.75;
  color: #d0d7e2;
  margin: 0 0 20px;
}
article p:last-child { margin-bottom: 0; }

article ul,
article ol {
  margin: 0 0 24px;
  padding-left: 26px;
  color: #d0d7e2;
}
article li {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ── Inline elements ───────────────────────────────────────────────── */
article a {
  color: #00e5ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.4);
  text-underline-offset: 3px;
}
article a:hover { text-decoration-color: #00e5ff; }
article strong { color: #ffffff; }

/* ── "What this means for your business" callout ──────────────────── */
article .post-callout {
  margin: 64px 0 0;
  padding: 28px 32px 24px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.06), rgba(0, 229, 255, 0.02));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-left: 4px solid #00e5ff;
  border-radius: 12px;
}

article .post-callout h2 {
  border-left: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 26px);
  color: #00e5ff;
  letter-spacing: 0.005em;
}

article .post-callout-body p {
  font-size: 18px;
  color: #d0d7e2;
  margin-bottom: 14px;
}
article .post-callout-body p:last-child { margin-bottom: 0; }

/* ── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  article                       { padding: 40px 20px 72px; font-size: 18px; }
  article > header h1           { font-size: 30px; }
  article h2                    { padding-left: 12px; }
  article .article-intro        { font-size: 19px; padding-left: 16px; }
  article .post-callout         { padding: 24px 22px 22px; }
}
