/* ===========================
   Therapist Loop Grid
=========================== */

.therapist-loop{
  display: grid;
  gap: 36px;
  align-items: stretch;
}

/* Desktop */
.therapist-loop--cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Tablet */
@media (max-width: 1024px){
  .therapist-loop--tablet-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 640px){
  .therapist-loop--mobile-1{
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Therapist Card
=========================== */

.therapist-card{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* image */
.therapist-card__thumb{
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 24px;          /* gros arrondi "capsule" */
  overflow: hidden;
  background: #f3f3f3;
}

.therapist-card__thumb img{
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 24px;          /* sécurité si thème ajoute un radius */
}

/* contenu */
.therapist-card__content{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.therapist-card__title{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.therapist-card__title a{
  text-decoration: none;
  color: inherit;
}

/* badges langues / spécialités */
#myspokenlanguages,
#myspecialities{
  display: ;
  flex-wrap: ;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

/* bouton */
.therapist-card__cta{
  margin-top: 8px;
}

.therapist-card__button{
  display: inline-block;
  padding: 10px 18px;
  background: #2f7d6b;         /* vert type exemple */
  color: #fff;
  font-weight: 600;
  border-radius: 999px;         /* pill rond */
  text-decoration: none;
  line-height: 1;
  transition: transform .12s ease, background .12s ease;
}

.therapist-card__button:hover{
  background: #266a5a;
  transform: translateY(-1px);
}
