:root {
    --primary: #1e245f;
    --secondary: #8f0000;
    --tertiary: #5c5c5c;
    --accent: #dfda5d;
    --accent-dark: #807c19;
    --dividers: #e7e7e7;
}

.editor-styles-wrapper,
.editor-styles-wrapper a {
    --wp--preset--color--white: #ccc;
}

.wp-block
    .wp-block[data-type="core/group"]:not([data-align="full"]):not(
        [data-align="wide"]
    ):not([data-align="left"]):not([data-align="right"]),
.wp-block
    .wp-block[data-type="core/cover"]:not([data-align="full"]):not(
        [data-align="wide"]
    ):not([data-align="left"]):not([data-align="right"]),
.wp-block {
    max-width: 100%;
}

.wp-block {
    max-width: 100%;
}

.editor-styles-wrapper {
    --wp--style--global--wide-size: 1200px !important;
}

.editor-styles-wrapper .wp-block-group .wp-block-group.alignwide,
.editor-styles-wrapper
    .edit-post-visual-editor__post-title-wrapper
    > .alignwide,
.editor-styles-wrapper
    .block-editor-block-list__layout.is-root-container
    > .alignwide {
    max-width: var(--wp--style--global--wide-size) !important;
}

.editor-styles-wrapper {
    background-color: white;
}

:root .editor-styles-wrapper .wp-block-button__link,
:root .editor-styles-wrapper .wp-block-file__button {
    background-color: var(--secondary);
}

.editor-styles-wrapper .wp-block-button__link,
.editor-styles-wrapper .wp-block-file__button,
.editor-styles-wrapper .editor-block-list__layout a {
    color: var(--secondary);
}

.editor-styles-wrapper .wp-block-button__link,
.editor-styles-wrapper .wp-block-file__button {
    border-radius: 8px;
    border: solid 1px var(--secondary);
    background-color: white;
    padding: 10px 30px;
}

.wp-core-ui .button-primary {
    color: white !important;
}

/* prevent white text on white bg */
.edit-post-visual-editor .editor-styles-wrapper .has-white-color {
    color: #ccc !important;
}

.editor-styles-wrapper .has-accent-background-color .has-accent-color {
    color: var(--accent-dark) !important;
}
