/* Styling for the newsticker container */
.newsticker-container {
    overflow: hidden;
    direction: ltr; /* Default direction is left-to-right */
}

/* Styling for the newsticker list */
.newsticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap; /* Ensure items stay in a single line */
    animation: scrollTicker linear infinite; /* Animation for scrolling */
}

/* Animation keyframes for scrolling */
@keyframes scrollTicker {
    0% {
        transform: translateX(100%); /* Start off-screen from the right */
    }
    100% {
        transform: translateX(-100%); /* Move off-screen to the left */
    }
}

/* Styling for each newsticker item */
.newsticker-item {
    display: inline-block; /* Display items side by side */
    margin: 0 10px; /* Adjust spacing between items */
    vertical-align: top;
}

/* Styling for the excerpt */
.newsticker-excerpt {
    font-size: 14px;
    color: #555;
    display: block;
}

/* Styling for the title */
.newsticker-title {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.newsticker-title:hover {
    color: #ff9900;
}
