:root {
    --wise-ticker-bg: #f9f9f9;
    --wise-ticker-color: #333;
    --wise-ticker-font-size: 16px;
}

.wise-news-ticker-wrapper {
    display: flex;
    align-items: center;
    background: var(--wise-ticker-bg);
    border: 1px solid #eee;
    overflow: hidden;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.wise-news-ticker-label {
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    z-index: 2;
    position: relative;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}

.wise-news-ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.wise-news-ticker-inner {
    display: flex;
    white-space: nowrap;
    padding: 10px 0;
}

.wise-ticker-item {
    padding: 0 40px;
    color: var(--wise-ticker-color);
    text-decoration: none;
    font-size: var(--wise-ticker-font-size);
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.wise-ticker-item:hover {
    color: var(--wise-ticker-bg); /* Fallback */
    filter: invert(0.5);
}

/* Animation */
@keyframes wiseTickerScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.wise-news-ticker-wrapper[data-direction="left"] .wise-news-ticker-inner {
    animation: wiseTickerScrollLeft 20s linear infinite;
}

.wise-news-ticker-wrapper[data-direction="right"] .wise-news-ticker-inner {
    animation: wiseTickerScrollRight 20s linear infinite;
}

.wise-news-ticker-wrapper.pause-on-hover:hover .wise-news-ticker-inner {
    animation-play-state: paused;
}

/* Editor Specific */
.is-visualizer .wise-news-ticker-inner {
    animation: none !important;
}

/* Styles */
.wise-news-ticker-wrapper.style-2 {
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.wise-news-ticker-wrapper.style-2 .wise-news-ticker-label {
    border-radius: 50px 0 0 50px;
}
