/* Custom styles for the editor. */

div.wp-block-gravatar-block.gravatar-block {
	> .block-editor-inner-blocks > .block-editor-block-list__layout {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	/* Override themes' default styles. */
	.wp-block {
		&,
		p.gravatar-block-paragraph__text {
			line-height: inherit;
			margin: 0;
		}
	}

	.gravatar-block-group {
		> .block-editor-inner-blocks > .block-editor-block-list__layout {
			display: flex;
		}

		&.gravatar-block-group--vertical-alignment > .block-editor-inner-blocks > .block-editor-block-list__layout {
			flex-direction: column;
		}

		&.gravatar-block-group--align-center > .block-editor-inner-blocks > .block-editor-block-list__layout {
			align-items: center;
		}

		&.gravatar-block-group--header > .block-editor-inner-blocks > .block-editor-block-list__layout {
			gap: 10px;
		}

		&.gravatar-block-group--footer > .block-editor-inner-blocks > .block-editor-block-list__layout,
		&.gravatar-block-group--verified-accounts > .block-editor-inner-blocks > .block-editor-block-list__layout {
			gap: 8px;
		}
	}
}
