/* Blog post shared styles - import in addition to main.css */

.post-hero { padding: 4rem 0 2rem; }
.post-meta {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-size: 0.85rem; color: var(--ink-mute);
}
.post-meta .pill { background: var(--electric-soft); color: var(--electric); }
.post-meta .pill.amber { background: var(--amber-soft); color: var(--amber); }
.post-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; max-width: 880px; }
.post-hero .deck {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.4; color: var(--ink-soft); max-width: 740px;
}

article {
  max-width: 760px; margin: 0 auto;
  padding: 0 2rem;
  font-size: 1.15rem; line-height: 1.7;
  color: var(--ink-soft);
}
article > * + * { margin-top: 1.5rem; }
article h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--ink); margin-top: 3.5rem; margin-bottom: 1rem;
  letter-spacing: -0.02em; line-height: 1.15;
}
article h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: var(--ink); margin-top: 2.5rem; margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
article p strong { color: var(--ink); font-weight: 600; }
article p em { font-style: italic; color: var(--electric); font-family: var(--font-display); font-size: 1.1em; }
article ul, article ol { padding-left: 1.5rem; margin-left: 0.5rem; }
article ul li, article ol li {
  list-style: disc; padding: 0.4rem 0; color: var(--ink-soft);
}
article ol li { list-style: decimal; }
article blockquote {
  border-left: 4px solid var(--electric);
  padding: 1rem 0 1rem 1.75rem;
  margin: 2.5rem 0 2.5rem -0.5rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.4rem; line-height: 1.45;
  color: var(--ink);
}
article .callout {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 1.75rem; margin: 2rem 0;
  font-size: 1.02rem;
}
article .callout strong { color: var(--ink); }
article hr {
  border: 0; height: 1px; background: var(--line);
  margin: 3rem 0;
}
article .post-end {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-style: italic; font-family: var(--font-display);
  color: var(--ink-mute); font-size: 1.05rem;
}
article a { color: var(--electric); border-bottom: 1px solid var(--electric); }
article a:hover { background: var(--electric-soft); }

.author-block {
  display: flex; gap: 1rem; align-items: center;
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 1.5rem; border-radius: var(--radius-lg);
  margin-top: 3rem;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--electric));
  flex-shrink: 0;
  background-size: cover; background-position: center;
}
.author-block .name { font-weight: 600; font-size: 1rem; color: var(--ink); }
.author-block .role { font-size: 0.88rem; color: var(--ink-mute); }
