.image-promotion__content {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  background-color: rgb(var(--color-background));
  border-radius: 8px;
}

.image-promotion__content .image-promotion__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.image-promotion__content .image-promotion__bg-mage {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: rgb(var(--color-image-background));
  border-radius: 8px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-promotion__content > *:hover .image-promotion__bg-mage {
  transform: scale(1.035);
}

.image-promotion__content .image-promotion__content-inner {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 1;
  width: 100%;
  padding: 48px 24px 28px;
  line-height: 1.15;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.62) 100%);
  transform: none;
}

.image-promotion__content .image-promotion__heading {
  font-family: var(--heading-font);
  font-size: var(--heading-size);
  font-weight: var(--heading-font-weight);
  color: rgb(var(--heading-color));
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.image-promotion__content .image-promotion__subheading {
  margin-top: 6px;
  font-family: var(--subheading-font);
  font-size: var(--subheading-size);
  font-weight: var(--subheading-font-weight);
  color: rgb(var(--subheading-color));
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media (max-width: 959px) {
  .image-promotion__content .image-promotion__heading {
    font-size: var(--heading-size-mobile);
  }

  .image-promotion__content .image-promotion__subheading {
    font-size: var(--subheading-size-mobile);
  }
}
