html[data-softail-product] #main #softail-banner .sf-hero-photo img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}
html[data-softail-product] #main #softail-banner > .hero-copy {
  max-width: 400px;
}
html[data-softail-product] #main #softail-banner {
  --banner-shade: linear-gradient(270deg, rgb(13 13 14 / .84), rgb(13 13 14 / .46) 24%, transparent 53%);
}
html[data-softail-product] #main #softail-banner .hero-copy > p:not(.hero-brand) {
  max-width: 35ch;
}
@media (min-width: 721px) and (orientation: landscape), (min-width: 1001px) {
  html[data-softail-product] #main #softail-banner[data-copy-side="right"] {
    /* Match the overview's 1536px wrap and its inner page gutter. */
    --frame-margin: max(0px, calc((100vw - 1536px) / 2));
    --estimate-gutter: calc(var(--frame-margin) + var(--model-pad));
    --estimated-image-width: max(
      calc((100svh - var(--header-height)) * var(--photo-aspect)),
      calc((100vw - var(--estimate-gutter)) / .762)
    );
    padding-inline: calc(max(0px, (100% - 1536px) / 2) + var(--model-pad));
    min-height: max(
      calc(100svh - var(--header-height)),
      calc((100vw - var(--estimate-gutter)) * .48)
    );
    overflow: clip;
  }
  html[data-softail-product] #main #softail-banner .sf-hero-photo img {
    /* The original front tire starts 23.8% across the bridge photograph. */
    --wheel-gutter: calc(max(0px, (100cqw - 1536px) / 2) + var(--model-pad));
    --scene-width: max(
      calc(100cqh * var(--photo-aspect)),
      calc((100cqw - var(--wheel-gutter)) / .762),
      calc(var(--wheel-gutter) / .238)
    );
    --scene-height: calc(var(--scene-width) / var(--photo-aspect));
    position: absolute;
    left: calc(var(--wheel-gutter) - var(--scene-width) * .238);
    top: calc((100cqh - var(--scene-height)) / 2);
    width: var(--scene-width);
    height: var(--scene-height);
    max-width: none;
  }
  html[data-softail-product] #main #softail-banner > .hero-copy {
    /* Allow enough room for the full model name at the shared headline size. */
    --model-name-width: clamp(235px, 25.5vw, 434px);
    max-width: clamp(var(--model-name-width), calc(min(100vw, 1536px) - 2 * var(--model-pad) - .43 * var(--estimated-image-width) - 20px), max(400px, var(--model-name-width)));
  }
  html[data-softail-product] #main #softail-banner h1 {
    white-space: nowrap;
  }
}
html[data-softail-product] #main .livery-grid[data-cards="2"] {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
html[data-softail-product] #main #components .cvo-more-row .cvo-link {
  justify-content: start;
  gap: 0;
  font: inherit;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #20211f60;
  cursor: pointer;
}
html[data-softail-product] #main #components {scroll-margin-top:106px}
@media(max-width:720px), (max-width:1000px) and (orientation:portrait) {
  html[data-softail-product] #main #components {scroll-margin-top:78px}
  html[data-softail-product] #main #softail-banner[data-mobile-copy="top"] {
    --banner-shade: none;
    --sportster-sky-ink: #142536;
    background: #adbfce;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(min-content, 1fr) min(65.22vw, 58svh);
    gap: 0;
    padding: 0;
  }
  html[data-softail-product] #main #softail-banner .sf-hero-photo img {
    object-position: center bottom;
  }
  html[data-softail-product] #main #softail-banner[data-mobile-copy="top"] > .hero-copy {
    grid-area: 1 / 1;
    align-self: center;
    width: 100%;
    max-width: 100%;
    padding: 22px var(--model-pad);
    text-shadow: none;
  }
  html[data-softail-product] #main #softail-banner :is(h1, h1 span, p, .text-link) {
    color: var(--sportster-sky-ink);
    text-shadow: none;
  }
  html[data-softail-product] #main .livery-grid[data-cards="2"] {grid-template-columns:minmax(0,1fr)}
}

@media (max-width: 720px) and (max-height: 650px) {
  html[data-softail-product] #main #softail-banner[data-mobile-copy="top"] > .hero-copy {
    padding-block: 10px 11px;
  }
  html[data-softail-product] #main #softail-banner .hero-copy h1 {
    margin-block: 7px 10px;
  }
  html[data-softail-product] #main #softail-banner .hero-copy p:not(.hero-brand) {
    line-height: 1.35;
  }
}

#sf-part .sportster-part-media {
  display: grid;
  gap: 12px;
}
#sf-part .sportster-part-media > img {
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin-inline: auto;
  object-fit: contain;
  background: #fff;
}
#sf-part #sf-part-photo-options[hidden] {
  display: none;
}
@media (max-width: 720px) {
  #sf-part .sportster-part-media > img {
    width: min(100%, 32svh);
  }
}

html[data-softail-product] #main #installed-detail {
  scroll-margin-top: 106px;
}
html[data-softail-product] #main .sportster-case .softail-installation {
  max-width: none;
}
html[data-softail-product] #main .sportster-case .sf-detail-photo {
  display: block;
  cursor: zoom-in;
}
html[data-softail-product] #main .sportster-case .sf-detail-photo img {
  aspect-ratio: auto;
}
html[data-softail-product] #main .sportster-case .sf-detail-photo .enlarge {
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
}
html[data-softail-product] #main .sportster-case .sf-detail-photo .aether-arrow-ne {
  width: 18px;
  height: 18px;
}
html[data-softail-product] #main .sportster-case-crops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
html[data-softail-product] #main .sportster-case-crops figure {
  margin: 0;
}
html[data-softail-product] #main .sportster-case-crops figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--body-ink);
}
@media (min-width: 581px) {
  #sf-gallery[data-installed-view] .sf-gallery-stage {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }
}
@media (min-width: 1001px) {
  html[data-softail-product] #main .sportster-case .quality-detail__copy {
    grid-column: 2;
    grid-row: 1;
  }
  html[data-softail-product] #main .sportster-case .softail-installation {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  html[data-softail-product] #main .sportster-case .sf-detail-inner {
    row-gap: 20px;
  }
  html[data-softail-product] #main .sportster-case .quality-detail__copy {
    align-self: end;
  }
  html[data-softail-product] #main .sportster-case-crops {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
}
@media (max-width: 1000px) {
  html[data-softail-product] #main #installed-detail {
    scroll-margin-top: 86px;
  }
  html[data-softail-product] #main .sportster-case .sf-detail-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
}

@media (max-width: 580px) {
  html[data-softail-product] #main .sportster-case-crops {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}
