.row.posts_short_list{
    padding: 0;
    position: relative;
    margin-top: 0;
    /* clip-path: url(#clip-cont);
    -webkit-clip-path: url(#clip-cont); */
}
.row.posts_short_list.overlap{
    margin-top: 0 !important;
    z-index: 10;
}
.row.posts_short_list.curve-left::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 157px;
    top: -75px;
    left: 0;
    /* background-color: var(--light-green); */
    z-index: -1;
    border-radius: 100px 0 0 0;
    transform: rotate(3deg);
}
.row.posts_short_list.curve-right::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 157px;
    top: -75px;
    left: 0;
    /* background-color: var(--light-green); */
    z-index: -1;
    border-radius: 0 100px 0 0;
    transform: rotate(-3deg);
}



.row.posts_short_list.bg-dark-green::after{
	background-color: var(--darker-green) !important;
	
}
.row.posts_short_list.bg-gold::after{
	background-color: var(--gold) !important;
	
}

.row.posts_short_list.bg-green::after{
	background-color: var(--green) !important;
	
}

.row.posts_short_list.bg-light-green::after{
	background-color: var(--light-green) !important;
	
}

.row.posts_short_list.bg-lighter-green::after{
	background-color: var(--lighter-green) !important;
	
}

.row.posts_short_list.bg-grey4::after{
	background-color: var(--grey4) !important;
	
}

.row.posts_short_list.bg-dark-grey::after{
	background-color: var(--dark-grey) !important;
	
}

.row.posts_short_list.bg-black::after{
	background-color: var(--black) !important;
	
}


.posts_short_list > .navigate{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 80px auto;
}
.posts_short_list > .navigate > a{
    z-index: 2;
    background: #a6c2b0;
    border-radius: 30px;
    font-size: 17px;
    letter-spacing: 1px;
    color: black;
    /* text-transform: uppercase; */
    padding: 7px 33px;
}
.posts_short_list .shortlist-intro{
    width: 60%;
    margin: 0 auto 40px;
    text-align: center;
}

.latest-posts .post-item-wrapper{
    display: grid;
    gap: 50px;
}
.latest-posts.style-side .post-item-wrapper{
    grid-template-columns: 1fr 1fr;
}
.latest-posts.style-stacked .post-item-wrapper{
    grid-template-columns: 1fr;
    gap: 0;
}

.latest-posts .post-item-wrapper p.post-date,
.latest-posts .post-item-wrapper p.post-categories{
    color: #333F48; 
}
.latest-posts.style-side .post-item-wrapper p.post-date,
.latest-posts.style-side .post-item-wrapper p.post-categories
{
  font-weight: 400;
}
.latest-posts.style-stacked .post-item-wrapper p.post-date,
.latest-posts.style-stacked .post-item-wrapper p.post-categories{
  font-weight: 100;
}

.latest-posts .post-item .post-img{
    /* width: 600px; */
    height: 388px;
    /* border-radius: 40px; */
    background-size: cover;
    background-position: center;
}
.latest-posts.style-stacked .post-item .post-img{
  height: 245px;
}
.latest-posts.post-carousel .post-item > a{
    text-decoration: none !important;
}
.latest-posts.post-carousel{
    visibility: hidden;
}
.latest-posts.post-carousel.slick-initialized{
    visibility: visible;
}
.latest-posts.post-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px; 
}



.slider-arrows{
    display: flex;
    width: 60%;
    justify-content: space-between;
    position: absolute;
}
.slider-arrows .arr{
    border: solid #004f59;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    width: 13px;
    height: 13px;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.slider-arrows .arr:hover{
    width: 16px;
    height: 16px;
}
.slider-arrows .arr-prev{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.slider-arrows .arr-next{
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}



    #team-modal-shortlist .carousel-arrows {
    display: flex;
    width: 85px;
    justify-content: space-between;
    position: absolute;
    width: 97%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0px);
  }
  #team-modal-shortlist .carousel-arrows .arrow-prev {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }
  #team-modal-shortlist .carousel-arrows .arrow {
    border: solid var(--gold);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    width: 13px;
    height: 13px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    visibility: visible;
  }
  #team-modal-shortlist .carousel-arrows .arrow-next {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  #team-modal-shortlist .carousel-arrows .arrow.first,
  #team-modal-shortlist .carousel-arrows .arrow.last {
    /* display: none; */
    visibility: hidden;
  }


