body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #2d3436;
}

.blog-post-container {
  width: 100%;
  max-width: 100%;
  padding: 40px 5%;
  animation: fadeIn 1s ease-in-out;
  box-sizing: border-box;
}

.blog-post-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 40px;
  animation: slideUp 0.8s ease-in-out;
  box-sizing: border-box;
}

.blog-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 30px;
  animation: zoomIn 1s ease;
}

.blog-title {
  font-size: 40px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.blog-date {
  font-size: 15px;
  color: #888;
  margin-bottom: 25px;
}

.blog-body {
  line-height: 1.8;
  font-size: 20px;
  color: #444;
}

.blog-body img {
  max-width: 100%;
  height: auto;
  margin: 25px 0;
  border-radius: 10px;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideUp {
  from {transform: translateY(20px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

@keyframes zoomIn {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* Responsive */
@media (max-width: 768px) {
  .blog-post-container {
    padding: 30px 20px;
  }

  .blog-title {
    font-size: 28px;
  }

  .blog-body {
    font-size: 16px;
  }

  .blog-post-content {
    padding: 25px;
  }
}

/* Comment section */
.comment-section {
  margin-top: 60px;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.comment-title {
  margin-bottom: 20px;
  font-size: 24px;
  color: #2c3e50;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.comment-form button {
  background: #009990;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comment-form button:hover {
  background: #007a73;
}

.comment-list {
  margin-top: 30px;
}

.comment-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}


/* Suggested Posts Section */
.suggested-posts {
  margin-top: 40px;
}

.suggested-posts h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.suggested-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3 equal columns */
  gap: 20px;  /* Space between the grid items */
}

.suggested-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.suggested-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.suggested-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.suggested-card h3 {
  font-size: 18px;
  margin: 10px;
  color: #2c3e50;
  text-align: center;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .suggested-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 480px) {
  .suggested-grid {
    grid-template-columns: 1fr; /* 1 column on smaller screens */
  }
}