/* Phorte Home Professores - Snippet 235 CSS */

.ph-experts__grid,
.ph-professores-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 40px 24px !important;
  width: 100% !important;
  margin: 0 auto !important;
  font-family: var(--e-global-typography-text-font-family, Poppins), sans-serif;
  color: #181818;
}

.ph-expert-card,
.ph-professor-card {
  flex: 0 1 277px !important;
  width: 100% !important;
  max-width: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .ph-expert-card,
  .ph-professor-card {
    flex: 0 1 calc(50% - 12px) !important;
    width: calc(50% - 12px) !important;
  }
}

@media (max-width: 640px) {
  .ph-expert-card,
  .ph-professor-card {
    flex: 0 1 100% !important;
    width: 100% !important;
  }
}

.ph-expert-card__image,
.ph-professor-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ph-expert-card__content,
.ph-professor-card__content {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  flex: 1;
}

.ph-expert-card__name,
.ph-professor-card__name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
  color: #181818;
  letter-spacing: -0.01em;
}

.ph-expert-card__role,
.ph-professor-card__role {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: #181818;
}

.ph-expert-card__bio,
.ph-professor-card__bio {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #666666;
  flex: 1;
}

.ph-expert-card__badges,
.ph-professor-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.ph-expert-card__badge,
.ph-professor-card__badge {
  background-color: #fff0f1;
  color: #f23d43;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
}
