/* Homepage 2026 hero styles, including responsive variants. */

.ol-home-2026__hero:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--hero-blue: var(--openlane-onward-blue);
	position: relative;
	min-height: 991px;
	overflow: hidden;
	isolation: isolate;
	background: var(--hero-blue);
	color: var(--openlane-core-white);
}

.ol-home-2026__glow:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	z-index: -1;
	width: 794px;
	height: 794px;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: url("../../images/homepage-2026/glow.svg") center no-repeat;
	pointer-events: none;
}

.ol-home-2026__hero-content:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: relative;
	z-index: 2;
	width: min(780px, calc(100% - 40px));
	margin: 0 auto;
	padding-top: 291px;
	text-align: center;
}

.ol-home-2026__hero h1:where(.homepage-2026-hero, .homepage-2026-hero *) {
	margin: 0;
	color: var(--openlane-core-white);
	font-family: Poppins, sans-serif;
	font-size: clamp(48px, 4.55vw, 66px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
}

.ol-home-2026__hero h1 span:where(.homepage-2026-hero, .homepage-2026-hero *) {
	color: #78aaff;
}

.ol-home-2026__hero-content > p:where(.homepage-2026-hero, .homepage-2026-hero *) {
	max-width: 690px;
	margin: 25px auto 0;
	color: var(--openlane-core-white);
	font-size: var(--Font-Body);
	line-height: 1.75;
}

.ol-home-2026__hero-actions:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}

.ol-home-2026__button:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 40px;
	border: 2px solid var(--openlane-core-white);
	border-radius: var(--radius-button);
	color: var(--openlane-core-white);
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.ol-home-2026__button:hover:where(.homepage-2026-hero, .homepage-2026-hero *),
.ol-home-2026__button:focus-visible:where(.homepage-2026-hero, .homepage-2026-hero *) {
	background: var(--openlane-core-white);
	color: var(--openlane-blue);
	text-decoration: none;
}

.ol-home-2026__button--primary:where(.homepage-2026-hero, .homepage-2026-hero *) {
	background: var(--openlane-core-white);
	color: var(--openlane-blue);
}

.ol-home-2026__button--primary:hover:where(.homepage-2026-hero, .homepage-2026-hero *),
.ol-home-2026__button--primary:focus-visible:where(.homepage-2026-hero, .homepage-2026-hero *) {
	background: #ccdeff;
	border-color: #ccdeff;
	color: var(--openlane-onward-blue);
}

.ol-home-2026__art:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	inset: 0;
	width: min(1440px, 100%);
	margin: auto;
	pointer-events: none;
}

.ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	overflow: hidden;
	border-radius: var(--radius-card-lg);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
}

.ol-home-2026-motion-ready .ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
	opacity: 0;
	transform: translate3d(var(--enter-x, 0), var(--enter-y, 0), 0);
	transition:
		opacity 0.7s ease,
		transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.ol-home-2026-motion-ready .ol-home-2026__hero.is-revealed .ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.ol-home-2026__art-card img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ol-home-2026__card-video:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
.ol-home-2026__card-video.is-playing:where(.homepage-2026-hero, .homepage-2026-hero *) {
		visibility: visible;
	}
}

.ol-home-2026__video-toggle:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 5;
	padding: 8px 12px;
	border: 1px solid var(--openlane-core-white);
	border-radius: var(--radius-button);
	background: var(--openlane-onward-blue);
	color: var(--openlane-core-white);
	font: 500 12px/1.5 Poppins, sans-serif;
	cursor: pointer;
}

.ol-home-2026__video-toggle[hidden]:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: none;
}

.ol-home-2026__video-toggle:focus-visible:where(.homepage-2026-hero, .homepage-2026-hero *) {
	outline: 3px solid #78aaff;
	outline-offset: 3px;
}

.ol-home-2026__art-card--inventory:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--enter-x: 218px;
	--enter-y: 53px;
	top: 99px;
	left: calc(4.5% + 100px);
	width: 247px;
	height: 163px;
	padding: 0;
	background: var(--openlane-light-silver-2);
}

