/* post.css - Single blog post only */

.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  z-index: 9999;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #a78bfa);
  width: 0%;
  transition: width 0.2s;
}

.single-post {
  max-width: 820px;
  margin: 120px auto 100px;
  padding: 0 20px;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-category {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.post-header h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 1rem 0;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .post-header h1 { font-size: 2.4rem; }
}

.post-meta-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.featured-image {
  margin: 3rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s;
}

.featured-image:hover img {
  transform: scale(1.05);
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
}

.post-content .lead {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.post-content h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: var(--text);
}

.post-content blockquote {
  margin: 3rem 0;
  padding: 2rem 3rem;
  background: var(--bg-secondary);
  border-left: 6px solid var(--primary);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-light);
  border-radius: 0 12px 12px 0;
}

.post-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}

.post-footer {
  margin: 4rem 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.tags a {
  display: inline-block;
  background: var(--bg-secondary);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  margin: 0 8px 8px 0;
  transition: all 0.3s;
}

.tags a:hover {
  background: var(--primary);
  color: white;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  color: var(--text-light);
  border-radius: 50%;
  margin-left: 10px;
  transition: all 0.3s;
}

.share-buttons a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
}

.related-posts {
  padding: 5rem 0;
}

.related-posts h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

