.article-page .site-header {
  background: transparent;
  padding: 0 8px 8px;
}

.article-page .site-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.2;
}

.article-page .site-title .baseline {
  display: block;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  margin-top: 6px;
}

.article-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-hero,
.article-section,
.article-related,
.article-pagination,
.article-callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.article-lede,
.article-meta,
.article-body p {
  color: var(--muted);
}

.article-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 12px 0;
}

.article-meta .tag {
  background: var(--surface-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
}

.article-body {
  display: grid;
  gap: 16px;
}

.article-body h3 {
  margin-bottom: 8px;
}

.article-body ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.article-cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.article-callout {
  background: var(--surface-strong);
  border-style: dashed;
  border-color: var(--border);
}

.article-callout strong {
  color: var(--text);
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.article-pagination a {
  display: block;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-pagination a:hover,
.article-pagination a:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(53, 88, 208, 0.12);
}

.article-related h3 {
  margin-top: 0;
}

.article-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.article-related a {
  color: var(--accent-strong);
  font-weight: 600;
}

.article-related a:hover,
.article-related a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .site-shell {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .site-sidebar {
    position: fixed;
    inset: 16px;
    height: auto;
  }

  .article-hero,
  .article-section,
  .article-related,
  .article-pagination,
  .article-callout {
    padding: 20px;
  }
}
