/* Carlist360 Blog — main stylesheet. Colors and fonts come from Appearance → Customize → Carlist360 blog. */

:root {
	--cl-action: #D7263D;
	--cl-ink: #15191F;
	--cl-footer: #15191F;
	--cl-accent: #F2A900;
	--cl-paper: #F4F5F7;
	--cl-card: #FFFFFF;
	--cl-line: #E2E5EA;
	--cl-muted: #5B6472;
	--cl-soft: #EEF0F3;
	--cl-r: 12px;
	--cl-font-head: "Barlow Semi Condensed", system-ui, sans-serif;
	--cl-font-body: "Barlow", system-ui, sans-serif;
	--cl-wrap: 1240px;
	--cl-gutter: 20px;
	--cl-header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cl-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cl-paper); color: var(--cl-ink); font: 400 1.0625rem/1.6 var(--cl-font-body); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cl-action); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--cl-font-head); color: var(--cl-ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cl-accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--cl-ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.cl-skip:focus { top: 12px; }
.cl-wrap { width: 100%; max-width: var(--cl-wrap); margin-inline: auto; padding-inline: var(--cl-gutter); }
.cl-icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: calc(var(--cl-r) - 4px); font: 600 1rem/1.2 var(--cl-font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cl-btn--primary { background: var(--cl-action); color: #fff; }
.cl-btn--primary:hover { background: color-mix(in srgb, var(--cl-action) 86%, #000); color: #fff; }
.cl-btn--dark { background: var(--cl-ink); color: #fff; }
.cl-btn--dark:hover { background: #000; color: #fff; }
.cl-btn--ghost { background: transparent; color: var(--cl-ink); border-color: var(--cl-line); }
.cl-btn--ghost:hover { border-color: var(--cl-ink); }
.cl-btn--block { width: 100%; }
.cl-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--cl-ink); cursor: pointer; }
.cl-iconbtn:hover { background: var(--cl-soft); }

/* ---------- Header (same links as carlist360.com) ---------- */
.cl-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--cl-line); }
.cl-sticky .cl-header { position: sticky; top: 0; }
.admin-bar.cl-sticky .cl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.cl-sticky .cl-header { top: 0; } }
.cl-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--cl-header-h); }
.cl-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cl-ink); flex: none; }
.cl-logo img { display: block; width: auto; height: 40px; max-width: 180px; object-fit: contain; }
.cl-logo__text { font: 700 1.5rem/1 var(--cl-font-head); }
.cl-nav { flex: 1; display: flex; align-items: center; }
.cl-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cl-nav__list a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--cl-ink); font-weight: 600; text-decoration: none; }
.cl-nav__list a:hover { background: var(--cl-soft); }
.cl-nav__list .current-menu-item > a, .cl-nav__list a[aria-current="page"] { color: var(--cl-action); box-shadow: inset 0 -3px 0 var(--cl-action); border-radius: 8px 8px 0 0; }
.cl-nav__list .sub-menu { display: none; }
.cl-nav__extra { display: none; }
.cl-header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cl-header__menu { display: none; }
.cl-search { border-top: 1px solid var(--cl-line); background: #fff; padding-block: 14px; }

@media (max-width: 960px) {
	.cl-header__bar { gap: 12px; }
	.cl-header__menu { display: inline-grid; }
	.cl-header__cta { display: none; }
	.cl-nav { position: fixed; inset: var(--cl-header-h) 0 0 0; z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--cl-gutter) 32px; background: #fff; overflow-y: auto; }
	.admin-bar .cl-nav { top: calc(var(--cl-header-h) + 46px); }
	.cl-nav.is-open { display: flex; }
	.cl-nav__list { flex-direction: column; }
	.cl-nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--cl-line); border-radius: 0; font-size: 1.125rem; }
	.cl-nav__list .current-menu-item > a, .cl-nav__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--cl-action); padding-left: 14px; border-radius: 0; }
	.cl-nav__extra { display: grid; gap: 12px; }
	.cl-nav__search input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--cl-line); border-radius: 10px; font: inherit; }
	body.cl-nav-open { overflow: hidden; }
}

