.newsbar-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.newsbar-track {
    display: flex;
    white-space: nowrap;
    animation: child-newsbar-scroll 18s linear infinite;
}

/* Text + icon base style (Elementor will override typography & color) */
.newsbar-item,
.newsbar-icon {
    display: inline-flex;
    align-items: center;
    margin: 0 60px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.newsbar-icon svg {
    width: 20px;
    height: 20px;
}

/* Smooth infinite scroll */
@keyframes child-newsbar-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Optional: subtle fade edges for a more premium look */
.newsbar-wrapper::before,
.newsbar-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.newsbar-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.newsbar-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}
