/* EnergyBike v4 — two directions, isolated to new homepage */
#eb-home .eb-v4-directions{padding-top:60px;padding-bottom:66px}
#eb-home .eb-v4-directions__header{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:24px}
#eb-home .eb-v4-directions__header h2{font-size:clamp(28px,3vw,40px);margin:7px 0 10px;line-height:1.13;letter-spacing:-.04em}
#eb-home .eb-v4-directions__header p{font-size:14px;color:#627492}
#eb-home .eb-v4-directions__all{color:#2952dc;font-weight:800;font-size:13px;white-space:nowrap;margin-bottom:5px}
#eb-home .eb-v4-directions__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#eb-home .eb-v4-direction{position:relative;min-width:0;min-height:320px;overflow:hidden;border:1px solid #dfe7f5;border-radius:22px;padding:31px 30px;background:linear-gradient(125deg,#f6f9ff,#eaf1ff);isolation:isolate;transition:box-shadow .2s,border-color .2s}
#eb-home .eb-v4-direction:hover{border-color:#b8c9f3;box-shadow:0 12px 30px rgba(34,75,147,.09)}
#eb-home .eb-v4-direction--ride{background:linear-gradient(125deg,#f7f9ff,#f0f3ff)}
#eb-home .eb-v4-direction__copy{position:relative;z-index:2;max-width:62%;min-height:255px;display:flex;align-items:flex-start;flex-direction:column}
#eb-home .eb-v4-direction__eyebrow{display:flex;align-items:center;gap:8px;letter-spacing:.065em;text-transform:uppercase;font-size:10px;font-weight:850;color:#3159bd}
#eb-home .eb-v4-direction__eyebrow svg{width:18px;height:18px;flex-shrink:0}
#eb-home .eb-v4-direction h3{margin:17px 0 11px;font-size:clamp(25px,2.4vw,34px);line-height:1.08;letter-spacing:-.05em;color:#172541;hyphens:none;overflow-wrap:normal;word-break:normal}
#eb-home .eb-v4-direction p{font-size:13px;line-height:1.6;color:#61718b;max-width:290px}
#eb-home .eb-v4-direction__links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:23px}
#eb-home .eb-v4-direction__links a{display:inline-flex;align-items:center;justify-content:center;min-height:41px;border-radius:10px;padding:10px 13px;border:1px solid #cbd9f7;background:#fff;color:#2450c9;font-size:12px;font-weight:800;transition:background .15s,transform .15s}
#eb-home .eb-v4-direction__links a:first-child{background:#2850dc;color:white;border-color:#2850dc}
#eb-home .eb-v4-direction__links a:hover{transform:translateY(-2px);background:#e8efff;color:#1b3ca8}
#eb-home .eb-v4-direction__links a:first-child:hover{background:#1b3eaf;color:white}
#eb-home .eb-v4-direction__art{position:absolute;inset:0;z-index:1;pointer-events:none}
#eb-home .eb-v4-direction__art:before{content:"";position:absolute;right:-60px;top:4px;width:340px;height:340px;border-radius:50%;background:#dce7ff66}
#eb-home .eb-v4-direction__img{position:absolute;object-fit:contain;object-position:center;filter:drop-shadow(0 13px 15px rgba(24,40,70,.12))}
#eb-home .eb-v4-direction__img--generator{width:44%;height:72%;right:3%;bottom:4%}
#eb-home .eb-v4-direction__img--station{width:37%;height:39%;right:25%;bottom:0}
#eb-home .eb-v4-direction__img--bike{width:43%;height:81%;right:0;bottom:2%}
#eb-home .eb-v4-direction__img--kit{width:38%;height:45%;right:23%;bottom:2%}
@media(max-width:1050px){#eb-home .eb-v4-direction__copy{max-width:72%}#eb-home .eb-v4-direction__img--generator{right:-5%}#eb-home .eb-v4-direction__img--bike{right:-7%}}
@media(max-width:800px){#eb-home .eb-v4-directions__grid{grid-template-columns:1fr}#eb-home .eb-v4-direction{min-height:280px}#eb-home .eb-v4-direction__copy{min-height:215px;max-width:65%}#eb-home .eb-v4-direction__img--generator{right:4%}#eb-home .eb-v4-direction__img--bike{right:1%}}
@media(max-width:480px){#eb-home .eb-v4-directions{padding-top:45px;padding-bottom:45px}#eb-home .eb-v4-directions__header{align-items:flex-start;gap:12px}#eb-home .eb-v4-directions__header h2{font-size:28px}#eb-home .eb-v4-directions__header p{font-size:12px}#eb-home .eb-v4-directions__all{font-size:11px;margin-top:24px}#eb-home .eb-v4-direction{padding:22px 18px;min-height:320px}#eb-home .eb-v4-direction__copy{min-height:270px;max-width:76%}#eb-home .eb-v4-direction h3{font-size:27px}#eb-home .eb-v4-direction p{font-size:12px;max-width:225px}#eb-home .eb-v4-direction__eyebrow{font-size:9px}#eb-home .eb-v4-direction__links{gap:7px}#eb-home .eb-v4-direction__links a{font-size:11px;min-height:37px;padding:8px 10px}#eb-home .eb-v4-direction__img--generator{width:48%;right:-10%;bottom:10%}#eb-home .eb-v4-direction__img--station{right:12%;width:36%;bottom:3%}#eb-home .eb-v4-direction__img--bike{right:-13%;width:48%;bottom:8%}#eb-home .eb-v4-direction__img--kit{right:9%;bottom:2%;width:39%}}

/* EB DIRECTIONS GRADIENT IMAGES */
#eb-home .eb-v4-direction--power {
  background: linear-gradient(90deg, rgba(250,252,255,.98) 0%, rgba(250,252,255,.90) 31%, rgba(250,252,255,.32) 59%, rgba(250,252,255,0) 80%), url('assets/direction-power-gradient.png') center center / cover no-repeat;
}
#eb-home .eb-v4-direction--ride {
  background: linear-gradient(90deg, rgba(250,252,255,.98) 0%, rgba(250,252,255,.90) 31%, rgba(250,252,255,.32) 59%, rgba(250,252,255,0) 80%), url('assets/direction-ride-gradient.png') center center / cover no-repeat;
}
#eb-home .eb-v4-direction .eb-v4-direction__art { display:none; }
#eb-home .eb-v4-direction h3 { font-size:clamp(28px,2.6vw,36px); }
#eb-home .eb-v4-direction p { font-size:15px; line-height:1.55; color:#344964; }
#eb-home .eb-v4-direction .eb-v4-direction__eyebrow { font-size:11px; }
#eb-home .eb-v4-direction .eb-v4-direction__links a { font-size:13px; }
@media(max-width:480px) {
 #eb-home .eb-v4-direction h3 { font-size:29px; }
 #eb-home .eb-v4-direction p { font-size:14px; }
 #eb-home .eb-v4-direction .eb-v4-direction__links a { font-size:12px; }
 #eb-home .eb-v4-direction--power, #eb-home .eb-v4-direction--ride { background-position:center; }
}

/* EB DIRECTIONS LIGHT GRADIENT */
#eb-home .eb-v4-direction--power,
#eb-home .eb-v4-direction--ride {
  background:
    radial-gradient(
      ellipse at 85% 100%,
      rgba(80, 145, 255, .20) 0%,
      rgba(80, 145, 255, 0) 55%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f3f7ff 48%,
      #dbe9ff 100%
    );
  border-color: #d5e3fb;
}