/* ---------- Topic bar ---------- */
.cl-topics { background: #fff; border-bottom: 1px solid var(--cl-line); }
.cl-topics__inner { overflow-x: auto; scrollbar-width: none; }
.cl-topics__inner::-webkit-scrollbar { display: none; }
.cl-topics__list { display: flex; gap: 8px; margin: 0; padding: 10px 0; list-style: none; white-space: nowrap; }
.cl-topics__list a { display: inline-block; padding: 6px 14px; border: 1px solid var(--cl-line); border-radius: 999px; color: var(--cl-muted); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.cl-topics__list a:hover { color: var(--cl-ink); border-color: var(--cl-ink); }
.cl-topics__list .current-menu-item a, .cl-topics__list a[aria-current="page"] { background: var(--cl-ink); border-color: var(--cl-ink); color: #fff; }

/* ---------- Breadcrumbs, labels, meta ---------- */
.cl-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .875rem; color: var(--cl-muted); }
.cl-crumbs li + li::before { content: "/"; margin-right: 8px; color: #A3AAB5; }
.cl-crumbs a { color: var(--cl-muted); text-decoration: none; }
.cl-crumbs a:hover { color: var(--cl-ink); text-decoration: underline; }
.cl-crumbs [aria-current] { color: var(--cl-ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tag { display: inline-block; margin-bottom: 8px; color: var(--cl-action); font: 600 .875rem/1.2 var(--cl-font-body); text-decoration: none; }
.cl-tag:hover { text-decoration: underline; }
.cl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--cl-muted); font-size: .875rem; }
.cl-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.cl-meta__author { color: var(--cl-ink); font-weight: 600; }
.cl-meta__avatar { border-radius: 50%; }

/* ---------- Blog intro ---------- */
.cl-intro { background: #fff; padding: 28px 0 32px; border-bottom: 1px solid var(--cl-line); }
.cl-intro--archive { padding-bottom: 28px; }
.cl-intro__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: end; }
.cl-intro__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); margin-bottom: .25em; }
.cl-intro__text { max-width: 60ch; color: var(--cl-muted); font-size: 1.125rem; margin: 0; }
.cl-intro--archive .cl-searchform { margin-top: 18px; max-width: 560px; }
@media (max-width: 860px) { .cl-intro__row { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ---------- Search form ---------- */
.cl-searchform { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: #fff; border: 1px solid var(--cl-line); border-radius: var(--cl-r); }
.cl-searchform:focus-within { border-color: var(--cl-ink); }
.cl-searchform .cl-icon { color: var(--cl-muted); }
.cl-searchform input { flex: 1; min-width: 0; min-height: 40px; border: 0; background: none; font: inherit; color: var(--cl-ink); }
.cl-searchform input:focus { outline: none; }

/* ---------- Featured stories ---------- */
.cl-lead-story { padding: 32px 0 8px; }
.cl-lead-story__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; }
.cl-feature { display: grid; background: var(--cl-card); border-radius: var(--cl-r); overflow: hidden; border: 1px solid var(--cl-line); }
.cl-feature__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cl-soft); }
.cl-feature__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-feature__body { padding: 22px 24px 24px; }
.cl-feature__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); margin-bottom: .35em; }
.cl-feature__title a, .cl-card__title a { color: var(--cl-ink); text-decoration: none; }
.cl-feature__title a:hover, .cl-card__title a:hover { color: var(--cl-action); }
.cl-feature__excerpt { color: var(--cl-muted); max-width: 62ch; }
.cl-lead-story__side { display: grid; align-content: start; gap: 4px; }
.cl-lead-story__side .cl-section-title { margin-bottom: 8px; }
@media (max-width: 960px) { .cl-lead-story__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Section titles ---------- */
.cl-section-title { font-size: 1.5rem; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.cl-section-title::after { content: ""; flex: 1; height: 1px; background: var(--cl-line); }

/* ---------- Layout ---------- */
.cl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-block: 32px 56px; align-items: start; }
.cl-layout__side { min-width: 0; }
.cl-side-inner { display: grid; gap: 20px; }
@media (min-width: 1081px) { .cl-layout__side .cl-side-inner { position: sticky; top: calc(var(--cl-header-h) + 20px); } .admin-bar .cl-layout__side .cl-side-inner { top: calc(var(--cl-header-h) + 52px); } }
@media (max-width: 1080px) { .cl-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cl-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cl-grid, .cl-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.cl-card { display: flex; flex-direction: column; background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: var(--cl-r); overflow: hidden; }
.cl-card__media { display: block; aspect-ratio: 16 / 9; background: var(--cl-soft); overflow: hidden; }
.cl-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cl-card:hover .cl-card__img { transform: scale(1.03); }
.cl-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.cl-card__title { font-size: 1.3125rem; margin-bottom: .4em; }
.cl-card__excerpt { color: var(--cl-muted); font-size: .9688rem; margin-bottom: 14px; }
.cl-card .cl-meta { margin-top: auto; }
.cl-card.list { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--cl-line); border-radius: 0; }
.cl-card.list:last-child { border-bottom: 0; }
.cl-card.list .cl-card__media { flex: none; width: 112px; aspect-ratio: 4 / 3; border-radius: calc(var(--cl-r) - 4px); }
.cl-card.list .cl-card__body { padding: 0; }
.cl-card.list .cl-card__title { font-size: 1.125rem; margin-bottom: .3em; }
.cl-card.list .cl-tag { margin-bottom: 2px; font-size: .8125rem; }
.cl-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #A3AAB5; background: linear-gradient(160deg, var(--cl-soft), #DDE1E7); }

/* ---------- Mid-list band ---------- */
.cl-band { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-radius: var(--cl-r); background: var(--cl-ink); color: #fff; }
.cl-band p { margin: 0; color: #C9CED6; }
.cl-band__title { font: 700 1.5rem/1.2 var(--cl-font-head); color: #fff !important; margin-bottom: 4px !important; }
@media (max-width: 640px) { .cl-band { flex-direction: column; align-items: stretch; } }

/* ---------- Pagination ---------- */
.cl-pagination { margin-top: 36px; }
.cl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--cl-line); border-radius: 10px; background: #fff; color: var(--cl-ink); text-decoration: none; font-weight: 600; }
.cl-pagination .current { background: var(--cl-ink); color: #fff; border-color: var(--cl-ink); }

/* ---------- Widgets ---------- */
.cl-widget { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: var(--cl-r); padding: 20px; }
.cl-widget__title { font-size: 1.25rem; margin: 0 0 14px; }
.cl-widget ul { margin: 0; padding: 0; list-style: none; }
.cl-widget.cl_lead, .cl-widget.cl_widget_lead { padding: 0; border: 0; background: none; }
.cl-popular { margin: 0; padding: 0; list-style: none; counter-reset: pop; }
.cl-popular li + li { border-top: 1px solid var(--cl-line); }
.cl-popular a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px 0; color: var(--cl-ink); text-decoration: none; }
.cl-popular a:hover strong { color: var(--cl-action); }
.cl-popular__img { display: block; width: 72px; height: 54px; border-radius: 8px; object-fit: cover; }
.cl-popular strong { display: block; font: 600 1rem/1.3 var(--cl-font-head); }
.cl-popular small { color: var(--cl-muted); font-size: .8125rem; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cl-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--cl-line); border-radius: 999px; color: var(--cl-ink); text-decoration: none; font-size: .9375rem; }
.cl-chips a:hover, .cl-chips a[aria-current] { border-color: var(--cl-ink); }
.cl-chips span { color: var(--cl-muted); font-size: .8125rem; }
.cl-tools li + li { border-top: 1px solid var(--cl-line); }
.cl-tools a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 0; color: var(--cl-ink); text-decoration: none; }
.cl-tools__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--cl-soft); color: var(--cl-action); }
.cl-tools strong { display: block; font-weight: 600; }
.cl-tools small { color: var(--cl-muted); font-size: .8125rem; }
.cl-tools a:hover strong { color: var(--cl-action); }

