/* ===========================
   Blog Detail
   =========================== */
.blog-detail {
  padding: 3rem 0 5rem;
  background-color: #fff;
}

.blog-detail .container {
  max-width: 900px;
}
.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    list-style: disc !important;
}
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #999;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb span:last-child {
  color: var(--primary-color);
}

/* Article Header */
.article-header {
  margin-bottom: 2.5rem;
}

.article-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.4rem 0.875rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-date,
.article-read-time,
.article-author {
  font-size: 0.95rem;
  color: #999;
}

.article-author {
  font-weight: 500;
  color: var(--primary-color);
}

/* Featured Image */
.article-featured-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 3rem;
  background-color: #e5e5e5;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Content */
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.article-content .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 400;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 2.5rem 0 1.25rem;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background-color: #fafafa;
  border-radius: 0 5px 5px 0;
  font-style: italic;
  color: #555;
}

.article-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.article-content a:hover {
  opacity: 0.8;
}

/* Article Footer */
.article-footer {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  display: inline-block;
  background-color: #f5f5f5;
  color: #666;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Share Buttons */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Back to Blog */
.back-to-blog {
  margin-top: 3rem;
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-back:hover {
  background-color: transparent;
  color: var(--primary-color);
  gap: 0.75rem;
}

.btn-back svg {
  transition: transform 0.3s ease;
}

.btn-back:hover svg {
  transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-detail {
    padding: 2rem 0 4rem;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content .lead {
    font-size: 1.1rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
  }

  .article-content h3 {
    font-size: 1.25rem;
  }

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-share {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .blog-detail {
    padding: 1.5rem 0 3rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .article-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .article-meta {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .article-featured-image {
    margin-bottom: 2rem;
  }

  .article-content {
    font-size: 0.95rem;
  }

  .article-content .lead {
    font-size: 1.05rem;
  }

  .article-content h2 {
    font-size: 1.35rem;
  }

  .article-content blockquote {
    padding: 1rem 1.25rem;
    margin: 2rem 0;
  }

  .article-content ul,
  .article-content ol {
    padding-left: 1.5rem;
  }
}
