.comment {
  background-color: #fff;
  margin: 0 -2.4rem 1.5em;
  padding: 0.8rem 2.4rem;
  transition: background-color 0.3s;

  &:hover {
    background-color: #f6f6f6;

    .comment-control--share,
    .comment-control--delete,
    .comment-control--edit,
    .comment-control--complain {
      opacity: 1;
    }
  }

  .shout-body {
    @include font-size(1.5rem);

    margin-bottom: 1em;

    *:last-child {
      margin-bottom: 0;
    }
  }

  .circlewrap {
    position: absolute;
  }

  .author {
    align-items: center;
    margin-bottom: 1.4rem;
  }

  .author__name {
    font-weight: bold;
    @include font-size(1.2rem);

    margin-bottom: 0;
  }

  .author__details {
    margin-left: 4rem;
  }

  .shout-date {
    @include font-size(1.2rem);

    flex: 1;
    color: rgb(0 0 0 / 30%);
  }
}

.comment--level-1 {
  margin-left: 2.4rem;
}

.comment--level-2 {
  margin-left: 4.8rem;
}

.comment--level-3 {
  margin-left: 7.2rem;
}

.comment--level-4 {
  margin-left: 9.6rem;
}

.comment--level-5 {
  margin-left: 12rem;
}

.shout-controls {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  padding-top: 0.8rem;
}

.comment-controls {
  margin-bottom: 0.5em;
}

.comment-control--share,
.comment-control--delete,
.comment-control--edit,
.comment-control--complain {
  opacity: 0;
  transition: opacity 0.3s;
}

.comment-control {
  background: rgb(0 0 0 / 5%);
  border: none;
  cursor: pointer;
  display: inline-flex;
  line-height: 1.2;
  margin-right: 0.8rem;
  padding: 0.2em 0.3em;
  vertical-align: top;

  .icon {
    margin-right: 0.3em;

    img {
      margin-bottom: -0.1em;
    }
  }
}

.comment-control--reply {
  .icon {
    height: 1.2em;
    width: 1.2em;
  }
}
