/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); */

/* Client Styles *********************************************************** */
body {
    /* Literally no styles. */
}

/* Admin Styles *********************************************************** */
/* Add logo to block in editor when selected. */
.wp-block-acf-dh-portal-builder-button.is-selected::before {
    content: "";
    position: absolute;
    top: -56px;
    left: -56px;
    right: auto;
    width: 46px;
    height: 46px;
    background: #fff url(digital-hill-logo.svg) no-repeat center center;
    background-size: 40px 40px;
    z-index: 2;
    border: 1px solid #1e1e1e;
}
/* Patch for Admin adding the background color to the whole editor section. */
.wp-block-acf-dh-portal-builder-button {
    background-color: transparent !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Patch for Admin adding margin-block-start to all top-level blocks. */
.dh-portal-builder-buttons {
    /* margin-block-start: 0 !important; */
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Patch for Admin applying the user-selected background color to the entire block, and not just the button. */
body :where(.editor-styles-wrapper) .has-base-background-color.wp-block-acf-dh-portal-builder-button,
body :where(.editor-styles-wrapper) .has-contrast-background-color.wp-block-acf-dh-portal-builder-button,
body :where(.editor-styles-wrapper) .has-accent-1-background-color.wp-block-acf-dh-portal-builder-button,
body :where(.editor-styles-wrapper) .has-accent-2-background-color.wp-block-acf-dh-portal-builder-button,
body :where(.editor-styles-wrapper) .has-accent-3-background-color.wp-block-acf-dh-portal-builder-button,
body :where(.editor-styles-wrapper) .has-accent-4-background-color.wp-block-acf-dh-portal-builder-button,
body :where(.editor-styles-wrapper) .has-accent-5-background-color.wp-block-acf-dh-portal-builder-button {
    background-color: transparent !important;
}
/* Prevent clicks on links in the editor */
.editor-styles-wrapper .wp-block-acf-dh-portal-builder-button a {
    cursor: default;
    pointer-events: none;
}
/* Set styles for debug area */
:root .editor-styles-wrapper .wp-block-acf-dh-portal-builder-button :where(.wp-block-code) {
    font-family: 'Montserrat', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff !important;
    background-color: #333 !important;
    padding: 20px;
    border-radius: 8px;
}