/* Deliberately independent of Wogw header/sticky rules and of RequireJS/Tailwind (also used by Hyva). */
.promo-banner {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: var(--promo-background, #000);
    color: var(--promo-color, #fff);
    font-family: inherit;
    font-size: 12px;
    /* Use the medium/bold faces shipped by both Wogw and Hyva's Montserrat themes. */
    font-weight: 500;
    line-height: 1.35;
}
.promo-banner .promo-banner__content {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0;
    color: inherit;
    text-decoration: none;
}
.promo-banner__track {
    display: flex;
    justify-content: center;
    width: 100%;
}
.promo-banner__group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 20px;
    min-width: 0;
    max-width: 100%;
    padding: 5px 12px;
    box-sizing: border-box;
    text-align: center;
    overflow-wrap: anywhere;
}
.promo-banner .promo-banner__highlight {
    font-weight: 700;
    color: var(--promo-accent, #fc0);
}
.promo-banner .promo-banner__image {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: 144px;
    max-height: 26px;
    object-fit: contain;
}
.promo-banner [data-copy] {
    display: none;
}
.promo-banner .promo-banner__content:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}
/* No JS and reduced motion expose the full group; hover/focus pause without regrouping. */
@media (prefers-reduced-motion: no-preference) {
    .promo-banner[data-running="true"] .promo-banner__track {
        width: max-content;
        justify-content: flex-start;
        animation: promo-banner-roll var(--promo-duration) linear infinite;
    }
    .promo-banner[data-running="true"] .promo-banner__group {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        max-width: none;
        white-space: nowrap;
        padding-right: 32px;
    }
    .promo-banner[data-running="true"]:hover .promo-banner__track,
    .promo-banner[data-running="true"]:focus-within .promo-banner__track {
        animation-play-state: paused;
    }
}
@keyframes promo-banner-roll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--promo-distance))); }
}
