.gb-news-ticker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-top: none;
    border-bottom: none;
    background: #ffffff;
    overflow: hidden;
}

.gb-news-ticker--top-border {
    border-top: 1px solid #e5e7eb;
}

.gb-news-ticker--bottom-border {
    border-bottom: 1px solid #e5e7eb;
}

.gb-news-ticker__label {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1f2937;
    white-space: nowrap;
}

.gb-news-ticker__viewport {
    flex: 1 1 auto;
    overflow: hidden;
    min-width: 0;
}

.gb-news-ticker__track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: gb-news-ticker-scroll var(--gb-news-ticker-duration, 30s) linear infinite;
    will-change: transform;
}

.gb-news-ticker__item {
    color: #111827;
    text-decoration: none;
    font-size: 0.95rem;
}

.gb-news-ticker__item:not(:last-child)::after {
    content: "\2022";
    margin-left: 2rem;
    color: #6b7280;
    text-decoration: none;
}

.gb-news-ticker__item:hover,
.gb-news-ticker__item:focus {
    text-decoration: underline;
}

@keyframes gb-news-ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gb-news-ticker__track {
        animation: none;
    }
}
