.tsm-news-ticker {
    align-items: stretch;
    background: #fff7da;
    border: 1px solid #f1d36b;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(99, 72, 0, 0.08);
    color: #403615;
    display: flex;
    margin: 0 0 18px;
    min-height: 46px;
    overflow: hidden;
}

.tsm-news-ticker-label {
    align-items: center;
    background: #efbd24;
    color: #241b00;
    display: flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0 16px;
    text-transform: uppercase;
    z-index: 1;
}

.tsm-news-ticker-viewport {
    align-items: center;
    display: flex;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.tsm-news-ticker-track {
    animation: tsm-news-scroll 34s linear infinite;
    display: flex;
    flex: 0 0 auto;
    min-width: max-content;
    will-change: transform;
}

.tsm-news-ticker:hover .tsm-news-ticker-track,
.tsm-news-ticker:focus-within .tsm-news-ticker-track {
    animation-play-state: paused;
}

.tsm-news-ticker-item {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    padding: 12px 80px 12px 24px;
    white-space: nowrap;
}

@keyframes tsm-news-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .tsm-news-ticker {
        border-radius: 10px;
        margin-bottom: 14px;
        min-height: 42px;
    }

    .tsm-news-ticker-label {
        padding: 0 10px;
    }

    .tsm-news-ticker-item {
        font-size: 14px;
        padding-bottom: 10px;
        padding-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tsm-news-ticker-track {
        animation: none;
        min-width: 0;
        width: 100%;
    }

    .tsm-news-ticker-item {
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .tsm-news-ticker-item[aria-hidden="true"] {
        display: none;
    }
}

