.block-home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 486px);
	align-items: center;
	gap: 40px;
}

.block-home-hero__copy,
.block-home-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.block-home-hero__content h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--gargantuan);
	line-height: var(--wp--custom--line-height--small);
}

.block-home-hero__content h3 a {
	color: inherit;
	text-decoration: none;
}

.block-home-hero__content h3 a:hover,
.block-home-hero__content h3 a:focus {
	text-decoration: underline;
}

.block-home-hero__rating {
	display: block;
	width: 100%;
	/* The Figma rating label is 12px; the smallest exported size is 13px. */
	font-size: 12px;
	line-height: var(--wp--custom--line-height--small);
	text-decoration: none;
	color: var(--wp--preset--color--primary);
}

.block-home-hero__rating .wprm-recipe-rating {
	text-align: left;
	margin: 0;
}

.block-home-hero__rating .wprm-recipe-rating-details {
	font-size: inherit;
}

.block-home-hero__excerpt {
	width: 100%;
	border-top: 1px solid var(--wp--custom--new-blocks--color--rule);
	padding-top: 16px;
	font-size: var(--wp--custom--new-blocks--font-size--body);
	line-height: var(--wp--custom--line-height--normal);
}

.block-home-hero__excerpt p {
	margin: 0;
}

.block-home-hero__content > .wp-element-button {
	border-radius: var(--wp--custom--border-radius--tiny);
}

.block-home-hero__media {
	position: relative;
	min-width: 0;
}

.block-home-hero__image {
	display: block;
	aspect-ratio: 1;
	border-radius: var(--wp--custom--new-blocks--border-radius);
	overflow: hidden;
}

.block-home-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.block-home-hero__badge {
	position: absolute;
	left: -16px;
	top: 16px;
	width: 92px;
	height: 92px;
}

@media (max-width: 767px) {
	.block-home-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.block-home-hero__copy {
		display: contents;
	}

	.block-home-hero__banner {
		grid-row: 1;
		margin-bottom: -32px;
		z-index: 1;
	}

	.block-home-hero__media {
		grid-row: 2;
	}

	.block-home-hero__content {
		grid-row: 3;
		margin-top: 16px;
	}

	.block-home-hero__badge {
		left: auto;
		top: auto;
		right: -8px;
		bottom: -14px;
	}

	.block-home-hero__excerpt {
		display: none;
	}
}

.block-area-sidebar .block-home-hero {
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}
