.personcards .title {
  text-align: center;
}
.personcards .summary {
  text-align: center;
}
.person-card {
  display: inline-block;
  padding: 8px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 346px;
}
.person-card-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.person-card-image img {
  border-radius: 10px;
}
.person-card-content {
  background-color: #FFF;
  padding: 12px 24px;
  text-align: center;
  color: var(--charcoal-vdark-old);
  transition: background-color ease-in-out 0.3s, color ease-in-out 0.3s;
}
.person-card-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.person-card-title {
  font-family: var(--font), sans-serif;
  font-size: 16px;
}
.person-card a,
.person-card a:hover,
.person-card a:focus {
  text-decoration: none;
}
/* The outline sits on the card, because the card clips anything drawn inside it */
.person-card:focus-within {
  outline: 3px solid var(--green-dark-old);
  outline-offset: 2px;
}
.person-card a:hover .person-card-content,
.person-card a:focus .person-card-content {
  background-color: var(--blue-pale-old);
}
.person-card > div {
  width: 100%;
}
/* Backoffice preview: there is no Bootstrap here, so the row, the columns and the flex helpers are set by hand */
.personcards.preview-container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.personcards.preview-container .row > .col-12:not(.d-flex) {
  width: 100%;
}
.personcards.preview-container .row > .d-flex {
  display: flex;
  justify-content: center;
  width: calc(25% - 19px);
  /* four across with three 25px gaps */
  margin: 0;
}
.personcards.preview-container .person-card {
  display: flex;
  flex-direction: column;
}