#eb-home .eb-v4-direction--ride {
  background:
    radial-gradient(
      ellipse at 15% 100%,
      rgba(83, 139, 255, .16) 0%,
      rgba(83, 139, 255, 0) 55%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f3f7ff 48%,
      #dbe9ff 100%
    );
}

#eb-home .eb-v4-direction .eb-v4-direction__art {
  display: none;
}

#eb-home .eb-v4-direction .eb-v4-direction__copy {
  max-width: 100%;
}

#eb-home .eb-v4-direction h3 {
  color: #172541;
}

#eb-home .eb-v4-direction p {
  color: #465d7f;
}

#eb-home .eb-v4-direction:hover {
  border-color: #aac5f5;
  box-shadow: 0 14px 32px rgba(34, 75, 147, .12);
}

/* EB DIRECTIONS SATURATED COMPACT */
#eb-home .eb-v4-direction--power,
#eb-home .eb-v4-direction--ride {
  min-height: 230px;
  padding: 26px 30px;
  background:
    radial-gradient(
      ellipse at 88% 105%,
      rgba(45, 105, 235, .30) 0%,
      rgba(45, 105, 235, 0) 58%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #e8f1ff 42%,
      #9ec3ff 100%
    );
  border-color: #bdd3fa;
}

#eb-home .eb-v4-direction .eb-v4-direction__copy {
  min-height: 0;
  max-width: 100%;
}

#eb-home .eb-v4-direction h3 {
  margin: 14px 0 9px;
}

#eb-home .eb-v4-direction p {
  max-width: 440px;
}

#eb-home .eb-v4-direction .eb-v4-direction__links {
  margin-top: 18px;
  padding-top: 0;
}

@media (max-width: 480px) {
  #eb-home .eb-v4-direction--power,
  #eb-home .eb-v4-direction--ride {
    min-height: 0;
    padding: 22px 18px;
  }

  #eb-home .eb-v4-direction .eb-v4-direction__copy {
    min-height: 0;
  }

  #eb-home .eb-v4-direction p {
    max-width: 100%;
  }
}

/* EB DIRECTIONS HOVER ANIMATION */
#eb-home .eb-v4-direction {
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

#eb-home .eb-v4-direction:hover,
#eb-home .eb-v4-direction:focus-within {
  transform: translateY(-5px);
  border-color: #8cb4f5;
  box-shadow: 0 18px 36px rgba(30, 80, 180, .18);
}

#eb-home .eb-v4-direction .eb-v4-direction__links a {
  transition:
    transform .2s ease,
    background-color .2s ease,
    box-shadow .2s ease;
}

#eb-home .eb-v4-direction .eb-v4-direction__links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(30, 80, 180, .18);
}

@media (prefers-reduced-motion: reduce) {
  #eb-home .eb-v4-direction,
  #eb-home .eb-v4-direction .eb-v4-direction__links a {
    transition: none;
  }

  #eb-home .eb-v4-direction:hover,
  #eb-home .eb-v4-direction:focus-within,
  #eb-home .eb-v4-direction .eb-v4-direction__links a:hover {
    transform: none;
  }
}
