
/* Each handset displays one photograph. Text contrast is set per subject. */
html body #main section.hero[data-mobile-banner][aria-labelledby] {
  position:relative!important; isolation:isolate; overflow:hidden;
  display:flex!important; flex-direction:column; justify-content:flex-start!important;
  padding:0!important; margin:0; gap:0!important; box-sizing:border-box;
  width:100%!important; height:min(calc(100svh - 78px),202vw)!important;
  min-height:0!important; max-height:none!important; background:none!important;
}
html body #main section.hero[data-mobile-banner]::before,
html body #main section.hero[data-mobile-banner]::after,
html body #main section.hero[data-mobile-banner] > figure::before,
html body #main section.hero[data-mobile-banner] > figure::after,
html body #main section.hero[data-mobile-banner] > .hero-copy::before,
html body #main section.hero[data-mobile-banner] > .hero-copy::after { content:none!important; }
html body #main section.hero[data-mobile-banner] > figure,
html body #main section.hero[data-mobile-banner] > figure picture {
  display:block!important; position:absolute!important; inset:0!important; z-index:0;
  margin:0!important; padding:0!important; width:100%!important; height:100%!important;
  max-width:none!important; max-height:none!important; min-height:0!important;
  overflow:hidden; aspect-ratio:auto!important; transform:none!important; mask-image:none!important; background:none!important;
}
html body #main section.hero[data-mobile-banner] > figure img {
  display:block!important; position:absolute!important; inset:0!important; margin:0!important;
  width:100%!important; height:100%!important; max-width:none!important; max-height:none!important;
  object-fit:cover!important; object-position:50% 88%!important; transform:none!important; filter:none!important; mask-image:none!important;
}
html body #main section.hero[data-mobile-banner] > .hero-copy {
  display:block!important; position:relative!important; inset:auto!important; z-index:2;
  flex:0 0 auto!important; align-self:flex-start!important; width:100%!important;
  box-sizing:border-box; max-width:620px!important; min-height:0!important; height:auto!important;
  margin:0!important; padding:clamp(16px,3svh,30px) clamp(20px,6vw,44px) 12px!important;
  background:none!important; text-align:left!important; text-shadow:var(--type-shadow,0 1px 3px #222b)!important;
}
html body #main section.hero[data-mobile-banner] .hero-copy :is(p,h1,h1 span,.text-link) { color:var(--banner-text-ink,#fff)!important; text-shadow:inherit!important; }
html body #main section.hero[data-mobile-banner] .hero-brand { opacity:1!important; }
html body #main section.hero[data-mobile-banner] .hero-copy h1 { margin:5px 0 8px!important; }
html body #main section.hero[data-mobile-banner] .hero-copy h1 span:not(.model-brand,.aprilia-heading-brand) { margin-top:5px!important; }
html body #main section.hero[data-mobile-banner] .banner-intro { margin:0!important; line-height:1.43; }
html body #main section.hero[data-mobile-banner] .hero-actions { display:flex!important; position:static!important; inset:auto!important; margin-top:10px!important; transform:none!important; }
html body #main section.hero[data-mobile-banner] .hero-actions a.text-link { border-color:currentColor!important; }
html body #main section.hero[data-mobile-banner="s1000xr"][aria-labelledby] { justify-content:flex-end!important; }
html body #main section.hero[data-mobile-banner="s1000xr"] > figure img { object-position:50% 10%!important; }
html body #main section.hero[data-mobile-banner="s1000xr"] > .hero-copy {padding-bottom:26px!important;}
[data-mobile-banner="rs660"] { --banner-text-ink:#fff8ef; --type-shadow:0 1px 3px #351909; }
[data-mobile-banner="rsv4"] { --banner-text-ink:#201c25; --type-shadow:0 1px 2px #ece2c987; }
[data-mobile-banner="z-h2"] { --banner-text-ink:#142b44; --type-shadow:none; }
[data-mobile-banner="1290-super-duke"] { --banner-text-ink:#2e211b; --type-shadow:none; }
[data-mobile-banner="tmax-560"] { --banner-text-ink:#162e39; --type-shadow:none; }
[data-mobile-banner="low-rider-s"] { --banner-text-ink:#fff9eb; --type-shadow:0 1px 3px #293c3d; }
[data-mobile-banner="low-rider-st"] { --banner-text-ink:#fff7e7; --type-shadow:0 1px 2px #3a1f19,0 0 4px #40221e; }
[data-mobile-banner="street-bob"] { --banner-text-ink:#fffaf1; --type-shadow:0 1px 2px #372b23,0 0 4px #382820; }
[data-mobile-banner="multistrada"] { --banner-text-ink:#fffaf0; --type-shadow:0 1px 2px #271e15,0 0 4px #302318; }
@media (max-height:695px), (min-width:600px) and (min-aspect-ratio:2/3) {
 html body #main section.hero[data-mobile-banner] > .hero-copy { padding-top:12px!important; }
 html body #main section.hero[data-mobile-banner] .banner-intro { display:none!important; }
 #main .mobile-banner-summary[hidden] { display:block!important; margin:0; padding:20px clamp(20px,6vw,44px); color:inherit; }
}

[data-mobile-banner="s1000xr"] { --banner-text-ink:#fff9ed; --type-shadow:0 1px 3px #38271d; }
@media (max-height:695px), (min-width:600px) and (min-aspect-ratio:2/3) {
  html body #main section.hero[data-mobile-banner] .hero-copy h1 {
    font-size:clamp(28px,6vw,44px)!important; line-height:1.08!important;
  }
  html body #main section.hero[data-mobile-banner] .hero-copy h1 span:not(.model-brand,.aprilia-heading-brand),
  html body #main section.hero[data-mobile-banner] .hero-copy .hero-subtitle {
    font-size:clamp(17px,2.7vw,24px)!important; line-height:1.17!important; margin-block:3px!important;
  }
  html body #main section.hero[data-mobile-banner] .hero-copy .hero-brand {margin:0!important;line-height:1.15!important;}
  html body #main section.hero[data-mobile-banner] .hero-copy .hero-actions {margin-top:4px!important;}
  html body #main section.hero[data-mobile-banner]:where(:not([data-mobile-banner="s1000xr"])) > figure img {object-position:center 76%!important;}
}

@media (min-width:600px) and (min-aspect-ratio:2/3) {
  html body #main section.hero[data-mobile-banner="multistrada"] > figure img {object-position:center 86%!important;}
  html body #main section.hero[data-mobile-banner="street-bob"] > figure img {object-position:center 74.5%!important;}
}
