/* Blog page specific styles */

.blog-post {
  padding-top: 80px;
}

/* Post Header */
.post-header {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.category {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  opacity: 0.9;
}

.post-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-excerpt {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.post-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

/* Post Content */
.post-content {
  padding: 80px 0;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.post-body h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 48px 0 24px 0;
  color: #333;
  line-height: 1.3;
}

.post-body h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 36px 0 20px 0;
  color: #333;
}

.post-body p {
  margin: 0 0 24px 0;
  color: #555;
}

.post-body ul,
.post-body ol {
  margin: 24px 0;
  padding-left: 32px;
}

.post-body li {
  margin-bottom: 12px;
  color: #555;
}

.post-body strong {
  color: #333;
  font-weight: 600;
}

.post-body a {
  color: #007bff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.post-body a:hover {
  border-bottom-color: #007bff;
}

/* Callout Box */
.callout-box {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}

.callout-box h3 {
  color: #1976d2;
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
}

.callout-box p {
  margin: 0;
  color: #1565c0;
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  background: #f8f9fa;
  padding: 32px;
  border-radius: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #333;
}

.checklist-item i {
  color: #28a745;
  font-size: 20px;
}

/* Post Footer */
.post-footer {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 2px solid #e9ecef;
}

.author-bio {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  padding: 32px;
  background: #f8f9fa;
  border-radius: 12px;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}

.author-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.post-actions {
  margin-bottom: 48px;
}

.social-share h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #333;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.facebook {
  background: #4267b2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-section {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
}

.cta-section h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.cta-section p {
  font-size: 18px;
  margin: 0 0 32px 0;
  opacity: 0.9;
}

/* Related Articles */
.related-articles {
  padding: 80px 0;
  background: #f8f9fa;
}

.related-articles h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 48px 0;
  color: #333;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.article-content {
  padding: 24px;
}

.article-category {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 16px 0 12px 0;
  line-height: 1.4;
}

.article-content h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-content h3 a:hover {
  color: #007bff;
}

.article-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .post-header {
    padding: 40px 0;
    text-align: left;
  }

  .post-meta {
    justify-content: flex-start;
    gap: 16px;
  }

  .post-header h1 {
    font-size: 32px;
    text-align: left;
  }

  .post-excerpt {
    font-size: 18px;
    text-align: left;
  }

  .post-tags {
    justify-content: flex-start;
  }

  .post-content {
    padding: 40px 0;
  }

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

  .post-body h2 {
    font-size: 28px;
    margin: 32px 0 20px 0;
  }

  .post-body h3 {
    font-size: 20px;
    margin: 24px 0 16px 0;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .share-buttons {
    justify-content: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 32px 20px;
  }

  .cta-section h3 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 16px;
  }
}