.latest-posts .post-item p,
.shortlist-subtitle{
    color:white;
    /* font-family: 'Lato'; */
    /* text-transform: uppercase; */
    font-size: 23px;
    margin-bottom: 0;
}
.post-more{
  color: #333F48;
  font-family: "freight-sans-pro", sans-serif !important;
  font-size: 18px;

}
.shortlist-subtitle{
    width: 100%;
    color: #222221 !important;
    font-size: 23px !important;
    margin-bottom: 30px !important;
    line-height: 1.4;
    font-weight: 400;
    text-transform: none;
}
.latest-posts .post-title{
    color: #DB7B51;
    font-weight: 600;
    font-size: 45px !important;
    margin-top: 0;
    margin-bottom: 25px !important;
}
.latest-posts .post-title.team-style{
    margin-bottom: 0;
}
.latest-posts.style-stacked .post-title {
    font-size: 23px !important;
}
.latest-posts.post-carousel .post-title {}
.latest-posts .post-excerpt{
    /* display: -webkit-box;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis; */
    color: #222221;
    font-size: 23px;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 400;
}
.latest-posts.style-stacked .post-excerpt{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}
.latest-posts.post-carousel .post-excerpt,.latest-posts .post-excerpt.team-style {
    color: #222221;
}
.latest-posts.image-large .post-img{
    width: 100%;
    background-position: center;
    background-size: auto 110%;
    background-repeat: no-repeat;
    /* animation: zoomout 17s forwards;
    -ms-animation: zoomout 17s forwards;
    -webkit-animation: zoomout 17s forwards;
    -moz-animation: zoomout 17s forwards; */
    transition: all .5s ease-in-out;
    position: relative;
}
.latest-posts.image-small .post-img{
  width: 120px;
  height: 120px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  /* animation: zoomout 17s forwards;
  -ms-animation: zoomout 17s forwards;
  -webkit-animation: zoomout 17s forwards;
  -moz-animation: zoomout 17s forwards; */
  transition: all .5s ease-in-out;
  position: relative;
}
.latest-posts.image-small .read-more.team-member-shortlist{
  width: 120px;
}
.latest-posts.post-carousel .post-image-wrapper,
.post-image-wrapper.member-photo-container-shortlist{
    margin-bottom: 20px;

}
.latest-posts.image-large .post-img::after{
    content: "";
    display: block;
    padding-bottom: 100%;
}
.posts_short_list .post-shortlist{
    width: 65%;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}
h2.shortlist-title{
    font-weight: 600;
    font-size: 50px;
    margin: 0 0 30px 0;
    display: inline-block;
    color: #DB7B51;
}
.posts_short_list > a.btn{
    margin: 80px 12%;
    display: inline-block;

}
.posts_short_list .latest-posts.post-carousel .post-item{
    padding-right: 40px;
    cursor: pointer;
}
.posts_short_list .latest-posts.post-carousel.style-side .post-item{
  padding-right: 0px;
}
.posts_short_list .post-item > a.read-more{
    /* font-family: 'lato'; */
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
}
.post-image-wrapper{
    overflow: hidden;
    border-radius: 40px;
}
.posts_short_list .post-item > a.read-more:hover .post-img{
    transform: scale(1.05);
}
.posts_short_list.bg-gold .post-item > a.read-more{
    color: var(--green);
}
.posts_short_list.bg-gold> a.btn-gold{
    color: var(--green) !important;
    border: 1px solid var(--green) !important;
}
.posts_short_list.bg-gold> a.btn-gold:hover{
    background-color: var(--green) !important;
    color: white !important;
    
}
.posts_short_list.bg-gold h2.shortlist-title{
    color: var(--green);
}

@keyframes zoomout {
    0% {
      -ms-transform: scale3d(1.5, 1.5, 1.5) translate3d(-0px, 0px, 0px);
      -webkit-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
      -o-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
      -moz-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
      transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
      animation-timing-function: linear;
    }
  
    100% {
      -ms-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
      -webkit-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
      -o-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
      -moz-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
      transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    }
  }


