
/* Article Detail Styles */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid #334155;
}

.article-header .article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-header .article-category {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.article-header .article-date {
  color: #94a3b8;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-views {
  color: #94a3b8;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-views i {
  color: #64748b;
}

.article-header .article-title {
  font-size: 3rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.article-header .article-excerpt {
  font-size: 1.25rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.article-author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.article-author-info i {
  color: #64748b;
}

/* Article Content */
.article-content {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  line-height: 1.8;
  font-size: 1rem;
  color: #e2e8f0;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  color: #f8fafc;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #334155;
}

.article-content h3 {
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
}

.article-content h4 {
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.article-content a {
  color: #60a5fa;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: #93c5fd;
}

.article-content blockquote {
  border-left: 4px solid #ef4444;
  padding: 1rem 2rem;
  margin: 2rem 0;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #94a3b8;
}

.article-content code {
  background: rgba(15, 23, 42, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #f8fafc;
}

.article-content pre {
  background: rgba(15, 23, 42, 0.8);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #334155;
}

.article-content pre code {
  background: none;
  padding: 0;
}

/* Article Footer */
.article-footer {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.article-share h3 {
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #f8fafc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.share-btn.facebook {
  background: #1877f2;
}

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

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

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Related Articles */
.related-articles {
  margin-top: 4rem;
}

.related-articles h2 {
  color: #f8fafc;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.related-card:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-2px);
}

.related-card h3 {
  margin-bottom: 1rem;
}

.related-card h3 a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.related-card h3 a:hover {
  color: #94a3b8;
}

.related-card p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.related-date {
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .article-detail {
    padding: 0 1rem;
  }
  
  .article-header .article-title {
    font-size: 2.5rem;
  }
  
  .article-header .article-excerpt {
    font-size: 1.125rem;
  }
  
  .article-content {
    padding: 2rem;
  }
  
  .article-footer {
    padding: 1.5rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .article-header .article-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .article-header .article-title {
    font-size: 2rem;
  }
  
  .article-content {
    padding: 1.5rem;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .share-buttons {
    gap: 0.5rem;
  }
  
  .share-btn {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
}
