.elementor-893 .elementor-element.elementor-element-80e446b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:30px;--margin-left:0px;--margin-right:0px;}.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );font-style:var( --e-global-typography-secondary-font-style );text-decoration:var( --e-global-typography-secondary-text-decoration );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-893 .elementor-element.elementor-element-03be1f1 > .elementor-widget-container{margin:15px 0px 15px 0px;}.elementor-893 .elementor-element.elementor-element-03be1f1{font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:400;text-transform:none;font-style:normal;text-decoration:none;line-height:1.5em;letter-spacing:0px;color:var( --e-global-color-ebd78bb );}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );font-style:var( --e-global-typography-text-font-style );text-decoration:var( --e-global-typography-text-text-decoration );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}.elementor-893 .elementor-element.elementor-element-623a2aa > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-893 .elementor-element.elementor-element-623a2aa img{width:100%;max-width:100%;}.elementor-893 .elementor-element.elementor-element-a912153{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:45px;--margin-bottom:128px;--margin-left:0px;--margin-right:0px;}.elementor-893 .elementor-element.elementor-element-a912153.e-con{--flex-grow:0;--flex-shrink:0;}@media(max-width:1080px){.elementor-widget-breadcrumbs{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-893 .elementor-element.elementor-element-03be1f1{font-size:14px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}}@media(max-width:767px){.elementor-widget-breadcrumbs{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-893 .elementor-element.elementor-element-03be1f1 > .elementor-widget-container{margin:10px 0px 0px 0px;}.elementor-893 .elementor-element.elementor-element-03be1f1{font-size:18px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );word-spacing:var( --e-global-typography-text-word-spacing );}}/* Start custom CSS for html, class: .elementor-element-96f6c96 */.leadership {
     font-family: montserrat, sans-serif;
}


.profile-grid {
  text-align: center;
  display: grid;
  grid-gap: 30px;
}

.profile-grid-a {
  grid-template-columns: repeat(3, 1fr);
}
.profile-grid-b {
  grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
  margin: 40px 0;
}
.profile-grid-c {
  grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
}

.profile {
  cursor: pointer;
  align-self: end;
}

.profile .photo {
  height: 320px;
  background-image: url("https://www.yellowcakeplc.com/wp-content/uploads/2023/09/bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 6px solid #ffe071;
  border-bottom: 0;
}
.photo img {
  width: 60%;
  height: 100%;
  object-fit: cover;
}

.profile .info {
  background-color: #52a574;
  color: #fff;
  text-align: left;
  padding: 10px;
  padding-right: 15px;
  position: relative;
}
.info img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
}
.info h3 {
  font-size: 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.info p {
  font-size: 14px;
}

.bio {
  position: fixed;
  top: 30%;
  z-index: 999;
  background-color: #fff;
  width: 1300px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  grid-gap: 40px;
  transition: all 0.3s ease;
}
.bio.hidden {
  transform: scale(0);
}
.bio .photo {
  align-self: flex-start;
  background-image: url("https://www.yellowcakeplc.com/wp-content/uploads/2023/09/bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 6px solid #ffe071;
  text-align: center;
}
.bio .photo img {
  height: 100%;
  width: 80%;
  object-fit: cover;
}
.bio .close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.bio .line {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}
.bio h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #52a574;
}
.bio h3:nth-of-type(2) {
  margin-bottom: 30px;
}
.bio p {
  color: #5c5c5c;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.bio p:last-child {
  margin: 0;
}

@media only screen and (max-width: 1310px) {
  .bio {
    width: 90%;
    left: 5%;
  }
}

@media only screen and (max-width: 1100px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spacer {
    display: none;
  }
  .bio {
    top: 20%;
    padding: 50px 30px;
    grid-template-columns: 1fr 2.5fr;
    grid-gap: 20px;
  }
  .bio .photo {
    border: 4px solid #ffe071;
  }
  .bio .photo img {
    width: 100%;
  }

  .bio h3 {
    font-size: 20px;
  }
  .bio h3:nth-of-type(2) {
   font-weight: 400;
    margin-bottom: 20px;
  }
}


@media only screen and (max-width: 800px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile {
    width: 60%;
    margin: 0 auto;
  }
  .bio {
    /* position: absolute; */
    display: block;
    width: 100%;
    left: 0;
    padding: 20px;
    top: 5%;
    max-height: 90%;
    overflow-y: scroll;
  }
  .bio .close {
    top: 10px;
    right: 10px;
  }
  .bio .photo {
    width: 40%;
    margin-bottom: 20px;
  }
    .bio p {
    font-size: 17px;
  }
  .info p {
  font-size: 16px;
}
}

@media only screen and (max-width: 700px) {
  .profile {
    width: 70%;
  }
}

@media only screen and (max-width: 540px) {
  .profile {
    width: 80%;
  }
}

@media only screen and (max-width: 440px) {
  .profile {
    width: 100%;
  }
}/* End custom CSS */