body.wp-admin {
    .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
    .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: calc(100% - 50px);
    }
}

body .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
    background-color: #efefef;
    margin-bottom: 35px;
    margin-top: 0;
    padding: 15px;

    h1 {
        font-weight: 300;
    }

    h1::before {
        content: 'Titel ';
        font-weight: 600;
        margin-right: 15px;
        opacity: 0.5;
    }
}

.is-root-container {
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
}

.wp-block {
    border: 1px dashed #ececeb;
    margin-bottom: 10px;
}

.acf-tab-button {
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.acf-tab-button.acf-tab-has-error {
    background: #d94f4f !important; // strong red
    color: #fff !important;
    position: relative;
    transition: background 0.2s;
}

.acf-error-indicator {
    background: none;
    color: transparent;
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    height: 1.2em;
    line-height: 1;
    margin-left: 0;
    margin-right: 0.4em;
    position: relative;
    vertical-align: middle;
    width: 1.2em;
}
.acf-error-indicator::before {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="yellow" stroke="orange" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12,2 22,20 2,20"/><text x="12" y="17" text-anchor="middle" font-size="12" font-family="sans-serif" fill="black">!</text></svg>')
        no-repeat center center;
    background-size: contain;
    content: '-';
    display: inline-block;
    height: 1rem;
    vertical-align: middle;
    width: 1rem;
}
