/**
 * Home "Impact stories" section styles — Figma node 2617:3479.
 */

.gh-impact {
	/* Full-bleed out of the .site-content (max 1120px) wrapper. */
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--gh-accent);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 64px;
	padding: 80px 160px;
}

.gh-impact__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: center;
	max-width: 1120px;
	width: 100%;
}

.gh-impact__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
}

.gh-impact__subtitle {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-secondary);
}

.gh-impact__card {
	margin: 0;
	width: 1120px;
	max-width: 100%;
	background: var(--gh-white);
	border-radius: 24px;
	padding: 48px 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.gh-impact__body {
	width: 640px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.gh-impact__quote {
	margin: 0;
	font-family: 'schibsted_grotesk_regular', Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 36px;
	color: var(--gh-text-primary);
}

.gh-impact__cite {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gh-impact__name {
	font-family: 'avenir_next_worldbold', 'Verdana';
	font-weight: normal;
	font-size: 20px;
	line-height: 28px;
	color: var(--gh-text-primary);
}

.gh-impact__role {
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-secondary);
}

.gh-impact__portrait {
	flex-shrink: 0;
	width: 256px;
	height: 320px;
	border-radius: 16px;
	overflow: hidden;
	background: #e6e6e6;
}

.gh-impact__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Laptop / small desktop (1024–1439px): tighter 80px sides + reduced vertical. */
@media (min-width: 1024px) and (max-width: 1439px) {
	.gh-impact {
		padding: 64px 40px;
	}
}

@media (max-width: 1023px) {
	.gh-impact {
		padding: 56px 24px;
	}
	.gh-impact__body {
		width: 100%;
	}
}

/* Mobile — Figma node 3247:12735. */
@media (max-width: 991px) {
	.gh-impact {
		gap: 32px;
		padding: 48px 16px;
	}
	
	.gh-impact__quote {
		font-size: 16px;
		line-height: 32px;
	}
	
}
@media (max-width: 767px) {
	.gh-impact__card {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px;
		border-radius: 16px;
		gap: 32px;
	}
	.gh-impact__portrait {
		width: 100%;
		flex-basis: auto;
	}
	.gh-impact__card {
		/* flex-direction/align-items already set in the ≤991 block. */
		padding: 32px 24px;
	}
	.gh-impact__head {
		align-items: flex-start;
		text-align: left;
	}
	.gh-impact__portrait {
		width: 100%;
		height: 280px;
	}
}
