/* Car listing card - photo (or a designed placeholder) with the status pill,
   then title, price, spec tiles, highlights, finance note and dealer actions.
   layout=wide puts the photo beside the details from 560px. */
.cl { display: grid; border: 1px solid var(--e-line); border-radius: calc(var(--e-radius-sm) + 4px); overflow: hidden; background: var(--e-bg); min-width: 0; }
.cl-media { position: relative; aspect-ratio: 16 / 10; background: var(--e-surface); overflow: hidden; }
.cl-media.cl-noimg { aspect-ratio: 5 / 2; min-height: 120px; }
.cl-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-ph {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 12px; text-align: center;
    background: var(--e-hero); color: var(--e-accent-fg); font-size: .86em; font-weight: 650;
}
.cl-ph .cl-ph-i { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.cl-status { position: absolute; top: 10px; left: 10px; padding: 4px 11px; font-size: .78em; box-shadow: 0 1px 4px rgba(16, 22, 43, .18); border: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.cl-body { display: grid; gap: 6px; padding: 14px 16px 16px; min-width: 0; }
.cl-body > * { min-width: 0; }
.cl-title { margin: 0; font-size: 1.15em; line-height: 1.25; font-weight: 750; letter-spacing: -.01em; color: var(--e-ink); overflow-wrap: anywhere; }
.cl-variant { margin: 0; font-size: .88em; color: var(--e-ink-2); overflow-wrap: anywhere; }
.cl-price { margin: 2px 0 0; font-size: 1.65em; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--e-accent-fg); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cl-st-sold .cl-price { color: var(--e-ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.cl-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cl-specs { margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.cl-specs > div, .cl-facts > div { padding: 7px 10px; border-radius: var(--e-radius-sm); background: var(--e-surface); border: 1px solid var(--e-line); min-width: 0; }
.cl-specs dt, .cl-facts dt { font-size: .72em; font-weight: 650; letter-spacing: .03em; text-transform: uppercase; color: var(--e-ink-3); }
.cl-specs dd, .cl-facts dd { margin: 1px 0 0; font-size: .92em; font-weight: 700; color: var(--e-ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cl-alt { display: block; font-size: .8em; font-weight: 500; color: var(--e-ink-3); }
.cl-h { margin: 8px 0 0; font-size: .74em; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--e-accent-fg); }
.cl-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 5px 16px; }
.cl-feat li { display: flex; gap: 7px; align-items: flex-start; font-size: .9em; color: var(--e-ink); overflow-wrap: anywhere; }
.cl-feat .cl-i { width: 16px; height: 16px; margin-top: 2px; color: var(--e-ok); stroke-width: 2.4; }
.cl-facts { margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.cl-facts dt { text-transform: none; letter-spacing: 0; }
.cl-fin { margin-top: 4px; padding: 2px 12px 10px; border-radius: var(--e-radius-sm); border: 1px dashed var(--e-line-strong); }
.cl-fin p { margin: 6px 0 0; font-size: .86em; color: var(--e-ink-2); overflow-wrap: anywhere; }
.cl-rep strong { color: var(--e-ink); }
.cl-fin .cl-fin-src { font-size: .76em; color: var(--e-ink-3); }
.cl-dealer { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--e-line); display: grid; gap: 8px; }
.cl-dealer-name { margin: 0; font-weight: 700; font-size: .92em; color: var(--e-ink); overflow-wrap: anywhere; }
.cl-by { font-weight: 500; color: var(--e-ink-3); }
.cl-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-act { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; text-decoration: none; flex: 1 1 auto; }
.cl-act .cl-i { width: 16px; height: 16px; }
.cl-note { margin: 6px 0 0; font-size: .78em; color: var(--e-ink-3); }
@media (min-width: 560px) {
    .cl-wide { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
    .cl-wide .cl-media { aspect-ratio: auto; min-height: 100%; }
}
@media (max-width: 360px) {
    .cl-body { padding: 12px; }
    .cl-price { font-size: 1.4em; }
    .cl-act { flex-basis: 100%; }
}
html[data-compact="1"] .cl-body { gap: 4px; padding: 11px 12px 12px; }
