@media (min-width: 780px) {
  .modal-button {
    width: fit-content;
    margin: 0 !important;
  }
}
@media (max-width: 780px) {
  .modal-button .wp-block-buttons {
    width: fit-content;
    margin: auto;
  }
}

#leadership-team {
  row-gap: 60px;
  column-gap: 24px;
}
@media (max-width: 600px) {
  #leadership-team {
    column-gap: 16px;
    row-gap: 24px;
  }
}
#leadership-team.animated .project-item {
  animation: translate-project-item 0.4s ease-out forwards 0.4s;
}
@keyframes translate-project-item {
  to {
    transform: translateY(0);
    /* Grow to full width */
  }
}
#leadership-team .project-item {
  width: calc(25% - 18px);
  position: relative;
}
@media (max-width: 780px) {
  #leadership-team .project-item {
    width: calc(50% - 12px);
  }
}
#leadership-team .project-item:nth-of-type(2) {
  transform: translateY(60px);
}
#leadership-team .project-item:nth-of-type(3) {
  transform: translateY(120px);
}
#leadership-team .project-item:nth-of-type(4) {
  transform: translateY(180px);
}
#leadership-team .project-item:nth-of-type(6) {
  transform: translateY(60px);
}
#leadership-team .project-item:nth-of-type(7) {
  transform: translateY(120px);
}
#leadership-team .project-item:nth-of-type(8) {
  transform: translateY(180px);
}
#leadership-team .project-item:nth-of-type(10) {
  transform: translateY(60px);
}
#leadership-team .project-item:nth-of-type(11) {
  transform: translateY(120px);
}
#leadership-team .project-item:nth-of-type(12) {
  transform: translateY(180px);
}
#leadership-team .project-item:hover .img-cont .red-bio::before {
  animation: jiggle-background-red-bio 0.5s linear forwards;
  /* Use linear timing */
}
@keyframes jiggle-background-red-bio {
  0% {
    bottom: -43px;
    height: 43px;
  }
  25% {
    bottom: -1px;
    height: 60px;
  }
  50% {
    height: 34px;
  }
  85% {
    height: 46px;
  }
  100% {
    height: 43px;
    bottom: -1px;
  }
}
#leadership-team .project-item:hover .img-cont .red-bio p {
  transform: translateY(0px);
  opacity: 1;
  transition: all 0.2s ease-in-out;
}
#leadership-team .project-item:hover .img-cont img {
  transform: scale(1.025);
}
#leadership-team .project-item .img-cont {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 350px;
  margin-bottom: 24px;
}
@media (max-width: 1050px) {
  #leadership-team .project-item .img-cont {
    height: 230px;
  }
}
#leadership-team .project-item .img-cont .red-bio {
  position: absolute;
  right: 0;
  bottom: 0;
}
#leadership-team .project-item .img-cont .red-bio::before {
  content: "";
  background-color: #F5F5F5;
  width: 100%;
  height: 43px;
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 1;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  bottom: -43px;
}
#leadership-team .project-item .img-cont .red-bio p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--Green, #178847);
  padding: 9px 30px;
  padding-left: 34px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.06s ease-in-out;
  transform: translateY(10px);
  opacity: 0;
}
#leadership-team .project-item .img-cont img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  transition: all 0.65s cubic-bezier(0.25, 0.61, 0.355, 1.45);
}
#leadership-team h3.h6 {
  margin-bottom: 10px;
}

.modal .modal-content .d-flex {
  gap: 24px;
}
@media (max-width: 1050px) {
  .modal .modal-content .d-flex {
    flex-direction: column;
    gap: 40px;
  }
}
.modal .modal-content .d-flex .img-cont {
  position: relative;
  overflow: hidden;
  width: 360px;
  height: 450px;
}
@media (max-width: 1050px) {
  .modal .modal-content .d-flex .img-cont {
    width: calc(100% - 90px);
    height: 350px;
    min-height: 350px;
  }
}
.modal .modal-content .d-flex .img-cont img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
.modal .modal-content .d-flex .content {
  width: calc(100% - 250px);
}
@media (max-width: 1050px) {
  .modal .modal-content .d-flex .content {
    width: 100%;
  }
}
.modal .modal-content .d-flex .content h4 {
  margin-bottom: 12px;
}
.modal .modal-content .d-flex .content h5 {
  margin-bottom: 24px;
}
.modal .modal-content .d-flex .content p {
  color: #fff;
}
/*# sourceMappingURL=leadership-team.css.map */
