.card {
  display: grid;
}

.imageContainer {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: var(--Corner-radius-md);
  overflow: hidden;
  transition: border-radius 0.3s ease-in-out;
}

.image {
  border-radius: var(--Corner-radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.3s ease-in-out,
    border-radius 0.3s ease-in-out;
}

.card:hover,
.card:hover .imageContainer,
.card:hover .image {
  border-radius: var(--Corner-radius-lg);
}

.card:hover .image {
  transform: scale(1.05);
}

.promoTag {
  position: absolute;
  top: 14px;
  left: 14px;
  text-transform: uppercase;
}

.content {
  display: flex;
  padding: var(--Spacing-x-one-and-half);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--Spacing-x-one-and-half);
  align-self: stretch;
}

@media (min-width: 768px) {
  .content {
    padding: var(--Spacing-x2) var(--Spacing-x2) var(--Spacing-x2) 0;
  }
}
