/* Бегущая строка в подвале, как в новостях по ТВ: она и есть весь подвал, прижата к низу страницы */
.site-footer--ticker {
    padding: 0;
}

.site-footer--ticker .footer-ticker {
    margin-bottom: 0;
    border-bottom: 0;
}

.footer-ticker {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100vw;
    margin: 0 0 28px calc(50% - 50vw);
    background: #1D2A40;
    border-top: 2px solid #46A2D6;
    border-bottom: 2px solid #46A2D6;
    font-size: 16px;
    line-height: 1;
}

.footer-ticker__badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 0 18px 0 16px;
    background: #46A2D6;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.footer-ticker__live {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF5A5F;
    box-shadow: 0 0 0 0 rgba(255, 90, 95, .7);
    animation: ticker-live 1.6s ease-out infinite;
}

.footer-ticker__window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.footer-ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-move 70s linear infinite;
}

.footer-ticker:hover .footer-ticker__track,
.footer-ticker:focus-within .footer-ticker__track {
    animation-play-state: paused;
}

.footer-ticker__list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-ticker__list li {
    display: flex;
    align-items: center;
    padding: 14px 0;
    white-space: nowrap;
    color: #E6EEF7;
}

/* Разделитель между сообщениями — маленькая шестерёнка-ромб */
.footer-ticker__list li::after {
    content: "◆";
    margin: 0 22px;
    font-size: 9px;
    color: #46A2D6;
}

.footer-ticker__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.footer-ticker__link:hover,
.footer-ticker__link:focus-visible {
    color: #A8D8F0;
    text-decoration: underline;
}

.footer-ticker__link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-ticker__usp {
    font-weight: 500;
}

.footer-ticker__requisites {
    font-size: 14px;
    opacity: .75;
}

@keyframes ticker-move {
    to { transform: translateX(-50%); }
}

@keyframes ticker-live {
    to { box-shadow: 0 0 0 7px rgba(255, 90, 95, 0); }
}

@media (max-width: 768px) {
    .footer-ticker {
        font-size: 14px;
    }

    .footer-ticker__badge {
        padding: 0 14px 0 12px;
        font-size: 12px;
    }

    .footer-ticker__badge-extra {
        display: none;
    }

    .footer-ticker__track {
        animation-duration: 60s;
    }
}

/* Без анимации строка просто переносится, копия для петли не нужна */
@media (prefers-reduced-motion: reduce) {
    .footer-ticker__track {
        width: auto;
        animation: none;
    }

    .footer-ticker__list {
        flex-wrap: wrap;
        padding: 0 12px;
    }

    .footer-ticker__list[aria-hidden="true"] {
        display: none;
    }

    .footer-ticker__live {
        animation: none;
    }
}
