/*
 * O6 values (patterns/section-values.php, section-values-titled.php) and the
 * M5 value row (component-value-row.php), Figma 3052:24 / 2952:3571.
 * Portrait image 297 | 134 gap | list 841; each row is label 254 | 120 gap |
 * statement 467, vertically centred.
 */

.meckup-values__grid.is-layout-grid {
	grid-template-columns: minmax(0, 297fr) minmax(0, 841fr);
	column-gap: 10.53%;
	align-items: start;
}

.meckup-value-row.is-layout-grid {
	grid-template-columns: minmax(0, 254fr) minmax(0, 467fr);
	column-gap: 14.27%;
	align-items: center;
}

/*
 * R-VAL-1: below 1100 the label column gets too narrow ("Sustainability" spilled
 * 45 px at 782), so the image goes above the list (portrait, at most 296 wide).
 * The rows keep label | statement down to 782, then stack too.
 */
@media (max-width: 1099px) {
	.meckup-values__grid.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.meckup-values__grid > .wp-block-image {
		max-width: 18.5rem;
	}
}

@media (max-width: 781px) {
	.meckup-value-row.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--30);
	}
}
