.blog-page-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding:40px 5%;
  flex-wrap: wrap; 
  /* background-color: #e8e8e8; */
}

.card-title a,
.card-title a:link,
.card-title a:visited,
.card-title a:hover,
.card-title a:active {
    text-decoration: none !important;
    color: inherit;
}


/* Blog Details */
.blog-details {
  flex: 1 1 65%;
}
.card-title a{
  text-decoration: none !important;
}
a{
    text-decoration: none;
}
.blog-details img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-text h2 {
  font-size: 2rem;
  color: #1a202c;
  margin-bottom: 15px;
}

.blog-text h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin: 20px 0 10px;
}

.blog-text p,
.blog-text li {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 15px;
}

.blog-text ol,
.blog-text ul {
  padding-left: 1.5rem;
  margin-bottom: 15px;
}

.blog-text li strong {
  display: block;
  margin-bottom: 5px;
  color: #1a202c;
}

/* Related Blog */
.related-blog {
  flex: 0 0 300px;
  background: #f7fafc;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
}

.related-blog h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #1a202c;
}

/* Related Blog Card */
.related-card {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
/* 
.related-card:hover {
  transform: translateY(-5px);
} */

.related-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-card h4 {
  margin: 10px;
  font-size: 1rem;
  color: #2d3748;
}

.related-card p {
  margin: 0 10px 10px;
  font-size: 0.95rem;
  color: #4a5568;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-page-container {
    flex-direction: column;
  }
  .related-blog {
    flex: 1 0 100%;
    margin-top: 30px;
  }
  .blog-text h2{
    font-size: 1.5rem;
  }
  .blog-text h3{
    font-size: 1.2rem;
  }
}