.ol-home-2026__art-card--inventory img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	height: auto;
	object-position: top;
}

.ol-home-2026__art-card--inspection:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--enter-x: -280px;
	--enter-y: -159px;
	top: 115px;
	right: 14.3%;
	width: 163.9px;
	height: 210.1px;
}

.ol-home-2026__inspection-icon:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 37px;
	height: 37px;
	border-radius: 50%;
	background: var(--openlane-blue);
}

.ol-home-2026__inspection-icon img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	width: 24px;
	height: 24px;
}

.ol-home-2026__art-card--seller:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--enter-x: 352px;
	--enter-y: -30px;
	top: 360px;
	left: calc(50% - 670px);
	width: 320px;
	min-height: 7.875rem;
	height: auto;
	padding: 16px;
	background: var(--openlane-core-white);
	color: #333;
}

.ol-home-2026__seller-top:where(.homepage-2026-hero, .homepage-2026-hero *),
.ol-home-2026__seller-top > span:last-child:where(.homepage-2026-hero, .homepage-2026-hero *),
.ol-home-2026__seller-stats:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: flex;
}

.ol-home-2026__seller-top:where(.homepage-2026-hero, .homepage-2026-hero *) {
	align-items: center;
	gap: 12px;
	min-height: 2.9375rem;
	height: auto;
}

.ol-home-2026__seller-top > img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	flex: none;
	width: 44px;
	height: 44px;
}

.ol-home-2026__seller-top > span:last-child:where(.homepage-2026-hero, .homepage-2026-hero *) {
	flex-direction: column;
	gap: 8px;
}

.ol-home-2026__seller-skeleton:where(.homepage-2026-hero, .homepage-2026-hero *) {
	width: 144px;
	height: 10px;
	border-radius: var(--radius-card-sm);
	background: var(--openlane-silver);
}

.ol-home-2026__seller-top small:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: var(--Font-Label);
	line-height: 1;
}

.ol-home-2026__seller-top small img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	flex: none;
	width: 18px;
	height: 18px;
}

.ol-home-2026__seller-stats:where(.homepage-2026-hero, .homepage-2026-hero *) {
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid #ddd;
	font-size: var(--Font-Caption-Footnote);
	white-space: nowrap;
}

.ol-home-2026__seller-stats span:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: flex;
	align-items: center;
	gap: 5px;
}

.ol-home-2026__seller-stats img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	flex: none;
	width: 24px;
	height: 24px;
}

.ol-home-2026__art-card--services:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--enter-x: -311px;
	--enter-y: -56px;
	top: 420px;
	right: -35px;
	width: 326px;
	height: 174px;
	background: var(--openlane-core-white);
}

.ol-home-2026__art-card--services img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	object-fit: contain;
}

.ol-home-2026__art-card--customer:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--enter-x: 241px;
	--enter-y: -187px;
	top: 601px;
	left: 13.4%;
	width: 277.2px;
	height: 180.4px;
}

.ol-home-2026__art-card--customer span:where(.homepage-2026-hero, .homepage-2026-hero *) {
	position: absolute;
	bottom: 7px;
	left: 8px;
	right: 8px;
	padding: 8px 6px;
	border-radius: var(--radius-button);
	background: rgba(0, 0, 0, 0.48);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	color: var(--openlane-core-white);
	font-size: var(--Font-Caption-Footnote);
	text-align: center;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.ol-home-2026__art-card--customer span img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	object-fit: contain;
}

.ol-home-2026__art-card--vehicle:where(.homepage-2026-hero, .homepage-2026-hero *) {
	--enter-x: -131px;
	--enter-y: -403px;
	top: 642px;
	right: calc(26% - 110px);
	width: min(16.25rem, 100%);
	height: auto;
	display: flex;
	flex-direction: column;
	background: var(--openlane-core-white);
}

.ol-home-2026__art-card--vehicle > img:where(.homepage-2026-hero, .homepage-2026-hero *) {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.ol-home-2026__art-card--vehicle > span:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: none;
}

