/*=========================================
SINGLE BLOG PAGE
=========================================*/

.single-blog {
  padding: 90px 0;
  background: #fff;
}

.single-blog .container {
  max-width: 900px;
  margin: auto;
}

#singleBlog {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.single-blog-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 35px;
}

.single-blog-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.single-blog h1 {
  font-size: 3rem;
  color: #222;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  color: #666;
  font-size: 0.95rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-description {
  font-size: 1.2rem;
  line-height: 2;
  color: #555;
  margin-bottom: 35px;
  border-left: 5px solid #dc5e07;
  padding-left: 20px;
  font-style: italic;
}

.single-content {
  color: #333;
  line-height: 2.1;
  font-size: 1.08rem;
}

.single-content p {
  margin-bottom: 24px;
  text-align: justify;
}

.single-content h2,
.single-content h3 {
  margin-top: 40px;
  margin-bottom: 18px;
  color: #222;
}

.single-content img {
  width: 100%;
  border-radius: 18px;
  margin: 30px 0;
}

.single-content ul,
.single-content ol {
  margin: 25px 0 25px 30px;
}

.single-content li {
  margin-bottom: 12px;
}

/*=========================================
BACK BUTTON
=========================================*/

.single-blog .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  text-decoration: none;
}

/*=========================================
SHARE SECTION
=========================================*/

.share-blog {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.share-blog h3 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 25px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.share-buttons button {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  background: #dc5e07;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.share-buttons button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(220, 94, 7, 0.25);
}

/*=========================================
RELATED BLOGS
=========================================*/

.related-blogs {
  padding: 90px 0;
  background: #f8f9fb;
}

.related-blogs h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 50px;
}

.related-blogs .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.related-blogs .article-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.related-blogs .article-card:hover {
  transform: translateY(-8px);
}

.related-blogs .article-image img {
  width: 100%;
  /* max-width: 300px; */
  height: fit-content;
  height: 400px;
  max-height: 300px;
  object-fit: cover;
}

.related-blogs .article-content {
  padding: 22px;
}

.related-blogs h3 {
  margin: 15px 0;
  color: #222;
  line-height: 1.4;
}

.related-blogs p {
  color: #666;
  line-height: 1.8;
}

.related-blogs .article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.related-blogs .article-footer a {
  color: #dc5e07;
  font-weight: 600;
  text-decoration: none;
}

.article-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #f5f5f5;
}

.article-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/*=========================================
RESPONSIVE
=========================================*/

@media (max-width: 768px) {
  .single-blog {
    padding: 60px 20px;
  }

  #singleBlog {
    padding: 25px;
  }

  .single-blog-image {
    height: 250px;
    margin-bottom: 25px;
  }

  .single-blog h1 {
    font-size: 2rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .single-description {
    font-size: 1rem;
    padding-left: 15px;
  }

  .single-content {
    font-size: 1rem;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-buttons button {
    width: 100%;
    max-width: 320px;
  }

  .related-blogs {
    padding: 60px 20px;
  }

  .related-blogs h2 {
    font-size: 1.8rem;
  }

  .related-blogs .article-grid {
    grid-template-columns: 1fr;
  }
}
