/* ========================================
   Estilos para Co-autores
   ======================================== */

/* Seção de múltiplos autores */
.box-authors {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 2rem;
  border-left: none;
}

/* Card simples de autor - Layout horizontal */
.author-card-simple {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

/* .author-card-simple:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #003786;
} */

/* Avatar wrapper */
.author-avatar-wrapper {
  flex-shrink: 0;
  margin-left: -57px;
  margin-right: 18px;
}

.author-avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Nome do autor */
.author-name {
  color: #003786;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.3;
}

.author-name-link {
  color: #003786;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-name-link:hover {
  color: #0052cc;
  text-decoration: underline;
}

/* Bio do autor */
.author-bio {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Seção de múltiplos autores (title) */
.authors-title {
  color: #003786;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

/* Lista de autores */
.authors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Card individual de autor (versão antiga, mantida para compatibilidade) */
.author-card {
  background: white;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.author-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #003786;
  transform: translateY(-2px);
}

/* Avatar do autor */
.author-card .p-avatar {
  margin-bottom: 1rem;
}

.author-card .p-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
  transition: border-color 0.3s ease;
}

.author-card:hover .p-avatar img {
  border-color: #003786;
}

/* Link "Ver posts do autor" */
.author-card .btn-outline-primary {
  background: transparent;
  border: 2px solid #003786;
  color: #003786;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
}

.author-card .btn-outline-primary:hover {
  background: #003786;
  color: white;
}

/* Meta dos autores no cabeçalho */
.author-block {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
}

.author-block:not(:last-child)::after {
  content: "•";
  margin-left: 1rem;
  color: #ccc;
}

.author-block .meta-avatar {
  margin: 0;
}

.author-block .meta-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.author-block .meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-block .meta-label {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-block .meta-author a {
  color: #003786;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.author-block .meta-author a:hover {
  color: #0052cc;
  text-decoration: underline;
}
.meta-item{
  max-width: 375px;
  line-height: 1.5;
}

/* Responsivo */
@media (max-width: 768px) {
  .box-authors {
    padding: 0;
  }
  .comments-area{
    max-width: 100%;
    width: 100%;
  }

  .author-card-simple {
    flex-direction: column;
    /* align-items: center;
    text-align: center; */
    gap: 1rem !important;
  }

  .author-avatar-wrapper {
    flex-shrink: 0;
    margin-left: 0;
  }

  .author-avatar-circle {
    width: 100px;
    height: 100px;
  }

  .author-card {
    min-width: 100% !important;
    flex: 0 0 calc(50% - 0.5rem);
  }

  .author-block {
    margin-right: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .author-block:not(:last-child)::after {
    content: "";
    margin: 0;
  }

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

@media (max-width: 576px) {
  .author-card {
    flex: 0 0 100%;
  }

  .author-card-simple {
    padding: 1rem;
    gap: 1rem;
  }

  .author-name {
    font-size: 1.1rem;
  }

  .author-avatar-circle {
    width: 80px;
    height: 80px;
  }

  .author-block {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Variações de estado */
.author-card.featured {
  border: 2px solid #003786;
  background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
}

.author-card.featured::before {
  content: "Principal";
  display: block;
  background: #003786;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
