#comments {
  --comments-text: #212121;
  --comments-bg: #fafafa;
  --comments-accent-bg: #8bc34a;
  --comments-accent: #8bc34a;
  --comments-accent-hover: #8bc34a;
  --comments-border: #898ea4;
  --comments-success: #1b5e20;
  --comments-error: #b71c1c;
  --comments-standard-border: 1px solid var(--comments-border);

  margin-block: 2rem;
  padding: 1rem;
  font-family: inherit;
  color: var(--comments-text);

}

@media (prefers-color-scheme: dark) {
  #comments {
    --comments-text: #DCDCDC;
    --comments-bg: #222;
    --comments-accent-bg: #1A1A1A;
    --comments-accent: #88C0D0;
    --comments-accent-hover: #78A9B6;
    --comments-border: #DCDCDC;
    --comments-success: #A3BE8C;
    --comments-error: #AA8A80;
  }
}

#comments h2,
#comments h3 {
  margin: 0;
}

#comments h3 {
  margin-bottom: 1rem;
}

#comments p {
  margin: 1rem 0;
}

#comments blockquote {
  font-size: inherit;
}

#comments time {
  opacity: 0.75;
  font-size: 0.8rem;
}

#comments .comments-header {
  text-align: center;
  display: none;
  color: var(--comments-bg);
  margin: -1rem -1rem 1rem -1rem;
  padding: 1rem;
}

#comments .comments-header h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
}

#comments button,
#comments .button {
  display: inline-block;
  margin: 1rem 0;
  background: var(--comments-accent);
  color: var(--comments-bg);
  border: var(--comments-standard-border);
  border-color: var(--comments-accent);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

#comments button:hover,
#comments .button:hover {
  background: var(--comments-accent-hover);
}

#comments .button.load {
  display: block;
  margin: 1.5rem auto 1rem;
}

#comments .comments-thread {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

#comments .comment-item {
  
  border: var(--comments-standard-border);
  padding: 1rem;
  border-radius: 10px;
}

#comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#comments .comment-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#comments .comment-body {
  margin-top: 0.75rem;
  line-height: 1.6;
}

#comments .comment-body p {
  margin: 0.5rem 0;
}

#comments .comment-actions {
  margin-top: 0.75rem;
}

#comments .comment-actions button {
  margin: 0;
  font-size: 0.9rem;
}

#comments .comment-children {
  margin-top: 1rem;
  padding-left: 0;
  border-left: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#comments > .comments-content > .comments-thread > .comment-item > .comment-children {
  padding-left: 1rem;

}

#comments .replying-to {
  font-size: 0.9rem;
  padding: 0.5rem;
  border: var(--comments-standard-border);
  border-radius: 0.4rem;
  background: var(--comments-accent-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#comments .replying-to.hidden {
  display: none;
}

#comments form {
  background: var(--comments-bg);
  border: var(--comments-standard-border);
  padding: 1rem;
  border-radius: 10px;
}

#comments form label {
  display: block;
}

#comments form input,
#comments form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.6rem;
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: var(--comments-bg);
  border: var(--comments-standard-border);
}

#comments .form-status {
  min-height: 0;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

#comments .form-status:not(:empty) {
  padding: 0.5rem;
  background-color: #8bc34a;
  font-size: 1.2em;
}

#comments .form-status.success {
  color: var(--comments-success);
}

#comments .form-status.error {
  color: var(--comments-error);
}

#comments .hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

#comments .comment-badge {
  background: var(--comments-accent-bg);
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border: var(--comments-standard-border);
}

#comments .comment-privacy-link {
  font-size: 0.8rem;
  margin: -0.5rem 0 1rem;
}

@media (max-width: 640px) {
  #comments .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
