section#team {
  padding-bottom: 74px;
  padding-top: 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}
section#team .wrapper > span {
  color: #435871;
  font-family: "Rubik Regular", sans-serif;
  font-size: 16px;
}
section#team .wrapper h1 {
  font-weight: normal;
  color: #435871;
  margin-bottom: 10px;
  font-size: 40px;
}
section#team .wrapper > p {
  font-size: 16px;
  color: #435871;
  margin-bottom: 30px;
}
section#team .wrapper > span,
section#team .wrapper h1,
section#team .wrapper > p {
  padding-right: 400px;
}
section#team .wrapper ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
}
section#team .wrapper ul li {
  width: 280px;
  margin-right: 10px;
}
section#team .wrapper ul li > img {
  width: 233px;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 10px;
  display: block;
  border-radius: 4px;
}
section#team .wrapper ul li h6 {
  color: #435871;
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 2px;
}
section#team .wrapper ul li b {
  color: #435871;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}
section#team .wrapper ul li .email,
section#team .wrapper ul li .phone {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}
section#team .wrapper ul li .email img,
section#team .wrapper ul li .phone img {
  margin-right: 10px;
  flex-shrink: 0;
}
section#team .wrapper ul li .email .right h5,
section#team .wrapper ul li .email .right a,
section#team .wrapper ul li .phone .right h5,
section#team .wrapper ul li .phone .right a {
  color: #bc2326;
  font-size: 14px;
  font-weight: normal;
}
section#team .wrapper ul li .email .right a,
section#team .wrapper ul li .phone .right a {
  color: #243e84;
  font-weight: 600;
}
section#team .wrapper ul li .email .right a:hover,
section#team .wrapper ul li .phone .right a:hover {
  text-decoration: underline;
}
section#team .wrapper ul li .phone {
  margin-bottom: 10px;
}
section#team .wrapper ul li:last-of-type {
  margin-right: 0;
}

@media screen and (max-width: 1024px) {
  section#team {
    padding-bottom: 34px;
  }
  section#team .wrapper > span,
section#team .wrapper h1,
section#team .wrapper > p {
    padding-right: 0;
  }
  section#team .wrapper ul {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 560px;
    margin: 0 auto;
  }
  section#team .wrapper ul li {
    width: 50%;
    max-width: 280px;
    margin-right: 0;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 760px) {
  section#team .wrapper h1 {
    font-size: 30px;
  }
}
@media screen and (max-width: 600px) {
  section#team {
    padding-bottom: 50px;
  }
  section#team .wrapper h1 {
    line-height: 1.2;
  }
  section#team .wrapper ul li {
    width: 100%;
    max-width: 100%;
    background: rgba(212, 212, 212, 0.15);
    border-radius: 4px;
    padding: 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  section#team .wrapper ul li .phone .right,
section#team .wrapper ul li .email .right {
    min-width: 240px;
  }
}
