/**
 * Home "Toddle + GrowHall" ecosystem section styles — Figma node 4132:13615.
 *
 * Layout: a full-bleed white section holds a centred cream rounded card. The
 * card stacks a centred header, a row of two white logo cards (Toddle +
 * GrowHall), and a full-width teal "Unified AI" bar. The bar reaches the card's
 * rounded bottom edge via the card's `overflow: hidden`; the header and card
 * row carry the 64px horizontal inset so the bar alone runs edge to edge.
 */

.gh-partner {
	/* Full-bleed out of the .site-content (max 1120px) wrapper. */
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--gh-white);
	display: flex;
	justify-content: center;
	padding: 96px 160px;
}

/* Cream rounded container; everything (header, cards, bar) lives inside it. */
.gh-partner__card {
	width: 1120px;
	max-width: 100%;
	min-width: 0; /* allow the flex item to shrink below content min-size on mobile */
	background: var(--gh-accent);
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding-top: 64px;
}

/* The 64px horizontal inset shared by the header + card row (so the teal bar,
   which has no inset, runs full width). */
.gh-partner__head,
.gh-partner__cols {
	padding-left: 64px;
	padding-right: 64px;
}

.gh-partner__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
	text-align: center;
}

.gh-partner__eyebrow {
	margin: 0;
	font-family: 'avenir_next_worlddemi', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	color: var(--gh-green); /* teal #00644d */
}

.gh-partner__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.gh-partner__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-partner__subtitle {
	margin: 0;
	max-width: 640px;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-secondary);
}

.gh-partner__cols {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 56px;
}
.gh-partner__col-divider{
	display: flex;
    align-items: center;
    justify-content: center;
}
.gh-partner__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 40px 24px;
	background: var(--gh-white);
	border-radius: 16px;
}

.gh-partner__col-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
	width: 100%;
}

/* Logo row — both logos sit on a 36px-tall line for an even baseline. */
.gh-partner__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
}

/* Default single-image logo (Toddle) sizes to the 30px Figma mark height. */
.gh-partner__logo img {
	display: block;
	width: auto;
	height: 30px;
}

.gh-partner__logo--growhall {
	gap: 6px;
}

/* GrowHall is two images (mark + wordmark) at their own Figma heights — the
   descendant selector outranks the default `.gh-partner__logo img` rule. */
.gh-partner__logo--growhall .gh-partner__logomark {
	height: 24px;
}

.gh-partner__logo--growhall .gh-partner__logotext {
	height: 14px;
}

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

.gh-partner__pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.gh-partner__pills--narrow {
	max-width: 411px;
}

/* A non-wrapping pair of pills — keeps the GrowHall card to two-per-row. */
.gh-partner__pill-row {
	display: flex;
	gap: 8px;
}

.gh-partner__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 8px;
	font-family: 'avenir_next_worlddemi', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-primary);
	white-space: nowrap;
}

/* Laptop / small desktop (1024–1439px): tighter section padding. */
@media (min-width: 1024px) and (max-width: 1439px) {
	.gh-partner {
		padding: 80px 40px;
	}
}

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

	/* Tighten the inset so the cards keep usable width on tablet. */
	.gh-partner__head,
	.gh-partner__cols {
		padding-left: 32px;
		padding-right: 32px;
	}
}
@media (max-width: 991px) {
	.gh-partner__title{
		font-size: 30px;
		line-height: 38px;
	}
}
@media (max-width: 767px) {
	.gh-partner {
		padding: 48px 16px;
	}
	.gh-partner__title{
		font-size: 28px;
		line-height: 32px;
	}
	.gh-partner__card {
		padding-top: 40px;
	}

	/* Header left-aligns on mobile. */
	.gh-partner__head {
		align-items: center;
		text-align: center;
		margin-bottom: 24px;
	}

	.gh-partner__heading {
		align-items: flex-start;
	}

	.gh-partner__head,
	.gh-partner__cols {
		padding-left: 16px;
		padding-right: 16px;
	}
	.gh-partner__cols {
		flex-direction: column;
		margin-bottom: 40px;
	}
	.gh-partner__col {
		padding: 24px 16px;
	}
	.gh-partner__pills--narrow {
		max-width: none;
	}

	.gh-partner__pill-row {
		flex-wrap: wrap;
		justify-content: center;
	}

	.gh-partner__pill {
		padding: 6px 10px;
		font-size: 13px;
		line-height: 20px;
	}
}

@media (min-width: 1025px) {
	.gh-partner__title {
		font-size: 40px;
		line-height: 48px;
	}
}
