/**
 * Shared pickup/van fleet-purchasing banner.
 */

.exg-light-duty-fleet-notice {
	display: grid;
	width: 100%;
	grid-template-areas:
		"icon heading heading"
		"body body cta";
	grid-template-columns: 46px minmax(0, 1fr) minmax(126px, auto);
	align-items: center;
	gap: 6px 10px;
	padding: 10px 10px 10px 12px;
	border: 1px solid var(--exg-gold, #ffc800);
	border-left: 6px solid var(--exg-gold, #ffc800);
	border-radius: 4px;
	background: #fffdf6;
	color: var(--exg-black, #0a0a0a);
	box-shadow: none;
	box-sizing: border-box;
}

.exg-light-duty-fleet-notice--pdp {
	margin: 18px 0 0;
}

.exg-light-duty-fleet-notice--category {
	margin: 0 0 16px;
}

.exg-light-duty-fleet-notice__icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	grid-area: icon;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--exg-black, #0a0a0a);
	border-radius: 50%;
	color: var(--exg-black, #0a0a0a);
	box-sizing: border-box;
}

.exg-light-duty-fleet-notice__icon svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
	stroke: none;
}

.exg-light-duty-fleet-notice__copy {
	display: contents;
}

#main-content#main-content .exg-light-duty-fleet-notice__copy h2,
.exg-light-duty-fleet-notice__copy h2 {
	display: grid;
	grid-area: heading;
	gap: 1px;
	margin: 0;
	color: var(--exg-black, #0a0a0a);
	font-family: var(--exg-display, "Arial Narrow", Arial, sans-serif) !important;
	font-size: clamp(16px, 1.3vw, 19px) !important;
	font-weight: var(--exg-weight-display, 800);
	letter-spacing: normal;
	line-height: 1 !important;
	text-transform: uppercase;
	white-space: normal;
}

.exg-light-duty-fleet-notice__copy h2 span,
.exg-light-duty-fleet-notice__copy h2 strong {
	display: inline;
}

.exg-light-duty-fleet-notice__copy h2 strong {
	color: #9b7300;
	font: inherit;
}

.exg-light-duty-fleet-notice__copy p {
	grid-area: body;
	margin: 0;
	max-width: 620px;
	color: #2f302f;
	font-family: var(--exg-body, Arial, sans-serif);
	font-size: 10.5px;
	line-height: 14px;
}

.exg-light-duty-fleet-notice__link {
	display: inline-flex;
	min-width: 126px;
	min-height: 38px;
	grid-area: cta;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 7px 10px;
	border: 1px solid var(--exg-black, #0a0a0a);
	border-radius: 4px;
	background: #fff;
	color: var(--exg-black, #0a0a0a);
	font-family: var(--exg-display, "Arial Narrow", Arial, sans-serif);
	font-size: 12px;
	font-weight: var(--exg-weight-action, 700);
	letter-spacing: 0.025em;
	line-height: 14px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	box-sizing: border-box;
}

.exg-light-duty-fleet-notice__link span:last-child {
	font-size: 17px;
	line-height: 1;
	transition: transform 0.18s ease;
}

.exg-light-duty-fleet-notice__link:is(:hover, :focus-visible) {
	border-color: var(--exg-black, #0a0a0a);
	background: var(--exg-black, #0a0a0a);
	color: #fff;
}

.exg-light-duty-fleet-notice__link:is(:hover, :focus-visible) span:last-child {
	transform: translateX(3px);
}

@media (max-width: 620px) {
	.exg-light-duty-fleet-notice {
		grid-template-areas:
			"icon heading"
			"body body"
			"cta cta";
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 7px 10px;
		padding: 10px;
	}

	.exg-light-duty-fleet-notice__icon {
		width: 42px;
		height: 42px;
	}

	.exg-light-duty-fleet-notice__icon svg {
		width: 28px;
		height: 28px;
	}

	.exg-light-duty-fleet-notice__link {
		width: 100%;
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.exg-light-duty-fleet-notice__link span:last-child {
		transition: none;
	}
}
