/**
 * NA Strategic Partnerships — matches .na-partnerships in national-accounts.html / styles.css
 */

.na-partnerships-block.na-partnerships {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.na-partnerships {
	width: 100%;
	padding: 100px 80px 80px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 72px;
}

/* Section header */
.na-partnerships-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	max-width: 1280px;
	width: 100%;
}

/* Shared .es-section-title / .es-section-subtitle typography lives in theme style.css */
.na-partnerships-header .es-section-title {
	text-align: center;
}

.na-partnerships-header .es-section-subtitle {
	text-align: center;
	max-width: 900px;
}

/* Two collaborator cards */
.na-partnerships-grid {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	width: 100%;
	max-width: 1280px;
}

.na-partnership-card {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 0 64px;
	min-width: 0;
}

.na-partnership-logo {
	width: 172px;
	height: 83px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.na-partnership-logo--relay {
	width: 226px;
}

.na-partnership-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.na-partnership-description {
	margin: 0;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: var(--smith-grey);
	text-align: center;
}

/* Footer rich text (two lines in HTML) */
.na-partnerships-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.na-partnerships-footer p {
	margin: 0;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 400;
	font-size: var(--text-medium, 18px);
	line-height: 1.5;
	color: var(--smith-grey);
	text-align: center;
}

.na-partnerships-cta {
	display: flex;
	justify-content: center;
}

.na-partnerships-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 8px 32px;
	background: var(--orange, #e57440);
	color: #fff;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	border-radius: 8px;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.na-partnerships-btn:hover {
	background-color: var(--btn-primary-hover);
	box-shadow: 0px 6px 14px rgba(1, 13, 20, 0.1);
}

.na-partnerships-btn:active {
	background-color: var(--btn-primary-pressed);
	box-shadow: none;
}

@media (max-width: 1024px) {
	.na-partnerships {
		padding: 80px 40px 60px;
		gap: 56px;
	}

	.na-partnership-card {
		padding: 0 32px;
	}
}

@media (max-width: 768px) {
	.na-partnerships {
		padding: 60px 24px 48px;
		gap: 48px;
	}

	/* Base .na-partnerships-grid uses align-items: flex-start; in a column stack that pins cards to the left */
	.na-partnerships-grid {
		flex-direction: column;
		gap: 40px;
		align-items: center;
	}

	.na-partnership-card {
		padding: 0;
		max-width: 400px;
		width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 480px) {
	.na-partnerships {
		padding: 48px 16px 40px;
	}

	.na-partnerships-header .es-section-subtitle,
	.na-partnerships-footer p {
		font-size: 16px;
	}

	.na-partnerships-btn {
		padding: 8px 24px;
		font-size: 14px;
	}
}
