.block-email {
	--cwp-image: 300px;
	position: relative;
	align-items: center;
}

.block-email,
.block-email.has-background,
.editor-styles-wrapper .block-email.has-background {
	padding: var(--wp--custom--layout--block-gap);
}

.editor-styles-wrapper .wp-block-cwp-email.has-background {
	padding: 0;
}

.block-email__content {
	flex-basis: 0;
	flex-grow: 1;
}

.block-email .block-email__image,
.editor-styles-wrapper .block-email .block-email__image {
	width: var(--cwp-image);
	max-width: 100%;
}

.block-email .block-email__image img,
.editor-styles-wrapper .block-email .block-email__image img {
	width: 100%;
}

.block-email__inner {
	border: 4px solid var(--wp--preset--color--background);
	padding: 45px;
}

.block-email .block-email__inner,
.editor-styles-wrapper .block-email .block-email__inner {
	column-gap: 45px;
	row-gap: 30px;
}

.block-email .wpforms-container .wpforms-title {
	font-size: var(--wp--preset--font-size--huge);
}

@media only screen and (max-width: 840px) {

	.block-email__inner {
		flex-direction: column;
	}

	.block-email__inner > * {
		align-self: stretch;
	}

	.block-email .block-email__image,
	.editor-styles-wrapper .block-email .block-email__image {
		width: 100%;
	}

	.block-email__inner {
		padding: 30px;
	}

}

@media only screen and (min-width: 768px) {
	.content .block-email .wpforms-container.one-line .wpforms-form,
	.content .editor-styles-wrapper .block-email .wpforms-container.one-line .wpforms-form > fieldset[disabled] {
		display: flex;
		flex-wrap: wrap;
	}

	.content .block-email .wpforms-container.one-line .wpforms-field-container {
		flex-grow: 1;
	}
}

.block-area-sidebar .block-email__inner {
	flex-direction: column;
	padding: 30px;
}

.block-area-sidebar .block-email__inner > * {
	align-self: stretch;
}

.block-area-sidebar .block-email .block-email__image,
.block-area-sidebar .editor-styles-wrapper .block-email .block-email__image {
	width: 100%;
}
