/* Scroll Ticker — base styles. Elementor inline-injects per-instance values
   (gap, padding, colors) via `selectors` in register_controls(). */

.scroll-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.scroll-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.scroll-ticker__set {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    /* gap and margin-right are set by Elementor selectors */
}

.scroll-ticker__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
}

.scroll-ticker__item img {
    display: block;
    max-width: none; /* don't let theme styles squash logos */
}

.scroll-ticker--empty {
    padding: 16px;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 13px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Respect users who'd rather not have things moving. */
@media (prefers-reduced-motion: reduce) {
    .scroll-ticker__track {
        transform: none !important;
    }
}
