.wp-block-govuk-theme-announcement-banner {
    max-width: none !important;
    width: 100% !important;
}

.announcement-banner {
    background: #292478;
    color: #ffffff;
}

.announcement-banner__inner {
    max-width: 1256px;
    margin: 0 auto;

    padding: 12px 32px;

    text-align: center;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.announcement-banner__inner a {
    color: inherit;
    text-decoration: none;
}

.announcement-banner__inner a:hover {
    text-decoration: underline;
}

.announcement-banner__inner a:focus-visible {
    outline: 3px solid #ffdd00;
    outline-offset: 3px;
}

.announcement-banner__preview {
    margin: 0 0 16px;
    padding: 12px;

    background: #292478;
    color: #fff;

    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {

    .announcement-banner__inner {
        padding: 12px 24px;
        font-size: 16px;
    }
}