.news-marquee-container {
    width: 100%;
    display: flex;
    font-family: poppins;
}

.news-marquee-header {
    width: 10%;
    display: flex;
    align-items: center;
}

.news-marquee-badge {
    width: 100%;
    background-color: #FF001E;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    color: #FFF;
    text-align: center;
}

.news-marquee-body {
    width: 90%;
    display: flex;
    overflow: hidden;
    position: relative;
}

.news-marquee-content {
    display: flex;
    padding: 4px;
    animation: slide 10s linear infinite;
    animation-play-state: running; /* Ensure animation is running by default */
}

.news-marquee-item {
    min-width: 100%; /* Adjust this if you have more items */
    display: flex;
}

.news-marquee-item-date {
    background-color: #518BBB;
    padding: 5px 15px;
    font-size: 12px;
    color: #FFF;
}

.news-marquee-item-content {
    display: flex;
    margin-left: 5px;
    padding: 5px;
    font-size: 12px;
}

.news-marquee-item-content > a {
    text-decoration: none;
    color: #000;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Adjust this to -50% if you duplicate items */
    }
}

/* Pause the animation when hovering over the marquee */
.news-marquee-content:hover {
    animation-play-state: paused;
}

@media screen and (max-width: 480px) {
    .news-marquee-header {
        width: 30%;
    }
    .news-marquee-body {
        width: 70%;
    }
}