/* EMI */
.cl-emi { display: grid; gap: 12px; }
.cl-emi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cl-emi__out { padding: 14px 16px; border-radius: 10px; background: var(--cl-soft); }
.cl-emi__out span { display: block; color: var(--cl-muted); font-size: .875rem; }
.cl-emi__out strong { display: block; font: 700 2rem/1.1 var(--cl-font-head); color: var(--cl-ink); font-variant-numeric: tabular-nums; }
.cl-emi__out small { color: var(--cl-muted); font-size: .8125rem; }

/* ---------- Form fields ---------- */
.cl-field { margin: 0; display: grid; gap: 6px; }
.cl-field label { font-size: .875rem; font-weight: 600; color: var(--cl-ink); }
.cl-field input, .cl-field select, .cl-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #CBD1D9; border-radius: 10px; background: #fff; color: var(--cl-ink); font: inherit; font-size: 1rem; }
.cl-field input:focus, .cl-field select:focus { outline: none; border-color: var(--cl-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cl-accent) 45%, transparent); }
.cl-field [aria-invalid="true"] { border-color: var(--cl-action); }
.cl-phone { display: flex; }
.cl-phone__cc { display: grid; place-items: center; padding: 0 12px; border: 1px solid #CBD1D9; border-right: 0; border-radius: 10px 0 0 10px; background: var(--cl-soft); font-weight: 600; color: var(--cl-muted); }
.cl-phone input { border-radius: 0 10px 10px 0; }
.cl-check { margin: 0; font-size: .875rem; color: var(--cl-muted); }
.cl-check label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cl-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cl-action); flex: none; }
.cl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lead form: the price quote card ---------- */
.cl-lead { position: relative; background: var(--cl-card); border-radius: var(--cl-r); border: 1px solid var(--cl-line); overflow: hidden; }
.cl-lead__head { padding: 20px 22px 18px; background: var(--cl-ink); color: #fff; position: relative; }
.cl-lead__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; background: radial-gradient(circle at 7px 7px, var(--cl-card) 5px, transparent 5.5px) 0 0 / 16px 14px repeat-x; }
.cl-lead__title { margin: 0 0 4px; font: 700 1.5rem/1.15 var(--cl-font-head); color: #fff; }
.cl-lead__intro { margin: 0; color: #C9CED6; font-size: .9375rem; }
.cl-lead__form { display: grid; gap: 14px; padding: 22px; }
.cl-fields { display: grid; gap: 12px; }
.cl-lead__submit { width: 100%; min-height: 50px; font-size: 1.0625rem; }
.cl-lead__submit[disabled] { opacity: .7; cursor: progress; }
.cl-lead__msg { margin: 0; color: var(--cl-action); font-size: .9375rem; min-height: 0; }
.cl-lead__msg:empty { display: none; }
.cl-lead__done { padding: 30px 24px; text-align: center; }
.cl-lead__done p { margin: 12px 0 0; font-size: 1.0625rem; }
.cl-lead__tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0F8A4B; color: #fff; }
.cl-lead--inline, .cl-lead--end { margin: 36px 0; border-color: var(--cl-ink); }
.cl-lead--inline .cl-fields, .cl-lead--end .cl-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-lead--inline .cl-lead__submit, .cl-lead--end .cl-lead__submit { width: auto; justify-self: start; padding-inline: 32px; }
@media (max-width: 640px) {
	.cl-lead--inline .cl-fields, .cl-lead--end .cl-fields { grid-template-columns: 1fr; }
	.cl-lead--inline .cl-lead__submit, .cl-lead--end .cl-lead__submit { width: 100%; }
}
.cl-prose .cl-lead { font-size: 1rem; line-height: 1.5; }
.cl-prose .cl-lead p { margin: 0; }

/* ---------- Single post ---------- */
.cl-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; pointer-events: none; }
.cl-progress span { display: block; height: 100%; width: 0; background: var(--cl-action); }
.admin-bar .cl-progress { top: 32px; }
.cl-post__head { background: #fff; border-bottom: 1px solid var(--cl-line); padding: 26px 0 28px; }
.cl-post__headwrap { max-width: 980px; margin-left: max(calc((100% - var(--cl-wrap)) / 2), 0px); }
.cl-post__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); max-width: 24ch; margin-bottom: .3em; }
.cl-post__dek { max-width: 62ch; font-size: 1.1875rem; color: var(--cl-muted); margin-bottom: 16px; }
.cl-post__hero { margin: 0 0 28px; border-radius: var(--cl-r); overflow: hidden; background: var(--cl-soft); }
.cl-post__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cl-post__hero figcaption { padding: 8px 14px; font-size: .8125rem; color: var(--cl-muted); background: #fff; }
.cl-layout--post .cl-layout__main { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: var(--cl-r); padding: clamp(18px, 3vw, 40px); }

.cl-toc { margin: 0 0 28px; border: 1px solid var(--cl-line); border-radius: var(--cl-r); background: var(--cl-paper); }
.cl-toc summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font: 700 1.125rem/1.2 var(--cl-font-head); cursor: pointer; list-style: none; }
.cl-toc summary::-webkit-details-marker { display: none; }
.cl-toc summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.cl-toc[open] summary::after { transform: rotate(-135deg); }
.cl-toc ol { margin: 0; padding: 0 18px 16px 40px; columns: 2 220px; column-gap: 32px; }
.cl-toc li { padding: 3px 0; break-inside: avoid; }
.cl-toc a { color: var(--cl-ink); text-decoration: none; }
.cl-toc a:hover, .cl-toc a.is-active { color: var(--cl-action); text-decoration: underline; }

