@media (min-width: 900px) and (aspect-ratio > 4/3) {
  html[data-yamaha-product][data-model-collection="r3"] #main :is(section.hero, #banner.hero)[data-banner-layout="full-bleed"] {
    grid-template-columns: minmax(0, 26%) 1fr;
    min-height: max(calc(100svh - var(--yamaha-header)), 38vw);
  }

  html[data-yamaha-product][data-model-collection="r3"] #main .hero .yamaha-banner-photo > picture {
    --photo-width: max(95cqw, 150cqh);
    --photo-height: calc(var(--photo-width) / 1.5);
    --photo-left: calc(66cqw - var(--photo-width) * .507);
    --photo-top: clamp(calc(100cqh - var(--photo-height)), calc(50cqh - var(--photo-height) * .513), 0px);
  }

  html[data-yamaha-product][data-model-collection="r3"] #main .hero .yamaha-banner-photo img {
    top: var(--photo-top);
    left: var(--photo-left);
    width: var(--photo-width);
  }

  /* Continue the left side of the same track while keeping the rider in the original photo. */
  html[data-yamaha-product][data-model-collection="r3"] #main .hero .yamaha-banner-photo > picture::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--photo-left) + var(--photo-width) * .22 + 12px);
    background: url("/assets/yamaha-review/r3/r3-banner-detail-desktop.jpg") 0 var(--photo-top) / calc(var(--photo-width) + var(--photo-left) / .22) var(--photo-height) no-repeat;
    mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
    content: "";
  }
}
