html[data-model-collection="r1300gs-adventure"] #main {
  --adventure-gutter: max(var(--model-pad), calc((100% - 1380px) / 2));
}

html[data-model-collection="r1300gs-adventure"] #main :is(.section, .related-products, .front-grid) {
  width: 100%;
  max-width: none;
  padding-inline: var(--adventure-gutter);
}
html[data-model-collection="r1300gs-adventure"] #main #quote-section .front-copy {
  padding-inline-start: 0;
}
html[data-model-collection="r1300gs-adventure"] #main section#product-banner.hero {
  padding-inline: var(--adventure-gutter);
}
html[data-model-collection="r1300gs-adventure"] #main section#product-banner.hero > .hero-copy {
  padding-inline-end: 0;
}

html[data-model-collection="r1300gs-adventure"] #main .sf-hero-photo--track img {
  /* Reserve space for the rear wheel when a tall viewport crops the image horizontally. */
  object-position: max(var(--adventure-hero-focus, 100%), calc(-0.34 * (100svh - var(--gs-nav-height)))) center;
}

@media (min-width: 961px) and (max-width: 1100px) {
  html[data-model-collection="r1300gs-adventure"] #main section#product-banner.hero {
    grid-template-columns: minmax(0, 64%) minmax(0, 1fr);
  }
  html[data-model-collection="r1300gs-adventure"] #main .sf-hero-photo--track img {
    --adventure-hero-focus: 83%;
  }
}

@media (max-width: 960px), (max-width: 1100px) and (max-aspect-ratio: 5/4) {
  html[data-model-collection="r1300gs-adventure"] #main section#product-banner.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    padding-inline: 0;
    min-height: calc(100svh - var(--gs-nav-height));
    height: auto;
  }
  html[data-model-collection="r1300gs-adventure"] #main .sf-hero-photo--track {
    position: relative;
    grid-row: 1;
    height: min(43vw, calc(100svh - var(--gs-nav-height) - 230px));
    min-height: 0;
  }
  html[data-model-collection="r1300gs-adventure"] #main .sf-hero-photo--track img {
    object-position: center;
  }
  html[data-model-collection="r1300gs-adventure"] #main section#product-banner.hero > .hero-copy {
    align-self: stretch;
    grid-column: 1;
    grid-row: 2;
    background: #0b0a09;
    padding: 16px var(--adventure-gutter) 23px;
  }
  html[data-model-collection="r1300gs-adventure"] #main .hero::after { content: none; }
}

@media (max-width: 800px) {
  html[data-model-collection="r1300gs-adventure"] #main .sf-hero-photo--track {
    height: min(91vw, calc(100svh - var(--gs-nav-height) - 230px));
  }
}

@media (min-width: 1280px) and (min-aspect-ratio: 3/2) {
  html[data-model-collection="r1300gs-adventure"] #main #product-banner:not([data-alternate-banner]) .sf-hero-photo--track img {
    object-position: max(100%, calc(-0.19 * (100svh - var(--gs-nav-height)))) center;
  }
  html[data-model-collection="r1300gs-adventure"] #main #product-banner:not([data-alternate-banner]) .hero-copy {
    translate: -60px 0;
  }
}

@media (min-width: 1280px) and (width < 1420px) and (min-aspect-ratio: 17/10) {
  html[data-model-collection="r1300gs-adventure"] #main #product-banner:not([data-alternate-banner]) .hero-copy {
    translate: -100px 0;
  }
}

@media (min-width: 1740px) and (min-aspect-ratio: 3/2) {
  html[data-model-collection="r1300gs-adventure"] #main #product-banner:not([data-alternate-banner]) .hero-copy {
    translate: -38px 0;
  }
}

html[data-model-collection="r1300gs-adventure"] #quote-section .front-photo {
  background: var(--front-black);
  mask-image: none;
}
html[data-model-collection="r1300gs-adventure"] #quote-section .front-photo::after {
  content: none;
}
html[data-model-collection="r1300gs-adventure"] #quote-section .front-photo img {
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(to bottom, #000 0 82%, transparent 100%);
}

@media (max-width: 800px) {
  html[data-model-collection="r1300gs-adventure"] #main #quote-section .front-copy {
    padding-inline: 0;
  }
}
