.wp-block-media-text{
    gap: var(--wp--preset--spacing--40);

    .wp-block-media-text__content {
        padding: 0;
    }

    &.has-custom-icon .wp-block-media-text__media,
    &.has-custom-icon-editor .wp-block-media-text__media {
        position: relative;
        height: 100%;
        border-radius: var(--wp--preset--spacing--30);
    }
    
    &.has-custom-icon-editor .wp-block-media-text__media::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--wp--preset--color--contrast);
        z-index: 1;
        border-radius: inherit;
    }
    
    &.has-custom-icon-editor .wp-block-media-text__media::after {
        content: var(--alphak-icon-name, "");
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: "Material Symbols Sharp";
        font-size: 5rem;
        color: var(--wp--preset--color--base);
        z-index: 2;
        line-height: 1;
        font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
        pointer-events: none;
    }

    &.has-media-on-top,
    &.has-media-on-top-editor {
        display: flex;
        flex-direction: column;

        .wp-block-media-text__media {
            margin-bottom: 0 !important;
        }

        &.is-image-fill-element .wp-block-media-text__media {
            flex-shrink: inherit !important;
        }
    }
}