.posts_short_list .btn-light:hover{
  background-color: #004f59 !important;
  color: white !important;
}
.posts_short_list .btn-dark:hover{
  background-color: white !important;
  color: #004f59 !important;
}


  .team-modal-shortlist {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 47, 39, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 11;
    overflow-y: auto;
  }
  .member-photo-container-shortlist{
    position: relative;
  }
  .member-photo-container-shortlist::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background-image: url('/wp-content/uploads/2024/11/team-plus.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: all .2s ease-in-out;
  }

  .team-member-shortlist:hover .member-photo-shortlist  {
    opacity: 0.5;
  }
  .team-member-shortlist:hover .member-photo-container-shortlist::before{
    opacity: 1;
  }



  body.team-modal-shortlist-open {
    overflow: hidden;
  }
  .team-modal-shortlist #modal-member-photo{
    width: 100%;
    background-position: center;
    background-size: auto 115%;
    background-repeat: no-repeat;
  }
  .team-modal-shortlist #modal-member-photo{
    position: absolute !important;
    height: 350px;
    width: 350px;
    top: -178px;
    left: 17%;
  }
  .team-modal-shortlist #modal-member-photo{
    position: relative;
  }
  .team-modal-shortlist #modal-member-photo::after{
    content: "";
    display: block;
    padding-bottom: 100%;
  }
  .team-modal-shortlist .modal-bio-info{
    width: 100%;
    margin-left: auto;
  }

  .team-modal-shortlist .modal-content {
    background: var(--pale-grey);
    padding: 70px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    /* max-width: 55%; */
    width: 1180px;
    padding-top: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -30%);
  }
  
  .team-modal-shortlist .modal-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
  }
  
  .team-modal-shortlist .modal-content h3 {
    font-size: 1.5em;
    margin: 0;
  }
  
  .team-modal-shortlist .modal-content p {
    font-size: 1em;
    color: #555;
  }
  
  .team-modal-shortlist .close-modal {
    position: absolute;
    top: -80px;
    right: 5px;
    font-size: 1.5em;
    cursor: pointer;
  }
  .team-modal-shortlist .close-modal img{
    width: 40px;
    margin-bottom: 0;
  }
  .team-modal-shortlist #modal-excerpt {
    /* font-family: var(--lato); */
    font-weight: 600;
    line-height: 1.5;
    font-size: 17px;
    text-align: left;
    /* column-count: 2;
    column-gap: 80px;       
    height: 10em;           
    overflow: hidden; */

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  
  .team-modal-shortlist #modal-excerpt p {
    margin: 0;
    line-height: 1.5;       /* Adjust line-height for readability */
  }
  .team-modal-shortlist h3#modal-name{
    color: var(--green);
    font-size: 35px;
    text-align: left;
  }
  .team-modal-shortlist p#modal-position{
    color: var(--gold);
    font-size: 25px;
    /* font-family: 'Lato'; */
    font-weight: 500;
    margin: 0 0 30px;
    line-height: 1;
    text-align: left;
  }
  .team-modal-shortlist .modal-top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 55px;
  }
  .team-modal-shortlist .modal-photo-container{
    width: 50%;
  }
  .team-modal-shortlist .modal-links img{
    /* width: 50px; */
    height: 35px;
    margin-bottom: 0;
  }
  .team-modal-shortlist .modal-links{
    display: flex;
    align-items: center;
  }
  .team-modal-shortlist .modal-links a{
    text-decoration: none !important;
  }
  .team-modal-shortlist .modal-links a:first-child{
    margin-right: 30px;
    transform: translate(0px, 3px);
  }
  .team-modal-shortlist .modal-bottom{
    width: 100%;
    height: 100%;
  }



/* TESTIMONIAL MODAL POPUP */
.test-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 47, 39, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 11;
  overflow-y: auto;
}
.test-modal .modal-bio-info{
  width: 100%;
  margin-left: auto;
}

