/* post.css — long-form article styling for /daily-insights/<slug>/ pages. */

.prose-post {
  max-width: 68ch;
  margin-inline: auto;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.72;
}

.prose-post > * + * { margin-top: 1.1rem; }

.prose-post h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2.4rem;
  scroll-margin-top: 96px;
}

.prose-post h3 {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 1.8rem;
}

.prose-post p { color: var(--ink-soft); }
.prose-post strong { color: var(--ink); font-weight: 650; }

.prose-post a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose-post a:hover { color: var(--ink); }

.prose-post ul,
.prose-post ol { padding-left: 1.3rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 0.45rem; }
.prose-post li::marker { color: var(--ink-faint); }

.prose-post blockquote {
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: 0.9rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}

.prose-post img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px oklch(0.3 0.02 75 / 0.1);
}

.prose-post table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}
.prose-post th,
.prose-post td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.prose-post th { background: var(--paper-2); font-weight: 700; }

.prose-post code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
}

.prose-post hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }

/* FAQ + sources blocks appended by the generator */
.post-faq,
.post-sources { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.post-faq h2,
.post-sources h2 { margin-top: 0; font-size: 1.2rem; }
.post-sources ul { font-size: 0.92rem; word-break: break-word; }

.post-back {
  max-width: 68ch;
  margin: 2.4rem auto 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.post-back a { color: var(--ink-faint); }
.post-back a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .prose-post { font-size: 1.02rem; }
}
