/* EmoBuild 0.6.51 — blog comments as alternating, accessible conversation bubbles. */
body.single-post #comments.comments-area {
  --emo51-ink:#103a57;--emo51-blue:#eaf5fd;--emo51-mint:#eaf7f1;
  --emo51-border:#b8d7e8;--emo51-green-border:#a5d4bd;
  border:1px solid #bfd9e7!important;border-radius:24px!important;
  background:linear-gradient(160deg,#f6faff,#f0f7fd)!important;
  padding:clamp(15px,3vw,32px)!important;
}
body.single-post #comments .comments-title {
  margin:2px 0 22px!important;padding:0 0 16px!important;border-bottom:1px solid #cfdfeb!important;
  color:#123b5c!important;font-size:clamp(22px,2.3vw,30px)!important;line-height:1.3!important;font-weight:850!important;
}
body.single-post #comments .comment-list,
body.single-post #comments .comment-list .children {
  display:block!important;list-style:none!important;margin:0 0 28px!important;
  padding:0!important;width:100%!important;min-width:0!important;
}
body.single-post #comments .comment-list > li.comment,
body.single-post #comments .comment-list .children > li.comment {
  display:block!important;position:relative!important;margin:0 0 20px!important;padding:0!important;
  width:100%!important;border:0!important;clear:both!important;
}
body.single-post #comments .comment-list li.comment > .comment-body {
  position:relative!important;display:block!important;width:100%!important;
  min-width:0!important;max-width:none!important;margin:0!important;
  padding:21px 22px 20px 88px!important;
  border:1.5px solid #9bcea7!important;border-radius:24px 24px 24px 8px!important;
  background:linear-gradient(145deg,#e8ffe1,#d8f7d1)!important;
  box-shadow:0 7px 18px rgba(15,58,89,.07)!important;
  color:var(--emo51-ink)!important;overflow-wrap:anywhere!important;
}
body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body,
body.single-post #comments .comment-list .children > li.comment:nth-child(even) > .comment-body {
  margin:0!important;border-color:#a8cde4!important;
  border-radius:24px 24px 8px 24px!important;
  background:linear-gradient(145deg,#fff,#eaf6ff)!important;
}
body.single-post #comments .comment-list li.comment > .comment-body::after {
  content:"";position:absolute;bottom:-6px;left:29px;width:12px;height:12px;
  transform:rotate(45deg);border-right:1.5px solid #9bcea7;border-bottom:1.5px solid #9bcea7;
  background:#daf8d4;
}
body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body::after,
body.single-post #comments .comment-list .children > li.comment:nth-child(even) > .comment-body::after {
  left:auto;right:29px;border-color:#a8cde4;background:#eaf6ff;
}
body.single-post #comments .comment-list .comment-author {
  display:block!important;float:none!important;margin:0 0 3px!important;padding:0!important;
  font-weight:800!important;font-size:16px!important;line-height:1.4!important;
}
body.single-post #comments .comment-list .comment-author .fn,
body.single-post #comments .comment-list .comment-author .fn a {color:#103d62!important;font-weight:850!important;text-decoration:none!important;}
body.single-post #comments .comment-list .comment-author .says {color:#597386!important;font-size:13px!important;}
body.single-post #comments .comment-list .comment-author img.avatar {
  position:absolute!important;top:17px!important;left:17px!important;right:auto!important;
  width:55px!important;max-width:55px!important;height:55px!important;
  object-fit:cover!important;border:3px solid #fff!important;border-radius:50%!important;
  background:#e6eef5!important;box-shadow:0 2px 8px rgba(12,50,77,.12)!important;
}
body.single-post #comments .comment-list .comment-meta,
body.single-post #comments .comment-list .commentmetadata {
  display:block!important;float:none!important;text-align:left!important;margin:0 0 13px!important;
  color:#516d80!important;font-size:13px!important;line-height:1.5!important;
}
body.single-post #comments .comment-list .comment-meta a,
body.single-post #comments .comment-list .commentmetadata a {color:#395d74!important;text-decoration:underline!important;text-underline-offset:2px!important;}
body.single-post #comments .comment-list .comment-content {
  color:#163d58!important;font-size:clamp(16px,1.35vw,18px)!important;
  line-height:1.7!important;overflow-wrap:anywhere!important;
}
body.single-post #comments .comment-list .comment-content p {margin:0 0 12px!important;}
body.single-post #comments .comment-list .reply {margin:13px 0 0!important;}
body.single-post #comments .comment-list .reply a.comment-reply-link {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:40px!important;padding:7px 16px!important;border:1.5px solid #b9d7e9!important;
  border-radius:13px!important;background:#fff!important;color:#12466e!important;
  font-weight:800!important;font-size:14px!important;text-decoration:none!important;text-transform:none!important;
}
body.single-post #comments .comment-list .children {
  width:min(95%,980px)!important;padding:16px 0 0 16px!important;
  margin:10px 0 16px auto!important;border-top:0!important;border-left:3px solid #c6dbe7!important;
}
/* Reactions: real server-side votes, accessible pressed state + live result. */
body.single-post #comments .emo51-comment-reactions {
  margin-top:13px!important;padding-top:12px!important;border-top:1px solid #cddfea!important;
}
body.single-post #comments .emo51-vote-title {
  margin:0 0 9px!important;color:#31556f!important;font-size:14px!important;font-weight:750!important;
}
body.single-post #comments .emo51-vote-controls {display:flex!important;flex-wrap:wrap!important;gap:9px!important;align-items:center!important;}
body.single-post #comments .emo51-vote-form {margin:0!important;padding:0!important;display:inline-flex!important;}
body.single-post #comments button.emo51-vote-button {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:43px!important;min-width:0!important;width:auto!important;padding:7px 13px!important;
  border:1.5px solid #b7d3e2!important;border-radius:15px!important;background:#fff!important;
  color:#134464!important;font:inherit!important;font-size:14px!important;line-height:1.3!important;
  font-weight:780!important;text-transform:none!important;box-shadow:none!important;
  cursor:pointer!important;transition:background-color .15s ease,border-color .15s ease!important;
}
body.single-post #comments .emo51-vote-emoji {font-size:17px!important;line-height:1!important;}
body.single-post #comments .emo51-vote-count {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:24px!important;
  padding:3px 7px!important;border-radius:9px!important;background:#f0f5f9!important;color:#294e68!important;
  font-weight:800!important;font-size:13px!important;
}
body.single-post #comments button.emo51-vote-button:hover {background:#e2f3ff!important;border-color:#5796b7!important;}
body.single-post #comments button.emo51-vote-button[aria-pressed="true"] {
  border-color:#257c64!important;background:#dcf4e7!important;color:#064e3a!important;
}
body.single-post #comments button.emo51-vote-button:disabled {opacity:.66!important;cursor:wait!important;}
/* Form improvements are additive to existing editorial layout. */
body.single-post #comments #respond {
  padding-top:clamp(15px,2vw,24px)!important;border-top:1px solid #cee1ed!important;margin-top:20px!important;
}
body.single-post #comments .comment-form :is(input:not([type=checkbox]),textarea) {
  border-radius:14px!important;background:#fff!important;border:1.5px solid #a9c8db!important;
}
body.single-post #comments .comment-form textarea {min-height:130px!important;}
body.single-post #comments :is(a,button,input,textarea):focus-visible {
  outline:3px solid #d69a21!important;outline-offset:3px!important;
}
@media(max-width:750px) {
  body.single-post #comments.comments-area {padding:14px!important;border-radius:17px!important;}
  body.single-post #comments .comment-list li.comment > .comment-body,
  body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body,
  body.single-post #comments .comment-list .children > li.comment:nth-child(even) > .comment-body {
    width:100%!important;margin:0!important;border-radius:19px!important;padding:17px 15px 17px 73px!important;
  }
  body.single-post #comments .comment-list .children {
    width:100%!important;padding:12px 0 0 10px!important;margin:8px 0 13px!important;
    border-left:3px solid #b4d5e7!important;
  }
  body.single-post #comments .comment-list .comment-author img.avatar {
    top:15px!important;left:12px!important;width:47px!important;height:47px!important;
  }
  body.single-post #comments button.emo51-vote-button {min-height:44px!important;padding:8px 11px!important;font-size:13px!important;}
}
@media(max-width:380px){
  body.single-post #comments .comment-list li.comment > .comment-body {padding-left:64px!important;}
  body.single-post #comments .comment-list .comment-author img.avatar {width:40px!important;height:40px!important;}
  body.single-post #comments .emo51-vote-controls {gap:7px!important;}
  body.single-post #comments button.emo51-vote-button {gap:5px!important;padding:7px 9px!important;font-size:12px!important;}
}
@media(prefers-reduced-motion:reduce){body.single-post #comments button.emo51-vote-button{transition:none!important}}
@media(forced-colors:active){
  body.single-post #comments .comment-list li.comment > .comment-body,
  body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body,
  body.single-post #comments button.emo51-vote-button,
  body.single-post #comments button.emo51-vote-button[aria-pressed="true"]{
    border:2px solid CanvasText!important;background:Canvas!important;color:CanvasText!important;
  }
  body.single-post #comments button.emo51-vote-button[aria-pressed="true"] {outline:2px solid Highlight!important;outline-offset:2px!important;}
}