@media (max-width: 1100px) {
.ol-home-2026__hero-content:where(.homepage-2026-hero, .homepage-2026-hero *) {
		padding-top: 290px;
	}

.ol-home-2026__art-card--services:where(.homepage-2026-hero, .homepage-2026-hero *) {
		right: -165px;
	}

.ol-home-2026__art-card--inspection:where(.homepage-2026-hero, .homepage-2026-hero *) {
		right: 6%;
	}

.ol-home-2026__art-card--customer:where(.homepage-2026-hero, .homepage-2026-hero *) {
		left: 5%;
	}

.ol-home-2026__art-card--vehicle:where(.homepage-2026-hero, .homepage-2026-hero *) {
		right: calc(30% - 225px);
		top: 675px;
	}
}

@media (max-width: 800px) {
.ol-home-2026__hero:where(.homepage-2026-hero, .homepage-2026-hero *) {
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

.ol-home-2026__hero-content:where(.homepage-2026-hero, .homepage-2026-hero *) {
		order: -1;
		width: min(620px, calc(100% - 32px));
		padding-top: 126px;
	}

.ol-home-2026__hero h1:where(.homepage-2026-hero, .homepage-2026-hero *) {
		font-size: clamp(46px, 6vw, 56px);
	}

.ol-home-2026__hero-content > p:where(.homepage-2026-hero, .homepage-2026-hero *) {
		margin-top: 20px;
	}

.ol-home-2026__art:where(.homepage-2026-hero, .homepage-2026-hero *) {
		position: relative;
		inset: auto;
		width: min(520px, calc(100% - 32px));
		height: auto;
		aspect-ratio: 1.5;
		flex: none;
		margin: 36px auto 40px;
	}

.ol-home-2026__art-card--seller:where(.homepage-2026-hero, .homepage-2026-hero *),
.ol-home-2026__art-card--services:where(.homepage-2026-hero, .homepage-2026-hero *),
.ol-home-2026__art-card--vehicle:where(.homepage-2026-hero, .homepage-2026-hero *) {
		display: none;
	}

.ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
		--enter-x: 0;
		--enter-y: 20px;
		border-radius: var(--radius-card-sm);
	}

.ol-home-2026__art-card--inventory:where(.homepage-2026-hero, .homepage-2026-hero *) {
		display: block;
		top: 0;
		left: 0;
		right: auto;
		width: 58%;
		height: auto;
		aspect-ratio: 314 / 207;
		z-index: 1;
	}

.ol-home-2026__art-card--inspection:where(.homepage-2026-hero, .homepage-2026-hero *) {
		display: block;
		top: 8%;
		left: auto;
		right: 0;
		width: 32%;
		height: auto;
		aspect-ratio: 149 / 191;
		z-index: 2;
	}

.ol-home-2026__art-card--customer:where(.homepage-2026-hero, .homepage-2026-hero *) {
		top: auto;
		bottom: 0;
		left: 15%;
		right: auto;
		width: 64%;
		height: auto;
		aspect-ratio: 252 / 164;
		z-index: 3;
	}

.ol-home-2026-motion-ready .ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
		transition:
		opacity 0.4s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	}

.ol-home-2026-motion-ready .ol-home-2026__art-card--inspection:where(.homepage-2026-hero, .homepage-2026-hero *) {
		transition-delay: 0.07s;
	}

.ol-home-2026-motion-ready .ol-home-2026__art-card--customer:where(.homepage-2026-hero, .homepage-2026-hero *) {
		transition-delay: 0.14s;
	}

.ol-home-2026__glow:where(.homepage-2026-hero, .homepage-2026-hero *) {
		top: 50px;
	}
}

@media (max-width: 500px) {
.ol-home-2026__hero h1:where(.homepage-2026-hero, .homepage-2026-hero *) {
		font-size: clamp(43px, 12vw, 52px);
		line-height: 0.94;
	}

.ol-home-2026__desktop-break:where(.homepage-2026-hero, .homepage-2026-hero *) {
		display: none;
	}

.ol-home-2026__hero-content:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: calc(100% - 32px);
	}

