/* ---------- Comments ---------- */
.comments-section { max-width: 760px; margin: 40px auto; padding: 0 16px; }
.comments-section .comments-title { margin-bottom: 20px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.comment-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.comment-form-row .comment-input { flex: 1 1 200px; }
.comment-input { width: 100%; padding: 10px 12px; border: 1px solid #d9cfc5; border-radius: 6px; background: #fff; font: inherit; }
.comment-input:focus { outline: 2px solid #c9b8a6; border-color: #c9b8a6; }
.comment-textarea { resize: vertical; min-height: 80px; }
.comment-as { color: #655547; font-size: 0.9rem; }
.comment-form-footer { display: flex; gap: 10px; align-items: center; }
.comment-submit { padding: 8px 18px; border: 0; border-radius: 6px; background: #655547; color: #fff; cursor: pointer; }
.comment-submit:disabled { opacity: 0.6; cursor: default; }
.comment-cancel, .comment-reply-btn { background: none; border: 0; padding: 0; color: #8a7360; cursor: pointer; font-size: 0.85rem; }
.comment-reply-btn:hover, .comment-cancel:hover { text-decoration: underline; }
/* Honeypot: off screen, not display:none, so simple bots still fill it */
.comment-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-notice { padding: 10px 12px; border-radius: 6px; font-size: 0.9rem; }
.comment-notice--ok { background: #eef6ee; color: #2e5e2e; }
.comment-notice--error { background: #fbeeee; color: #8a2c2c; }
.comment-item { padding: 14px 0; border-top: 1px solid #eee4da; }
.comment-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.comment-author { font-weight: 600; color: #655547; }
.comment-badge { font-size: 0.7rem; padding: 1px 6px; border-radius: 10px; background: #f0e6dc; color: #655547; }
.comment-date { font-size: 0.8rem; color: #a39384; }
.comment-body { margin: 6px 0; white-space: pre-wrap; word-break: break-word; color: #655547; }
.comment-children { margin-left: 18px; padding-left: 14px; border-left: 2px solid #eee4da; }
/* stop indenting after four levels so deep threads stay readable on phones */
.comment-children .comment-children .comment-children .comment-children .comment-children { margin-left: 0; padding-left: 0; }
.comment-item--new { animation: commentFlash 2s ease-out; }
@keyframes commentFlash { from { background: #fff7d6; } to { background: transparent; } }
