/* Keep the countdown on the same centerline as the title. */
body[data-home-layout="studio"] #main #hcCompare .studio-offer-head :is(h1, h2) {
  color: #1b2c42;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 580;
  line-height: 1.15;
  letter-spacing: -.045em;
}
body[data-home-layout="studio"] #main #hcCompare .studio-offer-head :is(h1, h2) b {
  color: #09295d;
  font-weight: 820;
}
body[data-home-layout="studio"] #main #hcCompare .studio-offer-clock {
  flex-direction: column;
  gap: 5px;
}
body[data-home-layout="studio"] #main #hcCompare .studio-offer-clock > span {
  color: #455a74;
  font-size: 12px;
  font-weight: 700;
}
body[data-home-layout="studio"] #main #hcCompare #rbClock:not(#polish-head) {
  display: inline-block;
  padding: 8px clamp(16px, 2.3vw, 28px);
  border: 1px solid #183a68;
  border-radius: 10px;
  background: #0a2857;
  box-shadow: inset 0 0 0 1px #264671;
  color: #f7faff;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  line-height: 1.12;
  letter-spacing: .045em;
  white-space: nowrap;
}

.client-review-type {
  padding: 2px 7px;
  border-radius: 5px;
  background: #eaf1f8;
  color: #233c60;
}
.studio-profile .client-profile-placeholder {
  display: block;
  aspect-ratio: 4 / 5;
  background: #edf2f8 url("../assets/allauto-icon-navy.png") center / 35% auto no-repeat;
}

.ks-finder-page .ks-finder-cars [data-finder-car] {
  background-color: #fff;
  text-align: left;
  overflow-wrap: anywhere;
}
.ks-finder-page .ks-finder-cars [data-finder-car] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 0;
  mix-blend-mode: multiply;
}
.ks-finder-page .ks-finder-cars [data-finder-car][aria-haspopup]::after {
  content: none;
}