.ol-home-2026__hero-content > p:where(.homepage-2026-hero, .homepage-2026-hero *) {
		margin-top: 28px;
		font-size: var(--Font-Body);
		line-height: 1.75;
	}

.ol-home-2026__hero-actions:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: min(324px, 100%);
		gap: 16px;
		margin: 32px auto 0;
	}

.ol-home-2026__button:where(.homepage-2026-hero, .homepage-2026-hero *) {
		flex: 1;
		min-width: 0;
		min-height: 56px;
		padding: 14px 16px;
	}

.ol-home-2026__button--primary:where(.homepage-2026-hero, .homepage-2026-hero *) {
		flex: 0 0 149px;
	}
}

@media (prefers-reduced-motion: reduce) {
.ol-home-2026-motion-ready .ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
		opacity: 1;
		transform: none;
		transition: none;
	}

.ol-home-2026__button:where(.homepage-2026-hero, .homepage-2026-hero *) {
		transition: none;
	}
}

@media (max-width: 1100px) {
.ol-home-2026
	> .ol-home-2026__hero:where(.homepage-2026-hero, .homepage-2026-hero *) {
		padding-inline: var(--page-gutter);
		box-sizing: border-box;
	}

.ol-home-2026 .ol-home-2026__hero-content:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: min(780px, 100%);
	}
}

@media (max-width: 800px) {
.ol-home-2026 .ol-home-2026__art:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: min(520px, 100%);
	}
}

@media (max-width: 380px) {
.ol-home-2026 .ol-home-2026__hero-actions:where(.homepage-2026-hero, .homepage-2026-hero *) {
		flex-direction: column;
	}

.ol-home-2026 .ol-home-2026__hero-actions .ol-home-2026__button:where(.homepage-2026-hero, .homepage-2026-hero *) {
		flex: auto;
		width: 100%;
		box-sizing: border-box;
	}
}

/* Readable brand pills on the enlarged truck card. */

.ol-home-2026__vehicle-brands:where(.homepage-2026-hero, .homepage-2026-hero *) {
	display: flex;
	padding: 1rem;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.ol-home-2026__vehicle-brands > span:where(.homepage-2026-hero, .homepage-2026-hero *) {
	padding: 3px 8px;
	border: 1px solid #c2d8ff;
	border-radius: 99px;
	background: #e0ebff;
	color: #17264d;
	font: 500 12px/18px Poppins, sans-serif;
	white-space: normal;
	max-width: 100%;
	overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
.ol-home-2026 .ol-home-2026__art:where(.homepage-2026-hero, .homepage-2026-hero *) {
		position: relative;
		inset: auto;
		flex: none;
		display: flex;
		align-items: center;
		gap: 1.5rem;
		width: max-content;
		max-width: none;
		height: auto;
		aspect-ratio: auto;
		margin: 57px 0 62px calc(-274px - var(--page-gutter));
	}

.ol-home-2026__art .ol-home-2026__art-card:where(.homepage-2026-hero, .homepage-2026-hero *) {
		position: relative;
		display: block;
		flex-shrink: 0;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		aspect-ratio: auto;
		border-radius: var(--radius-card-lg);
		box-shadow: none;
		--enter-x: 0;
		--enter-y: 20px;
	}

.ol-home-2026__art .ol-home-2026__art-card--seller:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: 320px;
		height: auto;
	}

.ol-home-2026__art .ol-home-2026__art-card--customer:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: 277.2px;
		height: 180.4px;
	}

.ol-home-2026__art .ol-home-2026__art-card--inventory:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: 247px;
		height: 163px;
	}

.ol-home-2026__art-card--inventory img:where(.homepage-2026-hero, .homepage-2026-hero *) {
		position: static;
		width: 100%;
		height: auto;
	}

.ol-home-2026__art .ol-home-2026__art-card--vehicle:where(.homepage-2026-hero, .homepage-2026-hero *) {
		display: flex;
		width: 16.25rem;
		height: auto;
	}

.ol-home-2026__art-card--vehicle > span:where(.homepage-2026-hero, .homepage-2026-hero *) {
		display: none;
	}

