.person-card {
  max-width: 400px;
  margin: 1rem auto;
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1);
  background: white;
  border-radius: 0.25rem;
}

/* Image section */
.person-card > div:first-child {
  position: relative;
  padding-top: 75%;
}

.person-card figure {
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.person-card img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 0.25rem 0.25rem 0 0;
}

/* Content section */
.person-card > div:nth-child(2) {
  padding: 1.5rem;
}

/* Header section */
.person-card > div:nth-child(2) > div:first-child {
  margin-bottom: 1.5rem;
}

.person-card > div:nth-child(2) > div:first-child p:first-child {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.person-card > div:nth-child(2) > div:first-child p:last-child {
  font-size: 1rem;
  color: #4a4a4a;
  margin: 0;
}

/* Table section */
.person-card table {
  width: 100%;
  border-collapse: collapse;
}

.person-card td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #dbdbdb;
}

.person-card td:first-child {
  font-weight: bold;
  width: 30%;
}

.person-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* CSS existant pour person-card ... */

.person-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
}

/* Ajustement pour les cartes dans la grille */
.person-list .person-card {
  margin: 0;
  height: 100%;
}


