.worker-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.worker-item:hover{
  text-shadow: none;
}

.worker-item:hover .worker-item-img:before{
  opacity: 0;
}

.worker-item-img{
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 308 / 400;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.worker-item-img:before{
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
  background: #98807682;
  transition: .3s all ease-in-out;
}

.worker-item-img img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worker-item-info{
  max-width: 276px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--linen);
  z-index: 3;
  margin-top: -41px;
}

.worker-item-name{
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--black);
}

.worker-item-desc{
  color: var(--black);
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
}

@media(max-width: 960px){
  .worker-item-info{
    max-width: 200px;
  }
}

@media(max-width: 768px){
  .worker-item-info{
    max-width: 288px;
  }

}