/* EmoBuild 0.6.52 — Full-width WhatsApp-inspired comment bubbles and colorful action row. */
body.single-post #comments .comment-list,
body.single-post #comments .comment-list > li.comment,
body.single-post #comments .comment-list .children > li.comment {
  width:100%!important;max-width:100%!important;min-width:0!important;
}
body.single-post #comments .comment-list li.comment > .comment-body,
body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body,
body.single-post #comments .comment-list .children > li.comment:nth-child(even) > .comment-body {
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin-inline:0!important;
}
/* The complete comment is visible, with soft green/blue conversational colors. */
body.single-post #comments .comment-list > li.comment:nth-child(odd) > .comment-body,
body.single-post #comments .comment-list .children > li.comment:nth-child(odd) > .comment-body {
  background:linear-gradient(135deg,#eafee8 0%,#daf8d5 100%)!important;
  border-color:#9ccea5!important;
}
body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body,
body.single-post #comments .comment-list .children > li.comment:nth-child(even) > .comment-body {
  background:linear-gradient(135deg,#ffffff 0%,#eaf5ff 100%)!important;
  border-color:#a9cce2!important;
}
body.single-post #comments .comment-list li.comment .comment-content {
  color:#143d53!important;
}
/* Reply is relocated alongside the voting buttons by the small, scoped script. */
body.single-post #comments .emo52-action-row {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex-wrap:wrap!important;gap:10px!important;min-width:0!important;max-width:100%!important;
}
body.single-post #comments .emo52-action-row > .emo51-vote-controls {
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:10px!important;min-width:0!important;
}
body.single-post #comments .emo52-action-row > .reply {
  margin:0!important;display:inline-flex!important;align-items:center!important;
  min-width:0!important;float:none!important;
}
body.single-post #comments .emo52-action-row > .reply a.comment-reply-link {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;padding:9px 18px!important;
  border:2px solid #9fbee2!important;border-radius:13px!important;
  background:#e6f1ff!important;color:#163c70!important;
  text-decoration:none!important;text-transform:none!important;
  font-size:15px!important;font-weight:850!important;line-height:1.25!important;
  box-shadow:none!important;white-space:nowrap!important;
}
body.single-post #comments .emo52-action-row > .reply a.comment-reply-link:hover {
  background:#cfe5ff!important;border-color:#5484c2!important;color:#0b315d!important;
}
/* Green, coral and blue are also identified by text, not just color. */
body.single-post #comments button.emo51-vote-button {
  min-height:44px!important;border-width:2px!important;border-radius:13px!important;
  padding:9px 15px!important;gap:9px!important;
  font-size:15px!important;font-weight:800!important;
}
body.single-post #comments button.emo51-vote-yes {
  background:#e3f9e5!important;border-color:#a4d5ae!important;color:#18542c!important;
}
body.single-post #comments button.emo51-vote-no {
  background:#fff0ed!important;border-color:#e8b9b0!important;color:#803b33!important;
}
body.single-post #comments button.emo51-vote-yes:hover {
  background:#cdf1d2!important;border-color:#59a56d!important;color:#134824!important;
}
body.single-post #comments button.emo51-vote-no:hover {
  background:#ffded8!important;border-color:#c77f72!important;color:#672d28!important;
}
body.single-post #comments button.emo51-vote-yes[aria-pressed="true"] {
  background:#bce9c4!important;border-color:#33804c!important;color:#103d20!important;
  box-shadow:inset 0 0 0 1px #33804c!important;
}
body.single-post #comments button.emo51-vote-no[aria-pressed="true"] {
  background:#ffd2ca!important;border-color:#b95c4e!important;color:#672b26!important;
  box-shadow:inset 0 0 0 1px #b95c4e!important;
}
body.single-post #comments button.emo51-vote-yes .emo51-vote-count {
  background:#fff!important;color:#18542c!important;
}
body.single-post #comments button.emo51-vote-no .emo51-vote-count {
  background:#fff!important;color:#803b33!important;
}
body.single-post #comments .emo51-comment-reactions {
  border-top-color:rgba(47,105,88,.2)!important;
}
body.single-post #comments .emo51-vote-title {
  font-size:15px!important;color:#214956!important;margin-bottom:11px!important;
}
body.single-post #comments .emo52-action-row :is(button,a):focus-visible {
  outline:3px solid #9b5b00!important;outline-offset:3px!important;
}
@media(max-width:750px) {
  body.single-post #comments .emo52-action-row {gap:8px!important;}
  body.single-post #comments .emo52-action-row > .emo51-vote-controls {gap:8px!important;}
  body.single-post #comments button.emo51-vote-button {
    min-height:44px!important;padding:8px 10px!important;gap:6px!important;font-size:13px!important;
  }
  body.single-post #comments .emo52-action-row > .reply a.comment-reply-link {
    min-height:44px!important;padding:8px 12px!important;font-size:13px!important;
  }
}
@media(max-width:380px) {
  body.single-post #comments .emo52-action-row {gap:7px!important;}
  body.single-post #comments .emo52-action-row > .emo51-vote-controls {gap:7px!important;}
  body.single-post #comments button.emo51-vote-button {padding:8px 9px!important;gap:5px!important;}
}
@media(forced-colors:active) {
  body.single-post #comments .comment-list > li.comment:nth-child(odd) > .comment-body,
  body.single-post #comments .comment-list > li.comment:nth-child(even) > .comment-body,
  body.single-post #comments .comment-list .children > li.comment > .comment-body,
  body.single-post #comments .emo52-action-row > .reply a.comment-reply-link,
  body.single-post #comments button.emo51-vote-yes,
  body.single-post #comments button.emo51-vote-no {
    background:Canvas!important;color:CanvasText!important;border:2px solid CanvasText!important;
  }
  body.single-post #comments button.emo51-vote-button[aria-pressed="true"] {
    outline:3px solid Highlight!important;outline-offset:2px!important;
  }
}


/* 0.6.52 mobile action space: use the area beneath the avatar too. */
body.single-post #comments .comment-list .children {
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
}
@media(max-width:750px){
  body.single-post #comments .comment-list .emo51-comment-reactions {
    width:calc(100% + 58px)!important;max-width:calc(100% + 58px)!important;
    margin-left:-58px!important;margin-right:0!important;
    box-sizing:border-box!important;
  }
}
@media(max-width:380px){
  body.single-post #comments .comment-list .emo51-comment-reactions {
    width:calc(100% + 49px)!important;max-width:calc(100% + 49px)!important;
    margin-left:-49px!important;
  }
}