.cl-prose { font-size: 1.125rem; line-height: 1.72; max-width: 72ch; }
.cl-prose > * + * { margin-top: 0; }
.cl-prose p, .cl-prose ul, .cl-prose ol, .cl-prose blockquote, .cl-prose figure, .cl-prose table { margin: 0 0 1.15em; }
.cl-prose h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); margin: 1.6em 0 .55em; }
.cl-prose h3 { font-size: 1.375rem; margin: 1.4em 0 .5em; }
.cl-prose ul, .cl-prose ol { padding-left: 1.3em; }
.cl-prose li { margin-bottom: .4em; }
.cl-prose li::marker { color: var(--cl-action); font-weight: 700; }
.cl-prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--cl-accent); font-size: 1.1875rem; color: var(--cl-ink); }
.cl-prose img { border-radius: calc(var(--cl-r) - 4px); }
.cl-prose figcaption { font-size: .875rem; color: var(--cl-muted); margin-top: 6px; }
.cl-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.cl-prose th, .cl-prose td { padding: 10px 14px; border-bottom: 1px solid var(--cl-line); text-align: left; vertical-align: top; }
.cl-prose th { background: var(--cl-paper); font-weight: 600; white-space: nowrap; }
.cl-prose .wp-block-table { overflow-x: auto; }
.cl-prose .wp-block-table table { display: table; }
.cl-prose .cl-note { padding: 16px 18px; border-radius: 10px; background: color-mix(in srgb, var(--cl-accent) 14%, #fff); border: 1px solid color-mix(in srgb, var(--cl-accent) 45%, #fff); }
.cl-prose .cl-note p:last-child { margin-bottom: 0; }

.cl-post__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cl-line); }
.cl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cl-share > span { color: var(--cl-muted); font-size: .875rem; margin-right: 4px; }
.cl-share a, .cl-share button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--cl-line); border-radius: 999px; background: #fff; color: var(--cl-ink); font: 500 .9375rem/1 var(--cl-font-body); text-decoration: none; cursor: pointer; }
.cl-share a:hover, .cl-share button:hover { border-color: var(--cl-ink); }