.ol-home-2026__art .ol-home-2026__art-card--inspection:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: 163.9px;
		height: 210.1px;
	}

.ol-home-2026__art .ol-home-2026__art-card--services:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: 326px;
		height: 174px;
	}

.ol-home-2026__art-card--customer span:where(.homepage-2026-hero, .homepage-2026-hero *) {
		min-height: 2.125rem;
		height: auto;
		box-sizing: border-box;
		padding: 4px 15px;
		gap: 8px;
		background: rgba(0, 0, 0, 0.2);
		backdrop-filter: blur(5px);
		font-weight: 500;
	}

.ol-home-2026__art-card--customer span img:where(.homepage-2026-hero, .homepage-2026-hero *) {
		width: 15.604px;
		height: 15.604px;
		flex-basis: 15.604px;
	}
}

@media (max-width: 600px) {
.ol-home-2026 .ol-home-2026__art:where(.homepage-2026-hero, .homepage-2026-hero *) {
		margin-top: 64px;
		margin-bottom: 35px;
	}
}


@media (min-width: 1101px) {
.ol-home-2026__hero-content > p:where(.homepage-2026-hero, .homepage-2026-hero *) {
		max-width: 740px;
	}

.ol-home-2026__art-card--customer:where(.homepage-2026-hero, .homepage-2026-hero *) {
		top: 625px;
	}

.ol-home-2026__art-card--vehicle:where(.homepage-2026-hero, .homepage-2026-hero *) {
		right: calc(26% - 134px);
	}
}

/* Homepage presentation, scoped to this block. */

#main.ol-home-2026 h2:where(.homepage-2026-hero, .homepage-2026-hero *) {
  font: var(--openlane-web-h2);
  letter-spacing: var(--openlane-web-h2-letter-spacing);
}

#main.ol-home-2026 .ol-home-2026__hero h1:where(.homepage-2026-hero, .homepage-2026-hero *) {
  font: var(--openlane-web-h1-sm);
  letter-spacing: var(--openlane-web-h1-sm-letter-spacing);
}

#main.ol-home-2026 :where(.ol-home-2026__button, .ol-wholesale__button,
  .ol-home-2026__information .wp-block-button__link, .ol-services__button,
  .ol-comparison__button, .ol-home-2026-signup .white-background .btn):where(.homepage-2026-hero, .homepage-2026-hero *) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 0;
  border: 0;
  border-radius: var(--radius-rounded-full);
  padding: var(--button-padding-y-large) var(--button-padding-x-large);
  font: 600 var(--button-font-size-large) / 24px var(--font-family-poppins);
  letter-spacing: 0;
  background: var(--color-primary-openlane-blue);
  color: var(--color-primary-core-white);
  box-shadow: none;
  text-align: center;
  text-decoration: none;
}

#main.ol-home-2026 .ol-home-2026__button--primary:where(.homepage-2026-hero, .homepage-2026-hero *) {
  background: var(--color-primary-core-white);
  color: var(--color-primary-openlane-blue);
}

#main.ol-home-2026 .ol-home-2026__button--primary:hover:where(.homepage-2026-hero, .homepage-2026-hero *) {
  background: #ccdeff;
  color: var(--color-primary-onward-blue);
}

#main.ol-home-2026 :is(.ol-home-2026__button--secondary, .ol-comparison__button--secondary):where(.homepage-2026-hero, .homepage-2026-hero *) {
  background: transparent;
  box-shadow: inset 0 0 0 var(--button-state-border-width) var(--color-primary-openlane-blue);
}

#main.ol-home-2026 .ol-home-2026__button--secondary:where(.homepage-2026-hero, .homepage-2026-hero *) {
  color: var(--color-primary-core-white);
  box-shadow: inset 0 0 0 var(--button-state-border-width) var(--color-primary-core-white);
}

#main.ol-home-2026 .ol-home-2026__button--secondary:hover:where(.homepage-2026-hero, .homepage-2026-hero *) {
  background: var(--color-primary-core-white);
  color: var(--color-primary-openlane-blue);
  box-shadow: none;
}

