/**
 * Home pricing section styles — Figma node 2617:3381.
 */

.gh-pricing {
	/* Full-bleed out of the .site-content (max 1120px) wrapper. */
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--gh-green-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	padding: 120px 160px;
	color: var(--gh-white);
}

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

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

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

.gh-pricing__cards {
	display: flex;
	gap: 32px;
	width: 100%;
	max-width: 1120px;
	justify-content: center;
}

.gh-pricing__card {
	display: flex;
	flex-direction: column;
	width: 352px;
	background: #fcf8f5;
	overflow: hidden;
}

.gh-pricing__card-head {
	background: var(--gh-green);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 32px;
}

.gh-pricing__card-head p {
	margin: 0;
	max-width: 288px;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-white);
	text-align: center;
}

.gh-pricing__card-img {
	display: block;
	width: 100%;
	height: auto;
}

/* Outline button variant on the dark background. */
.gh-pricing__cta {
	background: transparent;
	border: 1px solid #e6e6e6;
	color: var(--gh-white);
}

.gh-pricing__cta:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--gh-white);
}

/* Laptop / small desktop (1024–1439px): tighter 80px sides + reduced vertical.
   ≥1440px keeps the original 160px / generous vertical. */
@media (min-width: 1024px) and (max-width: 1439px) {
	.gh-pricing {
		padding: 96px 40px;
	}
}

@media (max-width: 1023px) {
	.gh-pricing {
		padding: 64px 24px;
	}

	.gh-pricing__cards {
		flex-wrap: wrap;
	}
}

/* Mobile layout — Figma node 3173:14104. */
@media (max-width: 768px) {
	.gh-pricing {
		padding: 80px 16px;
	}

	.gh-pricing__head {
		text-align: left;
	}

	.gh-pricing__cards {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}

	.gh-pricing__card {
		width: 100%;
	}

	.gh-pricing__card-head {
		padding: 32px;
	}
}
