/* Keep the comment tree for Z-Blog, while presenting replies as quoted messages. */
.nice-comments-chat{box-sizing:border-box;width:100%;min-width:0;padding:26px 30px!important;}
.nice-comments-chat .comments-title{margin:0 0 24px;padding:0;border:0;font-size:17px;color:#243b58;}
.nice-comments-chat .nice-comment-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;color:#243b58;}
.nice-comments-chat .nice-comment-toggle::-webkit-details-marker{display:none;}
.nice-comments-chat .nice-comment-toggle strong{font-size:17px;font-weight:600;}
.nice-comments-chat .nice-comment-toggle span{font-size:12px;color:#7291b5;}
.nice-comments-chat .nice-comment-toggle-close,.nice-comments-chat[open] .nice-comment-toggle-open{display:none;}
.nice-comments-chat[open] .nice-comment-toggle-close{display:inline;}
.nice-comments-chat[open] .nice-comment-toggle{margin-bottom:20px;}
.nice-comments-chat .nice-comment-toggle:focus-visible{outline:2px solid #7faaf1;outline-offset:5px;border-radius:3px;}
.nice-comments-chat .nice-comment-viewport[hidden]{display:none;}
.nice-comments-chat .nice-comment-viewport[hidden]+.comment-respond{margin:0;padding:0;border:0;}
.nice-comments-chat .comment-list,.nice-comments-chat .children{display:block;margin:0;padding:0;list-style:none;}
.nice-comments-chat .comment-list{padding:4px 0 10px;}
.nice-comments-chat .nice-comment-viewport{box-sizing:border-box;height:460px;overflow-y:auto;overflow-x:hidden;padding:12px 10px 0;scrollbar-width:thin;scrollbar-color:#c9d4e2 transparent;overscroll-behavior-y:contain;border:1px solid #edf0f5;border-radius:8px;background:#fdfefe;}
.nice-comments-chat .nice-comment-viewport:focus-visible{outline:2px solid #7faaf1;outline-offset:2px;}
.nice-comments-chat.nice-comment-scroll-ready .nice-comment-pagination{display:none;}
.nice-comments-chat .nice-comment-history-status{padding:6px 0 18px;text-align:center;font-size:12px;line-height:22px;color:#929dac;}
.nice-comments-chat .nice-comment-history-status[hidden],.nice-comments-chat .nice-comment-history-status button[hidden]{display:none;}
.nice-comments-chat .nice-comment-history-status button{margin-left:8px;padding:4px 10px;border:1px solid #dce4ed;border-radius:5px;background:#fff;color:#527bb0;font:inherit;cursor:pointer;}
.nice-comments-chat li.comment{float:none;width:100%;max-width:100%;margin:0;padding:0;border:0;list-style:none;scroll-margin-top:100px;}
.nice-comments-chat .comment-wrapper{display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;min-width:0;margin:0 0 24px;padding:0;border:0;background:transparent;}
.nice-comments-chat .comment-wrapper:before,.nice-comments-chat .comment-wrapper:after{display:none;}
.nice-comments-chat .comment-author-avatar{position:static;float:none;flex:0 0 40px;width:40px;height:40px;margin:0;padding:0;}
.nice-comments-chat .comment-author-avatar img{display:block;width:40px;height:40px;max-width:100%;border:1px solid #e9edf2;border-radius:10px;object-fit:cover;background:#f5f7fa;}
.nice-comments-chat .comment-content{float:none;flex:0 1 auto;width:max-content;min-width:0;max-width:calc(80% - 52px);margin:0;padding:0;}
.nice-comments-chat .comment-author-name{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 3px;color:#43566e;font-size:12px;font-weight:650;line-height:19px;overflow-wrap:anywhere;}
.nice-comments-chat .comment-author-name .vip{margin:0;font-size:10px;}
.nice-comments-chat .comment-metadata{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 8px;color:#929dac;font-size:10px;line-height:17px;}
.nice-comments-chat .reply-link{position:static;float:none;display:inline-block;margin:0;opacity:1;visibility:visible;}
.nice-comments-chat .comment-reply-link{position:static!important;display:inline-block!important;width:auto!important;height:auto!important;padding:1px 5px;border:0;background:transparent;color:#7291b5;font-size:11px!important;line-height:18px!important;white-space:nowrap;text-decoration:none;}
.nice-comments-chat .comment-reply-link:before,.nice-comments-chat #cancel-comment-reply-link:before{display:none;}
.nice-comments-chat .comment-reply-link:hover{color:#2563eb;}
.nice-comments-chat .nice-comment-bubble{position:relative;display:block;width:fit-content;max-width:100%;min-width:0;padding:12px 16px;border:1px solid #e5eaf0;border-radius:3px 12px 12px 12px;background:#f1f4f8;color:#3e4c5e;box-sizing:border-box;}
.nice-comments-chat .nice-comment-bubble:before{position:absolute;top:11px;left:-5px;width:8px;height:8px;border-left:1px solid #e5eaf0;border-bottom:1px solid #e5eaf0;background:#f1f4f8;transform:rotate(45deg);content:"";}
.nice-comments-chat .comment-body{margin:0;padding:0;border:0;font-size:14px;line-height:1.85;overflow-wrap:anywhere;word-break:break-word;}
.nice-comments-chat .comment-body p{margin:0 0 8px;}
.nice-comments-chat .comment-body p:last-child{margin-bottom:0;}
.nice-comments-chat .comment-body img,.nice-comments-chat .comment-body video{max-width:100%;height:auto;}
.nice-comments-chat .comment-body pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;}
.nice-comments-chat .nice-comment--right>.comment-wrapper{flex-direction:row-reverse;}
.nice-comments-chat .nice-comment--right>.comment-wrapper>.comment-content>.comment-author-name,
.nice-comments-chat .nice-comment--right>.comment-wrapper>.comment-content>.comment-metadata{justify-content:flex-end;}
.nice-comments-chat .nice-comment--right>.comment-wrapper>.comment-content>.nice-comment-bubble{margin-left:auto;border-color:#d7e6fa;border-radius:12px 3px 12px 12px;background:#eaf3ff;}
.nice-comments-chat .nice-comment--right>.comment-wrapper>.comment-content>.nice-comment-bubble:before{right:-5px;left:auto;border:0;border-top:1px solid #d7e6fa;border-right:1px solid #d7e6fa;background:#eaf3ff;}
.nice-comments-chat .nice-comment-quote,.nice-comments-chat .nice-comment-reply-preview{display:block;min-width:0;margin:0 0 10px;padding:8px 11px;border:0;border-left:3px solid #b5c6db;border-radius:4px;background:rgba(107,128,155,.09);color:#7c899a;text-align:left;text-decoration:none;overflow-wrap:anywhere;}
.nice-comments-chat .nice-comment-quote strong,.nice-comments-chat .nice-comment-reply-preview strong{display:block;margin-bottom:3px;color:#63758d;font-size:11px;font-weight:650;line-height:18px;}
.nice-comments-chat .nice-comment-quote span,.nice-comments-chat .nice-comment-reply-preview span{display:-webkit-box;overflow:hidden;font-size:12px;line-height:19px;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:pre-wrap;}
.nice-comments-chat .nice-comment-quote:hover{background:rgba(107,128,155,.14);}
.nice-comments-chat .comment-respond{clear:both;width:100%;min-width:0;margin:4px 0 0;padding:22px 0 0;border-top:1px solid #edf0f5;box-sizing:border-box;}
.nice-comments-chat .comment-reply-title{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 12px;font-size:16px;color:#243b58;}
.nice-comments-chat .comment-reply-title small{margin:0;font-size:11px;font-weight:400;}
.nice-comments-chat #cancel-comment-reply-link{color:#7c899a;text-decoration:none;}
.nice-comments-chat .logged-in-as{margin:0 0 12px;color:#8a96a6;font-size:12px;}
.nice-comments-chat .comment-form-comment{margin:0 0 14px;}
.nice-comments-chat textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:108px;padding:13px 15px;border:1px solid #dce4ed;border-radius:8px;background:#fafbfd;color:#3e4c5e;font-family:inherit;font-size:14px;line-height:1.8;resize:vertical;transition:border-color .2s,box-shadow .2s;}
.nice-comments-chat textarea:focus{outline:0;border-color:#7faaf1;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.08);}
.nice-comments-chat .nice-comment-reply-preview[hidden]{display:none;}
.nice-comments-chat .form-submit{margin:0;text-align:right;}
.nice-comments-chat .form-submit .button{min-height:38px;margin:0;padding:9px 22px;border-radius:6px;font-size:12px;}
.nice-comments-chat .numeric-pagination{margin:8px 0 22px;}
.nice-comments-chat .comment-author-inputs input{box-sizing:border-box;width:100%;max-width:100%;}
.nice-comments-chat a:focus-visible{outline:2px solid #7faaf1;outline-offset:3px;}
.nice-comments-chat li.comment:target>.comment-wrapper .nice-comment-bubble{box-shadow:0 0 0 3px rgba(37,99,235,.13);}
@media(max-width:767px){
  .nice-comments-chat{padding:20px 16px!important;}
  .nice-comments-chat .comments-title{margin-bottom:20px;font-size:16px;}
  .nice-comments-chat .nice-comment-viewport{height:360px;padding:12px 6px 0;}
  .nice-comments-chat .comment-wrapper{gap:9px;margin-bottom:21px;}
  .nice-comments-chat .comment-author-avatar,.nice-comments-chat .comment-author-avatar img{flex-basis:32px;width:32px;height:32px;border-radius:8px;}
  .nice-comments-chat .comment-content{max-width:calc(100% - 55px);}
  .nice-comments-chat .comment-author-name{font-size:11px;}
  .nice-comments-chat .comment-metadata{gap:6px;font-size:9px;}
  .nice-comments-chat .nice-comment-bubble{padding:10px 12px;}
  .nice-comments-chat .nice-comment-bubble:before{display:none;}
  .nice-comments-chat .comment-body{font-size:13px;line-height:1.8;}
  .nice-comments-chat .nice-comment-quote,.nice-comments-chat .nice-comment-reply-preview{padding:7px 9px;}
  .nice-comments-chat .nice-comment-quote span{font-size:11px;}
  .nice-comments-chat .comment-respond{padding-top:19px;}
  .nice-comments-chat textarea{min-height:100px;font-size:16px;}
}
@media(prefers-reduced-motion:reduce){.nice-comments-chat textarea{transition:none;}}
