/* ======= Post Page ======= */
.post-main {
  padding: 60px 24px 100px;
  padding-top: calc(var(--nav-h) + 40px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.7; }

.article-header {
  margin-bottom: 40px;
}
.article-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 14px 0 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Article Body */
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: #c8d0dc;
  border-top: 1px solid var(--card-border);
  padding-top: 36px;
  margin-bottom: 40px;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 16px;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 30px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--white); font-weight: 600; }

.article-body pre {
  background: #0d1424;
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 24px 0;
}
.article-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #a8d8ea;
}
.article-body p code {
  background: rgba(0,212,255,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  margin: 24px 0;
  background: rgba(0,212,255,0.04);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-style: italic;
}
.article-body img {
  border-radius: 12px;
  margin: 24px 0;
  border: 1px solid var(--card-border);
  width: 100%;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent);
}

/* Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--card-border);
}
.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text-muted);
  transition: all 0.3s;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s;
}
.back-link:hover { gap: 12px; }
