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

/* Client Styles *********************************************************** */
body {
    /* Literally no styles. */
}
/* Stack columns on mobile. */
@media screen and (max-width: 782px) {
    .dh-portal-builder-specs.wp-block-group {
        grid-template-columns: 1fr !important;
    }
}
/* Patch for p tag margin-block-start and margin-block-end being set to 1.25em by default. */
.dh-portal-builder-specs p {
    margin-block-start: 0;
    margin-block-end: 0;
}
/* Patch for the has-background class auotmatically adding padding to the columns block. */
.dh-portal-builder-specs :where(.wp-block-columns.has-background) {
    padding: inherit;
}

/* Admin Styles *********************************************************** */
/* Add logo to block in editor when selected. */
.wp-block-acf-dh-portal-builder-specs.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-specs {
    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-specss {
    /* 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 specs. */
body :where(.editor-styles-wrapper) .has-base-background-color.wp-block-acf-dh-portal-builder-specs,
body :where(.editor-styles-wrapper) .has-contrast-background-color.wp-block-acf-dh-portal-builder-specs,
body :where(.editor-styles-wrapper) .has-accent-1-background-color.wp-block-acf-dh-portal-builder-specs,
body :where(.editor-styles-wrapper) .has-accent-2-background-color.wp-block-acf-dh-portal-builder-specs,
body :where(.editor-styles-wrapper) .has-accent-3-background-color.wp-block-acf-dh-portal-builder-specs,
body :where(.editor-styles-wrapper) .has-accent-4-background-color.wp-block-acf-dh-portal-builder-specs,
body :where(.editor-styles-wrapper) .has-accent-5-background-color.wp-block-acf-dh-portal-builder-specs {
    background-color: transparent !important;
}
/* Prevent clicks on links in the editor */
.editor-styles-wrapper .wp-block-acf-dh-portal-builder-specs a {
    cursor: default;
    pointer-events: none;
}
/* Set styles for debug area */
:root .editor-styles-wrapper .wp-block-acf-dh-portal-builder-specs :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;
}