/* Homepage 2026: shared page shell, gutters, header, and footer. Block styles live in blocks/. */
.ol-home-2026 {
	overflow: clip;
	font-family: Poppins, sans-serif;
}

body.page-template-template-homepage-2026 #menu-item-5941 {
	order: 1;
}

body.page-template-template-homepage-2026 #menu-item-26 {
	order: 2;
}

@media (max-width: 500px) {
	body.page-template-template-homepage-2026 #header .header-container {
		padding: 12px;
	}

	body.page-template-template-homepage-2026 .header-wrapper {
		height: 46px;
	}

	body.page-template-template-homepage-2026 #logo {
		height: 46px;
		padding: 12px;
	}

	body.page-template-template-homepage-2026 #logo .logo {
		width: 152px;
		height: 20px;
	}

	body.page-template-template-homepage-2026 #navicon {
		top: 6px;
		right: 6px;
		width: 35px;
		height: 34px;
	}
}

@media (max-width: 1100px) {
	.ol-home-2026 {
		--page-gutter: 3rem;
	}
}

@media (max-width: 600px) {
	.ol-home-2026 {
		--page-gutter: 2rem;
	}
}

/* Footer navigation follows the same colors at every viewport. */
body.page-template-template-homepage-2026 #footer .footer-menu-columns {
	font-family: Poppins, sans-serif;
	font-weight: 500;
}

body.page-template-template-homepage-2026 #footer .footer-menu-columns a {
	color: var(--openlane-core-white);
}

body.page-template-template-homepage-2026 #footer #footer-menu-2 a[href*="openlane.ca"] {
	color: var(--openlane-silver);
	font-weight: 400;
}

body.page-template-template-homepage-2026 #footer .menu-tag-careers > a:after {
	content: "We’re hiring!";
	color: var(--openlane-core-white);
	background: var(--openlane-blue);
}

@media (max-width: 1024px) {
	body.page-template-template-homepage-2026 #footer .footer-top {
		padding: 32px;
		background: var(--openlane-onward-blue);
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
		margin: 0;
	}

	body.page-template-template-homepage-2026 #footer .column-copyright,
	body.page-template-template-homepage-2026 #footer .column-copyright > .row,
	body.page-template-template-homepage-2026 #footer .column-copyright > .row > div {
		display: contents;
	}

	body.page-template-template-homepage-2026 #footer #footer-logo {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		width: 220px;
		height: 29px;
		margin: 0;
	}

	body.page-template-template-homepage-2026 #footer .column-social {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		margin-top: 53px;
		padding: 0;
		width: auto;
		max-width: none;
	}

	body.page-template-template-homepage-2026 #footer .column-social .flex-wrap {
		display: block;
	}

	body.page-template-template-homepage-2026 #footer #social-menu {
		display: flex;
		gap: 16px;
		margin: 0;
		text-align: left;
	}

	body.page-template-template-homepage-2026 #footer #social-menu a {
		width: 34px;
		height: 34px;
		flex: 0 0 34px;
		margin: 0;
	}

	body.page-template-template-homepage-2026 #footer #social-menu a i {
		line-height: 34px;
	}

	body.page-template-template-homepage-2026 #footer #social-menu a[href*="x.com"] {
		display: none;
	}

	body.page-template-template-homepage-2026 #footer .column-menu {
		grid-column: 2;
		grid-row: 1;
		padding: 0;
		width: 100%;
		max-width: none;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns > .row {
		display: grid;
		grid-template-columns: 140px 180px;
		margin: 0;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns .col-6 {
		width: auto;
		max-width: none;
		padding: 0;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns .menu {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin: 0;
		padding: 0;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns .menu-item {
		margin: 0;
		padding: 0;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns a {
		display: block;
		color: var(--openlane-core-white);
		font:
			500 15px/1.5 Poppins,
			sans-serif;
		letter-spacing: 0;
	}

	body.page-template-template-homepage-2026 #footer #footer-menu-2 a[href*="openlane.ca"] {
		max-width: 180px;
		color: var(--openlane-silver);
		font:
			400 14px/18px Poppins,
			sans-serif;
	}

	body.page-template-template-homepage-2026 #footer .menu-tag > a .link-text {
		padding-right: 8px;
	}

	body.page-template-template-homepage-2026 #footer .menu-tag-careers > a:after {
		content: "We’re hiring!";
		font-size: 11px;
		padding: 3px 8px;
		border-radius: 12px;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row::before {
		content: "";
		grid-column: 1/-1;
		grid-row: 2;
		height: 1px;
		background: rgba(0, 97, 255, 0.3);
	}

	body.page-template-template-homepage-2026 #footer .copyright {
		grid-column: 1;
		grid-row: 3;
		align-self: center;
		margin: 0;
		color: var(--openlane-silver);
		font:
			400 13px/1.5 Poppins,
			sans-serif;
		white-space: normal;
	}

	body.page-template-template-homepage-2026 #footer .store-buttons {
		grid-column: 2;
		grid-row: 3;
		justify-self: end;
		margin: 0;
		width: min(100%, 18rem);
		min-width: 0;
	}

	body.page-template-template-homepage-2026 #footer .store-buttons .row {
		display: flex;
		gap: 14px;
		margin: 0;
	}

	body.page-template-template-homepage-2026 #footer .store-buttons .row > div {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		padding: 0;
	}

	body.page-template-template-homepage-2026 #footer .store-buttons a {
		display: block;
		margin: 0;
	}

	body.page-template-template-homepage-2026 #footer .store-buttons img {
		display: block;
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	body.page-template-template-homepage-2026
	#footer
	.footer-top
	> .wrapper
	> .row
	> .col-md-12:not(:has(*)) {
		display: none;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row > .col-md-12 {
		grid-column: 1/-1;
	}
}