.client-lease-all { margin-top: 14px; }
.client-lease-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: 12px;
  max-width: 680px;
}
.client-lease-filters label { display: grid; gap: 5px; font-weight: 650; }
.client-lease-filters :is(select, input) {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #ccd9e8;
  border-radius: 8px;
  color: #172b41;
  background: #fff;
}
.client-lease-catalog [role="status"] { margin-block: 14px; color: #405470; }
.client-lease-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.client-lease-grid li {
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 14px;
  border: 1px solid #d5e0ec;
  border-radius: 12px;
  background: #fff;
}
.client-lease-grid small { color: #405470; }
.client-lease-grid strong { overflow-wrap: anywhere; }
.client-lease-grid button { width: 100%; margin-top: 5px; min-height: 44px; }
.client-lease-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  line-height: 1.4;
}
.client-lease-reference b { color: #09295d; font-variant-numeric: tabular-nums; }
.ks-finder-page .client-lease-reference { justify-content: center; }
:is(.client-lease-catalog, .ks-finder-page) .client-lease-basis {
  margin: 8px 0;
  color: #455a74;
  font-size: .8125rem;
  overflow-wrap: break-word;
}
.client-lease-brand { width: 42px; height: 27px; object-fit: contain; }
.client-lease-car {
  width: 100%;
  max-height: 98px;
  object-fit: contain;
  margin-bottom: 4px;
  mix-blend-mode: multiply;
}

.client-stock-trims { margin: 0 0 10px; border-block: 1px solid #d5e0ec; }
.client-stock-trims summary { padding-block: 9px; color: #0c2e63; cursor: pointer; font-weight: 700; }
.client-stock-trims ul {
  list-style: none;
  padding: 0 0 6px;
  margin: 0;
  max-height: 232px;
  overflow-y: auto;
}
.client-stock-trims li + li { border-top: 1px solid #e2ebf4; }
.client-stock-trims button {
  width: 100%;
  min-height: 44px;
  padding: 7px 4px;
  text-align: left;
  color: #173756;
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.client-stock-trims button:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .client-lease-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .client-lease-grid li { padding: 10px; }
  .client-lease-filters { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; }
}

.client-finder-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.ks-finder-page .ks-finder-cars .client-finder-photo img {
  position: absolute;
  inset: 0;
  height: 100%;
  max-height: none;
}

/* G80 Black manufacturer photo. */
.ks-finder-page .ks-finder-cars .client-finder-photo img[data-finder-photo="49859eda-2973-4a02-952a-a2d15ebe0cb0"] {
  inset: 50% auto auto -55.45%;
  width: 180.62%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  transform: translateY(-53.63%);
  clip-path: polygon(
    35.15% 56.47%, 35.88% 54.51%, 37.94% 53.14%, 45.29% 50.59%, 46.03% 48.82%,
    48.68% 46.47%, 51.47% 44.90%, 55.00% 43.73%, 61.76% 43.53%, 65.74% 44.12%,
    66.03% 43.33%, 67.35% 43.33%, 67.35% 44.31%, 71.62% 45.69%, 78.09% 48.43%,
    80.29% 48.82%, 81.03% 52.55%, 81.91% 54.90%, 81.91% 57.84%, 81.03% 59.22%,
    75.88% 60.39%, 74.26% 62.35%, 72.06% 62.75%, 69.41% 62.35%, 66.91% 62.35%,
    65.44% 63.73%, 61.76% 63.73%, 60.29% 62.55%, 50.15% 62.75%, 48.68% 63.53%,
    46.03% 63.53%, 43.68% 62.75%, 41.76% 62.75%, 40.59% 63.92%, 37.21% 63.92%,
    36.03% 62.75%, 35.59% 60.98%, 34.85% 60.20%, 35.00% 59.02%
  );
}

/* GV80 Black manufacturer photo. */
.ks-finder-page .ks-finder-cars .client-finder-photo img[data-finder-photo="ac052807-ac64-4c1e-90b7-6cbb6ddbf349"] {
  inset: 50% auto auto -45.99%;
  width: 180.06%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  transform: translateY(-61.86%);
  clip-path: polygon(
    30.15% 61.96%, 31.03% 59.80%, 32.79% 58.04%, 36.32% 56.67%, 41.32% 54.90%,
    44.26% 51.37%, 47.65% 48.43%, 50.00% 47.25%, 56.47% 46.86%, 63.68% 46.86%,
    67.06% 47.06%, 70.44% 48.04%, 73.09% 49.61%, 74.71% 52.75%, 76.32% 56.27%,
    76.76% 58.82%, 76.91% 66.47%, 75.59% 67.84%, 75.44% 69.80%, 74.12% 71.96%,
    72.21% 73.33%, 70.29% 72.94%, 69.26% 71.76%, 68.82% 69.80%, 57.35% 71.96%,
    56.18% 75.10%, 54.56% 76.47%, 51.76% 76.86%, 49.71% 75.69%, 48.68% 73.92%,
    48.53% 72.35%, 39.56% 73.33%, 36.76% 74.90%, 33.53% 74.90%, 31.62% 73.92%,
    30.74% 71.57%, 30.00% 70.00%, 29.71% 67.65%
  );
}

/* GV80 Coupe manufacturer photo. */
.ks-finder-page .ks-finder-cars .client-finder-photo img[data-finder-photo="ba7a4952-e1c1-4542-9b90-15b764c065b8"] {
  inset: 50% auto auto -37.49%;
  width: 169.01%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  transform: translateY(-54.53%);
  clip-path: polygon(
    27.06% 54.75%, 27.79% 53.42%, 31.03% 52.10%, 34.41% 50.99%, 41.18% 49.45%,
    45.15% 45.47%, 49.26% 42.60%, 52.79% 41.50%, 57.79% 41.28%, 62.50% 41.50%,
    62.65% 41.06%, 63.97% 41.06%, 63.97% 41.94%, 67.50% 42.60%, 70.74% 44.59%,
    73.82% 46.58%, 76.62% 48.12%, 76.18% 49.67%, 76.47% 52.32%, 76.91% 54.97%,
    76.91% 60.04%, 76.18% 62.03%, 70.88% 63.13%, 70.15% 65.12%, 68.24% 67.11%,
    66.47% 67.99%, 63.97% 67.77%, 62.06% 65.56%, 61.03% 63.13%, 40.15% 64.46%,
    38.97% 66.67%, 36.76% 67.99%, 33.97% 67.99%, 31.47% 66.45%, 30.59% 64.68%,
    30.00% 63.13%, 27.21% 62.47%, 26.62% 61.15%, 27.35% 58.28%
  );
}

/* GV80 Coupe Black manufacturer photo. */
.ks-finder-page .ks-finder-cars .client-finder-photo img[data-finder-photo="9dfcc1bc-0a64-4c04-8ba1-29075431ce4d"] {
  inset: 50% auto auto -54.10%;
  width: 182.91%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  transform: translateY(-64.61%);
  clip-path: polygon(
    33.82% 64.51%, 34.71% 62.35%, 36.91% 61.37%, 41.18% 60.39%, 47.94% 60.00%,
    51.03% 56.86%, 54.26% 54.90%, 57.35% 53.92%, 63.82% 53.73%, 66.47% 54.31%,
    66.91% 53.53%, 68.24% 53.53%, 68.82% 54.51%, 70.59% 55.10%, 73.97% 56.86%,
    77.50% 59.41%, 79.56% 60.39%, 79.41% 62.16%, 80.00% 64.90%, 80.15% 68.63%,
    79.71% 70.59%, 76.47% 71.57%, 73.82% 72.55%, 72.94% 74.12%, 70.29% 75.69%,
    68.24% 75.49%, 66.03% 73.53%, 65.44% 71.96%, 45.88% 71.96%, 45.15% 73.33%,
    43.09% 75.10%, 40.74% 75.49%, 38.53% 74.71%, 36.91% 72.35%, 34.41% 71.37%,
    33.68% 70.20%, 33.68% 69.02%, 33.82% 67.84%
  );
}
