﻿.card-img-top {
    width: 400px;
    height: 160px;
    object-fit: contain;
}

.news-ticker {
    overflow: hidden;
    white-space: nowrap;
    background-color: #0d6efd; 
    color: #ffffff; 
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 15s linear infinite;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}


