.persons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin: 1.5rem 0;
}
@media (max-width: 991.98px) {
  .persons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .persons {
    grid-template-columns: 1fr;
  }
}
.persons__item {
  display: block;
  text-align: center;
}
.persons__item--link {
  color: inherit;
  text-decoration: none;
}
.persons__item--link .persons__photo {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.persons__item--link:hover .persons__photo, .persons__item--link:focus-visible .persons__photo {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.persons__item--link:hover .persons__name {
  text-decoration: underline;
}
.persons__photo {
  box-sizing: border-box;
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1/1;
  margin: 0 auto 1rem;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(124deg, #a23b72 32%, #ff9914 86%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.persons__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.persons__name {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.persons__flag {
  margin-right: 0.25rem;
}
.persons__role, .persons__profession {
  margin: 0;
  color: #a23b72;
  font-size: 0.95rem;
}
