/* ═══════ PAGE-SPECIFIC: single post ═══════ */

.post-hero {
  padding: calc(var(--header-h) + 48px) 0 0;
  text-align: center; position: relative;
}
.post-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 700px; height: 350px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(200,126,255,0.18) 0%, rgba(102,234,255,0.08) 40%, transparent 65%);
  pointer-events: none;
}

.post-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 20px; font-size: 14px; color: var(--text-muted);
}
.post-meta-dot { color: var(--text-muted); }

.post-cover {
  width: 100%; max-width: 820px; margin: 40px auto 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--outline);
}
.post-cover img {
  width: 100%; height: auto; display: block; object-fit: cover;
  aspect-ratio: auto;
}

.post-body { padding: 56px 0 0; }

.post-share {
  display: flex; justify-content: center; gap: 12px;
  margin: 40px 0 48px;
}
.post-share a {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--outline);
  color: var(--text-dim); text-decoration: none;
  transition: all 0.25s;
}
.post-share a:hover {
  border-color: rgba(102,234,255,0.4); color: var(--primary);
  box-shadow: 0 0 15px rgba(102,234,255,0.15);
}

.related-section { padding: 80px 0 40px; }
.related-section h2 {
  font-size: 28px; font-weight: 800; text-align: center;
  margin-bottom: 40px; letter-spacing: -0.02em;
}
.related-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 900px; margin: 0 auto;
}

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 720px; margin: 0 auto; padding: 48px 28px 0;
}
.post-nav a {
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--outline);
  text-decoration: none; color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.post-nav a:hover {
  border-color: rgba(200,126,255,0.4);
  box-shadow: 0 0 20px rgba(200,126,255,0.12);
}
.post-nav-label {
  font-size: 12px; color: var(--text-muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.post-nav-title { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 15px; }
.post-nav .next { text-align: right; }

@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .post-hero h1 { font-size: 28px; }
}
