@charset "utf-8";

.comments-section { max-width: 800px; margin: 20px auto 10px; padding: 0px 16px; font-size: 1.4rem; line-height: 1.5; font-family: Inter, sans-serif; }

.comments-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 2px solid rgb(224, 224, 224); padding-bottom: 8px; margin-bottom: 16px; }

.comments-header h2 { font-size: 22px; font-weight: bold; margin: 0px; }

.comments-header .add-comment { font-size: 14px; color: rgb(0, 91, 187); text-decoration: none; }

.comments-header .add-comment:hover { text-decoration: underline; }

.comment { padding: 16px 0px; border-bottom: 1px solid rgb(224, 224, 224); }

.comment:last-child { border-bottom: none; }

.comment-header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }

.comment-header strong { font-weight: bold; font-size: 16px; }

.comment-header .timestamp { font-size: 13px; color: rgb(117, 117, 117); }

.comment p { margin: 0px 0px 10px; font-size: 1.4rem; line-height: 1.5; font-family: Inter, sans-serif; }

.comment .reply { display: inline-block; margin-top: 8px; font-size: 13px; color: rgb(0, 91, 187); text-decoration: none; }

.comment .reply:hover { text-decoration: underline; }

.comment.right { background-color: rgb(249, 249, 249); padding: 16px; border-radius: 4px; }

@media (max-width: 768px) {
  .comments-section { padding: 0px 12px; }
  .comments-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .comments-header h2 { font-size: 20px; }
  .comments-header .add-comment { font-size: 13px; }
  .comment-header { flex-direction: column; align-items: flex-start; }
  .comment-header strong { font-size: 15px; }
  .comment-header .timestamp { font-size: 12px; }
  .comment p { font-size: 15px; }
  .comment .reply { font-size: 12px; }
}

@media (max-width: 480px) {
  .comments-header h2 { font-size: 18px; }
  .comments-header .add-comment { font-size: 12px; }
  .comment-header strong { font-size: 14px; }
  .comment-header .timestamp { font-size: 11px; }
  .comment p { font-size: 14px; }
  .comment .reply { font-size: 11px; }
}
