.block-recipe-reviews {
	counter-reset: resources;
	display: flex;
	flex-wrap: wrap;
	gap: 62px 8px;
	padding-block-start: 64px;
}

.block-recipe-review,
.wp-block-cwp-recipe-review {
	display: flex;
	flex-basis: 240px;
	flex-grow: 1;
	min-width: calc(33% - 4px);
}

.block-recipe-review {
	background-color: var(--wp--preset--color--background);
	box-shadow: var(--wp--custom--box-shadow--1);
	counter-increment: resources;
	flex-direction: column;
	gap: 8px;
	padding: 12px 16px;
}

.block-recipe-review__content {
	text-align: center;
}

.block-recipe-review__content > p:first-of-type::before {
	background-image: url("https://www.thecookierookie.com/wp-content/themes/thecookierookie-2024/assets/icons/utility/star-full.svg");
	background-size: 20% 100%;
	content: "";
	display: block;
	height: 16px;
	margin-inline-start: auto;
	margin-inline-end: auto;
	margin-block-end: 8px;
	width: 88px;
}

.block-recipe-review__image {
	margin-block-end: 0;
}

.block-recipe-review .block-recipe-review__image:first-child {
	margin-block-start: calc(-1 * 64px);
}

.block-recipe-review__image .wp-block-image {
	margin-inline-start: auto;
	margin-inline-end: auto;
	max-width: 110px;
}

.block-recipe-review__image img {
	aspect-ratio: 1;
	border-radius: var(--wp--custom--border-radius--large);
	height: 110px;
	margin-inline-start: auto;
	margin-inline-end: auto;
	object-fit: cover;
	width: 110px;
}

.block-recipe-review__buttons {
	margin-block-start: auto;
}

.block-recipe-review .block-recipe-review__buttons .is-style-arrow .wp-element-button,
.editor-styles-wrapper .block-recipe-review .block-recipe-review__buttons .is-style-arrow .wp-element-button {
	text-decoration: none;
}

.block-recipe-review .block-recipe-review__buttons .is-style-arrow .wp-element-button:is(:focus, :hover),
.editor-styles-wrapper .block-recipe-review .block-recipe-review__buttons .is-style-arrow .wp-element-button:is(:focus, :hover) {
	text-decoration: underline;
}

@media only screen and (min-width: 992px) {
	.block-recipe-reviews {
		gap: 62px 16px;
	}

	.block-recipe-review,
	.wp-block-cwp-recipe-review {
		min-width: calc(33% - 8px);
	}
}
