/* Native WordPress discussion under the Elementor single-post template. */
body.single-post .elementor-widget-post-comments #comments {
  --hh-ink: #292620;
  --hh-muted: #665d52;
  --hh-line: #e3ddd2;
  --hh-field: #8b7f6e;
  --hh-paper: #f8f6f1;
  --hh-accent: #59412e;
  --hh-pad: clamp(14px, 3.4vw, 26px);
  color: var(--hh-ink);
  text-align: start;
  border-block-start: 1px solid var(--hh-line);
  padding-block-start: 24px;
  overflow-wrap: anywhere;
}

body.single-post .elementor-widget-post-comments #comments :is(.title-comments, #reply-title) {
  margin: 0;
  color: var(--hh-ink);
  font-size: clamp(19px, 3vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}
body.single-post .elementor-widget-post-comments #comments :is(.comment-list, .children) {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.single-post .elementor-widget-post-comments #comments .comment-list { margin-block-start: 8px; }
body.single-post .elementor-widget-post-comments #comments .comment-list > li {
  padding-block: 17px;
  border-block-end: 1px solid var(--hh-line);
}
body.single-post .elementor-widget-post-comments #comments .comment-list li {
  margin: 0;
  background: transparent;
}
body.single-post .elementor-widget-post-comments #comments .children {
  margin-block-start: 10px;
  margin-inline-start: clamp(4px, 1.8vw, 16px);
  padding-inline-start: clamp(9px, 2vw, 18px);
  border-inline-start: 2px solid var(--hh-line);
}
body.single-post .elementor-widget-post-comments #comments .children > li + li { margin-block-start: 14px; }
body.single-post .elementor-widget-post-comments #comments .comment-list .children::before { content: none; }
body.single-post .elementor-widget-post-comments #comments .comment-body {
  margin: 0;
  padding: 0;
  border: 0;
}
body.single-post .elementor-widget-post-comments #comments .comment-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 3px 10px;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--hh-muted);
}
body.single-post .elementor-widget-post-comments #comments .comment-author {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 15px;
}
body.single-post .elementor-widget-post-comments #comments .comment-author .avatar {
  position: static;
  float: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}
body.single-post .elementor-widget-post-comments #comments :is(.avatar-default, .says) { display: none; }
body.single-post .elementor-widget-post-comments #comments .comment-author :is(.fn, .fn a) {
  color: var(--hh-ink);
  font-weight: 700;
}
body.single-post .elementor-widget-post-comments #comments .comment-metadata {
  font-size: inherit;
  line-height: inherit;
}
body.single-post .elementor-widget-post-comments #comments .comment-metadata a {
  color: var(--hh-muted);
  text-decoration: none;
}
body.single-post .elementor-widget-post-comments #comments .bypostauthor > .comment-body .comment-author::after {
  content: '글쓴이';
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--hh-paper);
  color: var(--hh-accent);
  font-size: 11px;
  font-weight: 600;
}
body.single-post .elementor-widget-post-comments #comments .comment-content {
  color: var(--hh-ink);
  font-size: 15px;
  line-height: 1.65;
}
body.single-post .elementor-widget-post-comments #comments .comment-content p { margin: 0 0 8px; }
body.single-post .elementor-widget-post-comments #comments .comment-content > :last-child { margin-block-end: 0; }
body.single-post .elementor-widget-post-comments #comments .reply { margin: 2px 0 0; }
body.single-post .elementor-widget-post-comments #comments :is(.comment-reply-link, #cancel-comment-reply-link) {
  display: inline-block;
  align-content: center;
  min-height: 44px;
  color: var(--hh-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
body.single-post .elementor-widget-post-comments #comments :is(.comment-reply-link, #cancel-comment-reply-link, .comment-metadata a):hover { text-decoration: underline; }

body.single-post .elementor-widget-post-comments #comments #respond {
  margin: 24px 0 0;
  padding: var(--hh-pad);
  border: 1px solid var(--hh-line);
  border-radius: 12px;
  background: var(--hh-paper);
}
body.single-post .elementor-widget-post-comments #comments > #respond:first-child { margin-block-start: 0; }
body.single-post .elementor-widget-post-comments #comments li #respond { margin-block: 6px 14px; }
body.single-post .elementor-widget-post-comments #comments #reply-title small { margin-inline-start: 8px; }
body.single-post .elementor-widget-post-comments #comments #commentform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 14px 0 0;
}
body.single-post .elementor-widget-post-comments #comments #commentform > * {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}
body.single-post .elementor-widget-post-comments #comments #commentform > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
body.single-post .elementor-widget-post-comments #comments #commentform > :is(.comment-notes, .logged-in-as, .must-log-in) {
  color: var(--hh-muted);
  font-size: 13px;
  line-height: 1.5;
}
body.single-post .elementor-widget-post-comments #comments #commentform > :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url) > label {
  display: block;
  margin: 0 0 6px;
  color: var(--hh-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
body.single-post .elementor-widget-post-comments #comments #commentform :is(#comment, #author, #email, #url) {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--hh-field);
  border-radius: 7px;
  background: #fff;
  color: var(--hh-ink);
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}
body.single-post .elementor-widget-post-comments #comments #commentform #comment {
  min-height: 120px;
  height: 120px;
  resize: vertical;
}
body.single-post .elementor-widget-post-comments #comments #commentform .comment-form-cookies-consent label {
  color: var(--hh-muted);
  font-size: 13px;
}
body.single-post .elementor-widget-post-comments #comments #commentform .form-submit { text-align: end; }
body.single-post .elementor-widget-post-comments #comments #commentform #submit {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--hh-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
  cursor: pointer;
}
body.single-post .elementor-widget-post-comments #comments #commentform #submit:hover { background: #402e21; }
body.single-post .elementor-widget-post-comments #comments :is(a, input, textarea):focus-visible {
  outline: 2px solid var(--hh-accent);
  outline-offset: 2px;
}
@media (max-width: 580px) {
  body.single-post .elementor-widget-post-comments #comments #commentform { grid-template-columns: minmax(0, 1fr); }
  body.single-post .elementor-widget-post-comments #comments .children .children {
    margin-inline-start: 0;
    padding-inline-start: 7px;
  }
}
