/* ===== Blog Post Shared Styles ===== */

.post-breadcrumb {
  padding: 100px 0 0;
}
.post-breadcrumb a {
  color: var(--purple-3);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.post-breadcrumb a:hover { color: var(--purple-2); }

.post-header {
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}
.post-header .container { position: relative; z-index: 2; max-width: 800px; }
.post-header .tag { margin-bottom: 16px; }
.post-header .post-date {
  color: var(--gray-2);
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.post-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.post-header .post-excerpt {
  font-size: 1.15rem;
  color: var(--gray-1);
  line-height: 1.7;
  max-width: 680px;
}
.post-header .post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black-3);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-2);
}
.post-author-info .author-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.post-author-info .author-role {
  font-size: 0.8rem;
  color: var(--gray-2);
}

/* Article body */
.post-body {
  padding: 0 0 80px;
}
.post-body .container {
  max-width: 800px;
}
.post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 48px 0 16px;
  line-height: 1.2;
}
.post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
  line-height: 1.3;
}
.post-content p {
  color: var(--gray-1);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.post-content strong { color: var(--white); }
.post-content ul, .post-content ol {
  margin: 16px 0 24px 24px;
  color: var(--gray-1);
  font-size: 1.02rem;
  line-height: 1.8;
}
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--purple-1);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(108,0,255,0.06);
  border-radius: 0 12px 12px 0;
  font-size: 1.05rem;
  color: var(--gray-1);
  line-height: 1.7;
  font-style: italic;
}
.post-content .callout {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}
.post-content .callout h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--purple-3);
}
.post-content .callout p { font-size: 0.95rem; margin-bottom: 0; }
.post-content code {
  background: var(--black-3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--purple-3);
}

/* Post footer / CTA */
.post-footer {
  border-top: 1px solid var(--glass-border);
  padding-top: 48px;
  margin-top: 48px;
}
.post-footer-cta {
  background: linear-gradient(135deg, rgba(108,0,255,0.1), rgba(155,77,255,0.05));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.post-footer-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.post-footer-cta p {
  color: var(--gray-1);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* Related posts */
.related-posts { padding: 80px 0; background: var(--black-2); }
.related-posts h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 36px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
}
.related-card:hover {
  border-color: rgba(108,0,255,0.3);
  transform: translateY(-4px);
}
.related-card .tag { margin-bottom: 12px; }
.related-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.related-card p { color: var(--gray-2); font-size: 0.85rem; margin-bottom: 12px; }

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}
