/* KickOff breaking news (ported from yalla yk-breaking → ko-breaking) */
.ko-breaking {
    background: #273340;
    color: #fff;
    direction: rtl;
    position: relative;
    z-index: 30;
    font-size: 14px;
    line-height: 1.4;
}

body.has-ko-breaking .menu-section {
    margin-top: 0;
}

.ko-breaking__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.ko-breaking__date {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #e2e8f0;
    font-size: 13px;
}

.ko-breaking__news {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.ko-breaking__label {
    flex: 0 0 auto;
    background: var(--main_color, #16a34a);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 4px;
}

.ko-breaking__viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 1.6em;
    overflow: hidden;
    direction: rtl;
}

.ko-breaking__item {
    display: none;
    color: #fff;
    white-space: nowrap;
    line-height: 1.6em;
    text-decoration: none !important;
}

.ko-breaking__item.is-active {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ko-breaking.is-running .ko-breaking__item.is-active {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: max-content;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
}

a.ko-breaking__item,
a.ko-breaking__item:hover,
a.ko-breaking__item:focus,
a.ko-breaking__item:focus-visible,
a.ko-breaking__item:active,
a.ko-breaking__item:visited {
    color: #fff;
    text-decoration: none !important;
}

@media screen and (max-width: 991px) {
    .ko-breaking__date {
        display: none;
    }

    .ko-breaking__inner {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ko-breaking.is-running .ko-breaking__item.is-active {
        position: relative;
        right: auto;
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        transform: none !important;
    }
}
