* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fafafa;
  line-height: 1.7;
  color: #333;
}

.blog-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Blog Header */
.blog-header {
  margin-bottom: 40px;
}

.blog-breadcrumb {
  margin-bottom: 20px;
}

.blog-breadcrumb a {
  color: #db8a28;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.blog-breadcrumb a:hover {
  color: #b45309;
  transform: translateX(-4px);
}

.blog-category {
  display: inline-block;
  background: linear-gradient(135deg, #db8a28 0%, #f59e0b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.blog-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1rem;
}

.author-role {
  color: #666;
  font-size: 0.9rem;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-date svg {
  color: #db8a28;
}

/* Blog Cover */
.blog-cover {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.blog-cover img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Blog Content */
.blog-content {
  margin-bottom: 40px;
}

.content-wrapper {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.content-wrapper p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.content-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #db8a28;
}

.content-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 24px 0 12px 0;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 16px 0 16px 24px;
}

.content-wrapper li {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.content-wrapper blockquote {
  border-left: 4px solid #db8a28;
  padding: 16px 24px;
  margin: 24px 0;
  background: #fefbf7;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

.content-wrapper code {
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Monaco", "Consolas", monospace;
  font-size: 0.9rem;
  color: #e83e8c;
}

/* Blog Actions */
.blog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 40px;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.delete-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-buttons span {
  font-weight: 600;
  color: #666;
  margin-right: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.share-btn.twitter:hover {
  background: #0d8bd9;
  transform: translateY(-1px);
}

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

.share-btn.facebook:hover {
  background: #365899;
  transform: translateY(-1px);
}

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

.share-btn.linkedin:hover {
  background: #005885;
  transform: translateY(-1px);
}

.share-btn.copy {
  background: #6c757d;
  color: white;
}

.share-btn.copy:hover {
  background: #545b62;
  transform: translateY(-1px);
}

.share-btn.copy.copied {
  background: #28a745;
}

/* Related Posts */
.related-posts {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: center;
}

.related-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.related-placeholder p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.view-all-btn {
  background: linear-gradient(135deg, #db8a28 0%, #f59e0b 100%);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(219, 138, 40, 0.3);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-detail-container {
    padding: 20px 15px;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .blog-cover img {
    height: 250px;
  }

  .content-wrapper {
    padding: 24px;
  }

  .content-wrapper p,
  .content-wrapper li {
    font-size: 1rem;
  }

  .blog-actions {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

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

  .share-buttons span {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }

  .related-posts {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .blog-title {
    font-size: 1.8rem;
  }

  .blog-subtitle {
    font-size: 1rem;
  }

  .blog-cover img {
    height: 200px;
  }

  .content-wrapper {
    padding: 20px;
  }

  .share-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
  }
}
