.article-comments {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  font: 15px/1.6 var(--sans);
  overflow-wrap: anywhere;
}
.reader-comment { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reader-comment time { color: var(--muted); }
.reader-comment-text { white-space: pre-wrap; }
.comment-form { display: grid; gap: 8px; margin-top: 24px; }
.comment-form label { font-weight: 680; }
.comment-form input, .comment-form textarea {
  width: 100%; border: 1px solid var(--line); padding: 10px;
  background: var(--paper); color: var(--ink); font: inherit;
}
.comment-form textarea { resize: vertical; }
.comment-form button { justify-self: start; margin-top: 4px; }
.comment-feedback { color: var(--accent); margin-top: 12px; }

/* Replies keep their thread, with indentation capped for narrow screens. */
.reader-comment { scroll-margin-top: 24px; }
.article-comments .comment-reply-link { min-height: 44px; margin-top: 4px; background: var(--accent); color: #fff; text-decoration: none; }
.article-comments .comment-reply-link:hover { background: #86291e; color: #fff; }
.article-comments .comment-reply-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.comment-replies { margin: 12px 0 0 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.comment-replies-flat { margin-left: 0; padding-left: 0; border-left: 0; }
.comment-replies .reader-comment:last-child { border-bottom: 0; }
.comment-reply-to { color: var(--muted); font-size: 13px; }
.comment-reply-feedback { padding: 10px 12px; border-left: 3px solid var(--accent); margin: 0; }
.comment-reply-feedback[hidden] { display: none; }
.comment-reply-feedback a { color: #286745; margin-left: 8px; }
#formular-comentariu { scroll-margin-top: 24px; }
@media (max-width: 480px) { .comment-replies { margin-left: 8px; padding-left: 10px; } .comment-replies-flat { margin-left: 0; padding-left: 0; } .comment-reply-link { min-height: 44px; } }

.article-comments .comment-body-link { color: #286745; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-comments .comment-body-link:hover { color: #19492e; }
