/* Cruxweld Reading Layout - comments area (v1.2). Always on for blog posts. */
#comments.comments-area{max-width:760px;margin:44px auto 56px;padding:0 20px;box-sizing:border-box;font-family:Roboto,Arial,Helvetica,sans-serif;color:#1f2937}
.cwr-comments #comments.comments-area{padding:0;margin-top:34px}
#comments,#respond{scroll-margin-top:96px}
#comments *,#comments *:before,#comments *:after{box-sizing:border-box}
#comments .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* heading */
#comments .comments-title-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 4px;padding:0;border:0}
#comments .comments-title{font:800 clamp(22px,3vw,28px)/1.2 Roboto,Arial,sans-serif;color:#07284f;margin:0;letter-spacing:-.01em;text-transform:none;display:flex;align-items:center;gap:12px}
#comments .comments-title:before{content:"";width:6px;height:26px;border-radius:3px;background:linear-gradient(180deg,#ff6a00,#ffb200);flex:0 0 6px}
#comments .discussion-meta{display:flex;align-items:center;gap:10px;margin:0}
#comments .discussion-avatar-list{display:flex;list-style:none;margin:0;padding:0}
#comments .discussion-avatar-list li{margin:0 0 0 -8px;padding:0}
#comments .discussion-avatar-list li:first-child{margin-left:0}
#comments .discussion-avatar-list img{display:block;width:30px;height:30px;border-radius:50%;border:2px solid #fff;background:#e2e8f0}
#comments .discussion-meta-info{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:600;color:#475569}
#comments .discussion-meta-info svg{width:18px;height:18px;fill:#94a3b8}

/* comment list */
#comments .comment-list{list-style:none;margin:20px 0 8px;padding:0}
#comments .comment-list li.comment,#comments .comment-list li.pingback{position:relative;list-style:none;background:#fff;border:1px solid #e5e9f0;border-radius:14px;padding:16px 20px 14px 76px;margin:0 0 14px;box-shadow:0 8px 22px -18px rgba(7,40,79,.45)}
#comments .comment-list .children{list-style:none;margin:14px 0 0;padding:0}
#comments .comment-list .children li.comment{background:#f8fafc;box-shadow:none;margin-bottom:0}
#comments .comment-list .bypostauthor>.comment-body .fn:after{content:"Author";margin-left:8px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#c2410c;background:#fff1e6;border:1px solid #fed7aa;border-radius:999px;padding:2px 8px;vertical-align:2px}
#comments .comment-body,#comments .comment-meta,#comments .comment-author{position:static;margin:0;padding:0;border:0;background:none}
#comments .comment-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;margin:0 0 6px}
#comments .comment-author{font-size:15.5px;line-height:1.4}
#comments .comment-author a{color:inherit;text-decoration:none}
#comments .comment-author .avatar{position:absolute;left:20px;top:16px;width:42px;height:42px;border-radius:50%;background:#e2e8f0;margin:0}
#comments .comment-author .fn{font-weight:700;color:#07284f}
#comments .comment-metadata{font-size:13px;color:#64748b}
#comments .comment-metadata a{color:#64748b;text-decoration:none}
#comments .comment-metadata a:hover{color:#ff6a00}
#comments .comment-metadata .edit-link{margin-left:6px}
#comments .comment-metadata svg{width:12px;height:12px;vertical-align:-1px;fill:currentColor}
#comments .comment-content{font-size:15.5px;line-height:1.65;color:#1f2937;overflow-wrap:anywhere}
#comments .comment-content p{margin:0 0 8px}
#comments .comment-content p:last-child{margin-bottom:0}
#comments .comment-reply{margin:10px 0 0}
#comments .comment-reply-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;line-height:1;color:#c2410c;background:#fff1e6;border:1px solid #fed7aa;border-radius:999px;padding:7px 14px;text-decoration:none;transition:background .15s,color .15s}
#comments .comment-reply-link:before{content:"\21A9";font-size:13px}
#comments .comment-reply-link:hover{background:#ff6a00;border-color:#ff6a00;color:#fff}
#comments .comment-form-flex{display:flex;flex-direction:column;margin:34px 0 0}
#comments .comment-form-flex>.comments-title{order:1;margin:0}
#comments .comment-form-flex>#respond{order:2}
#comments .comment-awaiting-moderation{display:block;margin:4px 0 0;font-size:13px;font-weight:600;color:#b45309}

