.news-ticker-container {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    position: relative;
}

.news-ticker-label {
    background: #b20c0c;
    color: white;
    padding: 0 15px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
}

.news-ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-ticker-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    position: relative;
}

.news-ticker-item {
    display: flex;
    align-items: center;
    padding: 0 15px;
    flex-shrink: 0;
    gap: 10px;
    height: 100%;
}

.ticker-image {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    overflow: hidden;
}

.ticker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.ticker-date {
    font-size: 0.8em;
    opacity: 0.7;
    white-space: nowrap;
}

.ticker-category {
    background: #666;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7em;
    white-space: nowrap;
}

/*.ticker-title {
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}*/
.ticker-title {
  text-decoration: none;
  font-weight: 500;
	white-space: nowrap; 
}

.ticker-title:hover {
    text-decoration: underline;
}

.news-ticker-controls {
    display: flex;
    padding: 0 10px;
    z-index: 2;
}

.news-ticker-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 5px;
}

.news-ticker-controls button:hover {
    opacity: 0.7;
}

.news-ticker-empty {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border: 1px dashed #ddd;
}

/* Image size variations */
.ticker-image-small {
    width: 30px;
    height: 30px;
}

.ticker-image-medium {
    width: 50px;
    height: 50px;
}

.ticker-image-large {
    width: 70px;
    height: 70px;
}

/* Responsive design */
@media (max-width: 768px) {
    .news-ticker-container {
        flex-direction: column;
        height: auto !important;
    }
    
    .news-ticker-label {
        width: 100%;
        justify-content: center;
        padding: 5px;
    }
    
    .news-ticker-content {
        width: 100%;
    }
    
    .news-ticker-item {
        flex-direction: row;
        align-items: center;
        padding: 8px 10px;
        gap: 8px;
    }
    
    .ticker-image {
        width: 35px;
        height: 35px;
    }
    
    .ticker-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .ticker-title {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .news-ticker-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ticker-image {
        align-self: flex-start;
    }
    
    .ticker-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 3px;
    }
    
    .ticker-title {
        max-width: 100%;
    }
    
    .news-ticker-controls {
        padding: 5px;
    }
	a.ticker-title br {
    display: none;
}
}