.rdg-blocks {
    box-sizing: border-box;

    *, *:before, *:after {
        box-sizing: inherit;
    }

    a {
        text-decoration: none;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: $color-dark-gray !important;
        opacity: 1; /* Firefox */
    }

    :-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: $color-dark-gray !important;
    }

    ::-ms-input-placeholder { /* Microsoft Edge */
        color: $color-dark-gray !important;
    }

    .rdg-blocks-title {
        display: flex;
        justify-content: var(--title-align);
    
        h1, h2, h3, span {
            margin: 0;
            font-size: var(--font-size);
            line-height: var(--line-height);
    
            @media (max-width: $breakpoint-lg) {
                & {
                    font-size: var(--font-size-lg);
                    line-height: var(--line-height-lg);
                }
            }
    
            @media (max-width: $breakpoint-md) {
                & {
                    font-size: var(--font-size-md);
                    line-height: var(--line-height-md);
                }
            }
    
            @media (max-width: $breakpoint-sm) {
                & {
                    font-size: var(--font-size-sm);
                    line-height: var(--line-height-sm);
                }
            }
        }
    }
}

.editor-styles-wrapper {
    h1, h2, h3 {
        color: inherit !important;
    }
}
