.our-people-avatars-shortcode {
  display: flex;
  justify-content: end;
}
.our-people-avatars-shortcode__inner {
  display: flex;
  align-items: center;
  width: fit-content;
}

.our-people-avatars-shortcode__list {
  display: flex;
  align-items: center;
}

.our-people-avatars-shortcode__avatar {
  position: relative;
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin-left: -0.75rem;
  overflow: hidden;
  border: 2px solid var(--wp--preset--color--bma-mustard);
  border-radius: 999px;
}

.our-people-avatars-shortcode__avatar:nth-child(1) {
  z-index: 6;
}

.our-people-avatars-shortcode__avatar:nth-child(2) {
  z-index: 5;
}

.our-people-avatars-shortcode__avatar:nth-child(3) {
  z-index: 4;
}

.our-people-avatars-shortcode__avatar:nth-child(4) {
  z-index: 3;
}

.our-people-avatars-shortcode__avatar:nth-child(5) {
  z-index: 2;
}

.our-people-avatars-shortcode__avatar:first-child {
  margin-left: 0;
}

.our-people-avatars-shortcode__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.our-people-avatars-shortcode__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-left: -0.75rem;
  padding: 0.25rem;
  border: 2px solid var(--wp--preset--color--bma-mustard);
  background: var(--wp--preset--color--bma-mustard);
  border-radius: 999px;
  color: var(--wp--preset--color--bma-dark);
  font-size: var(--wp--preset--font-size--body-s);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.our-people-avatars-shortcode__cta:hover,
.our-people-avatars-shortcode__cta:focus-visible {
  background: var(--wp--preset--color--primary);
  border: 2px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--bma-light);
  transition: all 0.2s ease-in-out;
}

/* people list */
.our-people-list-shortcode__content * {
  margin: 0;
}
.our-people-list-shortcode__content h3 {
  color: var(--wp--preset--color--secondary);
  text-transform: uppercase;
  font-weight: 700;
}
.our-people-list-shortcode {
  display: grid;
  gap: 4rem 3rem;
  align-items: start;
  width: 100%;
  max-width: 100% !important;
}
.our-people-list-shortcode__item {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
.our-people-list-shortcode__content,
.our-people-list-shortcode__bio {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.our-people-list-shortcode__image {
  border-radius: 0 0 var(--wp--custom--button--border-radius) 0;
  overflow: hidden;
}
.our-people-list-shortcode img {
  display: block;
  width: 100%;
  height: 100%;
  object-position: top;
  aspect-ratio: 1;
  object-fit: cover;
}
@media screen and (min-width: 767px) {
  .our-people-list-shortcode__item {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .our-people-list-shortcode__item,
  .our-people-list-shortcode {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .our-people-avatars-shortcode {
    justify-content: start;
  }
}
