/*
 * Theme Five (Carbon Red). Loaded after the old theme CSS when Settings > General Setting >
 * Select Theme = Theme Five (lib/themes.js).
 *   Part 1: the design of the new header, footer, home, listing and car pages (cb-*): dark,
 *           cinematic, red accents, Poppins.
 *   Part 2: the same look for the pages that keep the old markup (blog, about, contact, account).
 */

:root {
    --primary-color-1: #f87171;
    --primary-color-2: #dc2626;
    --primary-color-3: #b91c1c;
    --headline-color: #111114;
    --paragraph-color: #5a5a63;
    --DMSans: "Poppins", sans-serif;
    --roboto: "Poppins", sans-serif;

    --cb-red: #e11d2e;
    --cb-red-600: #c0111f;
    --cb-black: #0a0a0c;
    --cb-bg: #0e0e11;
    --cb-panel: #16161a;
    --cb-panel-2: #1d1d22;
    --cb-line: #2a2a31;
    --cb-white: #f5f5f7;
    --cb-text: #c4c4cc;
    --cb-muted: #8b8b95;
}

body { font-family: "Poppins", sans-serif; }
::selection { background: var(--cb-red); color: #fff; }

/* ======================================================================== */
/* Part 1: new design                                                         */
/* ======================================================================== */

.cb-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.cb-page, .cb-header, .cb-footer, .cb-drawer { font-family: "Poppins", sans-serif; }
.cb-page { background: var(--cb-bg); color: var(--cb-text); }
.cb-page h1, .cb-page h2, .cb-page h3, .cb-page h4,
.cb-footer h2, .cb-footer h3 { font-family: "Poppins", sans-serif; color: var(--cb-white); margin: 0; letter-spacing: -0.01em; }
.cb-page p, .cb-footer p { font-family: "Poppins", sans-serif; color: var(--cb-text); font-size: 15px; line-height: 1.7; margin: 0; }
.cb-page a { text-decoration: none; }
.cb-page img { max-width: 100%; }

/* Buttons --------------------------------------------------------------- */
.cb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px;
    border-radius: 2px; border: 1px solid transparent; font-size: 13px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.cb-btn--red { background: var(--cb-red); color: #fff !important; }
.cb-btn--red:hover { background: var(--cb-red-600); }
.cb-btn--line { background: transparent; color: var(--cb-white) !important; border-color: rgba(255, 255, 255, .35); }
.cb-btn--line:hover { border-color: var(--cb-red); color: #fff !important; background: rgba(225, 29, 46, .12); }
.cb-btn--block { width: 100%; }
.cb-more { display: inline-flex; align-items: center; gap: 8px; color: var(--cb-white) !important; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cb-more i, .cb-more svg { color: var(--cb-red); transition: transform .2s; }
.cb-more:hover i, .cb-more:hover svg { transform: translateX(4px); }
.cb-icon {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    color: var(--cb-white) !important; font-size: 16px; border-radius: 2px; background: transparent; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.cb-icon:hover { color: var(--cb-red) !important; }
.cb-icon--box { border: 1px solid var(--cb-line); width: 48px; height: 48px; }
.cb-icon--box:hover { border-color: var(--cb-red); }
.cb-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--cb-red); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Kicker / numbers ------------------------------------------------------- */
.cb-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--cb-red); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.cb-kicker i { display: inline-block; width: 28px; height: 2px; background: var(--cb-red); }
.cb-num { font-size: 56px; font-weight: 800; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); letter-spacing: -0.04em; }

/* Header ------------------------------------------------------------------ */
.cb-header { position: sticky; top: 0; z-index: 1001; background: rgba(10, 10, 12, .96); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .3s, backdrop-filter .3s; }
.cb-header--over { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); border-bottom-color: transparent; }
.cb-header.is-scrolled { background: rgba(10, 10, 12, .92); backdrop-filter: blur(12px); border-bottom-color: rgba(255, 255, 255, .06); }
.cb-header-row { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.cb-logo img { max-height: 44px; max-width: 170px; width: auto; }
.cb-nav { display: flex; gap: 2px; margin: 0 auto; }
.cb-nav a { position: relative; padding: 10px 13px; color: #e7e7ea; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cb-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--cb-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.cb-nav a:hover { color: #fff; }
.cb-nav a:hover::after { transform: scaleX(1); }
.cb-actions { display: flex; align-items: center; gap: 4px; }
.cb-actions .cb-btn { margin-left: 10px; height: 42px; padding: 0 18px; }
.cb-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; padding: 0 8px; cursor: pointer; }
.cb-burger span { display: block; height: 2px; width: 26px; background: #fff; }
.cb-burger span:nth-child(2) { width: 18px; background: var(--cb-red); }

.cb-switchers { display: flex; gap: 2px; align-items: center; }
.cb-menu { position: relative; }
.cb-menu summary { list-style: none; cursor: pointer; padding: 8px 10px; color: #cfcfd5; font-size: 12px; font-weight: 600; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
.cb-menu summary::-webkit-details-marker { display: none; }
.cb-menu summary:hover { color: #fff; }
.cb-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1002; min-width: 170px; max-height: 300px; overflow: auto; background: var(--cb-panel); border: 1px solid var(--cb-line); border-top: 2px solid var(--cb-red); padding: 6px; box-shadow: 0 24px 48px rgba(0, 0, 0, .5); }
.cb-menu ul a { display: block; padding: 9px 12px; color: var(--cb-text) !important; font-size: 13px; }
.cb-menu ul a:hover { background: var(--cb-panel-2); color: #fff !important; }

/* Drawer (custom.js toggles .open on #offcanvas-nav) */
#offcanvas-nav.cb-drawer {
    position: fixed; inset: 0; left: 0; top: 0; right: auto; width: 100%; height: 100%; max-width: none; z-index: 99999; padding: 0;
    background: var(--cb-black); opacity: 0; visibility: hidden; transform: none; transition: opacity .3s, visibility .3s; overflow-y: auto;
}
#offcanvas-nav.cb-drawer.open { opacity: 1; visibility: visible; }
.cb-drawer-inner { min-height: 100%; padding: 22px 24px 40px; display: flex; flex-direction: column; gap: 26px; }
.cb-drawer-top { display: flex; justify-content: space-between; align-items: center; }
.cb-drawer-nav { display: flex; flex-direction: column; }
.cb-drawer-nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cb-line); color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.cb-drawer-nav small { color: var(--cb-red); font-size: 12px; font-weight: 600; }
.cb-drawer-more { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cb-drawer-more a { color: var(--cb-muted); font-size: 14px; }
.cb-drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb-drawer-contact { display: flex; flex-direction: column; gap: 6px; }
.cb-drawer-contact a { color: var(--cb-text); font-size: 14px; }
.cb-drawer .cb-menu ul { left: 0; right: auto; }

/* Sections ---------------------------------------------------------------- */
.cb-section { padding: 96px 0; background: var(--cb-bg); }
.cb-section--alt { background: var(--cb-black); }
.cb-section--tight { padding: 48px 0 80px; }
.cb-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 40px; flex-wrap: wrap; }
.cb-head > div { flex: 1; min-width: 240px; }
.cb-page .cb-head h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; line-height: 1.1; margin-top: 10px; }
.cb-center { text-align: center; margin-top: 48px; }
.cb-grid { display: grid; gap: 22px; }
.cb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cb-grid--gap-top { margin-top: 22px; }

.cb-tabs { display: inline-flex; gap: 0; }
.cb-tabs button {
    border: 0; background: transparent; color: var(--cb-muted); padding: 12px 18px; font-size: 12px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap;
}
.cb-tabs button.is-active { color: #fff; background: var(--cb-red); }
.cb-tabs--line { border-bottom: 1px solid var(--cb-line); }
.cb-tabs--line button { padding: 14px 4px; margin-right: 22px; background: transparent; position: relative; }
.cb-tabs--line button.is-active { background: transparent; color: #fff; }
.cb-tabs--line button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cb-red); }
.cb-tabs--scroll { display: flex; overflow-x: auto; scrollbar-width: none; }
.cb-tabs--scroll::-webkit-scrollbar { display: none; }

/* Hero ------------------------------------------------------------------- */
.cb-hero {
    position: relative; min-height: min(100vh, 880px); display: flex; align-items: flex-end; overflow: hidden; background-color: var(--cb-black);
    background-image: linear-gradient(180deg, rgba(10, 10, 12, .55) 0%, rgba(10, 10, 12, .2) 40%, rgba(10, 10, 12, .95) 100%),
        radial-gradient(1000px 500px at 80% 30%, rgba(225, 29, 46, .35), transparent 60%), var(--cb-hero-bg);
    background-size: cover; background-position: center;
}
.cb-hero::before { content: ""; position: absolute; inset: 0; background: #7f1d1d; mix-blend-mode: hue; opacity: .9; pointer-events: none; }
/* No z-index here: the hero car blends (screen) with the hero background behind it. */
.cb-hero-inner { position: relative; padding-top: 140px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.cb-hero-copy { grid-column: 1; }
.cb-hero .cb-kicker { color: #fff; }
.cb-page .cb-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: .98; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; margin-top: 18px; }
.cb-hero-car { grid-column: 2; width: 115%; max-width: none; margin-left: -6%; -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, #000 62%, transparent 100%); }
.cb-glass {
    grid-column: 1 / -1; margin-top: 10px; padding: 14px; background: rgba(22, 22, 26, .72); backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .08); border-top: 2px solid var(--cb-red);
}
.cb-glass .cb-tabs { margin-bottom: 12px; }
.cb-search { display: flex; gap: 8px; }
.cb-field { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; height: 56px; padding: 0 16px; margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s; }
.cb-field:focus-within { border-color: var(--cb-red); }
.cb-field--grow { flex: 1.6 1 0; }
.cb-field > i, .cb-field > svg { color: var(--cb-red); flex: none; }
.cb-field input, .cb-field select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.cb-field select option { background: var(--cb-panel); color: #fff; }
.cb-field input::placeholder { color: #9a9aa3; }
.cb-search-btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 30px; border: 0; background: var(--cb-red); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.cb-search-btn:hover { background: var(--cb-red-600); }
.cb-scroll { position: absolute; left: 50%; bottom: 18px; z-index: 1; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); }
.cb-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cb-red); animation: cb-scroll 1.6s infinite; }
@keyframes cb-scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Brand marquee -------------------------------------------------------------- */
.cb-marquee { overflow: hidden; background: var(--cb-black); border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); padding: 22px 0; }
.cb-marquee-track { display: flex; gap: 16px; width: max-content; animation: cb-marquee 45s linear infinite; }
.cb-marquee:hover .cb-marquee-track { animation-play-state: paused; }
.cb-marquee-item { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: var(--cb-panel); border: 1px solid var(--cb-line); color: #fff !important; font-weight: 600; font-size: 14px; white-space: nowrap; transition: border-color .2s; }
.cb-marquee-item:hover { border-color: var(--cb-red); }
.cb-marquee-item img { width: 64px; height: 40px; object-fit: contain; background: #fff; padding: 4px; }
@keyframes cb-marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .cb-marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Car card ----------------------------------------------------------------------- */
.cb-card { display: flex; flex-direction: column; background: var(--cb-panel); border: 1px solid var(--cb-line); transition: border-color .25s, transform .25s; min-width: 0; }
.cb-card:hover { border-color: var(--cb-red); transform: translateY(-4px); }
.cb-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.cb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .92; }
.cb-card:hover .cb-card-media img { transform: scale(1.06); opacity: 1; }
.cb-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .85)); }
.cb-card-flags { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; gap: 6px; }
.cb-flag { padding: 4px 10px; background: rgba(10, 10, 12, .8); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cb-flag--red { background: var(--cb-red); }
.cb-card-over { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cb-card-brand { color: #d4d4da; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.cb-card-price { color: #fff; font-size: 19px; font-weight: 700; white-space: nowrap; }
.cb-card-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; flex: 1; }
.cb-page .cb-card-title { font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0; }
.cb-card-title a { color: var(--cb-white); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-card-title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cb-red); }
.cb-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cb-specs li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; font-size: 11px; color: var(--cb-muted); text-align: center; min-width: 0; }
.cb-specs li + li { border-left: 1px solid var(--cb-line); }
.cb-specs i, .cb-specs svg { color: var(--cb-red); }
.cb-specs span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.cb-card-tools { display: flex; gap: 2px; }
.cb-tool { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--cb-muted) !important; transition: color .2s; }
.cb-tool:hover { color: var(--cb-red) !important; }
.cb-card--wide { flex-direction: row; }
.cb-card--wide .cb-card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
.cb-card--wide .cb-card-body { padding: 22px 24px; }
.cb-page .cb-card--wide .cb-card-title { font-size: 20px; }