#main.ol-home-2026 .ol-home-2026__button--secondary:where(.homepage-2026-hero, .homepage-2026-hero *) {
  --button-focus-background: var(--color-primary-core-white);
  --button-focus-color: var(--color-primary-openlane-blue);
  --button-focus-shadow: 0 0 2px rgb(0 0 0 / 25%);
}

#main.ol-home-2026 :is(.ol-home-2026__button, .ol-wholesale__button,
  .ol-home-2026__information .wp-block-button__link, .ol-services__button,
  .ol-comparison__button, .ol-home-2026-signup .white-background .btn):is(:focus-visible, :active):where(.homepage-2026-hero, .homepage-2026-hero *) {
  background: var(--button-focus-background);
  color: var(--button-focus-color);
  box-shadow: var(--button-focus-shadow);
  outline: none;
}

@media (max-width: 766px) {
#main.ol-home-2026 .ol-home-2026__button:where(.homepage-2026-hero, .homepage-2026-hero *) {
    --button-state-border-width: 2.75px;
  }
}

@media (max-width: 766px) {
#main.ol-home-2026 .ol-home-2026__button:where(.homepage-2026-hero, .homepage-2026-hero *) {
    padding: var(--button-padding-y-default) var(--button-padding-x-default);
    font-size: var(--button-font-size-default);
    line-height: 23px;
    flex: 1;
  }
}

@media (max-width: 766px) {
#main.ol-home-2026 .ol-home-2026__hero-actions:where(.homepage-2026-hero, .homepage-2026-hero *) { gap: var(--gaps-md); }
}

.homepage-2026-hero:where(.homepage-2026-hero, .homepage-2026-hero *) { --Font-H2: var(--typography-h2); }

.homepage-2026-hero:where(.homepage-2026-hero, .homepage-2026-hero *) { --Font-H1: var(--typography-h1-sm); }


.homepage-2026-hero > .container:where(.homepage-2026-hero, .homepage-2026-hero *) {
  width: 100%;
  max-width: none;
}

@media (max-width: 1100px) {
#main.ol-home-2026 > .homepage-2026-hero:where(.homepage-2026-hero, .homepage-2026-hero *) {
    padding-inline: max(0px, calc(var(--page-gutter) - 0.75rem));
  }
}

@media (max-width: 800px) {
.homepage-2026-hero > .container:where(.homepage-2026-hero, .homepage-2026-hero *) {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 801px) and (max-width: 1023px) {
  .homepage-2026-hero > .container {
    display: flex;
    flex-direction: column;
  }

  .homepage-2026-hero .ol-home-2026__hero-content {
    order: -1;
    padding-top: 140px;
  }

  .homepage-2026-hero.ol-home-2026__hero {
    min-height: 0;
  }
}

@media (min-width: 1024px) {
  .homepage-2026-hero > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(780px, 54vw) minmax(0, 1fr);
    gap: 40px 32px;
    align-items: center;
    max-width: 1440px;
    margin-inline: auto;
    padding: 104px 32px 64px;
  }

  .homepage-2026-hero .ol-home-2026__art {
    display: contents;
  }

  .homepage-2026-hero .ol-home-2026__hero-content {
    grid-area: 2 / 2;
    width: 100%;
    padding-top: 0;
    min-width: 0;
  }

  .homepage-2026-hero .ol-home-2026__art .ol-home-2026__art-card {
    position: relative;
    inset: auto;
    max-width: 100%;
    min-width: 0;
    --enter-x: 0px;
    --enter-y: 20px;
  }

  .homepage-2026-hero .ol-home-2026__art-card--inventory {
    grid-area: 1 / 1 / 2 / 3;
    margin-left: 100px;
  }

  .homepage-2026-hero .ol-home-2026__art-card--inspection {
    grid-area: 1 / 3 / 3 / 4;
    align-self: start;
  }

  .homepage-2026-hero .ol-home-2026__art-card--seller {
    grid-area: 2 / 1;
  }

  .homepage-2026-hero .ol-home-2026__art-card--services {
    grid-area: 2 / 3;
    justify-self: end;
  }

  .homepage-2026-hero .ol-home-2026__art-card--customer {
    grid-area: 3 / 1 / 4 / 3;
    align-self: start;
    margin: -80px 0 0 140px;
  }

  .homepage-2026-hero .ol-home-2026__art-card--vehicle {
    grid-area: 3 / 2 / 4 / 4;
    align-self: start;
    justify-self: end;
    margin: -80px 100px 0 0;
  }
}

