.events-container {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1000px;
    padding: 8px 16px;
    color: #fff;
    background: var(--blurred-background);
    border: 1px solid var(--transp-1);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-top: 0;
    margin-bottom: 20px;
    position: sticky;
    top: 98px;
    z-index: 999;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    font-size: 12px;
}

.events-container .news-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.events-container #news-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: news-ticker-scroll 28s linear infinite;
    will-change: transform;
}

.events-container:hover #news-text {
    animation-play-state: paused;
}

@keyframes news-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.events-container a {
    color: var(--accent);
    font-weight: 700;
}

.news-time-ago {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 24px;
    background: #ffffff1a;
    border-radius: 4px;
    padding: 0 8px;
    margin-left: auto;
    color: #fff;
    white-space: nowrap;
}

.logo a img {
    height: 68px;
}

@media(max-width: 599px) {
    .events-container {
        padding: 4px 8px;
        font-size: 11px;
        top: 78px;
    }

    .events-container #news-text {
        animation-duration: 20s;
    }

    .news-time-ago {
        display: none;
    }

    header .uk-container {
        padding: 0px;
    }

    .logo a img {
        height: 30px;
    }
}