/* ----------------------------
   Comments (post page + admin)
---------------------------- */
.comments {
  margin: 20px auto;
  max-width: 600px;
  padding: 0 20px;
  box-sizing: border-box;
}

.comment {
  padding: 12px 16px;
  margin: 12px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.comment.pending {
  border-color: #f0ad4e;
  background: #fff8ec;
}

.comment-meta {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #555;
}

.comment-body {
  margin: 0;
  white-space: pre-line;   /* keep commenters' line breaks */
  overflow-wrap: anywhere;
}

.comment-empty,
.comment-note {
  color: #777;
}

.comment-actions {
  margin-top: 8px;
  font-size: 0.9rem;
}

/* ----------------------------
   Comment form
---------------------------- */
.comment-form {
  margin-top: 24px;
}

.comment-form label {
  display: block;
  margin: 10px 0 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.comment-form button {
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
}

/* Honeypot: hidden from people, visible to naive bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------
   POST forms that look like links
---------------------------- */
.inline-form {
  display: inline;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  color: #007BFF;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
