.image-with-link{
  border:0.1rem solid var(--color-border);
  height:100%;
  max-height:20rem;
  max-width:20rem;
  position:relative;
  width:100%;

  @media (width >= 1024px){
    transition:var(--transition-fast);

    &:hover{
      box-shadow:var(--box-shadow-default);
    }
  }

  img{
    height:100%;
    -o-object-fit:cover;
       object-fit:cover;
    width:100%;
  }
}
