/*--------------------------------------------------------------
Comments
--------------------------------------------------------------*/

// Reset list-style
.comment-list,
.children {
  list-style: none;
  padding: 0;
}

.comment-list > .children {
  padding-left: 96px;
}

@include media-breakpoint-up(md) {
  .comment-list > .children > .children {
    padding-left: 96px;
  }
}

@include media-breakpoint-up(lg) {
  .comment-list > .children > .children > .children {
    padding-left: 96px;
  }
}

@include media-breakpoint-up(xl) {
  .comment-list > .children > .children > .children > .children {
    padding-left: 96px;
  }
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

#cancel-comment-reply-link {
  margin-left: $spacer * .5;
}

// Adding width to comment. When using <pre> in comment, comment-content will not crashed
.comment-content {
  width: calc(100% - 96px);

  a {
    word-wrap: break-word;
  }
}

.bypostauthor {
  display: block;
}

// Last p bottom margin in comment card
.comment-content .card p:last-child {
  margin-bottom: 0;
}

.comment-respond {
  margin-bottom: $spacer * 1.5;
}
