html.site-notice-acknowledged [data-site-notice] {
    display: none !important;
}

.site-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    padding: 11px 14px;
    border: 1px solid #eedfac;
    border-radius: 5px;
    background: #fff8e3;
    color: #725719;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.site-notice__icon {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
}

.site-notice__content {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 500;
}

/* Editor headings and nested alerts must not turn this notice into a hero. */
.site-notice .site-notice__content *,
.site-notice .site-notice__content .alert {
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
}

.site-notice .site-notice__content :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 600;
}

.site-notice__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #725719;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.site-notice__dismiss svg {
    width: 14px;
    height: 14px;
}

.site-notice__dismiss:hover {
    background: #f3e9c9;
}

.site-notice__dismiss:focus-visible {
    outline: 2px solid #725719;
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .site-notice {
        flex-wrap: wrap;
        gap: 8px 10px;
        padding: 10px 12px;
        font-size: 13px;
    }
    .site-notice__content {
        flex-basis: calc(100% - 33px);
    }
    .site-notice__dismiss {
        margin-left: 25px;
        min-height: 40px;
    }
}