/* Featured spotlight --------------------------------------------------------------- */
.cb-spotlight { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--cb-panel); border: 1px solid var(--cb-line); }
.cb-spot-media { display: block; overflow: hidden; min-height: 380px; }
.cb-spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cb-spotlight:hover .cb-spot-media img { transform: scale(1.04); }
.cb-spot-copy { padding: 44px; display: flex; flex-direction: column; gap: 18px; justify-content: center; border-left: 2px solid var(--cb-red); }
.cb-page .cb-spot-copy h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.2; }
.cb-spot-copy h3 a { color: #fff; }
.cb-spot-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cb-line); border: 1px solid var(--cb-line); }
.cb-spot-specs li { background: var(--cb-panel); padding: 12px; color: #fff; font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.cb-spot-specs small { color: var(--cb-muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.cb-spot-price { font-size: 34px; font-weight: 800; color: #fff; }
.cb-spot-copy .cb-btn { align-self: flex-start; }
.cb-ad img { width: 100%; height: 100%; object-fit: cover; }

/* Loan ------------------------------------------------------------------------------- */
.cb-loan { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; gap: 0; border: 1px solid var(--cb-line); background: var(--cb-panel); }
.cb-loan-copy { padding: 40px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--cb-line); }
.cb-page .cb-loan-copy h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.1; }
.cb-loan-copy h2 em { font-style: normal; color: var(--cb-red); }
.cb-loan-form { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.cb-loan-form label, .cb-loan-mini label { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--cb-muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cb-loan-form input, .cb-loan-mini input, .cb-dealer-form input, .cb-dealer-form textarea, .cb-input textarea {
    width: 100%; height: 48px; padding: 0 14px; background: var(--cb-bg); border: 1px solid var(--cb-line); color: #fff;
    font: inherit; font-size: 14px; letter-spacing: normal; text-transform: none; outline: 0; transition: border-color .2s;
}
.cb-dealer-form textarea, .cb-input textarea { height: auto; padding: 12px 14px; resize: vertical; }
.cb-loan-form input:focus, .cb-loan-mini input:focus, .cb-dealer-form input:focus, .cb-dealer-form textarea:focus, .cb-input textarea:focus { border-color: var(--cb-red); }
.cb-loan-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-loan-out { background: var(--cb-red); padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.cb-loan-out li { display: flex; flex-direction: column; gap: 4px; }
.cb-loan-out small { color: #ffd5d8; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.cb-loan-out b { color: #fff; font-size: 24px; font-weight: 700; }

/* Cinema video band ---------------------------------------------------------------- */
.cb-cinema { position: relative; min-height: 520px; display: flex; align-items: center; background: #000 var(--cb-cinema-bg) center / cover no-repeat; }
.cb-cinema::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .3)), linear-gradient(0deg, rgba(225, 29, 46, .25), transparent 50%); }
.cb-cinema-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cb-page .cb-cinema h2 { font-size: clamp(30px, 4vw, 56px); font-weight: 800; line-height: 1.05; text-transform: uppercase; max-width: 760px; }
.cb-play { width: 92px; height: 92px; border-radius: 999px; background: var(--cb-red); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 0 0 14px rgba(225, 29, 46, .25); transition: transform .2s; }
.cb-play:hover { transform: scale(1.06); }

/* Testimonials / journal ------------------------------------------------------------- */
.cb-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--cb-line); border: 1px solid var(--cb-line); }
.cb-quote { margin: 0; background: var(--cb-bg); padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.cb-quote > i, .cb-quote > svg { color: var(--cb-red); font-size: 28px; }
.cb-quote blockquote { margin: 0; color: var(--cb-text); font-size: 15px; line-height: 1.8; flex: 1; }
.cb-quote figcaption { display: flex; align-items: center; gap: 12px; }
.cb-quote figcaption img { width: 46px; height: 46px; object-fit: cover; filter: grayscale(1); }
.cb-quote figcaption span { display: flex; flex-direction: column; color: var(--cb-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cb-quote figcaption b { color: #fff; font-size: 15px; letter-spacing: normal; text-transform: none; }
.cb-journal { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: auto; gap: 22px; }
.cb-post { background: var(--cb-panel); border: 1px solid var(--cb-line); display: flex; flex-direction: column; transition: border-color .2s; }
.cb-post:hover { border-color: var(--cb-red); }
.cb-post--lead { grid-row: span 2; }
.cb-post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cb-post--lead .cb-post-media { aspect-ratio: 4 / 3; }
.cb-post-media img { width: 100%; height: 100%; object-fit: cover; }
.cb-post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cb-post-meta { color: var(--cb-muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.cb-page .cb-post h3 { font-size: 17px; font-weight: 600; line-height: 1.45; }
.cb-page .cb-post--lead h3 { font-size: 24px; }
.cb-post h3 a { color: #fff; }
.cb-post .cb-more { margin-top: auto; }

/* Listing --------------------------------------------------------------------------- */
.cb-band { padding: 70px 0 40px; background: radial-gradient(900px 300px at 85% 0%, rgba(225, 29, 46, .22), transparent 60%), var(--cb-black); border-bottom: 1px solid var(--cb-line); }
.cb-page .cb-band h1 { font-size: clamp(30px, 4.4vw, 60px); font-weight: 800; line-height: 1.02; text-transform: uppercase; margin-top: 16px; max-width: 980px; }
.cb-crumbs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--cb-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.cb-crumbs a { color: var(--cb-text); }
.cb-crumbs a:hover { color: var(--cb-red); }
.cb-crumbs span:last-child { color: var(--cb-red); }
.cb-filterbar { position: sticky; top: 80px; z-index: 50; background: rgba(14, 14, 17, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cb-line); }
.cb-filters { display: flex; align-items: center; gap: 10px; padding: 14px 0; flex-wrap: wrap; }
.cb-select { display: flex; align-items: center; gap: 0; margin: 0; background: var(--cb-panel); border: 1px solid var(--cb-line); height: 46px; }
.cb-select span { padding: 0 0 0 12px; color: var(--cb-muted); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cb-select select { height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 13px; padding: 0 10px; max-width: 170px; }
.cb-select select option { background: var(--cb-panel); }
.cb-drops { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-fgroup { position: relative; }
.cb-fgroup summary { list-style: none; cursor: pointer; height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: var(--cb-panel); border: 1px solid var(--cb-line); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cb-fgroup summary::-webkit-details-marker { display: none; }
.cb-fgroup summary::after { content: "\25BE"; color: var(--cb-red); }
.cb-fgroup[open] summary { border-color: var(--cb-red); }
.cb-fbody { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 240px; padding: 10px; background: var(--cb-panel); border: 1px solid var(--cb-line); border-top: 2px solid var(--cb-red); box-shadow: 0 24px 48px rgba(0, 0, 0, .55); display: grid; gap: 2px; }
.cb-fbody--scroll { max-height: 320px; overflow-y: auto; grid-template-columns: 1fr 1fr; min-width: 380px; }
.cb-check { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; cursor: pointer; color: var(--cb-text); font-size: 13px; }
.cb-check:hover { background: var(--cb-panel-2); color: #fff; }
.cb-check input { width: 16px; height: 16px; accent-color: var(--cb-red); flex: none; }
.cb-filters > .cb-btn { height: 46px; margin-left: auto; }
.cb-clear { color: var(--cb-muted) !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.cb-clear:hover { color: var(--cb-red) !important; }
.cb-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.cb-searchline { flex: 1; max-width: 640px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--cb-line); padding-bottom: 6px; }
.cb-searchline > i, .cb-searchline > svg { color: var(--cb-red); }
.cb-searchline input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.cb-searchline .cb-btn { height: 40px; }
.cb-viewsw { display: flex; align-items: center; gap: 4px; color: var(--cb-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.cb-viewsw span { margin-right: 10px; }
.cb-viewsw button { width: 42px; height: 42px; border: 1px solid var(--cb-line); background: transparent; color: var(--cb-muted); cursor: pointer; }
.cb-viewsw button.is-active { border-color: var(--cb-red); color: #fff; background: var(--cb-red); }
.cb-rows { display: flex; flex-direction: column; gap: 18px; }
.cb-empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--cb-line); }
.cb-empty span { display: block; font-size: 90px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--cb-red); }
.cb-page .cb-empty h3 { font-size: 22px; margin: 10px 0 6px; }
.cb-pager { margin-top: 40px; }
.cb-pager .next-prev-btn ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cb-pager .next-prev-btn ul li a { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cb-line); background: var(--cb-panel); color: var(--cb-text); font-weight: 600; border-radius: 0; }
.cb-pager .next-prev-btn ul li a.active, .cb-pager .next-prev-btn ul li a:hover { background: var(--cb-red); border-color: var(--cb-red); color: #fff; }
.cb-wide-ad { display: block; margin-top: 40px; text-align: center; }
.cb-wide-ad img { max-width: 100%; }

/* Rich text (descriptions, brand / SEO text) on dark --------------------------------------- */
.cb-prose { color: var(--cb-text); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.cb-prose--panel { margin-top: 56px; padding: 40px; background: var(--cb-panel); border: 1px solid var(--cb-line); border-left: 2px solid var(--cb-red); }
.cb-page .cb-prose h1, .cb-page .cb-prose h2, .cb-page .cb-prose h3, .cb-page .cb-prose h4 { color: #fff; font-weight: 700; line-height: 1.3; margin: 1.5em 0 .6em; }
.cb-page .cb-prose h1 { font-size: 28px; } .cb-page .cb-prose h2 { font-size: 23px; } .cb-page .cb-prose h3 { font-size: 19px; } .cb-page .cb-prose h4 { font-size: 17px; }
.cb-page .cb-prose > :first-child { margin-top: 0; }
.cb-page .cb-prose p, .cb-page .cb-prose li { color: var(--cb-text); font-size: 15px; line-height: 1.8; margin: 0 0 .8em; font-family: inherit; }
.cb-page .cb-prose strong, .cb-page .cb-prose b { color: #fff; }
.cb-prose ul { list-style: none; padding: 0; margin: 0 0 1em; }
.cb-prose ul li { position: relative; padding-left: 18px; }
.cb-prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--cb-red); }
.cb-prose a { color: #fff; text-decoration: underline; text-decoration-color: var(--cb-red); }
.cb-page .cb-prose table { width: 100% !important; line-height: 1.5; border-collapse: collapse; margin: 0 0 1.4em; padding: 0; color: var(--cb-text); }
.cb-prose th, .cb-prose td { padding: 12px 14px; border-bottom: 1px solid var(--cb-line); text-align: left; font-size: 14px; line-height: 1.5; color: var(--cb-text); background: transparent; }
.cb-prose th { color: #fff; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: var(--cb-panel-2); border-bottom: 2px solid var(--cb-red); }
.cb-prose tr:hover td { background: rgba(255, 255, 255, .02); }
/* Tables in old content often carry Bootstrap classes or inline colours: force the dark look. */
.cb-prose table { --bs-table-bg: transparent; --bs-table-striped-bg: rgba(255, 255, 255, .03); --bs-table-color: var(--cb-text); --bs-table-striped-color: var(--cb-text); background: transparent !important; }
.cb-prose td, .cb-prose tr { background-color: transparent !important; color: var(--cb-text) !important; box-shadow: none !important; }
.cb-prose th { background-color: var(--cb-panel-2) !important; color: #fff !important; }
.cb-prose tr:nth-child(even) td { background-color: rgba(255, 255, 255, .03) !important; }
.cb-prose img { max-width: 100%; height: auto; }

/* Car detail ------------------------------------------------------------------------------ */
/* Title band first: the H1, price and contact button are above the fold. */
.cb-dhead { background: radial-gradient(900px 260px at 85% 0%, rgba(225, 29, 46, .2), transparent 60%), var(--cb-black); border-bottom: 1px solid var(--cb-line); }
.cb-dhead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 26px; padding-bottom: 26px; }
.cb-dhead-copy { min-width: 0; }
.cb-page .cb-dhead h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; font-weight: 800; margin: 12px 0 10px; }
.cb-dhead-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.cb-dhead-price small { color: var(--cb-muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.cb-dhead-price strong { color: #fff; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.05; }
.cb-dhead-price del { color: var(--cb-muted); }
.cb-dhead-price em { font-style: normal; background: var(--cb-red); color: #fff; padding: 3px 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cb-dhead-btns { display: flex; gap: 8px; margin-top: 10px; }
.cb-dtop { background: var(--cb-bg); padding: 28px 0 8px; }
.cb-dtop-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cb-gallery-stage { position: relative; aspect-ratio: 16 / 10; max-height: 540px; overflow: hidden; background: #000; border: 1px solid var(--cb-line); }
.cb-gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.cb-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; }
.cb-gallery-nav:hover { background: var(--cb-red); border-color: var(--cb-red); }
.cb-gallery-nav--prev { left: 12px; } .cb-gallery-nav--next { right: 12px; }
.cb-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.cb-gallery-thumbs::-webkit-scrollbar { display: none; }
.cb-gallery-thumbs button { flex: none; width: 104px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; background: none; opacity: .55; cursor: pointer; transition: opacity .2s, border-color .2s; }
.cb-gallery-thumbs button.is-active, .cb-gallery-thumbs button:hover { opacity: 1; border-color: var(--cb-red); }
.cb-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cb-keyfacts { background: var(--cb-panel); border: 1px solid var(--cb-line); border-top: 2px solid var(--cb-red); padding: 22px 24px; }
.cb-page .cb-keyfacts h2 { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cb-muted); margin-bottom: 8px; }
.cb-keyfacts dl { margin: 0; }
.cb-keyfacts dl div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--cb-line); }
.cb-keyfacts dl div:last-child { border-bottom: 0; }
.cb-keyfacts dt { color: var(--cb-muted); font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.cb-keyfacts dt i, .cb-keyfacts dt svg { color: var(--cb-red); width: 16px; }
.cb-keyfacts dd { margin: 0; color: #fff; font-weight: 600; font-size: 14px; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 991px) {
    .cb-dhead-row { flex-direction: column; align-items: flex-start; }
    .cb-dhead-price { align-items: flex-start; text-align: left; }
    .cb-dtop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) { .cb-gallery-thumbs button { width: 76px; } .cb-dhead-btns .cb-btn { flex: 1; } }
.cb-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.cb-detail-main { min-width: 0; }
.cb-panel { padding-top: 30px; }
.cb-panel[hidden] { display: none; }
.cb-spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0; }
.cb-spec-table div { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cb-line); }
.cb-spec-table dt { color: var(--cb-muted); font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.cb-spec-table dt i, .cb-spec-table dt svg { color: var(--cb-red); width: 16px; }
.cb-spec-table dd { margin: 0; color: #fff; font-weight: 600; font-size: 14px; text-align: right; }
.cb-feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--cb-line); border: 1px solid var(--cb-line); }
.cb-feature-list li { background: var(--cb-bg); padding: 14px 16px; display: flex; align-items: center; gap: 10px; color: var(--cb-text); font-size: 14px; }
.cb-feature-list i, .cb-feature-list svg { color: var(--cb-red); flex: none; }
.cb-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-top: 10px; }
.cb-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.cb-video-thumb .cb-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cb-page .cb-address { display: flex; gap: 10px; margin-bottom: 16px; }
.cb-address i, .cb-address svg { color: var(--cb-red); margin-top: 6px; flex: none; }
.cb-map { width: 100%; height: 340px; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }
.cb-note { display: flex; gap: 12px; margin-top: 30px; padding: 18px 20px; border: 1px solid var(--cb-line); border-left: 2px solid #f59e0b; background: var(--cb-panel); }
.cb-note > i, .cb-note > svg { color: #f59e0b; margin-top: 4px; flex: none; }
.cb-page .cb-note p { font-size: 13px; color: var(--cb-muted); }
.cb-muted { color: var(--cb-muted) !important; }
.cb-page .cb-subhead { font-size: 18px; font-weight: 600; margin: 30px 0 14px; }
.cb-detail-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.cb-dealer, .cb-sidebox { background: var(--cb-panel); border: 1px solid var(--cb-line); padding: 24px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 110px; }
.cb-dealer-top { display: flex; gap: 14px; align-items: center; }
.cb-dealer-top img { width: 60px; height: 60px; object-fit: cover; background: #fff; }
.cb-page .cb-dealer h3, .cb-page .cb-sidebox h3 { font-size: 17px; font-weight: 600; }
.cb-dealer h3 a { color: #fff; }
.cb-page .cb-dealer-top p { font-size: 12px; color: var(--cb-muted); }
.cb-dealer-top p i, .cb-dealer-top p svg { color: #f59e0b; }
.cb-verified { color: var(--cb-red); margin-left: 6px; font-size: 14px; }
.cb-dealer-contact { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cb-dealer-contact a, .cb-dealer-contact span { color: var(--cb-text); font-size: 14px; display: flex; gap: 10px; overflow-wrap: anywhere; }
.cb-dealer-contact i, .cb-dealer-contact svg { color: var(--cb-red); margin-top: 4px; width: 14px; flex: none; }
.cb-dealer-form { display: flex; flex-direction: column; gap: 10px; }
.cb-dealer-form input::placeholder, .cb-dealer-form textarea::placeholder, .cb-loan-mini input::placeholder, .cb-input textarea::placeholder, .cb-loan-form input::placeholder { color: #7a7a84; }
.cb-loan-mini { display: flex; flex-direction: column; gap: 12px; }
.cb-loan-mini .cb-loan-btns { display: flex; gap: 8px; }
.cb-loan-mini .cb-btn { flex: 1; padding: 0 12px; }
.cb-page .cb-loan-out { padding: 14px; background: var(--cb-bg); border-left: 2px solid var(--cb-red); color: var(--cb-text); font-size: 14px; }
.cb-loan-mini + .cb-loan-out, .cb-loan-out b { color: #fff; }
.cb-reviews { display: flex; flex-direction: column; gap: 1px; background: var(--cb-line); border: 1px solid var(--cb-line); }
.cb-review { background: var(--cb-bg); padding: 20px; }
.cb-review-top { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cb-review-top img { width: 42px; height: 42px; object-fit: cover; }
.cb-review-top div { display: flex; flex-direction: column; flex: 1; font-size: 12px; color: var(--cb-muted); }
.cb-review-top b { color: #fff; font-size: 15px; }
.cb-review-stars { color: #f59e0b; font-size: 12px; }
.cb-review-form form { display: flex; flex-direction: column; gap: 14px; }
.cb-rate { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; color: #f59e0b; font-size: 20px; }
.cb-rate .car_rat { cursor: pointer; }
.cb-rate span { color: var(--cb-muted); font-size: 14px; margin-left: 6px; }
.cb-input { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--cb-muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cb-review-form .cb-btn { align-self: flex-start; }

/* Footer ------------------------------------------------------------------------------------ */
.cb-footer { background: var(--cb-black); border-top: 2px solid var(--cb-red); color: var(--cb-text); padding-top: 80px; }
.cb-footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--cb-line); }
.cb-footer .cb-footer-top h2 { font-size: clamp(30px, 4vw, 58px); font-weight: 800; line-height: 1.02; text-transform: uppercase; color: #fff; }
.cb-footer-top h2 em { font-style: normal; color: var(--cb-red); }
.cb-newsletter { display: flex; flex-wrap: wrap; gap: 0; }
.cb-newsletter input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; background: var(--cb-panel); border: 1px solid var(--cb-line); border-right: 0; color: #fff; font: inherit; outline: 0; }
.cb-newsletter input:focus { border-color: var(--cb-red); }
.cb-newsletter .cb-btn { height: 56px; }
.cb-newsletter small { flex: 1 1 100%; margin-top: 10px; color: var(--cb-muted); font-size: 12px; }
.cb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0; }
.cb-footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.cb-footer h3 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.cb-footer-grid a, .cb-footer-grid span { color: var(--cb-text); font-size: 14px; }
.cb-footer-grid a:hover { color: #fff; }
.cb-footer-grid a i, .cb-footer-grid span i, .cb-footer-grid a svg, .cb-footer-grid span svg { color: var(--cb-red); margin-right: 6px; }
.cb-footer .cb-footer-about p { color: var(--cb-muted); font-size: 14px; }
.cb-social { display: flex; gap: 8px; margin-top: 10px; }
.cb-social a { width: 40px; height: 40px; border: 1px solid var(--cb-line); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .2s, border-color .2s; }
.cb-social a:hover { background: var(--cb-red); border-color: var(--cb-red); }
.cb-social a i, .cb-social a svg { margin: 0; color: inherit; }
.cb-copy { border-top: 1px solid var(--cb-line); }
.cb-copy-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; }
.cb-footer .cb-copy p { color: var(--cb-muted); font-size: 12px; letter-spacing: .06em; }
.cb-copy-row div { display: flex; gap: 20px; }
.cb-copy a { color: var(--cb-muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cb-copy a:hover { color: #fff; }
.cb-top { position: fixed; right: 20px; bottom: 20px; z-index: 999; width: 48px; height: 48px; border: 0; background: var(--cb-red); color: #fff; display: none; cursor: pointer; }

/* Responsive -------------------------------------------------------------------------------- */
@media (max-width: 1279px) {
    .cb-nav a { padding: 10px 9px; letter-spacing: .1em; }
    .cb-actions .cb-switchers { display: none; }
}
@media (max-width: 1199px) {
    .cb-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cb-loan { grid-template-columns: 1fr 1fr; }
    .cb-loan-copy { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--cb-line); }
    .cb-detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
}
@media (max-width: 991px) {
    .cb-nav, .cb-actions .cb-btn { display: none; }
    .cb-burger { display: inline-flex; }
    .cb-actions { margin-left: auto; }
    .cb-header-row { min-height: 68px; }
    .cb-hero { min-height: 0; }
    .cb-hero-inner { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 50px; }
    .cb-hero-car { grid-column: 1; width: 100%; margin: 0; }
    .cb-search { flex-wrap: wrap; }
    .cb-field, .cb-field--grow { flex: 1 1 calc(50% - 8px); }
    .cb-search-btn { flex: 1 1 100%; justify-content: center; }
    .cb-scroll { display: none; }
    .cb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cb-spotlight { grid-template-columns: 1fr; }
    .cb-spot-media { min-height: 260px; }
    .cb-spot-copy { border-left: 0; border-top: 2px solid var(--cb-red); padding: 28px; }
    .cb-quotes { grid-template-columns: 1fr; }
    .cb-journal { grid-template-columns: 1fr 1fr; }
    .cb-post--lead { grid-column: 1 / -1; grid-row: auto; }
    .cb-section { padding: 64px 0; }
    .cb-num { font-size: 40px; }
    .cb-filterbar { position: static; }
    .cb-filters > .cb-btn { margin-left: 0; }
    .cb-detail { grid-template-columns: 1fr; }
    .cb-detail-side { position: static; }
    .cb-footer-top { grid-template-columns: 1fr; }
    .cb-footer-grid { grid-template-columns: 1fr 1fr; }
    .cb-card--wide { flex-direction: column; }
    .cb-card--wide .cb-card-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 575px) {
    .cb-wrap { padding-left: 16px; padding-right: 16px; }
    .cb-field, .cb-field--grow { flex: 1 1 100%; }
    .cb-grid--4 { grid-template-columns: 1fr; }
    .cb-loan { grid-template-columns: 1fr; }
    .cb-loan-copy, .cb-loan-form { padding: 26px; }
    .cb-journal { grid-template-columns: 1fr; }
    .cb-spec-table { grid-template-columns: 1fr; }
    .cb-feature-list { grid-template-columns: 1fr; }
    .cb-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cb-fbody--scroll { grid-template-columns: 1fr; min-width: 240px; }
    .cb-select { flex: 1 1 100%; }
    .cb-select select { max-width: none; flex: 1; }
    .cb-prose--panel { padding: 22px; }
}

/* ======================================================================== */
/* Part 2: pages that keep the old markup (blog, about, contact, dealers, account) */
/* ======================================================================== */

h1, h2, h3, h4, h5, h6, p { font-family: "Poppins", sans-serif; }

/* Dark title band instead of the picture; the header is in the page flow now. */
.inner-banner { padding: 56px 0 46px; background: var(--cb-black); }
.inner-banner .inner-banner-img {
    height: 100%;
    background-image: radial-gradient(900px 300px at 85% 0%, rgba(225, 29, 46, .25), transparent 60%), linear-gradient(180deg, #0a0a0c, #121216) !important;
    border-bottom: 2px solid var(--cb-red);
}
.inner-banner .inner-banner-taitel { color: #fff; font-weight: 800; text-transform: uppercase; }
.inner-banner .breadcrumb-item, .inner-banner .breadcrumb-item a, .inner-banner .breadcrumb-item::before { color: #c4c4cc; }
.inner-banner .breadcrumb-item.active { color: var(--cb-red); }

[fill="#405FF2" i] { fill: var(--primary-color-2); }
[stroke="#405FF2" i] { stroke: var(--primary-color-2); }
[fill="#0D274E" i] { fill: var(--headline-color); }
[stroke="#0D274E" i] { stroke: var(--headline-color); }
[fill="#B2C2FD" i] { fill: #fecaca; }

.thm-btn, .thm-btn-two, .thm-btn-thr,
.thm-btn:before, .thm-btn::after, .thm-btn-two:before, .thm-btn-two::after, .thm-btn-thr:before, .thm-btn-thr::after { border-radius: 2px; }
.thm-btn-two { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

.taitel span, .taitel.two span {
    display: inline-block; font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .2em;
    color: var(--cb-red); padding-left: 12px; border-left: 3px solid var(--cb-red); margin-bottom: 12px;
}
.taitel .taitel-img { display: none; }

.brand-car-item { border-radius: 0; border: 1px solid #e8e8ec; box-shadow: none; }
.brand-car-item:hover { border-color: var(--cb-red); }
.blog-item { border-radius: 0; border: 1px solid #e8e8ec; }

.categories-three .categories-logo { background-color: #f4f4f5 !important; border-radius: 0; }
.car-images .car-images-taitel, .car-compare .accordion-button, .dashboard .dashbord-tabel .table thead tr,
.dashboard .manage-car .manage-car-top-bar, .dashboard .manage-car .table thead tr, .dashboard .manage-car .table.two thead tr,
.dashboard .review-main .review-main-taitel { background-color: #fee2e2; }
.dealers-details .inventory-ber-left .shaf-filter li, .inventory-main-box .noUi-target { background: rgba(220, 38, 38, 0.2); }
.loan .loan-bg, .download .download-bg { background-color: #141417; border-top: 3px solid var(--cb-red); }

.table a { color: var(--cb-red); font-weight: 600; }
.form-control:focus, .form-select:focus { border-color: var(--cb-red); box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15); }
.pagination .page-item.active .page-link, .page-item.active .page-link { background-color: var(--cb-red); border-color: var(--cb-red); }

/* Blog article colours (article.css); blog pages keep a light background */
:root { --art-accent: #e11d2e; --art-accent-soft: #fef2f2; --art-ink: #111114; --art-text: #3d3d45; --art-line: #e8e8ec; --art-zebra: #fafafa; --art-font: "Poppins", sans-serif; }
