/* Article content — used by individual blog posts */
.article-header {
  padding: 4rem 0 2rem;
}

.article-header .article-date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.article-header h1 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-header .article-subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.article-body {
  padding-bottom: 3rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
}

.article-body h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem;
}

.article-body p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1rem 1.25rem;
  line-height: 1.7;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body strong {
  font-weight: 500;
}

.article-body code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8125rem;
  background: #f5f5f5;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
}

.article-body pre {
  background: #f5f5f5;
  padding: 1rem;
  margin: 0 0 1rem;
  overflow-x: auto;
  border-radius: 2px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.article-body pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

.article-body blockquote {
  border-left: 2px solid var(--border);
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
  color: var(--muted);
  font-style: italic;
}

.article-body blockquote p {
  margin-bottom: 0.25rem;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.article-body a {
  text-decoration: underline;
}

.article-nav {
  border-top: 1px solid var(--border);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.article-nav a {
  color: var(--muted);
  text-decoration: none;
}

.article-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .article-header h1 {
    font-size: 1.4rem;
  }

  .article-body pre {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    border-radius: 0;
  }
}
