/* Revised FAQ hero: Figma 14266:3888. Keep the legacy vehicle pills unchanged. */
.animated-pills.animated-pills--faq-questions {
  --progress:0;
  margin:0;
  padding:0 0 var(--gaps-spaces-xl);
  overflow:hidden;
  background:var(--openlane-light-silver-2);
}
.animated-pills.animated-pills--faq-questions::after {
  content:"";
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:auto;
  background-image:linear-gradient(to bottom,
    transparent 0%,
    color-mix(in srgb,var(--openlane-light-silver-2) 20%,transparent) 30%,
    color-mix(in srgb,var(--openlane-light-silver-2) 85%,transparent) 65%,
    var(--openlane-light-silver-2) 75%);
  pointer-events:none;
}
/* Match inventory cards: the shared scroll system supplies --progress. */
.animated-pills--faq-questions__rows {
  display:flex;
  flex-direction:column;
  gap:20px;
  opacity:clamp(0,calc(1.2 - var(--progress)),1);
}
/* Six equal sequences keep both sides of the viewport filled at the loop seam. */
.animated-pills--faq-questions__row { display:flex; width:max-content; position:relative; left:50%; transform:translateX(-50%); }
/* Include the gap in each sequence so -100% remains exactly one period. */
.animated-pills--faq-questions__track { display:flex; gap:20px; padding-right:20px; flex-shrink:0; animation:faq-question-drift 100s linear infinite; }
.animated-pills--faq-questions__track > span {
  display:block;
  white-space:nowrap;
  border-radius:60px;
  padding:12px 20px;
  background:var(--openlane-blue-100);
  color:color-mix(in srgb,var(--openlane-onward-blue) 80%,transparent);
  font:400 var(--Font-Body-Large)/1.75 Poppins,sans-serif;
}
.animated-pills--faq-questions:hover .animated-pills--faq-questions__track { animation-play-state:paused; }
.animated-pills--faq-questions[hidden] { display:none!important; }
@keyframes faq-question-drift { from { transform:translateX(-100%); } to { transform:translateX(0); } }
@media(prefers-reduced-motion:reduce) {
  .animated-pills--faq-questions__track { animation:none; }
  .animated-pills--faq-questions__rows { opacity:1; }
}
