/* Narrow typography layer for the static blog overlay. Site tokens come from the existing release CSS. */
.static-article-layout {
  width: min(100% - 2rem, 54rem);
  margin-inline: auto;
}
.static-article-content {
  color: hsl(var(--muted-foreground));
  font-size: 1.0625rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.static-article-content > * + * { margin-top: 1.25em; }
.static-article-content h2,
.static-article-content h3 {
  color: hsl(var(--foreground));
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 2em;
  margin-bottom: 0.65em;
  scroll-margin-top: 6rem;
}
.static-article-content h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
.static-article-content h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
.static-article-content p { margin-block: 1.15em; }
.static-article-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.18em;
}
.static-article-content a:hover { text-decoration-color: currentColor; }
.static-article-content ul,
.static-article-content ol { padding-left: 1.5rem; }
.static-article-content ul { list-style: disc; }
.static-article-content ol { list-style: decimal; }
.static-article-content li { padding-left: 0.25rem; margin-block: 0.4em; }
.static-article-content li::marker { color: hsl(var(--primary)); }
.static-article-content blockquote {
  border-left: 3px solid hsl(var(--primary));
  padding: 0.25rem 0 0.25rem 1.25rem;
  color: hsl(var(--foreground));
}
.static-article-content code {
  border: 1px solid hsl(var(--border));
  border-radius: 0.35rem;
  padding: 0.12em 0.35em;
  font-size: 0.9em;
  color: hsl(var(--foreground));
}
.static-article-content pre {
  overflow-x: auto;
  padding: 1rem 1.2rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.8rem;
  background: hsl(var(--card));
}
.static-article-content pre code { border: 0; padding: 0; }
.static-article-content hr {
  border: 0;
  border-top: 1px solid hsl(var(--border));
  margin-block: 2rem;
}
.static-article-date { color: hsl(var(--muted-foreground)); }
.static-article-image {
  margin: 0 0 2rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--card));
}
.static-article-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.static-article-image figcaption {
  padding: 0.65rem 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}
@media (max-width: 640px) {
  .static-article-layout { width: min(100% - 1.5rem, 54rem); }
  .static-article-content { font-size: 1rem; line-height: 1.78; }
}
