/* ===== Comments Section (estilo tipo Facebook) ===== */

.comments-section {
  background: #fff;
  padding: 2rem 0 2.5rem;
}

.comments-section .container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header: "Showing X of Y comments" */
.comments-header {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: #000;
  font-weight: 400;
}

.comments-count,
.comments-total {
  font-weight: 600;
}

/* Lista de comentários */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Item comentário */
.comment {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

/* Avatar circular */
.comment-avatar {
  width: 50px;
  height: 50px;
  min-width: 40px;
  object-fit: cover;
  background: #e4e6eb;
}

/* Corpo do comentário (nome + texto + ações) */
.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-author {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.comment-text {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #000;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Linha de ações: Like · Reply + curtidas + tempo */
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.8125rem;
}

.comment-action-link {
  color: #385898;
  font-weight: 500;
  cursor: pointer;
}

.comment-action-sep {
  color: #65676b;
  user-select: none;
}

.comment-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #65676b;
  margin-left: 0.25rem;
}

.comment-likes {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.comment-like-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
}

.comment-time {
  color: #65676b;
}

/* Facebook Social Plugin */
.comments-facebook-plugin {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.875rem;
}

.comments-fb-link {
  color: #385898;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.comments-fb-link:hover {
  text-decoration: underline;
}

.comments-fb-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Mensagem "no longer receiving comments" */
.comments-closed {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: #000;
}

/* Responsivo */
@media (max-width: 768px) {
  .comments-section {
    padding: 1.5rem 0 2rem;
  }

  .comments-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 576px) {
  .comments-section {
    padding: 1.25rem 0 1.5rem;
  }

  .comments-section .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .comment-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .comment-author,
  .comment-text {
    font-size: 0.875rem;
  }

  .comment-actions {
    font-size: 0.75rem;
  }

  .comments-header {
    font-size: 0.9375rem;
  }

  .comments-closed {
    font-size: 0.875rem;
    padding: 0 8px;
  }
}
