.news-ticker-container {
    --ticker-red: #d32f2f;
    --ticker-height: 48px;
    --ticker-item-spacing: 28px;
    --ticker-header-width: 180px;
    display: flex;
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}
.news-ticker-container,
.news-ticker-container * { box-sizing: border-box; }
.news-ticker-container[hidden],
.news-ticker-container [hidden] { display: none !important; }
.news-ticker-container .news-ticker-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: var(--ticker-header-width);
    max-width: 46%;
    min-height: max(var(--ticker-height), var(--ticker-min-height, 0px));
    padding: 8px 10px;
    background: #000;
    color: #fff;
}
.news-ticker-container .news-ticker-header::after {
    content: "";
    position: absolute;
    inset: 0 -16px 0 auto;
    width: 17px;
    background: #000;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.news-ticker-container .news-ticker-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font: inherit;
    font-size: 12px;
    text-transform: uppercase;
}
.news-ticker-container .news-ticker-label::before {
    content: "";
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ticker-indicator, var(--ticker-red));
    box-shadow: 0 0 6px var(--ticker-indicator, var(--ticker-red));
}
.news-ticker-container.news-ticker-breaking { --ticker-indicator: #e74c3c; }
.news-ticker-container.news-ticker-missed { --ticker-indicator: #2ecc71; }
.news-ticker-container.news-ticker-trending { --ticker-indicator: #3498db; }
.news-ticker-container .news-ticker-content {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    min-height: var(--ticker-height);
    scrollbar-width: thin;
}
.news-ticker-container.news-ticker-animated .news-ticker-content { overflow: hidden; }
.news-ticker-container .news-ticker {
    display: flex;
    flex: 0 0 auto;
    width: max-content;
    white-space: nowrap;
}
.news-ticker-container.news-ticker-animated .news-ticker { will-change: transform; }
.news-ticker-container .news-ticker-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: var(--ticker-height);
    padding: 0 var(--ticker-item-spacing);
    font: inherit;
}
.news-ticker-container .news-ticker-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 16px;
    transform: translateY(-50%);
    background: var(--ticker-red);
}
.news-ticker-container .news-ticker-title,
.news-ticker-container .news-ticker-link {
    display: inline-block;
    color: #232222;
    font: inherit;
    text-decoration: none;
}
.news-ticker-container .news-ticker-link:hover { text-decoration: underline; }
.news-ticker-container .news-ticker-controls {
    z-index: 2;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background: #fff;
}
.news-ticker-container .news-ticker-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: var(--ticker-height);
    padding: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #232222;
    font: inherit;
    cursor: pointer;
}
.news-ticker-container .news-ticker-next { font-size: 26px; }
.news-ticker-container .news-ticker-link:focus-visible,
.news-ticker-container .news-ticker-content:focus-visible,
.news-ticker-container button:focus-visible { outline: 2px solid var(--ticker-red); outline-offset: -3px; }
@media (max-width: 767px) {
    .news-ticker-container { --ticker-item-spacing: 20px; font-size: 14px; }
    .news-ticker-container .news-ticker-header {
        width: min(var(--ticker-header-width), 88px);
        max-width: 26%;
        padding: 4px 6px;
    }
    .news-ticker-container .news-ticker-header::after { right: -6px; width: 7px; }
    .news-ticker-container .news-ticker-label {
        flex-direction: column;
        gap: 2px;
        width: 100%;
        font-size: 10px;
        text-align: center;
    }
    .news-ticker-container .news-ticker-next { width: 36px; }
}
