/* Canonical Motorit vehicle card, extracted from the accepted Homepage V1.26 card. */

.motorit-v126-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.motorit-v126-card {
	--motorit-card-primary: var(--motorit-home-primary, #067b9d);
	--motorit-card-border: var(--motorit-home-border, rgba(6, 123, 157, 0.13));
	--motorit-card-text: var(--motorit-home-text, #071323);
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	min-height: 0;
	overflow: visible;
	background: #ffffff;
	border: 1px solid var(--motorit-card-border);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.motorit-v126-card:hover {
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
	transform: translateY(-2px);
}

.motorit-v126-media {
	display: block;
	color: inherit;
	text-decoration: none;
}

.motorit-v126-card .motorit-v126-media:focus-visible,
.motorit-v126-card .motorit-v126-title-link:focus-visible,
.motorit-v126-card .motorit-card-action-v13:focus-visible {
	outline: 3px solid #067b9d;
	outline-offset: 3px;
}

.motorit-v126-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 15px 15px 0 0;
	background: #eef5f8;
}

.motorit-v126-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.motorit-v126-card:hover .motorit-v126-image img {
	transform: scale(1.025);
}

.motorit-v126-tag {
	position: absolute;
	z-index: 4;
	top: 11px;
	left: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 27px;
	padding: 0 10px;
	color: #ffffff;
	background: #237df5;
	border-radius: 5px;
	box-shadow: none;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
}

.motorit-feature-image-placeholder-v4 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #64748b;
	background: #eef5f8;
	font-weight: 900;
}

.motorit-v126-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px 14px 12px;
}

.motorit-v126-title-link {
	color: inherit;
	text-decoration: none;
}

.motorit-v126-title {
	margin: 0 0 5px;
	min-height: 2.4em;
	max-height: 2.4em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow-wrap: anywhere;
	color: var(--motorit-card-text);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.motorit-v126-meta {
	margin: 0 0 8px;
	min-height: 2.7em;
	max-height: 2.7em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #475569;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.motorit-v126-info {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	color: #334155;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
}

.motorit-v126-info svg {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	fill: none;
	stroke: #0f2744;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.motorit-v126-location {
	margin: 0 0 7px;
}

.motorit-v126-detail-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 10px;
	min-height: 76px;
	margin-top: auto;
}

.motorit-v126-detail-copy {
	display: grid;
	grid-template-rows: minmax(21px, auto) minmax(22px, auto);
	align-content: end;
	min-width: 0;
}

.motorit-v126-mileage {
	grid-row: 1;
}

.motorit-v126-location {
	grid-row: 2;
}

.motorit-card-location-v19 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 0;
	margin: 0;
	padding: 0;
	color: #334155;
	background: transparent;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
	text-align: left;
	text-transform: none;
}

.motorit-card-location-v19.is-static {
	cursor: default;
}

.motorit-location-pin-v19 {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	margin-top: -1px;
	background: #38B6FF;
	border: 0;
	border-radius: 999px 999px 999px 2px;
	box-shadow: 0 3px 7px rgba(56, 182, 255, 0.24);
	transform: rotate(-45deg);
}

.motorit-v126-card .motorit-v126-location .motorit-location-pin-v19 {
	background: #38B6FF !important;
	border-color: #38B6FF !important;
}

.motorit-location-pin-v19 i {
	width: 5px;
	height: 5px;
	background: #ffffff;
	border-radius: 999px;
	box-shadow: none;
}

.motorit-v126-card .motorit-v126-location .motorit-location-pin-v19 i {
	background: #ffffff !important;
}

.motorit-location-name-v19,
.motorit-location-distance-v19 {
	display: inline-flex;
	align-items: center;
	color: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
}

.motorit-location-distance-v19 {
	color: #64748b;
}

.motorit-card-location-v19.has-distance .motorit-location-distance-v19::before {
	content: "•";
	margin: 0 5px 0 2px;
}

.motorit-card-location-v19.is-loading .motorit-location-distance-v19 {
	color: #0f172a;
}

.motorit-v126-price-row {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	min-height: 28px;
	margin-top: 0;
	padding-top: 5px;
}

.motorit-v126-price {
	color: var(--motorit-card-text);
	font-size: 18px;
	font-weight: 850;
	line-height: 1;
}

.motorit-v126-listing-gauge {
	--mct1712-red: #ff4545;
	--mct1712-amber: #ffc32e;
	--mct1712-green: #8bd63d;
	display: flex;
	align-items: center;
	flex-direction: column;
	align-self: end;
	width: 104px;
	max-width: 104px;
	margin: 6px 4px 0 0;
	padding: 0;
	text-align: center;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.motorit-v126-listing-gauge .mct1712-gauge-visual {
	--mct1712-angle: 0.00deg;
	position: relative;
	width: 104px;
	max-width: 100%;
	aspect-ratio: 2000 / 1410;
	margin: -5px auto -17px;
	background-image: url("../img/motorit-market-gauge-yellow-neutral.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.motorit-v126-listing-gauge .mct1712-needle {
	position: absolute;
	left: 50%;
	top: 61.8%;
	width: 22%;
	height: 2px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	transform-origin: 0 50%;
	transform: rotate(calc(var(--mct1712-angle, 0deg) - 90deg));
	z-index: 3;
}

.motorit-v126-listing-gauge .mct1712-needle::before {
	content: "";
	position: absolute;
	left: -5px;
	top: 50%;
	width: 10px;
	height: 10px;
	border: 1px solid #c6d0d9;
	border-radius: 999px;
	background: linear-gradient(145deg, #f5f7fa, #dce4eb);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
	transform: translateY(-50%);
}

.motorit-v126-listing-gauge .mct1712-rating {
	display: block;
	margin: 0;
	font-size: 10px;
	font-weight: 950;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.motorit-v126-listing-gauge .mct1712-rating.is-good {
	color: var(--mct1712-green);
}

.motorit-v126-listing-gauge .mct1712-rating.is-fair {
	color: var(--mct1712-amber);
}

.motorit-v126-listing-gauge .mct1712-rating.is-overpriced {
	color: var(--mct1712-red);
}

.motorit-v126-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 14px 14px;
}

.motorit-card-action-v13 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	height: 38px;
	padding: 0 10px;
	color: #073f52;
	background: #f7fbfb;
	border: 1px solid var(--motorit-card-border);
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.motorit-card-action-v13.is-active,
.motorit-card-action-v13[aria-pressed="true"],
.motorit-card-action-v13:hover {
	color: #ffffff;
	background: var(--motorit-card-primary);
	border-color: var(--motorit-card-primary);
}

.motorit-v126-card .motorit-home-save-v13 {
	color: #067b9d;
	background: #ffffff;
	border-color: #067b9d;
}

.motorit-v126-card .motorit-home-save-v13:hover,
.motorit-v126-card .motorit-home-save-v13.is-active,
.motorit-v126-card .motorit-home-save-v13.is-saved {
	color: #ffffff;
	background: #067b9d;
	border-color: #067b9d;
}

.motorit-v126-card .motorit-home-save-v13.is-saved:hover {
	background: #047b91;
	border-color: #047b91;
}

.motorit-v126-card .motorit-home-save-v13:not(.is-saved)[aria-pressed="false"]:not(:hover) {
	color: #067b9d;
	background: #ffffff;
	border-color: #067b9d;
}
