/* wpDiscuz remains responsible for IDs, forms, votes, paging and moderation. */
html body.hv-site #wpdcom{position:relative;}
html body.hv-site #wpdcom.hv-threads-enhanced .hv-thread-comment .wpd-toggle{display:none!important;}
html body.hv-site #wpdcom .hv-thread-lines{position:absolute;inset:0;pointer-events:none;overflow:visible;fill:none;stroke:var(--hv-muted);stroke-width:1;opacity:.65;}
html body.hv-site #wpdcom .hv-thread-comment{--hv-comment-avatar:38px;}
html body.hv-site #wpdcom .hv-thread-comment.hv-parent-id-0{--hv-comment-avatar:44px;}
/* Layout 2 puts the avatar in the header, not in .wpd-comment-left.
   Bound the avatar itself, including lazy-load and VerseID wrappers. */
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar,
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar .hv-framed-avatar,
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar img.avatar{width:var(--hv-comment-avatar)!important;height:var(--hv-comment-avatar)!important;min-width:0;max-width:var(--hv-comment-avatar);aspect-ratio:1;flex:0 0 var(--hv-comment-avatar);object-fit:cover;border-radius:50%;font-size:0;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-vote,html body.hv-site #wpdcom .hv-thread-comment .wpd-reply-button{color:var(--hv-text);}
html body.hv-site #wpdcom .hv-thread-comment .wpd-vote svg,html body.hv-site #wpdcom .hv-thread-comment .wpd-reply-button svg{fill:currentColor;}
html body.hv-site #wpdcom .hv-thread-comment{position:relative;margin:16px 0!important;padding:0!important;border:0!important;background:transparent!important;min-width:0;}
html body.hv-site #wpdcom .hv-thread-comment>.wpd-comment-wrap{display:flex;align-items:flex-start;gap:12px;padding:0!important;border:0!important;background:transparent!important;}
html body.hv-site #wpdcom .hv-thread-comment>.wpd-comment-wrap>.wpd-comment-left{flex:0 0 var(--hv-comment-avatar);width:var(--hv-comment-avatar)!important;margin:0!important;}
html body.hv-site #wpdcom .hv-thread-comment>.wpd-comment-wrap>.wpd-comment-right{flex:1;min-width:0;padding:0!important;border:0!important;background:transparent!important;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-header{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px;min-height:0;height:auto;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-user-info{flex:1;min-width:0;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-author{font-weight:700;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-date{font-size:12px;color:var(--hv-muted);}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-last-edited{display:inline!important;font-size:inherit!important;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-text{padding:6px 0!important;overflow-wrap:anywhere;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-text img{max-width:min(100%,460px)!important;height:auto!important;border-radius:12px;}
html body.hv-site #wpdcom .hv-thread-comment .wpd-comment-footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:4px 0!important;}
html body.hv-site #wpdcom .hv-linked-reply{margin-inline-start:24px!important;}
html body.hv-site #wpdcom .hv-linked-reply .hv-linked-reply{margin-inline-start:0!important;}
html body.hv-site #wpdcom .hv-linked-reply::before{content:none;}
html body.hv-site #wpdcom .hv-reply-parent{font-size:11px;color:var(--hv-muted);}
html body.hv-site #wpdcom .hv-thread-toggle{background:none;border:0;color:var(--hv-accent);font:inherit;font-size:13px;cursor:pointer;padding:8px 0;}
html body.hv-site #wpdcom .hv-thread-comment[hidden]{display:none!important;}
@media(max-width:600px){html body.hv-site #wpdcom .hv-thread-comment{--hv-comment-avatar:36px;}html body.hv-site #wpdcom .hv-thread-comment.hv-parent-id-0{--hv-comment-avatar:40px;}html body.hv-site #wpdcom .hv-thread-comment>.wpd-comment-wrap{gap:8px;}html body.hv-site #wpdcom .hv-linked-reply{margin-inline-start:12px!important;}}


/* Separate top-level conversations without affecting attached media. */
html body.hv-site #wpdcom .hv-thread-comment.hv-parent-id-0{padding-block:18px!important;border-bottom:1px solid var(--hv-home-border)!important}
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar .hv-framed-avatar{overflow:visible;border-radius:0}
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar .hv-avatar-frame{position:absolute;inset:0;object-fit:contain;border-radius:0;max-width:none}

html body.hv-site #wpdcom .hv-thread-comment .wpd-reply-button{order:-1}
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar{padding:0;border:0;background:none;box-shadow:none}
html body.hv-site #wpdcom .hv-thread-comment .wpd-avatar img.avatar{display:block;padding:0;border:0;box-shadow:none}
html[data-hv-theme="light"] body.hv-site #wpdcom :is(.wpdiscuz-sort-button,.wpdiscuz-sort-button-wrap,.wpd-comment-share .fas){background:var(--hv-home-surface-strong);color:var(--hv-home-text)}
html body.hv-site #wpdcom .wpd-thread-list{padding-top:0}

#wpdcom .hv-remove-comment{margin:0;padding:0}
#wpdcom .hv-remove-comment button{display:block;width:100%;min-height:44px;padding:8px 12px;border:0;background:transparent!important;color:inherit!important;font:inherit;text-align:start;cursor:pointer;box-shadow:none}

/* wpDiscuz supports both Quill and WordPress Quicktags; size both real editors. */
html body.hv-site #wpdcom :is(.wpd-textarea-wrap,.wpd-form,.wpd-form-col-right,.wpd-form-row,.ql-container,.wp-editor-wrap){min-width:0;max-width:100%}
html body.hv-site #wpdcom :is(.quicktags-toolbar,.ql-toolbar){display:flex;flex-wrap:wrap;align-items:center;gap:4px;max-width:100%;height:auto;padding:6px;box-sizing:border-box;background:var(--hv-home-surface-strong);color:var(--hv-home-text)}
html body.hv-site #wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .quicktags-toolbar input.ed_button{float:none;width:auto;min-width:44px;max-width:100%;height:44px;margin:0;padding:6px 10px;line-height:1.2;white-space:nowrap;border:1px solid var(--hv-home-border);border-radius:6px;background:var(--hv-home-surface-strong);color:var(--hv-home-text);font-size:14px}
html body.hv-site #wpdcom .ql-toolbar .ql-formats{display:flex;flex-wrap:wrap;gap:4px;margin:0}
html body.hv-site #wpdcom .ql-toolbar button{float:none;width:44px;height:44px;padding:10px}
html body.hv-site #wpdcom :is(textarea.wc_comment,.ql-editor){box-sizing:border-box;width:100%;min-width:0;max-width:100%;background:var(--hv-home-surface-strong);color:var(--hv-home-text);border-color:var(--hv-home-border)}
#wpdcom .hv-moderate-comment{display:block;width:100%;min-height:44px;padding:8px 12px;border:0;background:transparent!important;color:inherit!important;text-align:start;font:inherit;cursor:pointer}
#wpdcom .hv-moderation-message{font-size:13px;color:var(--hv-home-text)}

html[data-hv-theme="light"] #wpdcom{--hv-comment-editor-surface:#fff7fb}
