.container { padding: 0; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: flex-start; margin-top: 56px; }
.article-header { padding: 72px 0 0; background: var(--white); border-bottom: 1px solid var(--border); }
.article-header .container { padding-bottom: 0; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.article-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); background: var(--accent-light); padding: 4px 12px; border-radius: 20px; }
.article-date { font-size: 13px; color: var(--ink3); }
.article-read { font-size: 13px; color: var(--ink3); }
.article-h1 { font-family: var(--font-head); font-size: clamp(28px,3.5vw,46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.article-intro { font-size: 18px; color: var(--ink2); line-height: 1.7; max-width: 640px; margin-bottom: 40px; }
.article-cover { width: 100%; aspect-ratio: 16/7; background: repeating-linear-gradient(135deg, #F3F2EE 0,#F3F2EE 10px,#ECEAE5 10px,#ECEAE5 20px); display: flex; align-items: center; justify-content: center; font-size: 12px; font-family: monospace; color: var(--ink3); border-top: 1px solid var(--border); }
.prose h2 { font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 36px 0 14px; color: var(--ink); }
.prose h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin: 28px 0 10px; }
.prose p { font-size: 16px; color: var(--ink2); line-height: 1.8; margin-bottom: 18px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose ul li { font-size: 15.5px; color: var(--ink2); line-height: 1.7; margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 12px 20px; background: var(--accent-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.prose blockquote p { margin: 0; font-style: italic; color: var(--ink); font-size: 16px; }
.prose .callout { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.prose .callout p { margin: 0; font-size: 14.5px; }
.sidebar { position: sticky; top: 84px; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.sidebar-card h4 { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.toc-link { display: block; font-size: 13.5px; color: var(--ink2); text-decoration: none; padding: 5px 0; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.toc-link:last-child { border-bottom: none; }
.toc-link:hover { color: var(--accent); }
.related-article { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; padding: 10px 0; border-bottom: 1px solid var(--border); }
.related-article:last-child { border-bottom: none; padding-bottom: 0; }
.related-thumb { width: 52px; height: 40px; background: var(--bg2); border-radius: 6px; flex-shrink: 0; border: 1px solid var(--border); }
.related-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.related-meta { font-size: 11px; color: var(--ink3); margin-top: 3px; }
.author-card { display: flex; gap: 14px; align-items: flex-start; }
.author-avatar { width: 44px; height: 44px; background: var(--bg2); border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 600; }
.author-bio { font-size: 12px; color: var(--ink3); margin-top: 3px; line-height: 1.5; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr 280px; gap: 40px; }
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; margin-top: 48px; }
  .article-header { padding: 48px 0 0; }
  .article-intro { font-size: 16px; margin-bottom: 28px; }
}
