/* Related posts styling */
#relatedPosts {
  margin-top: 50px;
}
#relatedPosts h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #000000;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.related-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.related-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.related-card-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-card-content h4 {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 8px;
}
.related-card-content p {
  font-size: 0.9rem;
  color: #444;
  flex-grow: 1;
}
