// Overwrite the inline style to make the height collapse when the paragraph editable gets focus.
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
	min-height: auto !important;
}

// Hide multiple sequential paragraphs, but don't hide placeholders if a custom placeholder is set.
.block-editor-block-list__block[data-empty="true"] {
	[data-rich-text-placeholder] {
		opacity: 1;
	}
}

.block-editor-block-list__block[data-empty="true"] + .block-editor-block-list__block[data-empty="true"] {
	&:not([data-custom-placeholder="true"]) {
		[data-rich-text-placeholder] {
			opacity: 0;
		}
	}
}
