a {
  img {
    transition: transform 0.3s ease;
  }

  &:hover img {
    transform: scale(1.05);
  }
}

figure {
  border-radius: 1rem;
  overflow: hidden;

  img {
    width: 100%;
    height: auto;
    display: block;
  }
}
