﻿


/*.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    flex: 1;
}*/

.ticker-move a {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

    .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: #ff6600;
    color: var(--text-light);
    overflow: hidden;
    width: 100%;
}

.ticker-label {
    background: black;
    color: var(--secondary);
    padding: 6px 15px 0px;
    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: 10px;
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 15px solid black;
        z-index: 999;
    }

@media (max-width: 768px) {
    .ticker-move {
        animation-duration: 80s; 
    }

    .sticky-news-bar {
      
        top: 95px !important;
       
    }
}

.sticky-news-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 160px;
    z-index: 999;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}







.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    flex: 1;
}


/*.ticker-move {
    display: inline-flex;
    white-space: nowrap;
    width: max-content;
    padding-left: 100%;
    animation: ticker 110s linear infinite;
    margin-top: 6px;
    will-change: transform;
}*/



.ticker-move {
    display: inline-flex;
    white-space: nowrap;
    width: max-content;
    margin-top: 6px;
    will-change: transform;

    animation-name: ticker;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 60s;
}

    .ticker-move:hover {
        animation-play-state: paused;
    }

    .ticker-move span {
        display: inline-block;
        margin: 0 20px;
    }

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
    /* content duplicate है इसलिए -50% */
}