/* Comments wrapper */
.comments-area {
  margin: 1rem 0;
  padding: 1.5rem;
  background: var(--card-color, #fff);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Comment title */
.comments-area h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--font-color, #333);
}

/* Comment list */
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-light, #f9f9f9);
}

/* Comment metadata */
.comment-author {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.comment-metadata {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Comment form wrapper */
.comment-form-wrapper {
  margin-top: 2rem;
  padding: 1rem;
}

/* Labels */
.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Inputs and textarea */
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Submit button */
.comment-form input[type="submit"] {
  background: var(--accent-color, #0073aa);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: background 0.3s;
}

.comment-form input[type="submit"]:hover {
  background: var(--accent-hover, #005f8d);
}

/* --------------------
   Responsive layout
-------------------- */

/* On wider screens, put Name & Email side by side */
@media (min-width: 600px) {
  .comment-form p.comment-form-author,
  .comment-form p.comment-form-email {
    width: 48%;
    float: left;
  }

  .comment-form p.comment-form-author {
    margin-right: 4%;
  }

  /* Clear floats for the rest */
  .comment-form p {
    clear: both;
  }
}
