/**
 * Food26 Review Verdict
 *
 * Contents
 * 1. Card and title
 * 2. Score and bars
 * 3. Good and weak points, dishes
 * 4. Closing line, signature
 * 5. Phones
 *
 * On the dark card every text colour passes AA (the design's --primary-on-dark and --accent-light). Colours read the
 * Food26 Design Scheme with the design's values as fallbacks. Rules use two classes; the Style tab's controls three.
 */

/* 1. Card and title ------------------------------------------------------------------- */
.food26-review-verdict {
	--food26-rv-highlight: var(--inoforest-custom-primary-on-dark, #f2a58c);
	--food26-rv-bar: var(--food26-rv-highlight);
	--food26-rv-good: var(--inoforest-custom-accent-light, #e9f1e4);
	padding: 48px;
	color: rgba(255, 255, 255, 0.8);
	background-color: var(--inoforest-custom-dark, #22150f);
	border-radius: 26px;
	scroll-margin-top: 110px;
}

.food26-review-verdict .food26-review-verdict__label {
	display: block;
	margin-bottom: 6px;
	font-family: "Caveat", cursive;
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--food26-rv-highlight);
}

.food26-review-verdict .food26-review-verdict__title {
	margin: 0 0 0.55em;
	padding: 0;
	font-family: var(--inoforest-font-heading-family, inherit);
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #fff;
	overflow-wrap: anywhere;
}

/* 2. Score and bars ---------------------------------------------------------------------- */
.food26-review-verdict .food26-review-verdict__top {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	margin: 24px 0 36px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.food26-review-verdict .food26-review-verdict__top--single {
	grid-template-columns: 210px;
}

.food26-review-verdict .food26-review-verdict__score {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 26px 16px;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.06);
	border-radius: 16px;
}

.food26-review-verdict .food26-review-verdict__number {
	font-family: var(--inoforest-font-heading-family, inherit);
	font-size: 4.4rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.food26-review-verdict .food26-review-verdict__number small {
	font-size: 1.2rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
}

.food26-review-verdict .food26-review-verdict__stars {
	display: inline-flex;
	gap: 2px;
	font-size: 1.5rem;
	color: var(--inoforest-custom-rating, #b7791f);
}

.food26-review-verdict__stars svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

[dir="rtl"] .food26-review-verdict__stars .ri-star-half-fill {
	scale: -1 1;
}

.food26-review-verdict .food26-review-verdict__score-label {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--food26-rv-highlight);
}

.food26-review-verdict .food26-review-verdict__bars {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.food26-review-verdict .food26-review-verdict__bars li {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) 40px;
	align-items: center;
	gap: 16px;
	margin: 0;
}

.food26-review-verdict .food26-review-verdict__bar-label {
	font-weight: 600;
	color: #fff;
	overflow-wrap: anywhere;
}

.food26-review-verdict .food26-review-verdict__bar-value {
	font-family: var(--inoforest-font-heading-family, inherit);
	font-size: 1.1rem;
	text-align: end;
	color: #fff;
}

.food26-review-verdict .food26-review-verdict__bar {
	display: block;
	width: 100%;
	height: 8px;
	overflow: hidden;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	border-radius: 999px;
}

.food26-review-verdict__bar::-webkit-progress-bar {
	background: rgba(255, 255, 255, 0.14);
	border-radius: 999px;
}

.food26-review-verdict__bar::-webkit-progress-value {
	background: var(--food26-rv-bar);
	border-radius: 999px;
}

.food26-review-verdict__bar::-moz-progress-bar {
	background: var(--food26-rv-bar);
	border-radius: 999px;
}

/* 3. Good and weak points, dishes ------------------------------------------------------------- */
.food26-review-verdict .food26-review-verdict__lists {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin-bottom: 34px;
}

.food26-review-verdict .food26-review-verdict__list-title {
	margin: 0 0 0.55em;
	padding: 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.food26-review-verdict .food26-review-verdict__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.food26-review-verdict .food26-review-verdict__list li {
	display: flex;
	gap: 10px;
	margin: 0;
}

/* The design's icon is a font glyph: its box is a line of text (1.7) and 3 px lower, which also sets a row's height. */
.food26-review-verdict .food26-review-verdict__list-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	height: 1.7em;
	margin-top: 3px;
	font-size: 1.15rem;
	line-height: 1.7;
}

.food26-review-verdict__list-icon svg,
.food26-review-verdict__dish-list svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.food26-review-verdict__list--good .food26-review-verdict__list-icon {
	color: var(--food26-rv-good);
}

.food26-review-verdict__list--bad .food26-review-verdict__list-icon {
	color: var(--food26-rv-highlight);
}

.food26-review-verdict .food26-review-verdict__dishes {
	margin-bottom: 34px;
}

.food26-review-verdict .food26-review-verdict__dish-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.food26-review-verdict .food26-review-verdict__dish-list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 16px;
	font-weight: 600;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.09);
	border-radius: 999px;
}

.food26-review-verdict__dish-list svg {
	color: var(--food26-rv-highlight);
}

/* 4. Closing line, signature ---------------------------------------------------------------------- */
.food26-review-verdict .food26-review-verdict__text {
	margin: 0;
	font-family: var(--inoforest-font-heading-family, inherit);
	font-size: 1.3rem;
	font-style: italic;
	line-height: 1.55;
	color: #fff;
}

.food26-review-verdict .food26-review-verdict__signature {
	display: block;
	margin: 16px 0 0;
	font-family: "Caveat", cursive;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--food26-rv-highlight);
}

.food26-review-verdict__hint {
	margin: 0;
}

/* 5. Phones ---------------------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.food26-review-verdict {
		padding: 28px 20px;
	}

	.food26-review-verdict .food26-review-verdict__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.food26-review-verdict .food26-review-verdict__lists {
		grid-template-columns: minmax(0, 1fr);
	}

	.food26-review-verdict .food26-review-verdict__bars li {
		grid-template-columns: 90px minmax(0, 1fr) 34px;
		gap: 12px;
	}
}