.cl-author { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; margin: 32px 0; padding: 20px; border-radius: var(--cl-r); background: var(--cl-paper); }
.cl-author img { border-radius: 50%; }
.cl-author__name { margin: 0 0 4px; font: 700 1.125rem/1.2 var(--cl-font-head); }
.cl-author__name a { color: var(--cl-ink); text-decoration: none; }
.cl-author p:last-child { margin: 0; color: var(--cl-muted); }
.cl-related { margin-top: 36px; }
.cl-related .cl-card__excerpt { display: none; }
.cl-related .cl-card__title { font-size: 1.1875rem; }

.cl-comments { margin-top: 36px; }
.cl-comments__list { padding-left: 0; list-style: none; }
.cl-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--cl-line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #CBD1D9; border-radius: 10px; font: inherit; }
.comment-form .submit { background: var(--cl-ink); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font: 600 1rem var(--cl-font-body); cursor: pointer; }

.cl-mobilebar { display: none; }
@media (max-width: 1080px) {
	.cl-mobilebar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--cl-ink); color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .25s; }
	.cl-mobilebar.is-visible { transform: none; }
	.cl-mobilebar span { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
	.cl-mobilebar .cl-btn { flex: none; min-height: 42px; padding: 8px 16px; }
	.single-post { padding-bottom: 76px; }
}

