/* Blog Detail Section Styles */
.blog-detail-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 72px;
  gap: 60px;
  width: 100%;
  background-color: #f9f9f9;
}

.blog-detail-section .container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Blog Detail Container */
.blog-detail-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Blog Header */
.blog-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-date {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #8899a8;
  margin: 0;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-category {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  background: #e8e8e9;
  border-radius: 4px;
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
}

/* Category-specific colors - same as blog-list.css */
.blog-category.accounting {
  background: #ffffff;
  color: #0b76b7;
}

.blog-category.firm {
  background: #e8e8e9;
  color: #ad2324;
}

.blog-category.services {
  background: #e8e8e9;
  color: #d97706;
}

.blog-category.advisory {
  background: #e8e8e9;
  color: #059669;
}

.blog-category.consulting {
  background: #e8e8e9;
  color: #7c3aed;
}

.blog-category.international {
  background: #e8e8e9;
  color: #2563eb;
}

.blog-title {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: #111928;
  margin: 0;
}

/* Blog Featured Image */
.blog-featured-image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.blog-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog Content */
.blog-content {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.blog-content h3 {
  font-size: 24px;
  color: #111928;
  margin: 30px 0 15px;
}

.blog-content p {
  margin-bottom: 15px;
}

.blog-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.blog-content li {
  margin-bottom: 8px;
}

/* Blog Navigation */
.blog-navigation {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.back-to-blogs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ad2324;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-blogs:hover {
  color: #870708;
}

.arrow-left {
  width: 20px;
  height: 20px;
  position: relative;
}

.arrow-left::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  left: 6px;
  top: 6px;
}

/* Related Blogs */
.related-blogs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.related-title {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #111928;
  margin: 0;
}

.related-blogs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.related-blog-card {
  width: calc(33.333% - 14px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.related-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.related-blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-blog-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-blog-date {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #8899a8;
  margin: 0;
}

.related-blog-title {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #111928;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .blog-detail-section {
    padding: 50px 40px;
  }

  .related-blog-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .blog-detail-section {
    padding: 40px 30px;
  }

  .blog-detail-container {
    padding: 30px 20px;
  }

  .blog-title {
    font-size: 28px;
  }

  .blog-featured-image-container {
    height: 300px;
  }

  .related-blog-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-detail-section {
    padding: 30px 20px;
  }

  .blog-detail-container {
    padding: 20px 15px;
  }

  .blog-title {
    font-size: 24px;
  }

  .blog-featured-image-container {
    height: 200px;
  }
}
