/* ============================================
   Blog Detail Page
   ============================================ */

.blog-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* =======================
   Title & Meta
   ======================= */
.blog-title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 0.95rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
}

/* =======================
   Cover Image
   ======================= */
.blog-cover {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 35px;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =======================
   Blog Body
   ======================= */
.blog-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.blog-body p {
  margin-bottom: 1.25rem;
}

.blog-body h1,
.blog-body h2,
.blog-body h3 {
  margin: 2rem 0 1rem;
  font-weight: 700;
}

/* =======================
   Inline Images (JSON & HTML)
   ======================= */
.blog-image-inline {
  margin: 30px 0;
  text-align: center;
}

.blog-image-inline img {
  width: 100%;
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .3s ease;
}

.blog-image-inline img:hover {
  transform: scale(1.02);
}

/* =======================
   Author Section
   ======================= */
.blog-authors {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.blog-authors.one-col {
  grid-template-columns: 1fr;
}

.blog-authors.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.author-card {
  display: flex;
  gap: 16px;
  background: #f8f8f8;
  border-radius: 16px;
  padding: 20px;
  align-items: center;
}

.author-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info small {
  font-size: 12px;
  letter-spacing: 0.5px;
}

.author-info h5 {
  margin: 4px 0 6px;
  font-weight: 600;
}

.author-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}


/* =======================
   Related Posts (Scrollable)
   ======================= */
.related-posts {
  margin-top: 70px;
}

.related-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.related-scroll::-webkit-scrollbar {
  display: none;
}

.related-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: all .3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.related-card h6 {
  margin: 14px 16px 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.related-card p {
  margin: 0 16px 16px;
  font-size: .9rem;
  color: #666;
}

/* =======================
   See More Card
   ======================= */
.see-more-card {
  flex: 0 0 300px;
  border: 2px dashed #ddd;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s;
}

.see-more-card:hover {
  border-color: #0a2342;
}

.see-more-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #0a2342;
  display: flex;
  justify-content: center;
  align-items: center;
}

.see-more-circle span {
  font-weight: 600;
  color: #0a2342;
  text-align: center;
}

/* =======================
   Responsive
   ======================= */
@media (max-width: 768px) {
  .blog-title {
    font-size: 1.6rem;
  }

  .blog-cover {
    height: 260px;
  }

  .blog-image-inline img {
    height: 250px;
  }

  .blog-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-authors {
    grid-template-columns: 1fr !important;
  }

  .author-card {
    padding: 16px;
  }

  .author-card img {
    width: 60px;
    height: 60px;
  }
}
