/* core/group, style "image-rows": full-width rows, each a Columns [Image | heading + text]. Odd rows grey with the
   picture on the left, even rows white with it on the right. The picture sits contained in a 646 × 550 box (logos;
   a white JPG ground blends into the grey). No mobile frame: picture above the text.
   Figma: Accreditations 8243:17721 (rows 8243:18536, 8243:18547) */

.wp-block-group.is-style-image-rows > .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 40.375rem));
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 1.25rem;
	background: var(--wp--preset--color--surface);
}

.wp-block-group.is-style-image-rows > .wp-block-columns:nth-child(even) {
	background: var(--wp--preset--color--base);
}

.wp-block-group.is-style-image-rows > .wp-block-columns:nth-child(even) > .wp-block-column:first-child {
	order: 1;
}

.wp-block-group.is-style-image-rows .wp-block-image {
	aspect-ratio: 646 / 550;
	margin: 0;
}

/* Figma's logo frame: 70.8% × 41.8% of the box, centred */
.wp-block-group.is-style-image-rows .wp-block-image img {
	box-sizing: border-box;
	inline-size: 100%;
	block-size: 100%;
	padding: 24.77% 14.61%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* text: centred beside the picture, 30px apart */
.wp-block-group.is-style-image-rows .wp-block-column:last-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.875rem;
	padding-inline: clamp(1.25rem, 4.2vw, 5rem);
}

.wp-block-group.is-style-image-rows .wp-block-column:last-child > * {
	margin: 0;
}

.wp-block-group.is-style-image-rows :is(h2, h3) {
	line-height: 1.1;
}

.wp-block-group.is-style-image-rows .has-text-10-font-size {
	line-height: 1.5;
}

@media (width < 782px) {
	.wp-block-group.is-style-image-rows > .wp-block-columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
		padding-block: 1.875rem;
	}

	.wp-block-group.is-style-image-rows > .wp-block-columns:nth-child(even) > .wp-block-column:first-child {
		order: 0;
	}

	.wp-block-group.is-style-image-rows .wp-block-image {
		aspect-ratio: 2 / 1;
	}

	.wp-block-group.is-style-image-rows .wp-block-image img {
		padding: 0;
	}

	.wp-block-group.is-style-image-rows .wp-block-column:last-child {
		gap: 1.25rem;
		padding-inline: 0;
	}
}
