/* =========================================================================
   Prayer Pause - extra styles for the daily articles.
   Loaded only by templates/blog-article.html, after blog-post.css. Those
   articles arrive as plain HTML from HeyCatch (heycatch.ai) and are served by
   netlify/edge-functions/heycatch-blog.js, so this file covers the few things
   a hand-written post never needs: the table of contents, anchor offsets and
   inline code. No em dashes anywhere.
   ========================================================================= */

/* no hero image and no lede on these, so the body sits a little lower */
.article--daily .article__body { margin-top: clamp(28px, 5vh, 44px); }

/* keep the reading measure for the blocks blog-post.css does not list */
.article__body > .article__toc,
.article__body > h4,
.article__body > pre { max-width: 40rem; }

/* headings that the table of contents jumps to clear the fixed nav */
.article__body h2[id],
.article__body h3[id] { scroll-margin-top: 104px; }

/* ---- table of contents: one quiet card, same surface as the CTA ---- */
.article__toc {
  margin: clamp(1.8rem, 4vh, 2.4rem) 0;
  padding: clamp(20px, 3.4vw, 26px);
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
}
.article__body .article__toc h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.25;
}
.article__body .article__toc ol { gap: 0.5em; }
.article__body .article__toc li { font-size: 1rem; line-height: 1.5; }
.article__body .article__toc a { text-decoration: none; }
.article__body .article__toc a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---- small pieces ---- */
.article__body h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 1.6rem;
}
.article__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 6px;
}
.article__body pre {
  overflow-x: auto;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 14px;
}
.article__body pre code { padding: 0; background: none; border: 0; }
.article__body hr {
  border: 0;
  border-top: 1px solid var(--bd);
  margin: clamp(1.8rem, 4vh, 2.4rem) 0;
}
