.answer_component {
  border-top: 1px solid var(--gray);
}

.answer_component:last-child {
  border-bottom: 1px solid var(--gray);
}

.answer_component article {
  display: flex;
  gap: 2rem;
  margin-top: 10px;
  padding: 1rem;
}

.answer_component .answer-meta {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 8rem;
}

.answer_component .answer-author {
  font-size: 1rem;
  font-weight: bold;
}

.answer_component .answer-date {
  font-size: .8rem;
  color: #666;
}

.answer_component .answer-actions {
  align-items: center;
  display: flex;
  flex-basis: 100%;
  gap: 1rem;
  justify-content: flex-end;
  padding: .5rem 1rem;
}

.answer_component .like-button {
  cursor: pointer;
}

.answer_component .like-button button {
  align-items: center;
  background: var(--medium-gray);
  border: none;
  border-radius: 6px;
  color: var(--dark-gray);
  cursor: pointer;
  display: flex;
  gap: .5rem;
  padding: .5rem;
}

.answer_component .like-button button:has(.icon-thumbs-up-filled) {
  background: var(--medium-green);
  color: var(--dark-green);
}

.answer_component .like-button .icon {
  fill: var(--dark-gray);
  height: 1rem;
  width: 1rem;
}

.answer_component .like-button .icon-thumbs-up-filled {
  fill: var(--green);
  height: 1rem;
  width: 1rem;
}

.answer_component .like-button .answer-like-count {
  align-items: center;
  background-color: white;
  border-radius: 50%;
  display: flex;
  font-size: .75rem;
  font-weight: bold;
  height: 1rem;
  justify-content: center;
  width: 1rem;
}
