/* Justifica o texto de todos os parágrafos renderizados dos arquivos Markdown */
.md-typeset p {
  text-align: justify;
}

/* Itens de lista compacta podem não gerar <p>, então justifica diretamente o <li> */
.md-typeset li {
  text-align: justify;
}

.team-all-in-one {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.team-card-compact {
  flex: 1 1 0;
  min-width: 140px;
  background-color: var(--md-default-bg-color, #f5f5f5);
  border: 1px solid var(--md-default-fg-color--lightest, #ddd);
  border-radius: 8px;
  padding: 20px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  word-wrap: break-word;
}

.team-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.team-card-compact img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid var(--md-default-bg-color, #fff);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-card-compact h3 {
  font-size: 0.85em;
  margin: 0 0 6px 0 !important;
  line-height: 1.3;
  color: var(--md-default-fg-color, #333);
  font-weight: 700;
  text-align: center;
}

.team-card-compact p {
  margin: 0;
  font-size: 0.75em;
  color: var(--md-default-fg-color--light, #666);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 800px) {
  .team-card-compact {
    flex: 1 1 calc(33.33% - 12px);
  }
}

@media (max-width: 500px) {
  .team-card-compact {
    flex: 1 1 100%;
  }
}