/* Blog Detail Page Styles */

.blog-detail-page {
  padding: 40px 0 80px;
  background-color: #fff;
}

/* Breadcrumbs (Standardized) */
.breadcrumbs {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #888;
}

.breadcrumbs span {
  color: #333;
  font-weight: 500;
}

/* Article Header */
.article-header {
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  margin-bottom: 20px;
  max-width: 900px;
}

.header-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.article-info {
  font-size: 13px;
  color: #888;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.share-icons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 32px;
  height: 32px;
  background-color: var(--blue-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: 0.3s;
}

.share-btn:hover {
  background-color: var(--blue-bright);
  transform: translateY(-2px);
}

/* Article Body */
.article-body {
  /* max-width: 900px;   */
  margin: 0 auto 80px;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.article-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 30px;
}

.article-body ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.article-body ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 10px;
  list-style-type: disc;
}

/* Related Posts Section */
.related-posts-section {
  border-top: 1px solid #eee;
  padding-top: 60px;
}

.section-title-alt {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Reusing blog card style from blog.css if available, or redefining here */
.rel-blog-card {
  display: block;
}

.rel-img-box {
  width: 352px;
  height: 288px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.rel-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.rel-blog-card:hover .rel-img-box img {
  transform: scale(1.05);
}

.rel-cat-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.rel-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: 0.3s;
}

.rel-blog-card:hover .rel-title {
  color: var(--blue-primary);
}

.rel-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rel-meta {
  font-size: 12px;
  color: #999;
}

/* Responsive */
@media (max-width: 991px) {
  .article-header h1 {
    font-size: 28px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .header-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
