.webmentions {
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.webmentions h2:not(:first-child) {
  margin-top: 2rem;
}

.webmentions .interaction {
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.webmentions .interaction .comment__wrapper {
  width: 100%;
  padding-bottom: 1rem;
}

.webmentions .interaction .comment__wrapper:last-child {
  padding-bottom: 0;
}

.webmentions .interaction .avatar__wrapper:hover,
.webmentions .interaction .avatar__wrapper:focus,
.webmentions .interaction .avatar__wrapper:active,
.webmentions .interaction .comment__wrapper:hover .avatar__wrapper,
.webmentions .interaction .comment__wrapper:focus .avatar__wrapper
.webmentions .interaction .comment__wrapper:active .avatar__wrapper {
  border-color: var(--accent-color-hover);
}

.webmentions .interaction .comment__wrapper--interior {
  justify-content: space-between;
}

.webmentions .interaction .comment__wrapper--interior .comment {
  margin-left: .75rem;
}

.webmentions .interaction .comment__wrapper--interior .comment a {
  color: var(--text-color);
  text-decoration: none;
}

.webmentions .interaction .comment__wrapper--interior .comment p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  margin: 0;
  word-break: break-word;
}

.webmentions .interaction .comment__wrapper--interior .comment time {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
  margin-top: .25rem;
}

.webmentions .interaction {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 0 0 .75rem;
  padding: 0;
}

.webmentions .interaction.comments {
  flex-direction: column;
  margin: 0;
}

.webmentions .interaction > a {
  margin-left: -.75rem;
  height: 3.5rem;
}

.webmentions .interaction .avatar__wrapper {
  border: 4px solid var(--background-color);
  background-color: var(--background-color-inverted);
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--rounded-full);
  transition-property: border-color;
  transition-timing-function: var(--transition-ease-in-out);
  transition-duration: var(--transition-duration-default);
}

.webmentions .interaction .avatar__wrapper img {
  width: 100%;
  height: 100%;
  border-radius: var(--rounded-full);
}

.webmentions .interaction .avatar__wrapper > picture {
  display: flex;
  flex-direction: column;
  align-items: center;
}