.cl-page { max-width: 860px; padding-block: 32px 56px; }
.cl-empty { padding: 40px 0; max-width: 640px; }
.cl-empty .cl-searchform { margin: 16px 0; }

/* ---------- Footer (same columns as carlist360.com) ---------- */
.cl-footer { background: var(--cl-footer); color: #C9CED6; padding-top: 56px; }
.cl-footer a { color: #E7EAEE; text-decoration: none; }
.cl-footer a:hover { color: #fff; text-decoration: underline; }
.cl-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
.cl-footer__brand p { margin: 14px 0 0; max-width: 34ch; font-size: .9375rem; }
.cl-logo--footer img { height: 44px; filter: none; background: #fff; padding: 6px 10px; border-radius: 10px; }
.cl-logo--footer .cl-logo__text { color: #fff; }
.cl-footer__title { font: 700 1.125rem/1.2 var(--cl-font-head); color: #fff; margin: 0 0 14px; }
.cl-footer__list, .cl-footer__contact, .cl-footer__legal, .cl-social { margin: 0; padding: 0; list-style: none; }
.cl-footer__list li { padding: 4px 0; font-size: .9375rem; }
.cl-footer__contact li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: .9375rem; word-break: break-word; }
.cl-footer__contact .cl-icon { margin-top: 3px; color: var(--cl-accent); }
.cl-footer__contactlink { display: inline-block; margin-top: 6px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.cl-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cl-social a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .875rem; }
.cl-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.cl-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cl-footer__copy { margin: 0; color: #9AA2AE; }
@media (max-width: 1080px) { .cl-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cl-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }

/* ---------- Modal ---------- */
.cl-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.cl-modal[hidden] { display: none; }
.cl-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 12, 16, .6); }
.cl-modal__panel { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: var(--cl-r); background: var(--cl-card); }
.cl-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; color: #fff; }
.cl-modal__close:hover { background: rgba(255, 255, 255, .12); }
.cl-modal .cl-lead { border: 0; }
.cl-modal .cl-lead__head { padding-right: 56px; }
body.cl-modal-open { overflow: hidden; }

/* WhatsApp */
.cl-wa { position: fixed; right: 16px; bottom: 16px; z-index: 39; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1FA855; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.single-post .cl-wa { bottom: 86px; }
@media (min-width: 1081px) { .single-post .cl-wa { bottom: 16px; } }

/* Gutenberg alignment */
.alignwide, .alignfull { margin-inline: 0; }
.wp-block-image img { height: auto; }
.wp-caption { max-width: 100%; }
.sticky .cl-card__title::before { content: ""; }

/* Pasted main-site header/footer */
.cl-custom-header { position: relative; z-index: 50; }
.cl-sticky .cl-custom-header { position: sticky; top: 0; }

@media print { .cl-header, .cl-topics, .cl-footer, .cl-layout__side, .cl-lead, .cl-mobilebar, .cl-share, .cl-progress, .cl-wa { display: none !important; } .cl-layout { display: block; } }

@media (max-width: 640px) {
	.cl-layout--post { padding-top: 0; }
	.cl-layout--post .cl-layout__main { margin-inline: calc(var(--cl-gutter) * -1); border: 0; border-radius: 0; padding: 20px var(--cl-gutter) 28px; }
	.cl-post__hero { margin-inline: calc(var(--cl-gutter) * -1); border-radius: 0; }
	.cl-prose { font-size: 1.0625rem; }
	.cl-prose table { font-size: .9375rem; }
	.cl-prose td, .cl-prose th { min-width: 140px; }
}
.cl-footer__contact li { word-break: normal; overflow-wrap: anywhere; font-size: .875rem; }
@media (min-width: 1081px) { .cl-footer__grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) minmax(0, 1.35fr); } }