@media (min-width: 601px) and (max-width: 700px) {
	body.page-template-template-homepage-2026 #footer .footer-top {
		padding-inline: 24px;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row {
		grid-template-columns: minmax(180px, 1fr) 280px;
		gap: 24px;
	}

	body.page-template-template-homepage-2026 #footer #footer-logo {
		width: 180px;
		height: 24px;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns > .row {
		grid-template-columns: 120px 160px;
	}

	body.page-template-template-homepage-2026 #footer .copyright {
		font-size: 10px;
	}
}

@media (min-width: 992px) and (max-width: 1024px) {
	body.page-template-template-homepage-2026 #footer .footer-top {
		padding: 72px 40px 48px;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row {
		grid-template-columns: minmax(0, 1fr) 360px 134px;
		column-gap: 40px;
		row-gap: 0;
	}

	body.page-template-template-homepage-2026 #footer #footer-logo {
		width: 254px;
		height: 33px;
	}

	body.page-template-template-homepage-2026 #footer .copyright {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		margin-top: 64px;
		font-size: var(--Font-Label);
	}

	body.page-template-template-homepage-2026 #footer .store-buttons {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		justify-self: start;
		margin-top: 120px;
	}

	body.page-template-template-homepage-2026 #footer .column-menu {
		grid-column: 2;
		grid-row: 1;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns > .row {
		grid-template-columns: 174px 186px;
	}

	body.page-template-template-homepage-2026 #footer .column-social {
		grid-column: 3;
		grid-row: 1;
		margin-top: 0;
	}

	body.page-template-template-homepage-2026 #footer #social-menu {
		gap: 16px;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row::before {
		content: none;
	}
}

@media (max-width: 600px) {
	body.page-template-template-homepage-2026 #footer .footer-top {
		padding: 80px 32px 32px;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.page-template-template-homepage-2026 #footer #footer-logo {
		grid-column: 1;
		grid-row: 1;
		width: 208px;
		height: 27px;
	}

	body.page-template-template-homepage-2026 #footer .column-social {
		grid-column: 1;
		grid-row: 2;
		margin-top: -8px;
	}

	body.page-template-template-homepage-2026 #footer .column-menu {
		grid-column: 1;
		grid-row: 3;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns {
		max-width: none;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns > .row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns .menu {
		gap: 16px;
	}

	body.page-template-template-homepage-2026 #footer .footer-menu-columns a {
		font-size: var(--Font-Label);
	}

	body.page-template-template-homepage-2026 #footer #footer-menu-2 a[href*="openlane.ca"] {
		font-size: 13px;
		line-height: 17px;
	}

	body.page-template-template-homepage-2026 #footer .menu-tag-careers > a:after {
		font-size: 10px;
		padding: 3px 7px;
	}

	body.page-template-template-homepage-2026 #footer .menu-tag > a .link-text {
		padding-right: 4px;
	}

	body.page-template-template-homepage-2026 #footer .footer-top > .wrapper > .row::before {
		grid-column: 1;
		grid-row: 4;
	}

	body.page-template-template-homepage-2026 #footer .store-buttons {
		grid-column: 1;
		grid-row: 5;
		justify-self: center;
	}

	body.page-template-template-homepage-2026 #footer .copyright {
		grid-column: 1;
		grid-row: 6;
		justify-self: center;
		font-size: 11px;
		text-align: center;
	}
}


/* Accessible information-slider controls inherit the existing heading design. */
#main.ol-home-2026 .ol-home-2026__slide-trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    cursor: pointer;
}
#main.ol-home-2026 .ol-home-2026__slide-trigger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

/* Native cookie-preferences button retains the utility menu's presentation. */
body.page-template-template-homepage-2026 #footer .ol-home-2026__cookie-settings {
	appearance: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	margin: 0;
	padding: 0;
	min-width: 0;
	min-height: 0;
	font: inherit;
	color: inherit;
	text-align: inherit;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
}

body.page-template-template-homepage-2026 #footer .ol-home-2026__cookie-settings:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

/* Release: keep current Development footer and consent presentation scoped to this template. */
body.page-template-template-homepage-2026 .footer-bottom { padding: 15px 0; }

body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk {
  background-color: var(--openlane-light-silver-2) !important;
  border: 1px solid var(--openlane-medium-silver) !important;
  border-radius: 10px !important;
}
body.page-template-template-homepage-2026 #onetrust-policy-text, body.page-template-template-homepage-2026 a.ot-cookie-policy-link {
  color: var(--openlane-asphalt-black) !important;
}
body.page-template-template-homepage-2026 #onetrust-pc-btn-handler, body.page-template-template-homepage-2026 #onetrust-reject-all-handler, body.page-template-template-homepage-2026 #onetrust-accept-btn-handler {
  border-radius: 50px !important;
}
/* Keep OneTrust choices in one consistent row, or a full-width mobile stack. */
body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk {
  max-width: min(700px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-policy-text {
  padding-bottom: 0;
}

body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-button-group-parent {
  display: block !important;
  clear: both;
  float: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 30px 30px 24px;
}

body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-button-group {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 30px;
  float: none !important;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
}

body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk .onetrust-banner-options {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-button-group button {
  box-sizing: border-box;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  min-height: 44px;
  height: auto;
  margin: 0 !important;
  padding: 12px;
  line-height: 1.35;
  white-space: normal;
}

@media (max-width: 600px) {
  body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk {
    left: 16px !important;
    right: auto !important;
    width: calc(100% - 32px) !important;
  }

  body.page-template-template-homepage-2026 #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-button-group {
    grid-template-columns: minmax(0, 1fr);
  }
}
