/* Campaign bar above the header, same look as the web app's AnnouncementBanner. */
.announcement-bar {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 44px;
    background: #000;
    color: #fff;
    font-family: "DM Sans", sans-serif;
}

.announcement-bar[hidden],
.announcement-bar-dismissed .announcement-bar {
    display: none;
}

.announcement-bar-text {
    margin: 0;
    text-align: center;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

.announcement-bar-text strong {
    font-weight: 700;
}

.announcement-bar-close {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.announcement-bar-close:hover {
    opacity: 0.75;
}

.announcement-bar-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .announcement-bar {
        padding: 8px 40px;
    }

    .announcement-bar-text {
        font-size: 13px;
    }

    .announcement-bar-close {
        right: 4px;
    }
}
