/* team layout css for eepl */
.team-layout-one .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* background: linear-gradient(
  0deg,
  rgba(155, 203, 80, 1) 0%,
  rgba(244, 108, 84, 0.41) 16%,
  rgba(244, 108, 84, 0) 37%
); */
background: linear-gradient(0deg, rgb(54 56 51) 0%, rgba(244, 108, 84, 0.41) 16%, rgba(244, 108, 84, 0) 37%);
  z-index: 1;
}
.team-layout-one .card {
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}
.team-layout-one .card .card-text {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, max-height 0.5s ease-in-out;
  max-height: 0;
  margin-bottom: 0;
}
.team-layout-one .card .card-text p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-layout-one .card .card-text p {
  margin-bottom: 0;
}
.team-layout-one .card img {
  width: 100%;
  aspect-ratio: 259 / 297;
  object-fit: cover;
  object-position: top;
}
.team-layout-one .card .inner-content {
  transition: all 0.5s;
  position: absolute;
  bottom: 8px;
  transform: translateY(0);
  left: 16px;
  right: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-layout-one .card:hover .card-text {
  opacity: 1;
  visibility: visible;
  max-height: 400px;
  line-height: 24px;
}
.team-layout-one .card:hover .card-text p {
  margin-bottom: 0;
}
.team-layout-one .card:hover .card-body {
  background-image: linear-gradient(
  to top,
  #9bcb50, 
  #a5d14f,   
  #b0d94e,   
  #bade4d,   
  #c6e64c    
);
  transition: all 0.5s;
  /* animation: elastic-bounce 1.2s ease-in-out infinite; */
  display: flex;
  flex-direction: column;
}
.team-layout-one .card:hover .inner-content {
  /* animation: elastic-bounce 0.5s ease-in-out; */
  transform: translateY(-50%);
  top: 50%;
  bottom: 0;
}
.team-layout-one .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
  to top,
 #9bcb50,   
  #a7d056,  
  #b4d95b,   
  #c1e260,   
  #cde965 );
  transition: opacity 0.5s ease-in;
  opacity: 0;
}
.team-layout-one{
  justify-content: center;
}
.team-layout-one .card:hover::before {
  opacity: 1;
  /* Fade in on hover */
}
.aboutTeam > .wpb_column > .vc_column-inner{
  padding-top: 0px !important;
}
@media (max-width: 620px) {
  .team-layout-one .card:hover .card-text{
    line-height: 18px;
  }  
}