/* Infinite Scroll Ticker - Frontend */

.ist-ticker {
    width: 100%;
    height: var(--ist-height, 50px);
    color: var(--ist-text-color, #ffffff);
    font-family: var(--ist-font, Arial, sans-serif);
    font-size: var(--ist-font-size, 18px);
    font-weight: var(--ist-font-weight, 400);
    letter-spacing: var(--ist-letter-spacing, 0);
    line-height: var(--ist-height, 50px);
    overflow: hidden;
    position: relative;
    z-index: 9999;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    /* background set via inline dynamic CSS (solid or gradient) */
}

.ist-ticker.ist-position-top {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.ist-ticker.ist-position-bottom {
    position: relative;
}

.ist-ticker-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ist-ticker-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    transform: translateX(0);
}

.ist-ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.ist-item {
    display: inline-block;
    padding: 0 0.15em;
    color: var(--ist-text-color, #ffffff);
}

.ist-sep {
    display: inline-block;
    padding: 0 0.25em;
    /* color, font-size, font-weight set inline per separator */
    line-height: inherit;
    vertical-align: baseline;
}

@media (prefers-reduced-motion: reduce) {
    .ist-ticker-track {
        animation: none !important;
        transform: none !important;
    }
}

.ist-ticker * {
    box-sizing: border-box;
}
