.mm-profiles {
  display: grid;
  gap: var(--mm-profiles-gap, 64px) var(--mm-profiles-gap-x, 48px);
  grid-template-columns: minmax(0, 1fr);
}
@media screen and (min-width: 1201px) {
  .mm-profiles {
    grid-template-columns: repeat(var(--mm-profiles-cols, 2), minmax(0, 1fr));
  }
}

.mm-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media screen and (min-width: 481px) {
  .mm-profile {
    grid-template-columns: min(var(--mm-profile-media, 280px), 45%) minmax(0, 1fr);
    gap: 32px;
  }
}

.mm-profile__media {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--mm-profile-radius, 8px);
  background: #eeeeee;
  max-width: var(--mm-profile-media, 280px);
}
.mm-profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mm-profile__body {
  min-width: 0;
}

.mm-profile__name {
  font-family: var(--mm-font-heading);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.12px;
  color: var(--mm-accent);
  margin: 0 0 10px;
}
@media screen and (max-width: 768px) {
  .mm-profile__name {
    font-size: 24px;
  }
}

.mm-profile__role {
  display: block;
  font-family: var(--mm-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #272222;
  margin: 0 0 16px;
}

.mm-profile__bio {
  font-size: 16px;
  line-height: 1.5;
  color: #272222;
}
.mm-profile__bio > * + * {
  margin-top: 16px;
}
.mm-profile__bio > p {
  margin-bottom: 0;
}

.mm-profile__more {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mm-profile__more > div {
  min-height: 0;
}
.mm-profile__more > div > * + * {
  margin-top: 16px;
}
.mm-profile__more > div > p {
  margin-bottom: 0;
}

.mm-profile.is-expanded .mm-profile__more {
  grid-template-rows: 1fr;
  margin-top: 16px;
}

html:not(.mm-js) .mm-profile__more {
  grid-template-rows: 1fr;
  margin-top: 16px;
}
html:not(.mm-js) .mm-profile__toggle {
  display: none;
}

@supports not (grid-template-rows: 0fr) {
  .mm-js .mm-profile__more {
    display: none;
  }
  .mm-js .mm-profile.is-expanded .mm-profile__more {
    display: block;
  }
}
.mm-profile__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--mm-font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: var(--mm-accent);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.mm-profile__toggle:hover {
  color: var(--mm-accent-dark);
}
.mm-profile__toggle .mm-profile__toggle-close {
  display: none;
}

.mm-profile.is-expanded .mm-profile__toggle .mm-profile__toggle-open {
  display: none;
}
.mm-profile.is-expanded .mm-profile__toggle .mm-profile__toggle-close {
  display: inline;
}

.mm-profiles.is-stacked .mm-profile {
  grid-template-columns: minmax(0, 1fr);
}
.mm-profiles.is-stacked .mm-profile .mm-profile__media {
  max-width: none;
}

.mm-profiles.is-single-column {
  --mm-profiles-cols: 1;
}

.mm-profiles.is-photoless {
  gap: var(--mm-profiles-gap, 48px) 48px;
}
@media screen and (min-width: 769px) {
  .mm-profiles.is-photoless {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (min-width: 992px) {
  .mm-profiles.is-photoless {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mm-profiles.is-photoless .mm-profile {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.mm-profiles.is-photoless .mm-profile__name {
  font-size: 24px;
  line-height: 1.15;
}
.mm-profiles.is-photoless .mm-profile__role {
  line-height: 1.35;
}
