/* Announcement strip (announcement-strip.html).
   Inside the sticky header, between the dark utility strip and the brand row.
   Its height is a token because it is part of the sticky header: everything
   that sticks below the header adds it to its offset (falling back to 0 when
   this stylesheet is not on the page), so it must never wrap to a second
   line. On a narrow screen the icon and the call to action go; the whole
   strip is the link. */

:root {
    --nav-height-announcement: 34px;
}

.xbec__wrapper.c-announcement-strip {
    box-sizing: border-box;
    height: var(--nav-height-announcement);
    overflow: hidden;
    background: var(--nav-accent);
    border-bottom: 1px solid rgba(11, 19, 32, 0.12);
}
.xbec__wrapper.c-announcement-strip a {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    gap: 10px;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    color: var(--nav-accent-fg);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}
.xbec__wrapper.c-announcement-strip a:focus-visible {
    outline: 2px solid var(--nav-accent-fg);
    outline-offset: -4px;
}
.xbec__wrapper.c-announcement-strip strong {
    font-weight: 700;
}
.xbec__wrapper.c-announcement-strip span::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin-right: 10px;
    vertical-align: -1px;
    background: currentColor;
    opacity: 0.35;
}
.xbec__wrapper.c-announcement-strip span:last-of-type {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.xbec__wrapper.c-announcement-strip a:hover span:last-of-type {
    text-decoration-thickness: 2px;
}

@media (max-width: 640px) {
    .xbec__wrapper.c-announcement-strip a {
        gap: 8px;
        padding: 0 12px;
        font-size: 12.5px;
    }
    .xbec__wrapper.c-announcement-strip span::before {
        margin-right: 8px;
    }
    .xbec__wrapper.c-announcement-strip i,
    .xbec__wrapper.c-announcement-strip span:last-of-type {
        display: none;
    }
}
@media (max-width: 400px) {
    .xbec__wrapper.c-announcement-strip a {
        font-size: 12px;
    }
}
@media (max-width: 360px) {
    .xbec__wrapper.c-announcement-strip a {
        gap: 6px;
        font-size: 11.5px;
    }
    .xbec__wrapper.c-announcement-strip span::before {
        margin-right: 6px;
    }
}
