.ap-promo-bars {
    width: 100%;
    background: #222222;
    border-top: 1px solid #303030;
    border-bottom: 1px solid #303030;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.ap-promo-bars:not(.is-mounted) {
    display: none !important;
}

.ap-promo-ticker-shell,
.ap-promo-ticker {
    overflow: hidden;
}

.ap-promo-ticker {
    min-height: 42px;
}

.ap-promo-ticker__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 48px;
    will-change: transform;
}

.ap-promo-ticker__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 48px;
}

.ap-promo-ticker.is-animated .ap-promo-ticker__track {
    min-width: 0;
    justify-content: flex-start;
    animation: ap-promo-ticker-scroll var(--ap-promo-duration, 22s) linear infinite;
}

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

.ap-promo-bar {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 0;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
    user-select: text;
    overflow: hidden;
    isolation: isolate;
}

.ap-promo-bar > * {
    position: relative;
    z-index: 1;
}

.ap-promo-ticker.is-single .ap-promo-bar::before {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: 28%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 164, 40, 0.16), rgba(255, 255, 255, 0.12), transparent);
    transform: translateX(-380%) skewX(-18deg);
    animation: ap-promo-single-glint 7s ease-in-out infinite;
    pointer-events: none;
}

.ap-promo-ticker.is-single .ap-promo-bar__badge {
    animation: ap-promo-single-badge 4.8s ease-in-out infinite;
}

.ap-promo-ticker.is-single .ap-promo-bar__arrow {
    animation: ap-promo-single-arrow 4.8s ease-in-out infinite;
}

.ap-promo-ticker.is-single:hover .ap-promo-bar::before,
.ap-promo-ticker.is-single:focus-within .ap-promo-bar::before,
.ap-promo-ticker.is-single:hover .ap-promo-bar__badge,
.ap-promo-ticker.is-single:focus-within .ap-promo-bar__badge,
.ap-promo-ticker.is-single:hover .ap-promo-bar__arrow,
.ap-promo-ticker.is-single:focus-within .ap-promo-bar__arrow {
    animation-play-state: paused;
}

.ap-promo-bar:hover,
.ap-promo-bar:focus {
    color: #ffa428;
    text-decoration: none;
    outline: 0;
}

.ap-promo-bar__badge {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 4px 7px 3px;
    align-items: center;
    gap: 5px;
    border-radius: 2px;
    background: #ffa428;
    color: #222222;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    line-height: 1;
    transform: skewX(-7deg);
    transform-origin: center;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.ap-promo-bar__badge > * {
    transform: skewX(7deg);
}

.ap-promo-bar__icon {
    color: #222222;
    font-size: 11px;
}

.ap-promo-bar__badge-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.45px;
}

.ap-promo-bar__text {
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.ap-promo-bar__arrow {
    flex: 0 0 auto;
    color: #ffa428;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.ap-promo-bar:hover .ap-promo-bar__arrow,
.ap-promo-bar:focus .ap-promo-bar__arrow {
    animation: none;
    transform: translateX(3px);
}

@keyframes ap-promo-ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--ap-promo-distance, -100%));
    }
}

@keyframes ap-promo-single-glint {
    0%,
    68% {
        opacity: 0;
        transform: translateX(-380%) skewX(-18deg);
    }

    72% {
        opacity: 1;
    }

    88% {
        opacity: 1;
        transform: translateX(460%) skewX(-18deg);
    }

    92%,
    100% {
        opacity: 0;
        transform: translateX(460%) skewX(-18deg);
    }
}

@keyframes ap-promo-single-badge {
    0%,
    72%,
    100% {
        filter: none;
        transform: skewX(-7deg) translateY(0) rotate(0);
    }

    78% {
        filter: drop-shadow(0 0 5px rgba(255, 164, 40, 0.45));
        transform: skewX(-7deg) translateY(-1px) rotate(-1.5deg) scale(1.04);
    }

    84% {
        filter: none;
        transform: skewX(-7deg) translateY(0) rotate(0);
    }
}

@keyframes ap-promo-single-arrow {
    0%,
    80%,
    100% {
        transform: translateX(0);
    }

    86% {
        transform: translateX(4px);
    }

    92% {
        transform: translateX(0);
    }
}

@media (min-width: 992px) {
    .ap-promo-ticker-shell {
        padding-left: calc(25% - 15px);
    }
}

@media (max-width: 767px) {
    .ap-promo-ticker {
        min-height: 40px;
    }

    .ap-promo-ticker__track {
        gap: 36px;
    }

    .ap-promo-ticker__group {
        gap: 36px;
    }

    .ap-promo-bar {
        min-height: 40px;
        padding: 8px 0;
        gap: 8px;
    }

    .ap-promo-bar__text {
        font-size: 13px;
        line-height: 1.3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-promo-ticker.is-animated .ap-promo-ticker__track {
        width: 100%;
        min-width: 100%;
        padding: 7px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 28px;
        animation: none;
        transform: none;
    }

    .ap-promo-ticker.is-animated .ap-promo-ticker__group[data-promo-group="clone"] {
        display: none;
    }

    .ap-promo-ticker.is-animated .ap-promo-ticker__group[data-promo-group="original"] {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 28px;
    }

    .ap-promo-ticker.is-animated .ap-promo-bar {
        min-height: 0;
        padding: 3px 0;
        white-space: normal;
    }

    .ap-promo-bar,
    .ap-promo-bar__arrow,
    .ap-promo-ticker.is-single .ap-promo-bar::before,
    .ap-promo-ticker.is-single .ap-promo-bar__badge,
    .ap-promo-ticker.is-single .ap-promo-bar__arrow {
        animation: none;
        transition: none;
    }
}
