/* ── Comment section — The Parent Edit ── */

.comments-section {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.comments-section h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.comments-intro {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

/* ── Comment list ── */

.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.comment:last-child {
  border-bottom: none;
}

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-author {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.comment-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
}

.comment-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.no-comments {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

/* ── Comment form ── */

.comment-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.comment-form button {
  align-self: flex-start;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: #f5f1ea;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.comment-form button:hover {
  background: #333;
}

.comment-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.comment-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0;
}

.comment-message {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  min-height: 20px;
  margin-top: 8px;
}

.comment-message.success { color: #2d7d3a; }
.comment-message.error { color: #c0392b; }

/* ── Honeypot ── */
.hp-field {
  position: absolute;
  left: -9999px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .comment-form button {
    width: 100%;
  }
}
