/* Idori — blog layer. Loads AFTER styles.css, reusing the same design system
   (header, footer, .faq accordion, buttons, tokens). Adds only the long-form
   article column + post-specific bits, so blog pages stay consistent site-wide. */

/* ---- Article column (clears the fixed header) ---- */
.article {
  max-width: 760px; margin: 0 auto;
  padding: clamp(112px, 15vw, 152px) 24px 80px;
}

/* ---- Prose typography (scoped to .article) ---- */
.article h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3rem); color: var(--ink); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.article h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); margin-top: 1.8em; margin-bottom: 0.6em; padding-bottom: 0.35em; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.article h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin-top: 1.5em; margin-bottom: 0.5em; }
.article p { margin-bottom: 1em; color: var(--ink-soft); line-height: 1.75; }
.article ul, .article ol { margin: 0 0 1em 1.4em; }
.article li { margin-bottom: 0.5em; color: var(--ink-soft); line-height: 1.75; }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--clay-deep); text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }

/* Tip / callout box */
.article .highlight { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--clay); padding: 18px 22px; margin: 1.8em 0; border-radius: var(--r-md); color: var(--ink); }

/* ---- Breadcrumb ---- */
.crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.4em; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--clay-deep); }

/* ---- Post header ---- */
.post-header { margin-bottom: 1.4em; }
.post-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--clay-deep);
  background: var(--sand); padding: 0.3em 0.8em; border-radius: 999px; margin-bottom: 1.1em;
}
.byline { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; margin-top: 0.6em; }
.byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.byline .dot { opacity: 0.5; }

/* ---- Lead paragraph ---- */
.post-lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.6; margin: 1.1em 0 1.6em; }

/* ---- Figures ---- */
figure.post-figure { margin: 2.2em 0; }
figure.post-figure img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); display: block; }
figure.post-figure figcaption { color: var(--muted); font-size: 0.88rem; text-align: center; margin-top: 0.7em; }

/* ---- Inline CTA card (conversion hook → intent page) ---- */
.cta-card-inline {
  background: linear-gradient(135deg, #fff 0%, var(--sand) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px; margin: 2.6em 0;
  text-align: center;
}
.cta-card-inline h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0 0 0.4em; }
.cta-card-inline p { color: var(--ink-soft); margin-bottom: 1.2em; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; background: var(--ink); color: var(--paper);
  text-decoration: none; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: background 0.25s, transform 0.25s; box-shadow: var(--shadow-md);
}
.cta-btn:hover { background: var(--clay-deep); transform: translateY(-2px); text-decoration: none; }

/* ---- FAQ inside an article (the site .faq is already styled by styles.css;
        just give it room) ---- */
.article .faq { margin-top: 0.5em; }

/* ---- Related / read-next ---- */
.related { margin-top: 3em; border-top: 1px solid var(--line); padding-top: 1.6em; }
.related h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.8em; margin-top: 0; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 0.5em; }
.related a { font-weight: 500; }

/* ---- Blog index list ---- */
.post-list { list-style: none; margin: 1.5em 0 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 1.4em 0; margin: 0; }
.post-list a { display: block; text-decoration: none; }
.post-list h2 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--ink); margin: 0.15em 0 0.25em; padding: 0; border: none; }
.post-list .excerpt { color: var(--ink-soft); margin: 0.3em 0 0; line-height: 1.6; }
.post-list .post-date { color: var(--muted); font-size: 0.85rem; }
.post-list a:hover h2 { color: var(--clay-deep); }
