.block-cookbook {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.block-cookbook::before {
	position: absolute;
	content: '';
	background: url(/wp-content/themes/rainbowplantlife-2025/assets/images/icons/peas.png) no-repeat center center;
	background-size: contain;
	width: 150px;
	height: 221px;
	bottom: -63px;
	right: 0;
	z-index: 1;
}

.block-cookbook.has-background,
.editor-styles-wrapper .block-cookbook.has-background,
.block-cookbook.has-background.alignfull,
.editor-styles-wrapper .block-cookbook.has-background.alignfull {
	padding: 0;
}

.block-cookbook__image img,
.block-cookbook__image img[style] {
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.block-cookbook__content {
	position: relative;
	padding: 40px;
	align-self: center;
}

.block-cookbook__content > p {
	font-size: var(--wp--preset--font-size--large);
}

.block-cookbook__content > * {
	position: relative;
	z-index: 2;
}

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

	.block-cookbook::before {
		display: none;
	}

	.block-cookbook__content {
		padding: 16px;
	}

	.block-cookbook__content::before {
		position: absolute;
		content: '';
		background: url(/wp-content/themes/rainbowplantlife-2025/assets/images/icons/peas.png) no-repeat center center;
		background-size: contain;
		width: 120px;
		height: 177px;
		bottom: -63px;
		right: 0;
		z-index: 1;
	}
}

.block-area-sidebar .block-cookbook {
	display: block;
}

.block-area-sidebar .block-cookbook__content {
	position: relative;
	padding: 16px;
}

.block-area-sidebar .block-cookbook::before {
	display: none;
}

.block-area-sidebar .block-cookbook__content::before {
	position: absolute;
	content: '';
	background: url(/wp-content/themes/rainbowplantlife-2025/assets/images/icons/peas.png) no-repeat center center;
	background-size: contain;
	width: 120px;
	height: 177px;
	bottom: -63px;
	right: 0;
	z-index: 1;
}
