/* ─── News Alert Banner ─────────────────────────────────────────────────────── */

.ak-news-alert {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: #3a2020;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 10;
}

/* Also kill margin on the wrapper WordPress adds around the block */
.wp-block-antroposofisk-theme-news-alert {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ak-news-alert__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    text-align: center;
}

.ak-news-alert__text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.ak-news-alert__text a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ak-news-alert__text a:hover {
    color: #ffffff;
}

/* ─── Editor preview ───────────────────────────────────────────────────────── */

.wp-block-antroposofisk-theme-news-alert .ak-news-alert-editor {
    background: #3a2020;
    color: rgba(255, 255, 255, 0.88);
    padding: 14px 24px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.wp-block-antroposofisk-theme-news-alert .ak-news-alert-editor__empty {
    background: #f0f0f0;
    color: #888;
    padding: 14px 24px;
    border-radius: 4px;
    border: 2px dashed #ccc;
    text-align: center;
    font-size: 13px;
}
