/* The first view invites the rider in; diagnosis and model photos remain below. */
.rider-redesign main { display: block; }
.rider-redesign .entry-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 490px;
  margin: 22px 0 10px;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  border-radius: 14px;
  background: #101f2e;
  color: #fff;
}
.entry-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0b1b2df5 0%, #0b1b2dd9 37%, #0b1b2d66 65%, #0b1b2d14 100%);
}
.entry-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.entry-hero-copy { position: relative; z-index: 1; max-width: 820px; }
.rider-redesign .entry-hero .eyebrow { margin: 0; color: #ffbd55; font-size: 13px; letter-spacing: .17em; }
.rider-redesign .entry-hero h1 {
  max-width: 680px;
  margin: 19px 0 18px;
  color: #fff;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.rider-redesign .entry-hero p.entry-lede {
  max-width: 590px;
  margin: 0 0 30px;
  color: #f4f6f8;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.42;
}
.entry-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 27px;
  border-radius: 8px;
  background: #ffb238;
  color: #102333;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 25px #030e1f55;
}
.entry-start:hover { background: #ffc361; }
.entry-start:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.rider-redesign .entry-safety {
  margin: 0 0 26px;
  padding: 11px 15px;
  border-left: 4px solid #d98227;
  border-radius: 6px;
  background: #fff2dd;
  color: #39230d;
  font-size: 14px;
  line-height: 1.45;
}
.entry-safety a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.entry-safety a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.rider-redesign .rider-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; }
.rider-redesign .rider-grid > .ebike-band { grid-column: auto; grid-row: auto; position: static; margin-top: 0; }
.ebike-band:not(.has-selected-bike) > .ebike-illustration { display: none !important; }
.rider-redesign .workspace { min-width: 0; }
@media (min-width: 901px) {
  /* The parts sidebar occupies column two. Keep that track explicit. */
  .rider-redesign.parts-page .rider-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .rider-redesign .rider-grid { grid-template-columns: 1fr; gap: 24px; }
  .rider-redesign .entry-hero { min-height: 560px; margin: 16px 0 10px; }
  .entry-hero::before { background: linear-gradient(90deg, #0b1b2df2, #0b1b2db5 56%, #0b1b2d40); }
  .entry-hero-image { object-position: 64% center; }
  .rider-redesign .rider-grid > .ebike-band { grid-row: auto; }
}
@media (max-width: 540px) {
  .rider-redesign .entry-hero { min-height: 575px; margin: 16px -20px 10px; padding: 34px 24px 50px; border-radius: 0; align-items: flex-end; }
  .entry-hero::before { background: linear-gradient(0deg, #0b1b2dfb 0%, #0b1b2dd9 40%, #0b1b2d22 100%); }
  .entry-hero-image { object-position: 64% center; }
  .rider-redesign .entry-hero h1 { font-size: clamp(42px, 11vw, 56px); }
  .rider-redesign .entry-hero .entry-lede { font-size: 18px; }
}
