/* ============================================================
   FaWoWa - ticker.css
   Nieuwsticker animatie
   ============================================================ */

.news-ticker-row {
    background: var(--dark);
    color: white;
    padding: 1rem 0;
    overflow: hidden;
}

.ticker-wrap {
    display: flex;
    align-items: center;
}

.ticker-label {
    flex-shrink: 0;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 2rem;
    z-index: 2;
    box-shadow: 5px 0 10px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.ticker-scroll-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-scroll {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-animation 80s linear infinite;
}

.ticker-scroll:hover { animation-play-state: paused; }

@keyframes ticker-animation {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding-right: 5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.ticker-item p { margin: 0; display: inline; }

.ticker-item::after {
    content: "|";
    margin-left: 2.5rem;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .ticker-label { padding: 0.25rem 0.75rem; margin-right: 1rem; font-size: 0.75rem; }
    .ticker-item { font-size: 0.85rem; padding-right: 3rem; }
}
