.nt-ticker-wrapper-ajax {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative; /* Default position */
    z-index: 1000; /* Ensure it stays above other content */
    background: #fff; /* Optional: Prevent content overlap */
}

.nt-ticker-wrapper-ajax.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Visual distinction */
}

.nt-ticker-placeholder {
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.nt-ticker-spaceholder {
    width: 100%;
    box-sizing: border-box;
}

.nt-loading-text-911 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
}

.nt-ticker {
    display: inline-flex;
    white-space: nowrap;
    width: fit-content;
    animation: ticker 30s linear infinite;
    will-change: transform;
    transform: translateX(0);
}

.nt-ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
    font-weight: bold;
}

.nt-ticker-item a {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.nt-ticker-item a:hover {
    text-decoration: underline;
}

.nt-ticker-divider {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    color: #000000;
    font-size: 17px;
    flex-shrink: 0;
    font-weight: bold;
}

@keyframes ticker {
    0% {
        transform: translateX(var(--wrapper-width, 100%));
    }
    100% {
        transform: translateX(calc(-1 * var(--single-content-width, 100%)));
    }
}

@media (min-width: 600px) {
    .nt-ticker-wrapper-ajax {
        max-width: 1280px;
    }
    .nt-ticker-wrapper-ajax.fixed {
        max-width: 100%; /* Ensure fixed ticker spans full width */
        left: 50%;
        transform: translateX(-50%); /* Center the fixed ticker */
    }
    .nt-ticker-placeholder {
        max-width: 1280px;
    }
}

.nt-ticker-wrapper-ajax:hover .nt-ticker {
    animation-play-state: paused;
}