/* Base styles */
body {
  font-family: 'Segoe UI', sans-serif;
  padding: 15px;
  max-width: 800px;
  margin: auto;
 
  background-color: #f9f9f9;
  color: #222;
}

img {
    
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 20px 0;
}

h1 {
  font-size: 1.8rem;
  margin-top: 20px;
}

small {
  color: #555;
}

p {
  margin-bottom: 15px;
}

#likeBtn {
  background-color: transparent;
  border: 1px solid #888;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

#likeBtn:hover {
  background-color: #eee;
}

.article {
  line-height: 1.7;
  font-size: 1rem;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Back to blog link */
a {
  text-decoration: none;
  color: #0077cc;
}

a:hover {
  text-decoration: underline;
}

/* Comments section */
.comments-section {
  margin-top: 40px;
}

.comments-section h3 {
  margin-bottom: 15px;
}

.comment {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

#commentForm {
  margin-top: 20px;
}

#commentForm input,
#commentForm textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#commentForm textarea {
  resize: vertical;
  min-height: 80px;
}

#commentForm button {
  background-color: #0077cc;
  color: white;
  padding: 10px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#commentForm button:hover {
  background-color: #005fa3;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 1.4rem;
  }

  #likeBtn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .article {
    font-size: 0.95rem;
  }

  #commentForm input,
  #commentForm textarea {
    font-size: 0.95rem;
  }
}
