.finnews-ticker {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}

.ticker-section {
    width: 100%;
    margin-bottom: 20px;
}

.ticker-section h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding-left: 10px;
    border-left: 3px solid #2196F3;
}

.ticker-track {
    position: relative;
    background: #f8f9fa;
    padding: 15px 0;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerAnimation linear infinite;
}

@keyframes tickerAnimation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker-track:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.change-red {
    color: #ff4444;
    background: rgba(255,0,0,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.change-green {
    color: #00C851;
    background: rgba(0,200,81,0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.ticker-footer {
    text-align: right;
    font-size: 12px;
    color: #666;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

@media screen and (max-width: 768px) {
    .finnews-ticker {
        font-size: 12px;
        padding: 15px;
    }
    .ticker-section h3 {
        font-size: 14px;
    }
    .ticker-item {
        padding: 6px 12px;
        margin: 0 6px;
    }
}
