.publication-block.publication-block-communityComments,
.publication-block-communityComments {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding-bottom: 24px;
  padding-top: 24px;
}

.publication-block.publication-block-communityQuestion,
.publication-block-communityQuestion {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0 12px;
}

.community-question-header {
  display: block;
}

.community-question-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  padding: 4px 0;
}

.community-question-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.community-question-line {
  color: #293f35;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

.community-question-line strong {
  font-size: inherit;
  font-weight: 700;
}

.community-question-separator {
  color: #8a958e;
  margin: 0 2px;
}

.community-question-body {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.community-question-timestamp {
  color: #7a867f;
  font-size: 0.65rem;
  line-height: 1.45;
  padding-top: 3px;
  white-space: nowrap;
}

.community-question-divider {
  border-top: 1px solid rgba(38, 62, 52, 0.14);
  margin-top: 8px;
}

.community-comments {
  display: grid;
  gap: 8px;
}

.community-comments-heading h2 {
  color: #526158;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.community-comments-status {
  color: #6a776f;
  font-size: 0.72rem;
}

.community-comments-status:empty {
  display: none;
}

.community-comments-list {
  display: grid;
}

.community-comment {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  padding: 4px 0;
}

.community-comment-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.community-comment-line {
  color: #293f35;
  font-size: 0.82rem;
  line-height: 1.45;
}

.community-comment strong {
  font-size: inherit;
  font-weight: 700;
}

.community-comment-separator {
  color: #8a958e;
  margin: 0 2px;
}

.community-comment-body {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.community-comment-timestamp {
  color: #7a867f;
  font-size: 0.65rem;
  line-height: 1.45;
  padding-top: 2px;
  white-space: nowrap;
}

.community-comments-form {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 32px;
  margin-top: 10px;
  padding: 2px 0;
}

.community-comments-label {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.community-comments-form textarea {
  background: transparent;
  border: 0;
  color: #1c3028;
  font: inherit;
  line-height: 1.45;
  max-height: 160px;
  min-height: 32px;
  outline: 0;
  overflow-y: hidden;
  padding: 5px 0;
  resize: none;
  width: 100%;
}

.community-comments-form textarea::placeholder {
  color: #7a867f;
}

.community-comments-form textarea:focus-visible {
  background: rgba(39, 122, 80, 0.04);
}

.community-comments-submit {
  align-items: center;
  align-self: end;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #68716c;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.community-comments-submit:hover:not(:disabled) {
  background: rgba(38, 62, 52, 0.07);
  color: #293f35;
}

.community-comments-submit:focus-visible {
  outline: 3px solid rgba(39, 122, 80, 0.3);
  outline-offset: 2px;
}

.community-comments-submit:disabled {
  cursor: default;
  opacity: 0.35;
}

.community-comments-submit svg {
  height: 16px;
  width: 16px;
}

@media (max-width: 640px) {
  .publication-block.publication-block-communityComments,
  .publication-block-communityComments {
    padding: 20px 18px;
  }

  .publication-block.publication-block-communityQuestion,
  .publication-block-communityQuestion {
    padding: 4px 2px 10px;
  }

  .community-comment,
  .community-question-row {
    gap: 8px;
  }
}
