/*
 * Fleet Program page — pairs with page-fleet-program.php.
 * Loaded only on that page template, see functions-enqueue-snippet.php.
 *
 * Colors read from Avada's global --awb-color* vars first, same fallback
 * convention as shared.css/manager-resources.css. Self-contained (its own
 * scoped vars + classes) rather than reusing shared.css's .gm-btn, which
 * only resolves inside #gm-home — same convention manager-resources.css
 * already established for non-homepage pages.
 */

#gm-fleet-program {
	--gm-fleet-red: var(--awb-color2, #ed2e38);
	--gm-fleet-black: var(--awb-color1, #0a0a0a);
	--gm-fleet-gray-lt: #f4f4f4;
	--gm-fleet-gray-md: #595959;
	max-width: 900px;
	margin: 0 auto;
	padding: 48px 24px 64px;
	font-family: var(--awb-body-typography-font-family, inherit);
	color: var(--gm-fleet-black);
	box-sizing: border-box;
}

#gm-fleet-program section {
	margin-bottom: 48px;
}

#gm-fleet-program h1,
#gm-fleet-program h2,
#gm-fleet-program h3 {
	font-family: var(--awb-heading-typography-font-family, inherit);
	line-height: 1.2;
	margin: 0 0 12px;
}

#gm-fleet-program h2 {
	font-size: 1.75rem;
}

.gm-fleet__badge {
	display: inline-block;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gm-fleet-red);
	background: rgba(237, 46, 56, 0.08);
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.gm-fleet__title {
	font-size: clamp(28px, 5vw, 40px);
}

.gm-fleet__subhead {
	font-size: 16px;
	color: var(--gm-fleet-gray-md);
	max-width: 640px;
	line-height: 1.5;
}

/* Benefits strip */
.gm-fleet__benefits-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.gm-fleet__benefits-item {
	background: var(--gm-fleet-gray-lt);
	border-radius: 8px;
	padding: 16px 18px 16px 40px;
	font-size: 15px;
	line-height: 1.4;
	position: relative;
}

.gm-fleet__benefits-item::before {
	content: "\2713";
	position: absolute;
	left: 16px;
	color: var(--gm-fleet-red);
	font-weight: 700;
}

/* Apply intro */
.gm-fleet__apply-intro {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.5;
}

/* Account types */
.gm-fleet__account-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.gm-fleet__account-card {
	background: var(--gm-fleet-gray-lt);
	border-radius: 8px;
	padding: 24px;
}

.gm-fleet__account-terms {
	font-weight: 400;
	font-size: 0.7em;
	color: var(--gm-fleet-gray-md);
}

.gm-fleet__account-requirement {
	font-weight: 600;
	color: var(--gm-fleet-red);
	margin: 0 0 12px;
}

/* Apply / download */
.gm-fleet__apply {
	background: var(--gm-fleet-gray-lt);
	border-radius: 8px;
	padding: 32px 24px;
}

.gm-fleet__download-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--gm-fleet-red);
	color: #ffffff;
	font-weight: 600;
	padding: 16px 28px;
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.gm-fleet__download-btn:hover {
	background: color-mix(in srgb, var(--gm-fleet-red) 85%, black);
}

.gm-fleet__instructions {
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gm-fleet-gray-md);
}

.gm-fleet__instructions a {
	color: var(--gm-fleet-red);
	font-weight: 600;
}

@media (max-width: 600px) {
	#gm-fleet-program {
		padding: 32px 16px 48px;
	}
}
