/* DGS Feature Grid Oscar - Editor Styles */

.editor-styles-wrapper .dgs-feature-grid-oscar {
    max-width: 100% !important;
}

.editor-styles-wrapper .dgs-feature-grid-oscar__container {
    max-width: 100%;
}

/* Make rich text fields editable and visible in editor */
.editor-styles-wrapper .dgs-feature-grid-oscar__accent-heading:empty::before {
    content: attr(placeholder);
    color: var(--neutral-medium);
    opacity: 0.6;
}

.editor-styles-wrapper .dgs-feature-grid-oscar__heading:empty::before {
    content: attr(placeholder);
    color: var(--neutral-medium);
    opacity: 0.6;
}

.editor-styles-wrapper .dgs-feature-grid-oscar__description:empty::before {
    content: attr(placeholder);
    color: var(--neutral-medium);
    opacity: 0.6;
}

/* Editable focus states */
.editor-styles-wrapper .dgs-feature-grid-oscar__accent-heading:focus,
.editor-styles-wrapper .dgs-feature-grid-oscar__heading:focus,
.editor-styles-wrapper .dgs-feature-grid-oscar__description:focus {
    outline: 2px solid var(--action);
    outline-offset: 2px;
    border-radius: 2px;
}