@media (max-width: 1023px) {
  .ol-home-2026 .homepage-2026-hero .ol-home-2026__art {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    box-sizing: border-box;
    /* Keep a generous touch buffer below the hero CTAs and outside the scroller. */
    margin: var(--openlane-size-48) 0 40px;
    padding: 20px 24px 24px;
    overflow-x: auto;
    overflow-y: hidden;
    pointer-events: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
  }

  .homepage-2026-hero .ol-home-2026__art::-webkit-scrollbar {
    display: none;
  }

  .homepage-2026-hero .ol-home-2026__art:focus-visible {
    outline: 2px solid var(--openlane-core-white);
    outline-offset: -4px;
  }

  .homepage-2026-hero .ol-home-2026__art .ol-home-2026__art-card {
    max-width: calc(100vw - 64px);
    scroll-snap-align: start;
  }

  .homepage-2026-hero .ol-home-2026__art .ol-home-2026__art-card--inventory {
    height: auto;
    aspect-ratio: 314 / 207;
  }
}

/* Compact desktop keeps the collage beside copy, with lower cards below the CTAs. */
@media (min-width: 1024px) and (max-width: 1439px) {
  #main.ol-home-2026 .ol-home-2026__hero h1:where(.homepage-2026-hero, .homepage-2026-hero *) {
    --Font-H1: clamp(48px, 5vw, 72px);
  }

  .homepage-2026-hero .ol-home-2026__art-card--customer {
    margin: 0 0 0 32px;
  }

  .homepage-2026-hero .ol-home-2026__art-card--vehicle {
    margin: 0 32px 0 0;
  }

  .homepage-2026-hero .ol-home-2026__art-card--seller {
    padding: 12px;
  }

  .homepage-2026-hero .ol-home-2026__seller-top > span:last-child {
    min-width: 0;
    width: 100%;
  }

  .homepage-2026-hero .ol-home-2026__seller-skeleton {
    width: min(144px, 100%);
  }

  .homepage-2026-hero .ol-home-2026__seller-stats {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .homepage-2026-hero .ol-home-2026__art-card--services {
    height: auto;
    aspect-ratio: 494 / 240;
  }
}

.homepage-2026-hero .ol-home-2026__art .ol-home-2026__art-card--services {
    box-sizing: border-box;
    height: auto;
    aspect-ratio: auto;
    padding: 20px;
}

.homepage-2026-hero .ol-home-2026__art-card--services > img {
    width: 111.8993%;
    max-width: none;
    height: auto;
    margin: -5.7208% -5.9497%;
    object-fit: contain;
}

/* Automatic gallery motion keeps the native swipe/keyboard scroller. */
@media (max-width: 1023px) {
  .ol-home-2026 .homepage-2026-hero .ol-home-2026__art.is-auto-scrolling {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

/* Keep hero actions above the fold on shorter desktop browser windows. */
@media (min-width: 1024px) and (max-height: 760px) {
  .homepage-2026-hero > .container {
    padding-top: 72px;
    row-gap: 16px;
  }

  .homepage-2026-hero .ol-home-2026__hero-content > p {
    margin-top: 16px;
  }

  .homepage-2026-hero .ol-home-2026__hero-actions {
    margin-top: 16px;
  }
}
@media (max-width: 1023px) {
  .ol-home-2026 .homepage-2026-hero .ol-home-2026__art {
    width: calc(100% + var(--page-gutter) * 2);
    max-width: none;
    margin-inline: calc(-1 * var(--page-gutter));
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
}