/**
 * Orisa Marquee Headline widget + Home 10 hero cursor trail layer.
 * Loaded only on pages that use the orisa-marquee-headline widget.
 */

.orisa-marquee-headline {
  overflow: hidden;
  width: 100%;
}

.orisa-marquee-headline__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  animation-name: orisa-marquee-headline-scroll;
  animation-duration: 24s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.orisa-marquee-headline__text {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  white-space: nowrap;
  /* Default look matching the Orisa HTML templates; Elementor
     Typography/Color controls on the widget override these. */
  font-family: "DM Sans", sans-serif;
  font-size: clamp(56px, 13.75vw, 198px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--at-neutral-950);
}

@keyframes orisa-marquee-headline-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orisa-marquee-headline__track {
    animation: none;
  }
}

/* Cursor trail layer injected by orisa-home10-hero.js into the hero root. */
.orisa-h10-trail {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* Keep our sizing above Elementor's `.elementor img` reset. */
.orisa-h10-trail .orisa-h10-trail__img {
  position: absolute;
  width: auto;
  height: auto;
  max-width: clamp(110px, 10vw, 180px);
  max-height: clamp(110px, 10vw, 180px);
  object-fit: contain;
  border-radius: 6px;
  transform-origin: center;
  pointer-events: none;
  will-change: transform;
  opacity: 0.95;
}
