/* ============================================================================
   Infinite Scrolling Announcement Bar
   ============================================================================ */

.cohoma-scrolling-bar {
    width: 100%;
    overflow: hidden;
    background-color: #5f2e0d;
    padding: 7px 0 3px 0;
    position: relative;
    z-index: 1;
    display: block;
    text-decoration: none;
}

.cohoma-scrolling-bar__track {
    display: flex;
    white-space: nowrap;
    animation: cohoma-scroll 30s linear infinite;
    will-change: transform;
}

.cohoma-scrolling-bar__item {
    flex-shrink: 0;
    font-family: "Josefin Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cohoma-scroll-highlight {
    font-weight: 700;
    color: #FFD700;
}

@keyframes cohoma-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover for readability */
.cohoma-scrolling-bar:hover .cohoma-scrolling-bar__track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cohoma-scrolling-bar__item {
        font-size: 11px;
    }
    .cohoma-scrolling-bar {
        padding: 6px 0;
    }
}
