.block-facebook-cta {
	display: flex;
	gap: 16px;
	align-items: center;
}

.block-facebook-cta.has-background,
.editor-styles-wrapper .block-facebook-cta.has-background {
	padding: 16px;
}

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

.block-facebook-cta__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--small);
	margin: 0;
}

.block-facebook-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	fill: currentColor;
	flex-shrink: 0;
}

.block-facebook-cta .wp-element-button,
.editor-styles-wrapper .block-facebook-cta .wp-element-button {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	flex-shrink: 0;
}

.editor-styles-wrapper .block-facebook-cta a {
	pointer-events: none;
}

@media only screen and (max-width: 767px) {
	.block-facebook-cta .block-facebook-cta__title {
		margin-block-end: 8px;
	}
}

@media only screen and (min-width: 768px) {
	.block-facebook-cta__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-grow: 1;
	}
}
