/* Our Team page */

.mm-team-hero {
  background: #f4ece1;
  border-bottom: 1px solid #e7dbcc;
}

.mm-team-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 76px 40px 72px;
  text-align: center;
}

.mm-team-hero__eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.mm-team-hero__lede {
  max-width: 660px;
  margin: 20px auto 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: #6a5a4d;
  text-wrap: pretty;
}

.mm-team-hero__actions {
  margin-top: 30px;
}


.mm-team-leadership {
  padding: 84px 40px 0;
}

.mm-team-room {
  padding: 84px 40px;
}

.mm-team-section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.mm-team-section-head .mm-h2--ruled {
  white-space: nowrap;
}

.mm-team-leadership__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mm-team-leadcard {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: #fdfbf7;
  border: 1px solid #e7dbcc;
  border-radius: 3px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(62, 44, 33, 0.06);
}

.mm-team-leadphoto {
  position: relative;
  background: #f4ece1;
  border-radius: 0;
}

.mm-team-leadcopy {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mm-team-leadcopy__role {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8623b;
  margin-bottom: 8px;
}

.mm-team-leadcopy__name {
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 14px;
}

.mm-team-leadcopy p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #6a5a4d;
}

.mm-team-leadcopy p + p {
  margin-top: 12px;
}

.mm-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mm-team-card {
  background: #fdfbf7;
  border: 1px solid #e7dbcc;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(62, 44, 33, 0.06);
}

.mm-team-card__photo {
  position: relative;
  background: #f4ece1;
  border-radius: 3px 3px 0 0;
}

.mm-team-card__body {
  padding: 18px 16px 20px;
  text-align: center;
}

.mm-team-card__body h3 {
  font-weight: 600;
  font-size: 23px;
}

.mm-team-card__role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8623b;
  font-weight: 800;
  margin: 6px 0 8px;
}

.mm-team-card__detail {
  font-size: 13px;
  color: #8b7a6c;
  line-height: 1.5;
}

.mm-team-cta__text {
  margin-top: 10px;
  font-size: 15px;
  color: #6a5a4d;
}

@media (max-width: 1080px) {
  [data-mm="teamgrid"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  [data-mm="leadcard"] {
    grid-template-columns: 1fr !important;
  }

  [data-mm="leadphoto"] {
    justify-self: center;
    width: min(340px, calc(100% - 44px));
    margin-top: 26px;
  }
}

@media (max-width: 760px) {
  [data-mm="sec"] {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  [data-mm="hero"] {
    padding: 56px 22px 60px !important;
  }

  [data-mm="teamgrid"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}
