/* Announcement ribbon — see includes/styling/ribbon.php. --neo-rb = current ribbon height (0px when hidden). */
.neo-ribbon {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100000; height: var(--neo-rb-h, 34px); box-sizing: border-box;   /* 34px = the old 42px bar made 20% shorter */
    background: #000; color: #fff; overflow: hidden; display: flex; align-items: center;
    transform: translateY(-101%); transition: transform .8s cubic-bezier(.22, .8, .2, 1);
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: .574rem;   /* .82rem made 30% smaller */
    letter-spacing: .26em; text-transform: uppercase; line-height: 1;
}
.neo-ribbon.is-in { transform: translateY(0); }
.neo-ribbon__track { display: flex; flex: none; white-space: nowrap; will-change: transform; animation: neoRibbonRun var(--neo-rb-dur, 30s) linear infinite; }
.neo-ribbon__item { flex: none; padding: 0 4rem; }
@keyframes neoRibbonRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* while armed: the fixed site header and the page content move down with the ribbon (same easing) */
html.neo-ribbon-armed { transition: padding-top .8s cubic-bezier(.22, .8, .2, 1); padding-top: var(--neo-rb, 0px) !important; }   /* a site rule forces `body, html { padding:0 !important }` — this one is more specific */
html.neo-ribbon-armed .neo-header { transition: top .8s cubic-bezier(.22, .8, .2, 1); top: var(--neo-rb, 0px) !important; }
@media (max-width: 767px) { .neo-ribbon { font-size: .518rem; letter-spacing: .22em; } .neo-ribbon__item { padding: 0 2.4rem; } }
@media (prefers-reduced-motion: reduce) {
    .neo-ribbon, html.neo-ribbon-armed, html.neo-ribbon-armed .neo-header { transition-duration: .01s; }
    .neo-ribbon { justify-content: center; }
    .neo-ribbon__track { animation: none; }
    .neo-ribbon__item + .neo-ribbon__item { display: none; }
}

/* resuming on a new page: appear in place (no slide-down, no page jump) */
html.neo-ribbon-instant, html.neo-ribbon-instant .neo-header, html.neo-ribbon-instant .neo-ribbon { transition: none !important; }
