.comments-section {
  max-width: 800px;
  margin: 2rem auto;
  font-family: Arial, sans-serif;
}

.comments-title {
  font-size: 1.5rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

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

.comment {
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid #ddd;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author .avatar {
  border-radius: 50%;
  margin-right: 10px;
}

.comment-metadata {
  font-size: 0.875rem;
  color: #777;
}

.comment-content p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.reply {
  margin-top: 0.5rem;
}

.comment-reply-link {
  font-size: 0.875rem;
  color: #0073aa;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* Tablet Styles: 768px - 1024px */
@media (max-width: 1024px) and (min-width: 768px) {
  .comments-section {
    padding: 0 1.5rem;
  }

  .comments-title {
    font-size: 1.4rem;
  }

  .comment-body {
    padding: 0.9rem;
  }

  .comment-content p {
    font-size: 0.95rem;
  }

  .comment-author .avatar {
    width: 40px;
    height: 40px;
  }

  .comment-reply-link {
    font-size: 0.85rem;
  }
}

/* Mobile Styles: < 768px */
@media (max-width: 767px) {
  .comments-section {
    padding: 0 1rem;
    margin: 1rem auto;
  }

  .comments-title {
    font-size: 1.25rem;
  }

  .comment-body {
    padding: 0.8rem;
  }

  .comment-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-author .avatar {
    width: 36px;
    height: 36px;
    margin-bottom: 0.5rem;
  }

  .comment-content p {
    font-size: 0.9rem;
  }

  .comment-reply-link {
    font-size: 0.8rem;
  }
}
