html body aside.n38-announcement {
    display: flex;
    align-items: stretch;
    min-width: 0;
    width: var(--n38-layout-width, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid var(--line, #d9d7cc);
    background: var(--paper, #fff);
    color: var(--ink, #24281d);
    font-family: var(--sans, Arial, sans-serif);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .06em;
}

.n38-announcement-viewport { flex: 0 0 80%; min-width: 0; margin-left: auto; margin-right: auto; overflow: hidden; }
.n38-announcement-track { display: flex; width: max-content; min-width: 200%; animation: n38-announcement-scroll 40s linear infinite; animation-play-state: paused; }
.n38-announcement-group { display: flex; flex: 1 0 auto; justify-content: space-around; align-items: center; gap: 48px; padding: 0 24px; }
.n38-announcement-item { display: inline-flex; align-items: center; gap: 16px; min-height: 42px; white-space: nowrap; }
.n38-announcement-mark { color: inherit; font-size: 13px; }
html body .n38-announcement-item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.n38-announcement.is-animated .n38-announcement-track { animation-play-state: running; }
.n38-announcement.is-animated:hover .n38-announcement-track,
.n38-announcement.is-animated:focus-within .n38-announcement-track { animation-play-state: paused; }

html body .n38-announcement-item a:focus-visible { outline: 2px solid var(--ink, #24281d); outline-offset: -4px; }

/* Without scripts the announcement stays readable and still. */
.n38-announcement:not(.is-animated) .n38-announcement-track { width: 100%; min-width: 0; animation: none; }
.n38-announcement:not(.is-animated) .n38-announcement-group[aria-hidden] { display: none; }
.n38-announcement:not(.is-animated) .n38-announcement-group { flex-wrap: wrap; gap: 8px 24px; padding: 10px 20px; }
.n38-announcement:not(.is-animated) .n38-announcement-item { min-height: 0; white-space: normal; flex-wrap: wrap; }

@keyframes n38-announcement-scroll { to { transform: translateX(-50%); } }
@media (max-width: 599px) {
    html body aside.n38-announcement { font-size: 11px; letter-spacing: .04em; }
    .n38-announcement-track { animation-duration: 25s; }
    .n38-announcement-group { gap: 32px; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .n38-announcement .n38-announcement-track { width: 100%; min-width: 0; animation: none; }
    .n38-announcement .n38-announcement-group[aria-hidden] { display: none; }
    .n38-announcement .n38-announcement-group { flex-wrap: wrap; gap: 8px 24px; padding: 10px 20px; }
    .n38-announcement .n38-announcement-item { min-height: 0; white-space: normal; flex-wrap: wrap; }
}
