/* Plugin CSS for News Ticker */
.str_wrap {
    overflow: hidden;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
    position: relative;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.str_move { 
    white-space: nowrap;
    position: absolute; 
    top: 0; 
    left: 0;
    cursor: move;
    animation: marqueeAnimation 30s linear infinite; /* Slow speed */
}

/* Clone for continuous effect */
.str_move_clone {
    display: inline-block;
    vertical-align: top;
    position: absolute; 
    left: 100%;
    top: 0;
}

/* Mobile Optimization - Slow Speed & Show Heading */
@media screen and (max-width: 768px) {
    .str_move {
        animation-duration: 50s !important; /* Mobile par aur slow */
    }

    .str_wrap h2, 
    .str_wrap .ticker-heading { 
        display: block !important;  /* Ensure heading is visible */
        font-size: 16px; /* Increase size for better visibility */
        font-weight: bold;
        text-align: center;
        margin-bottom: 5px;
        color: #000; /* Make sure text is visible */
    }
}

/* Marquee Animation */

@keyframes marqueeAnimation {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