.test-modal .modal-content {
  background: var(--pale-grey);
  padding: 70px;
  border-radius: 30px;
  text-align: center;
  position: relative;
  width: 1180px;
  padding-top: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.test-modal .modal-content img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.test-modal .modal-content h2 {
  font-size: 1.5em;
  margin: 0;
}

.test-modal .modal-content p {
  font-size: 1em;
  color: #555;
  text-align: left;
}

.test-modal .close-modal {
  position: absolute;
  top: -80px;
  right: 5px;
  font-size: 1.5em;
  cursor: pointer;
}
.test-modal .close-modal img{
  width: 40px;
  margin-bottom: 0;
}
.test-modal #modal-excerpt {
  /* font-family: var(--lato); */
  font-weight: 600;
  line-height: 1.5;
  font-size: 17px;
  text-align: left;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.test-modal #modal-excerpt p {
  margin: 0;
  line-height: 1.5;       
}
.test-modal h2#modal-name{
  color: var(--green);
  font-size: 35px;
  text-align: left;
  margin-bottom: 20px;
}
.test-modal p#modal-position{
  color: var(--grey);
  font-size: 19px;
  /* font-family: 'Lato'; */
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
  text-align: left;
}
.test-modal .modal-top{
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 0;
}
.test-modal .modal-photo-container{
  width: 50%;
}
.test-modal .modal-links img{
  /* width: 50px; */
  height: 35px;
  margin-bottom: 0;
}
.test-modal .modal-links{
  display: flex;
  align-items: center;
}
.test-modal .modal-links a{
  text-decoration: none !important;
}
.test-modal .modal-links a:first-child{
  margin-right: 30px;
  transform: translate(0px, 3px);
}
body.test-modal-open {
  overflow: hidden;
}
.test-modal .modal-bottom{
  width: 100%;
  height: 100%;
}
.modal-bio-info h3#modal-name{
  margin: 0;
  color: var(--green);
  font-size: 35px;
  text-align: right;
  font-family: var(--unbounded);
  font-weight: 400 !important;
}
.modal-bio-info h4#modal-position{
  color: var(--gold);
  font-size: 25px;
  /* font-family: 'Lato'; */
  font-weight: 500 !important; 
  margin: 0 0 30px;
  line-height: 1;
  text-align: right;
}
#test-modal-shortlist .carousel-arrows {
  display: flex;
  width: 85px;
  justify-content: space-between;
  position: absolute;
  width: 97%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 0px); 
}
#test-modal-shortlist .carousel-arrows .arrow-prev {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
#test-modal-shortlist .carousel-arrows .arrow {
  border: solid var(--gold);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  width: 13px;
  height: 13px;
  cursor: pointer;
  transition: all .3s ease-in-out;
  visibility: visible;
}
#test-modal-shortlist .carousel-arrows .arrow-next {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#test-modal-shortlist .carousel-arrows .arrow.first,
#test-modal-shortlist .carousel-arrows .arrow.last {
  /* display: none; */
  visibility: hidden;
}
#test-modal-shortlist .test-modal-logo img{
  width: 159px;
  margin: 0;
  position: absolute;
  left: 73px;
  top: -50px;
}
/* END OF TESTIMONIAL MODAL POPUP */

.latest-posts.style-side .post-item-wrapper p.post-categories{
  line-height: 1.4;
}




  @media only screen and (max-width: 1600px) {
    .team-modal-shortlist .modal-content {
        width: 1000px;
    }
  }
  @media only screen and (max-width: 1366px) {
    .team-modal-shortlist .modal-content {
        width: 850px;
    }
    .team-modal-shortlist #modal-member-photo {
        left: 10%;
    }

    .latest-posts.style-side .post-title{
      font-size: 37px !important;
    }
    .latest-posts.style-side .post-excerpt,
    .latest-posts.style-side .post-item-wrapper p.post-categories{
      font-size: 19px;
    }
    
  }
@media all and (max-width: 1199px) {
    .team-modal-shortlist #modal-excerpt {
        font-size: 14px;
    }
