﻿


.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    flex: 1;
}

.ticker-move {
    display: inline-flex;
    white-space: nowrap;
    width: max-content;
    padding-left: 100%; 
    animation: ticker 60s linear infinite;
    margin-top: 6px;
    will-change: transform;
}


    .ticker-move:hover {
        animation-play-state: paused;
    }

    .ticker-move span {
        display: inline-block;
        margin: 0 20px;
    }

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.news-ticker {
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--text-light);
    overflow: hidden;
    width: 100%;
}

.ticker-label {
    background: var(--primary);
    color: var(--secondary);
    padding: 6px 15px 4px;
    position: relative;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 10; 
}

    .ticker-label::after {
        content: "";
        position: absolute;
        right: -15px;
        top: 12px;
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 15px solid var(--primary);
        z-index: 999;
    }

@media (max-width: 768px) {
    .ticker-move {
        animation-duration: 55s; 
    }
}