.hero__media--promotion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  width: min(100%, 510px);
  padding-block: 96px 12px;
}

.hero__media--promotion > .media-shell,
.home-promotion .media-shell,
.hero__media--promotion .phone-preview {
  width: 100%;
  min-width: 0;
}

.home-promotion {
  position: relative;
  min-width: 0;
  /* Match the first video without changing its width or position. */
  width: calc(100% / 0.82);
}

.home-promotion video[hidden] {
  display: none;
}

.home-promotion__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 16px;
  background: linear-gradient(155deg, #fbefef, #e5eff5);
  color: var(--color-logo-blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.home-promotion__placeholder svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.home-promotion__placeholder svg path {
  fill: currentColor;
  stroke: none;
}

.home-promotion__heading {
  position: absolute;
  inset: auto 0 calc(100% + 16px);
  z-index: 1;
  text-align: center;
}

.home-promotion__heading h2 {
  display: inline-block;
  margin: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--color-logo-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 72, 80, 0.3);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-promotion__heading p {
  margin: 12px 0 0;
  color: var(--color-logo-blue);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .home-promotion {
    transform: translateX(clamp(0px, calc((100vw - 1280px) / 2), 148px));
  }
}

@media (max-width: 479px) {
  .hero__media--promotion {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 128px;
    padding-top: 0;
  }

  .hero__media--promotion > .media-shell {
    max-width: 258px;
  }

  .home-promotion {
    width: min(100%, 258px);
  }
}
