/* Admin stuff */
html :where(.wp-block) {
    margin-bottom: 0;
    margin-top: 0;
    max-width: 100%;
}
.editor-editor-canvas__post-title-wrapper.edit-post-visual-editor__post-title-wrapper {
    display: none;
}

.editor-styles-wrapper.block-editor-writing-flow {
    padding: 0px !important;
}
.interface-navigable-region.interface-interface-skeleton__content {
    overflow-x: hidden;
}
.editor-visual-editor__post-title-wrapper.edit-post-visual-editor__post-title-wrapper {
    margin-top: 0px !important;
    padding: 32px;
}
p.block-editor-rich-text__editable.rich-text {
    border-radius: 2px;
    box-shadow: 0 0 0 #0000;
    padding: 6px;
}
img.image-preview {
    display: block;
    margin: 10px 0;
}
.block-editor__container img {
    max-width: -webkit-fill-available;
}
.editor-styles-wrapper :where(.is-layout-flow) > * {
    margin-block-start: 0px!important;
}








.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
}
button.components-button.button.button-small {
    display: inline;
}
.image-preview {
    max-width: 100px;
    margin-right: 10px;
}


.media-upload-wrapper {
    margin-bottom: 22px;
}





/* Container for checkbox group */
.block-checkbox-group {
    margin-top: 10px;
}

.block-checkbox-label {
    display: block;
    margin-bottom: 10px;
}

/* Responsive layout fix */
@media (max-width: 768px) {
    .nls-cta-image-block-wrapper {
        flex-direction: column;
    }

    .nls-cta-image-block-image,
    .nls-cta-image-block-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .nls-cta-image-block-content {
        padding: 15px;
    }
}



.media-upload-wrapper {
    position: relative;
    display: inline-block;
}

.image-preview-container {
    position: relative;
    display: inline-block;
}

.image-preview {
    display: block;
    width: 100%;
    height: auto;
}

.image-edit-icon,
.image-remove-icon {
    position: absolute;
    top: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.image-edit-icon {
    right: 47px;
    top: 14px;
}

.image-remove-icon {
    right: 6px;
    top: 14px;
}

.image-edit-icon:hover,
.image-remove-icon:hover {
    background-color: rgba(255, 255, 255, 1);
}


.editor-visual-editor__post-title-wrapper.edit-post-visual-editor__post-title-wrapper {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, .133);
    color: #1e1e1e;
    flex-shrink: 0;
    height: auto;
    outline: 1px solid #0000;
}




.button.add-accordion-button {
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px #ccc;
    height: 100%;
    line-height: 20px;
    padding: 8px 0;
    text-align: center;
    width: 100%;
    background-color: #fff;
    color: #000;
    border-color: #ccc;
    background: #f6f7f7;
    vertical-align: top;
    border: 1px;
}
button.components-button.button.remove-accordion-button.is-destructive {
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px #ccc;
    height: 100%;
    line-height: 20px;
    padding: 8px 0;
    text-align: center;
    width: 100%;
    background-color: #fff;
    color: #000;
    border-color: #ccc !important;
    background: #f6f7f7;
    vertical-align: top;
    border: 1px;
    margin: 8px 0 16px 0;
}



