/* =cookbook block */
.block-cookbook {
}

.editor-styles-wrapper .wp-block-cwp-cookbook.has-background,
.editor-styles-wrapper .wp-block-cwp-cookbook.has-background.alignfull {
	padding: 0; /* to get rid of editor styles on outer ACF wrapper block */
}

.block-cookbook__image {
	padding: 16px; /* to add more spacing, to compensate for rotation */
	max-width: 363px;
	margin: 0 auto;
}

.block-cookbook__image img {
	box-shadow: var(--wp--custom--box-shadow--1);
	transform: rotate(5deg);
	margin: 0 auto;
}

p.block-cookbook__title,
p.is-style-block-title {
	font-size: var(--wp--preset--font-size--jumbo);
	font-family: var(--wp--preset--font-family--display);
	line-height: var(--wp--custom--line-height--small);
	font-weight: 700;
	margin: 0 0 16px;
}


@media only screen and (max-width: 767px) {
	.block-cookbook {
		text-align: center;
	}

	.block-cookbook .wp-block-buttons {
		justify-content: center;
	}

	.block-cookbook.has-background:not(.alignfull) {
		padding: 32px;
	}

}

@media only screen and (min-width: 768px) {

	.block-cookbook__inner {
		display: grid;
		grid-template-columns: 1fr 363px;
		align-items: center;
		column-gap: 90px;
	}

	.block-cookbook.has-background:not(.alignfull) {
		padding: 48px;
	}

	.block-cookbook .cwp-inner {
		margin-bottom: 0 !important;
	}

}
