.leadership {
  font-family: "Manrope";
}
.leadership-header {
  height: 350px;
  box-sizing: border-box;
  padding: 146px 0 86px 0;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url(/hubfs/Lofty/assets/images/partners/lofty_partner_hero_bg.png?width=2879&quality=high);
}
.leadership-banner {
  flex-direction: column;
  align-items: center;
  display: flex;
}
.leadership-banner-title {
  text-align: center;
  font-size: 50px;
  font-weight: 500;
  line-height: 58px;
  color: #202437;
}
.leadership-banner-descript {
  margin-top: 10px;
  color: rgba(81, 86, 102, 1);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  font-weight: 500;
  width: 900px;
}
.main-content {
  margin-top: 80px;
  margin-bottom: 50px;
  padding-left: 120px;
  padding-right: 120px;
  column-gap:22.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.leadership-item {
  width:calc((100% - 45px)/3);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.leadership-img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}
.leadership-name {
  color: #202437;
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
.leadership-description {
  color: rgba(81, 86, 102, 1);
  margin-top: 5px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
}
.leader-detail {
  display: none;
  border-radius: 10px;
  background-color: white;
  position: fixed;
  margin: auto;
  z-index: 11;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  overflow: hidden;
}
.leader-detail-content {
  border-radius: 10px;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  background-color: white;
  width: 100%;
  padding: 50px 30px 30px 30px;
}
.leader-image-left {
  border-radius: 10px;
}
.close {
  position: absolute;
  color: rgba(198, 200, 209, 1);
  right: 20px;
  top: 20px;
}
.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}
.leader-detail-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-right: 30px;
}
.icon {
  cursor: pointer;
}
.icon:hover {
  color: #2976a8;
}
.leader-detail-content-right {
  flex: 2;
  width: 65%;
  text-align: left;
  overflow-x: hidden;
}
.leader-detail-name {
  color: rgba(32, 36, 55, 1);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-top: 20px;
  text-align: left;
}
.leader-detail-position {
  color: rgba(81, 86, 102, 1);
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: left;
}
.leader-detail-description {
  word-break: break-word;
  max-height: 500px;
  font-family: "Manrope";
  color: rgba(32, 36, 55, 1);
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  text-align: left;
}
.leader-detail-description p {
  margin-bottom: 20px;
}
.leader-image-left {
  width: 280px;
  height: 280px;
}
@media (max-width: 800px) {
  .leader-image-left {
    width: auto;
    height: auto;
  }
  .leadership-header {
    background-position: 100%;
    height: auto;
    padding: 100px 0 40px;
  }
  .main-content {
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
  }
  .leadership-banner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .leadership-banner-title {
    width: 100%;
    text-align: left;
    font-size: 36px;
    line-height: 46px;
    font-weight: 500;
    color: rgba(32, 36, 55, 1);
  }
  .leadership-banner-descript {
    width: 100%;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: rgba(81, 86, 102, 1);
  }
  .leader-detail {
    width: 90%;
    height: 80%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-bottom: 20px;
  }
  .leader-detail-content {
    height: 100%;
    flex-direction: column;
    display: block;
    padding: 0px 0px;
    overflow: scroll;
  }
  .leader-detail-content-left {
    display: block;
    width: 100%;
    margin-right: 0px;
  }
  .leader-image-left {
    width: 100%;
    height: auto;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .leader-detail-content-left div {
    padding-left: 20px;
    padding-right: 20px;
  }
  .leader-detail-name {
    font-size:18px;
    margin-top: 30px;
  }
  .leader-detail-content-right {
    height: auto;
    margin-top: 30px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .leader-detail-description {
    margin-right: 0;
    padding-right: 0;
    height: auto;
    max-height: none;
  }
  .close {
    color: white;
    top: -25px;
    right: 0;
  }
  .leadership-item {
    width: 100%;
  }
}
@media (min-width: 1450px) {
  .main-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1425px;
  }
  .leadership-item {
    display: block;
    text-align: center;
  }
  .leader-detail-content {
    max-width: 732px;
  }
  .leader-detail {
    max-width: 732px;
  }
}
