/* Shared vertical scroll cue for service heroes, including the narrow layout. */
body[data-site-page] .hero-scroll-cue {
  flex-direction:column;
  align-items:center;
  gap:14px;
  width:24px;
  padding:0;
  color:#f5f5f6;
  text-decoration:none;
}
body[data-site-page] .hero-scroll-cue-label {
  writing-mode:vertical-rl;
  font:500 12px/1 'DM Sans',sans-serif;
  letter-spacing:.22em;
  text-transform:uppercase;
}
body[data-site-page] .hero-scroll-cue-rail {
  position:relative;
  flex-shrink:0;
  width:1px;
  height:72px;
  overflow:hidden;
  background:rgba(245,245,246,.45);
}
body[data-site-page] .hero-scroll-cue-rail::after {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:1px;
  height:32px;
  background:linear-gradient(to bottom,transparent,#f5f5f6);
  animation:shared-scroll-cue-travel 2.6s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes shared-scroll-cue-travel {
  0%,18% { transform:translateY(-100%); }
  100% { transform:translateY(225%); }
}
@media (max-width:680px) {
  /* Override the legacy per-page mobile hide and fixed hero heights. */
  body[data-site-page] .hero-scroll-cue {
    display:flex!important;
    position:absolute;
    right:20px!important;
    bottom:40px!important;
    z-index:3;
    animation:none;
    opacity:1;
    transform:none;
  }
  body[data-site-page] :is(.hero,.hero-training):has(.hero-scroll-cue) { height:auto!important; }
  body[data-site-page] :is(.wrap,.hero-grid,.hero-main):has(> .hero-scroll-cue) {
    position:relative;
    height:auto!important;
    min-height:100svh;
    padding-bottom:40px!important;
  }
  /* Keep the proposition and its CTAs beside the cue, with a clear right gutter. */
  body[data-site-page] :is(.hero,.hero-training):has(.hero-scroll-cue) .editorial-hero-panel {
    width:calc(100% - 48px)!important;
    min-width:0;
    box-sizing:border-box;
  }
}
@media (max-width:380px) {
  body[data-site-page] :is(.hero,.hero-training):has(.hero-scroll-cue) .hero-cta :is(.btn,.ap-legacy-cta) {
    font-size:14px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body[data-site-page] .hero-scroll-cue-rail::after { animation:none; transform:translateY(50%); }
}
