/* Comment presentation for the active WebTech360 portal themes. */
body.wt-portal { --wt-comment-wash:#f5f8fc; --wt-comment-action:#085fc5; --wt-comment-border:#8090a0; }
body.wt-portal.wt-sub-blog { --wt-comment-wash:#fbf5f5; --wt-comment-action:#b51d29; }
body.wt-portal.wt-sub-tips { --wt-comment-wash:#f3f7fb; --wt-comment-action:#0a66c2; }
body.wt-portal #maincontent #comments,
body.wt-portal #maincontent #comments *,
body.wt-portal #maincontent #comments *::before,
body.wt-portal #maincontent #comments *::after { box-sizing:border-box; }
body.wt-portal #maincontent #comments {
 width:100%; max-width:100%; min-width:0; margin:32px 0; padding:24px;
 border:1px solid var(--wt-line,#dbe3ea); border-top:3px solid var(--wt-comment-action);
 border-radius:10px; background:var(--wt-comment-wash); color:var(--wt-ink,#14283b);
 text-align:start; font:400 16px/1.65 var(--wt-font-body,system-ui,sans-serif);
}
body.wt-portal #maincontent #comments .comment-reply-title {
 margin:0 0 22px; padding:0; color:var(--wt-ink,#14283b)!important;
 font:750 25px/1.3 var(--wt-font-display,system-ui,sans-serif)!important; text-align:start!important;
}
body.wt-portal #comments #commentform { margin:0; padding:0; min-width:0; }
body.wt-portal #comments #commentform > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; min-width:0; }
body.wt-portal #comments #commentform .comment-form-comment,
body.wt-portal #comments #commentform .form-submit { grid-column:1/-1; }
body.wt-portal #comments #commentform .comment-form-comment,
body.wt-portal #comments #commentform .comment-form-author,
body.wt-portal #comments #commentform .comment-form-url { min-width:0; margin:0; padding:0; }
body.wt-portal #comments #commentform .clear { display:none; }
body.wt-portal #comments #commentform label { display:block; margin:0 0 8px; color:var(--wt-ink,#14283b); font:650 14px/1.5 var(--wt-font-body,system-ui,sans-serif); text-align:start; }
body.wt-portal #comments #commentform .required { color:var(--wt-comment-action); font-weight:700; }
body.wt-portal #comments #commentform input:not([type="hidden"]),
body.wt-portal #comments #commentform textarea {
 display:block; width:100%!important; max-width:100%; min-width:0; margin:0; padding:12px 14px;
 border:1px solid var(--wt-comment-border); border-radius:6px; background:#fff; color:var(--wt-ink,#14283b);
 box-shadow:none; font:400 16px/1.6 var(--wt-font-body,system-ui,sans-serif); text-align:start; -webkit-appearance:none;
}
body.wt-portal #comments #commentform input:not([type="hidden"]) { height:48px; min-height:48px; }
body.wt-portal #comments #commentform textarea { height:154px; min-height:154px; resize:vertical; }
body.wt-portal #comments #commentform input:not([type="hidden"]):hover,
body.wt-portal #comments #commentform textarea:hover { border-color:#536575; }
body.wt-portal #comments #commentform input:not([type="hidden"]):focus,
body.wt-portal #comments #commentform textarea:focus {
 border-color:var(--wt-comment-action); outline:3px solid var(--wt-comment-action); outline-offset:2px;
}
body.wt-portal #comments #commentform input:not([type="hidden"]):user-invalid,
body.wt-portal #comments #commentform textarea:user-invalid { border-color:#b42318; }
body.wt-portal #comments #commentform .form-submit { display:flex; justify-content:flex-start; margin:0!important; padding:0; }
body.wt-portal #comments #commentform #submit {
 display:inline-flex; align-items:center; justify-content:center; width:auto; max-width:100%; min-width:156px; min-height:48px;
 margin:0; padding:12px 22px; border:1px solid transparent; border-radius:6px;
 background:var(--wt-comment-action); color:#fff; box-shadow:none; cursor:pointer;
 font:700 16px/1.4 var(--wt-font-body,system-ui,sans-serif); text-align:center; white-space:normal;
}
body.wt-portal #comments #commentform #submit:hover { filter:brightness(.9); }
body.wt-portal #comments #commentform #submit:focus-visible { outline:3px solid var(--wt-comment-action); outline-offset:3px; }
body.wt-portal #comments #commentform #submit:disabled { opacity:.65; cursor:wait; }
body.wt-portal #maincontent #comments .comment-list { display:block; margin:0 0 28px; padding:0; list-style:none; }
body.wt-portal #maincontent #comments .comment { margin:0; padding:20px 0; border:0; border-bottom:1px solid var(--wt-line,#dbe3ea); }
body.wt-portal #maincontent #comments .comment:first-child { padding-top:0; }
body.wt-portal #maincontent #comments .comment:last-child { padding-bottom:0; border-bottom:0; }
body.wt-portal #maincontent #comments .comment article { margin:0; padding:0; min-width:0; }
body.wt-portal #maincontent #comments .comment-header { display:block; margin:0 0 8px; padding:0; }
body.wt-portal #maincontent #comments .comment-author { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 12px; min-width:0; margin:0; color:var(--wt-ink,#14283b); font-size:0; }
body.wt-portal #maincontent #comments .comment-author-name { min-width:0; max-width:100%; overflow-wrap:anywhere; font:700 15px/1.5 var(--wt-font-body,system-ui,sans-serif); }
body.wt-portal #maincontent #comments .comment-meta,
body.wt-portal #maincontent #comments .comment-time { color:var(--wt-muted,#536575); font:400 12.5px/1.5 var(--wt-font-body,system-ui,sans-serif); }
body.wt-portal #maincontent #comments .comment-content { margin:0; padding:0; color:var(--wt-ink,#14283b); font:400 15.5px/1.75 var(--wt-font-body,system-ui,sans-serif); text-align:start; overflow-wrap:anywhere; }
body.wt-portal #maincontent #comments .comment-content p { max-width:none; margin:0 0 10px; font:inherit; color:inherit; text-align:start!important; white-space:pre-wrap; overflow-wrap:anywhere; }
body.wt-portal #maincontent #comments .comment-content p:last-child { margin-bottom:0; }
body.wt-portal #maincontent #comments .comment-list + .comment-respond { margin-top:24px; padding-top:24px; border-top:1px solid var(--wt-line,#dbe3ea); }
@media(max-width:600px) {
 body.wt-portal #maincontent #comments { margin:28px 0; padding:20px 16px; }
 body.wt-portal #maincontent #comments .comment-reply-title { font-size:23px!important; }
 body.wt-portal #comments #commentform > div { grid-template-columns:minmax(0,1fr); gap:18px; }
 body.wt-portal #comments #commentform #submit { width:100%; min-width:0; }
}
