.tnf-news-ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d8dde1;
    background: #fff;
    color: #17212b;
    font: inherit;
    line-height: 1.5;
}
.tnf-news-ticker.tnf-news-no-label { grid-template-columns: minmax(0, 1fr); }
.tnf-news-ticker .tnf-news-label {
    padding: .65rem 1rem;
    max-width: 20rem;
    box-sizing: border-box;
    background: #17212b;
    color: #fff;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.tnf-news-ticker .tnf-news-window { min-width: 0; overflow-x: auto; }
.tnf-news-ticker .tnf-news-track { display: flex; width: max-content; }
.tnf-news-ticker .tnf-news-group,
.tnf-news-ticker .tnf-news-repeat { display: inline-flex; align-items: center; flex-shrink: 0; }
.tnf-news-ticker .tnf-news-group[aria-hidden="true"] { display: none; }
.tnf-news-ticker .tnf-news-item {
    display: inline-block;
    padding: .65rem .35rem;
    color: inherit;
    font: inherit;
    white-space: nowrap;
    text-decoration: none;
}
.tnf-news-ticker .tnf-news-item:hover { text-decoration: underline; }
.tnf-news-ticker .tnf-news-item:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
    text-decoration: underline;
}
.tnf-news-ticker .tnf-news-separator { margin-inline: 1rem; color: #68737c; }
.tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-window { overflow: hidden; }
.tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-track {
    animation: tnf-news-scroll var(--tnf-news-duration, 45s) linear infinite;
}
.tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-group[aria-hidden="true"] { display: inline-flex; }
.tnf-news-ticker .tnf-news-window:hover .tnf-news-track { animation-play-state: paused; }
.tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-window:focus-within { overflow-x: auto; }
.tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-window:focus-within .tnf-news-track { animation: none; transform: none; }
.tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-window:focus-within .tnf-news-group[aria-hidden="true"],
.tnf-news-ticker .tnf-news-window:focus-within .tnf-news-repeat { display: none; }
@keyframes tnf-news-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
    .tnf-news-ticker { grid-template-columns: minmax(0, 1fr); }
    .tnf-news-ticker .tnf-news-label { grid-column: 1 / -1; max-width: none; padding: .35rem .75rem; }
    .tnf-news-ticker .tnf-news-item { padding-block: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-track { animation: none; transform: none; }
    .tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-window { overflow-x: auto; }
    .tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-group[aria-hidden="true"],
    .tnf-news-ticker .tnf-news-repeat { display: none; }
}
@media print {
    .tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-track { animation: none; transform: none; }
    .tnf-news-ticker .tnf-news-window { overflow: visible; }
    .tnf-news-ticker .tnf-news-group { flex-wrap: wrap; }
    .tnf-news-ticker[data-tnf-news-ready="true"] .tnf-news-group[aria-hidden="true"],
    .tnf-news-ticker .tnf-news-repeat { display: none; }
    .tnf-news-ticker .tnf-news-item { white-space: normal; }
}

.tnf-news-ticker[data-tnf-news-ready="true"][data-tnf-news-direction="right"] .tnf-news-track {
    animation-direction: reverse;
}
