/**
 * Food26 Recipe Rating: the readers' average, its stars and count, and the button to the rating form.
 * The stars come from the ratings stylesheet (food26-ratings). Rules use two classes; the Style tab's controls use three.
 */
.food26-recipe-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	padding: 26px 30px;
	background-color: var(--inoforest-color-surface, #faf4ec);
	border-radius: 26px;
}

.food26-recipe-rating .food26-recipe-rating__score {
	font-family: var(--inoforest-font-heading-family, inherit);
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	color: var(--inoforest-color-heading, #2b1a12);
}

.food26-recipe-rating__text {
	flex: 1 1 200px;
}

.food26-recipe-rating .food26-recipe-rating__text .food26-rating-stars {
	font-size: 1.25rem;
}

.food26-recipe-rating .food26-recipe-rating__text p {
	margin: 4px 0 0;
	font-size: 0.925rem;
	color: var(--inoforest-custom-muted, #6e5f55);
}

.food26-recipe-rating .food26-recipe-rating__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 10px 22px;
	font-size: 0.925rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: var(--inoforest-color-heading, #2b1a12);
	background-color: transparent;
	border: 2px solid var(--inoforest-color-border, #ece2d6);
	border-radius: 999px;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.food26-recipe-rating .food26-recipe-rating__button:hover,
.food26-recipe-rating .food26-recipe-rating__button:focus-visible {
	color: #fff;
	background-color: var(--inoforest-custom-primary-dark, #8e2c15);
	border-color: var(--inoforest-custom-primary-dark, #8e2c15);
}

.food26-recipe-rating__hint {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.food26-recipe-rating .food26-recipe-rating__button {
		transition: none;
	}
}
