/* Careers logo treatment, scoped to the homepage and five requested shared-site routes. */
html[data-revo-careers-branding] #root :is(header, footer) a[href="/"] > img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
html[data-revo-careers-branding] #root header a[href="/"] > img {
  filter: none;
}
html.dark[data-revo-careers-branding] #root header a[href="/"] > img,
html[data-revo-careers-branding] #root footer a[href="/"] > img {
  filter: brightness(0) invert(1);
}
@media (max-width: 700px) {
  html[data-revo-careers-branding] #root :is(header, footer) a[href="/"] > img {
    height: 32px;
  }
}

/* Restore the existing Home labels hidden by the legacy logo-text rules.
   Target menu items only, leaving the logo links and their text unchanged. */
#root header li > a[href="/"] {
  font-size: inherit;
}
#root header li > a[href="/"] > span {
  display: block !important;
}
#root header nav li > a[href="/"] > span {
  display: inline !important;
}

/* Continuous loop for the existing homepage highlights strip. */
#root section.bg-foreground.text-background.py-6.overflow-hidden > .flex.whitespace-nowrap {
  width: max-content;
  animation: revo-highlights-marquee 30s linear infinite;
}
#root section.bg-foreground.text-background.py-6.overflow-hidden > .flex.whitespace-nowrap > div {
  flex: 0 0 auto;
}
#root section.bg-foreground.text-background.py-6.overflow-hidden:hover > .flex.whitespace-nowrap {
  animation-play-state: paused;
}
@keyframes revo-highlights-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  #root section.bg-foreground.text-background.py-6.overflow-hidden > .flex.whitespace-nowrap {
    animation: none;
    width: 100%;
    white-space: normal;
  }
  #root section.bg-foreground.text-background.py-6.overflow-hidden > .flex.whitespace-nowrap > div {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    text-align: center;
  }
  #root section.bg-foreground.text-background.py-6.overflow-hidden > .flex.whitespace-nowrap > div[aria-hidden="true"] {
    display: none;
  }
}