.empcard {
  /* transform: scale(1.25); */
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 0.25rem;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.empcard ::after {
  background-color: #4aa1e0;
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to right, #ef6b39 10%, #d33f3f 90%);
  height: 8px;
}

.empcard a {
  width: 100%;
  height: 100%;
}
.empcard .card-img {
  filter: none;
  opacity: 1;
  aspect-ratio: 0.81;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: blur(2px); */
  /* opacity: 0.5; */
  transition: all 0.2s ease;
}

.empcard :hover .card-img {
  transform: scale(1.1);
  transition: all 0.3s ease;
  filter: brightness(1.1);
}

.empcard .card-img-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 5px;
  background-image: url(../../img/teacher/card-border-chat.svg),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
  background-repeat: no-repeat;
  /* background-size: contain, auto; */
  background-size: 100% 100%, auto;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12% 13% 20% 6%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.empcard .card-img-overlay {
  opacity: 1;
}
.empcard h3 {
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}
.empcard .card-title {
  color: #fff;
  font-size: 19.5px;
  margin-bottom: 4px;
  padding: 3px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.empcard .card-title:hover {
  background-color: #e04a4f !important;
}
.empcard .card-catalogue {
  color: #fff;
  font-size: calc(14px * 0.8);
  font-weight: 700;
  line-height: calc(24px * 0.8);
  margin-bottom: calc(15px * 0.8);
  transition: all 0.3s ease-in-out;
}

.empcard .card-text {
  color: #fff;
  font-size: calc(18px * 0.8);
  line-height: calc(28px * 0.8);
  -webkit-line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
  transition: display 0.3s ease;
}
.card:hover .card-text {
  display: -webkit-box;
  transition: display 0.3s ease;
}
.empcard .email {
  white-space: nowrap;
}

/* @media (max-width: 992px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
} */