.latest-posts.post-list{
    grid-template-columns: repeat(3, 1fr);
}
}
@media only screen and (max-width: 1024px) {
  .posts_short_list .post-shortlist{
    width: 75%;
  }

    .team-modal-shortlist #modal-excerpt{
        display: block;
    }
    .team-modal-shortlist .modal-content {
        width: 640px;
    }
    .team-modal-shortlist #modal-member-photo {
        height: 250px;
        width: 250px;
        top: -86px;
    }
    .team-modal-shortlist h3#modal-name {
        font-size: 27px;
    }
    .team-modal-shortlist p#modal-position {
        font-size: 20px;
    }
    .team-modal-shortlist .modal-top {
        margin-bottom: 40px;
    }
  }
@media all and (max-width: 900px) {
  .latest-posts.style-side .post-title{
    font-size: 34px !important;
  }
  .latest-posts.style-side .post-excerpt, .latest-posts.style-side .post-item-wrapper p.post-categories {
    font-size: 17px;
  }

    .latest-posts.post-list{
        grid-template-columns: repeat(2, 1fr);
    }
    .shortlist-subtitle {
        width: 100%;
    }
    .row.posts_short_list.overlap{
        margin-top: -20px !important;
    }
}
@media only screen and (max-width: 850px) {
    .team-modal-shortlist .modal-content {
        padding: 45px;
    }
    .team-modal-shortlist .modal-content {
        width: 560px;
    }
    .team-modal-shortlist .modal-top {
        gap: 0px;
    }
    .team-modal-shortlist #modal-member-photo {
        height: 200px;
        width: 200px;
        top: -60px;
    }
  }
@media all and (max-width: 800px) {
  .latest-posts.style-side .post-excerpt{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .latest-posts.style-side .post-item-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .latest-posts.style-side .post-item-wrapper > .post-link{
    padding: 0 20px;
  }

    .posts_short_list > .navigate{
        flex-direction: column-reverse;
    }
    .carousel-arrows {
        margin-bottom: 40px;
    }
    /* .slider-arrows {
      margin-bottom: 20px;
    } */
}
@media only screen and (max-width: 767px) {
  h2.shortlist-title{
    font-size: 45px;
  }
  .latest-posts.style-side .post-title, .latest-posts.style-side .post-item-wrapper p.post-categories {
    text-align: center;
  }
    .team-modal-shortlist .modal-top{
        display: block;
        padding-top: 128px;
    }
    .team-modal-shortlist .modal-links {
        justify-content: center;
    }
    .team-modal-shortlist p#modal-position {
        text-align: center;
    }
    .team-modal-shortlist #modal-member-photo {

        left: 50%;
        transform: translate(-50%, 0px);
    }
    .team-modal-shortlist .modal-content {
        width: 450px;
        /* top: 110px; */
    }
    .team-modal-shortlist #modal-excerpt,.team-modal-shortlist h3#modal-name{
        text-align: center;
    }
    .latest-posts .post-excerpt {
      text-align: center;
    }
  }
  @media only screen and (max-width: 640px) {
    .latest-posts.style-stacked .post-item-wrapper .post-link,
    .latest-posts.style-stacked .post-item-wrapper .post-more{
      text-align: center;
    }
    .posts_short_list .latest-posts.post-carousel.style-stacked .post-item{
      padding-right: 0; 
    }
    .team-modal-shortlist .modal-content {
        width: 380px;
    }
    .team-modal-shortlist .modal-bottom{
        height: Calc(100% + 100px);
      }
  }
@media all and (max-width: 540px) {
    .latest-posts.post-list{
        grid-template-columns: repeat(1, 1fr);
    }
    .team-modal-shortlist .modal-content {
        width: 300px;
    }
    .latest-posts.style-side .post-item .post-img{
      height: 300px;
    }

}
@media only screen and (max-width: 425px) {
  .posts_short_list > .navigate > a{
    padding: 7px 15px;
  }
    .team-modal-shortlist .modal-content {
        width: 225px;
    }
    .team-modal-shortlist .close-modal img {
        width: 27px;
    }
    .team-modal-shortlist .close-modal {
        top: -40px;
    }
  }
  @media only screen and (max-width: 375px) {
    .team-modal-shortlist .modal-content {
        width: 170px;
    }
    .team-modal-shortlist #modal-member-photo {
        height: 150px;
        width: 145px;
        top: -50px;
    }
    .team-modal-shortlist .modal-top {
        padding-top: 85px;
    }
  }