/**
 * /referencje/ (Figma 4896:5357, Reviews Grid 5084:2329): three groups of
 * reviews on white, each under a burgundy eyebrow with a short rule, then
 * the link to every Google review and the recommendation letters.
 */

/* Right under the title band, as in the mockup; blocks 24 px apart (the
 * section's own gap). */
.e-refs-reviews {
	padding-top: clamp(0.5rem, -0.0634rem + 2.4038vw, 1.5rem);
}

/* Every group after the first starts lower than its cards sit under it. */
.e-refs-reviews > .is-style-eyebrow:not(:first-child),
.e-refs-reviews > .wp-block-eteria-google-rating {
	margin-block-start: clamp(2.5rem, 1.9366rem + 2.4038vw, 3.5rem);
}

.e-refs-reviews > .is-style-eyebrow {
	display: flex;
	gap: 16px;
	align-items: center;
}

.e-refs-reviews > .is-style-eyebrow::after {
	content: "";
	flex: none;
	width: 60px;
	height: 1px;
	background-color: var(--wp--preset--color--graphite);
}

/* On phones the longer labels wrap; a rule after a wrapped line floats off. */
@media (max-width: 599px) {

	.e-refs-reviews > .is-style-eyebrow::after {
		display: none;
	}
}

/* The letters follow the reviews on the same white: no second full gap.
 * Each kind under its H2. */
.e-refs-scans {
	padding-top: 0;
}

.e-refs-scans > * + * {
	margin-block-start: var(--e-gap-md);
}

.e-refs-scans > h2 {
	margin-block-start: var(--e-gap-lg);
}

.e-refs-scans > h2:first-child {
	margin-block-start: 0;
}