/* form card */
#comments #respond{position:relative;margin:18px 0 0;padding:26px 26px 24px;background:linear-gradient(180deg,#f8fafc 0,#fff 140px);border:1px solid #e5e9f0;border-radius:18px;box-shadow:0 18px 40px -28px rgba(7,40,79,.45)}
#comments #respond:before{content:"";position:absolute;left:26px;right:26px;top:-1px;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,#ff6a00,#ffb200)}
#comments li #respond{margin:14px 0 4px;box-shadow:none}
#comments .comment-reply-title{margin:0;padding:0;font:800 19px/1.3 Roboto,Arial,sans-serif;color:#07284f}
#comments .comment-reply-title:empty{display:none}
#comments .comment-reply-title small{display:block;font-size:13px;font-weight:600;margin:0 0 6px}
#comments .comment-reply-title small a{color:#c2410c}
#comments #commentform{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;margin:0;padding:0}
#comments #commentform>*{grid-column:1/-1;order:6;margin:0;padding:0;max-width:none}
#comments #commentform>.comment-notes,#comments #commentform>.logged-in-as{order:0}
#comments #commentform>.comment-form-comment{order:1}
#comments #commentform>.comment-form-author{order:2;grid-column:auto}
#comments #commentform>.comment-form-email{order:3;grid-column:auto}
#comments #commentform>.comment-form-url{order:4}
#comments #commentform>.comment-form-cookies-consent{order:5}
#comments #commentform>.form-submit{order:9}
#comments #commentform>div[style*="clear"],#comments #commentform>p:empty{display:none}
#comments .comment-notes,#comments .logged-in-as{font-size:14.5px;line-height:1.55;color:#475569}
#comments .comment-notes a,#comments .logged-in-as a{color:#c2410c}
#comments .required{color:#ff6a00;font-weight:700}
#comments #commentform label{display:block;margin:0 0 7px;font-size:14px;font-weight:700;color:#1f2937;line-height:1.3}
#comments #commentform input[type=text],#comments #commentform input[type=email],#comments #commentform input[type=url],#comments #commentform textarea{display:block;width:100%;max-width:none;margin:0;padding:12px 14px;font:400 15.5px/1.5 Roboto,Arial,sans-serif;color:#1f2937;background:#fff;border:1.5px solid #d6dde8;border-radius:12px;box-shadow:none;outline:0;-webkit-appearance:none;appearance:none;transition:border-color .15s,box-shadow .15s}
#comments #commentform textarea{min-height:150px;resize:vertical}
#comments #commentform input::placeholder,#comments #commentform textarea::placeholder{color:#94a3b8}
#comments #commentform input[type=text]:focus,#comments #commentform input[type=email]:focus,#comments #commentform input[type=url]:focus,#comments #commentform textarea:focus{border-color:#ff6a00;box-shadow:0 0 0 4px rgba(255,106,0,.14)}
#comments .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:10px}
#comments #commentform .comment-form-cookies-consent label{margin:0;font-size:13.5px;font-weight:500;color:#475569;line-height:1.45}
#comments .comment-form-cookies-consent input{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;accent-color:#ff6a00}

/* captcha */
#comments .cwr-captcha,#comments #commentform>.cwr-captcha{padding:14px 16px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px}
#comments .cwr-cap-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#comments .cwr-cap-img{display:block;flex:0 0 auto;line-height:0;border-radius:10px;overflow:hidden;border:1.5px solid #d6dde8;background:#fff}
#comments .cwr-cap-img img{display:block;width:120px;height:40px;max-width:none;margin:0}
#comments .cwr-cap-new{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;margin:0;padding:0;border:1.5px solid #d6dde8;border-radius:12px;background:#fff;color:#07284f;cursor:pointer;transition:border-color .15s,color .15s}
#comments .cwr-cap-new:hover,#comments .cwr-cap-new:focus-visible{border-color:#ff6a00;color:#ff6a00;outline:0}
#comments .cwr-cap-new svg{width:18px;height:18px}
#comments .cwr-cap-new.spin svg{animation:cwrspin .8s linear infinite}
@keyframes cwrspin{to{transform:rotate(360deg)}}
#comments #commentform .cwr-captcha input#captcha_code{flex:1 1 150px;width:auto;min-width:0;max-width:240px;font-weight:700;letter-spacing:.14em}
#comments #commentform .cwr-captcha input#captcha_code::placeholder{font-weight:400;letter-spacing:0}
#comments .cwr-captcha small{display:block;margin:8px 0 0;font-size:12.5px;line-height:1.45;color:#64748b}
#comments .cwr-captcha small.warn{color:#b45309;font-weight:600}
/* fallback if the captcha markup was not re-arranged */
#comments #commentform>img[src^="data:image"]{width:120px;height:40px;border:1.5px solid #d6dde8;border-radius:10px;justify-self:start}
#comments #commentform>input#captcha_code{max-width:240px}

/* submit */
#comments .form-submit{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
#comments #commentform input#submit,#comments #commentform .submit{display:inline-block;width:auto;margin:0;padding:15px 32px;font:700 15.5px/1 Roboto,Arial,sans-serif;letter-spacing:.01em;color:#fff;background:linear-gradient(135deg,#ff6a00,#ff8a1d);border:0;border-radius:999px;box-shadow:0 12px 22px -12px rgba(255,106,0,.75);cursor:pointer;-webkit-appearance:none;appearance:none;transition:transform .15s,box-shadow .15s,filter .15s}
#comments #commentform input#submit:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 16px 26px -12px rgba(255,106,0,.85)}
#comments #commentform input#submit:focus-visible{outline:3px solid rgba(255,106,0,.35);outline-offset:3px}
#comments .form-submit:after{content:"Comments are reviewed before they appear.";font-size:13px;color:#64748b}

@media (max-width:640px){
  #comments.comments-area{padding:0 16px}
  .cwr-comments #comments.comments-area{padding:0}
  #comments #respond{padding:20px 16px 18px;border-radius:16px}
  #comments #respond:before{left:16px;right:16px}
  #comments #commentform{grid-template-columns:1fr;gap:14px}
  #comments #commentform>.comment-form-author,#comments #commentform>.comment-form-email{grid-column:1/-1}
  #comments #commentform input#submit{width:100%}
  #comments .form-submit:after{width:100%;text-align:center}
  #comments .comment-list li.comment{padding:14px 14px 12px 62px}
  #comments .comment-author .avatar{left:14px;top:14px;width:36px;height:36px}
}
