/* One horizontal sweep, without moving the cards or replacing their entrance. */
html .ebt-imported-page .dm-hover-line { position: relative; }
html .ebt-imported-page .dm-hover-line::before {
  content: ''; position: absolute; inset: -1px 0 auto; height: 2px;
  background: var(--dm-accent, #3da5ff); transform: scaleX(0); transform-origin: left center;
  transition: transform .35s ease; pointer-events: none;
}
html .ebt-imported-page .dm-hover-line:is(:hover, :focus-within)::before { transform: scaleX(1); }
html .ebt-imported-page .dm-careers-benefits.dm-horizontal-lines { border-top: 0; padding-top: 0; gap: 32px; }
html .ebt-imported-page .dm-careers-benefits.dm-horizontal-lines > .dm-benefit,
html .ebt-imported-page .dm-careers-benefits.dm-horizontal-lines > .dm-benefit:first-child { border-left: 0; border-bottom: 0; border-top: 1px solid var(--dm-line); padding: 24px 0 0; }

/* The first four numbers remain tied to the actual diagram. Fleet and routine
   care cover the entire vehicle; do not imply a fifth mechanical system. */
html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2.5fr; gap: 28px; }
html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole h3 { margin: 0; align-self: start; }
html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 28px; }
html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole li { padding: 0; }
html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole .dm-vehicle-number { font-size: 10px; }
html .ebt-imported-page .dm-community-title-three-lines { max-width: none; }
@media (max-width: 1100px) {
  html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole { grid-template-columns: 1fr; gap: 18px; }
  html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html .ebt-imported-page .dm-complete-care-groups .dm-vehicle-group--whole ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html .ebt-imported-page .dm-hover-line::before { transition: none; }
}
