/*
 * Current Living theme styles (front end and editor).
 * Tokens come from theme.json as --wp--preset--* variables.
 * Short names below keep component rules readable.
 */

:root {
	--cl-white: #fff;
	--cl-base: var(--wp--preset--color--base);
	--cl-surface: var(--wp--preset--color--surface);
	--cl-ink: var(--wp--preset--color--contrast);
	--cl-slate: var(--wp--preset--color--muted);
	--cl-mist: var(--wp--preset--color--line);
	--cl-teal: var(--wp--preset--color--accent);
	--cl-deep: var(--wp--preset--color--accent-deep);
	--cl-night: var(--wp--preset--color--accent-night);
	--cl-pale: var(--wp--preset--color--accent-pale);
	--cl-soft: var(--wp--preset--color--accent-soft);
	--cl-mid: var(--wp--preset--color--accent-mid);
	--cl-error: var(--wp--preset--color--error);
	--cl-mark: var(--wp--preset--color--accent);
	--cl-r: 12px;
	--cl-shadow: 0 4px 24px rgba(0, 0, 0, .06);
	--cl-fade: rgba(20, 20, 20, .82);
	--cl-section: clamp(56px, 7vw, 96px);
	--cl-h: var(--wp--preset--font-family--heading);
	--cl-b: var(--wp--preset--font-family--body);
	--cl-on-accent: #fff;
}

/* Dark mode: Ink background, White text, Bright Current accent. */
[data-theme="dark"] {
	--wp--preset--color--base: #141414;
	--wp--preset--color--surface: #1e2022;
	--wp--preset--color--contrast: #fff;
	--wp--preset--color--muted: #b4b8ba;
	--wp--preset--color--line: #33373a;
	--wp--preset--color--accent: #2fb8c6;
	--wp--preset--color--accent-deep: #2fb8c6;
	--wp--preset--color--accent-night: #7ad3dc;
	--wp--preset--color--accent-pale: #12302f;
	--wp--preset--color--accent-soft: #1f4a4e;
	--wp--preset--color--error: #ff8a80;
	--cl-mark: #2fb8c6;
	--cl-on-accent: #141414;
	color-scheme: dark;
}
[data-theme="dark"] .wp-element-button, [data-theme="dark"] .cl-btn { color: #141414; }
[data-theme="dark"] .cl-logo__img--light { display: none; }
.cl-logo__img--dark { display: none; }
[data-theme="dark"] .cl-logo__img--dark { display: block; }

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li, dd) { text-wrap: pretty; }
table, .cl-tnum, .cl-calc, .cl-dates__date, .cl-changes dt, .cl-affiliate__specs { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
:focus-visible { outline: 2px solid var(--cl-deep); outline-offset: 2px; }
a { text-underline-offset: .15em; text-decoration-thickness: 1px; }
.cl-muted { color: var(--cl-slate); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; background: var(--cl-base); color: var(--cl-ink); padding: 12px 16px; top: 8px; left: 8px; }
img { height: auto; max-width: 100%; }
.wp-element-caption, figcaption { font-size: 15px; color: var(--cl-slate); margin-top: 8px; }
.cl-credit { font-size: 13px; color: var(--cl-slate); }

/* Signature rule above section titles. */
.is-style-cl-rule::before, .is-style-cl-rule-accent::before, .cl-section__title::before, .cl-feature__title::before {
	content: ""; display: block; width: 40px; height: 4px; background: var(--cl-ink); margin-bottom: 14px;
}
.is-style-cl-rule-accent::before { background: var(--cl-teal); }
.cl-feature__title::before { display: none; }

/* Buttons. */
.cl-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
	background: var(--cl-teal); color: var(--cl-on-accent); font: 600 15px/1.3 var(--cl-b); text-decoration: none; cursor: pointer; transition: background-color .15s;
}
.cl-btn:hover, .wp-block-button__link:hover { background: var(--cl-deep); color: var(--cl-on-accent); }
.cl-btn:active { background: var(--cl-night); }
.cl-btn--outline, .is-style-cl-outline .wp-block-button__link { background: transparent; color: var(--cl-ink); box-shadow: inset 0 0 0 1px var(--cl-ink); }
.cl-btn--outline:hover, .is-style-cl-outline .wp-block-button__link:hover { background: var(--cl-surface); color: var(--cl-ink); }
.cl-btn--ink { background: var(--cl-ink); color: var(--cl-base); }
.cl-btn--ink:hover { background: var(--cl-ink); opacity: .9; color: var(--cl-base); }
.cl-linkbtn { background: none; border: 0; padding: 0 8px; min-height: 44px; font: 600 15px var(--cl-b); color: var(--cl-deep); text-decoration: underline; cursor: pointer; }
.cl-linkbtn[disabled] { color: var(--cl-slate); cursor: default; text-decoration: none; }
.cl-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--cl-ink); cursor: pointer; }
.cl-iconbtn:hover { background: var(--cl-surface); }

/* Fields. */
.cl-field { display: flex; flex-direction: column; gap: 8px; }
.cl-field > span, .cl-field__label { font: 600 17px/1.4 var(--cl-b); }
.cl-field input:not([type=checkbox]):not([type=radio]):not([type=range]), .cl-field textarea, .cl-field select {
	min-height: 48px; border: 1px solid var(--cl-slate); border-radius: 8px; padding: 0 14px; font: 400 17px var(--cl-b); background: var(--cl-base); color: var(--cl-ink); box-sizing: border-box; width: 100%;
}
.cl-field textarea { padding: 12px 14px; }
.cl-field__help { margin: 0; font-size: 15px; color: var(--cl-slate); }
.cl-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.cl-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--cl-teal); flex: none; }
.cl-error { display: flex; gap: 8px; align-items: center; margin: 0; font: 500 15px var(--cl-b); color: var(--cl-error); }
.cl-error[hidden] { display: none; }
.cl-hp { position: absolute; left: -9999px; }
.cl-form-status { display: flex; gap: 8px; align-items: center; padding: 14px 16px; border-radius: 8px; background: var(--cl-pale); color: var(--cl-ink); }
.cl-form-status--invalid, .cl-form-status--error, .cl-form-status--limit { background: var(--cl-surface); }

/* Badges and kickers. */
.cl-kicker { margin: 0; font: 600 15px/1.4 var(--cl-b); color: var(--cl-teal); }
.cl-kicker a { color: inherit; text-decoration: none; }
.cl-kicker--small, .cl-card__kicker { font-size: 13px; color: var(--cl-deep); }
.cl-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--cl-ink); border-radius: 999px; padding: 4px 12px; font: 600 13px/1.3 var(--cl-b); color: var(--cl-ink); }
.cl-badge--example, .cl-badge--roundup { border-color: var(--cl-mist); color: var(--cl-ink); font-weight: 500; }
.cl-badge--estimate { border-color: var(--cl-soft); background: var(--cl-base); color: var(--cl-ink); vertical-align: middle; margin-left: 6px; }

/* ---------- Header ---------- */
.cl-site-header { position: sticky; top: 0; z-index: 50; }
.cl-header { background: var(--cl-base); border-bottom: 1px solid var(--cl-mist); transition: background-color .2s; }
.cl-header.is-scrolled { background: color-mix(in srgb, var(--cl-base) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.admin-bar .cl-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.cl-header__row { min-height: 72px; gap: 32px !important; }
.cl-header .wp-block-navigation { font-weight: 500; }
.cl-header .wp-block-navigation-item__content { padding: 24px 0; text-decoration: none; border-bottom: 2px solid transparent; }
.cl-header .current-menu-item > .wp-block-navigation-item__content { border-color: var(--cl-teal); }
.cl-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.cl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font: 700 26px var(--cl-h); padding: 10px 0; }
.cl-header-tools { display: flex; align-items: center; }
.cl-header-tools__nl { font: 500 15px var(--cl-b); color: var(--cl-ink); text-decoration: none; padding: 12px 10px; }
.cl-theme-toggle__sun, [data-theme="dark"] .cl-theme-toggle__moon { display: none; }
[data-theme="dark"] .cl-theme-toggle__sun { display: inline-flex; }
@media (max-width: 1023px) { .cl-header-tools__nl { display: none; } .cl-header__row { gap: 12px !important; } }

.cl-logo { display: inline-flex; color: var(--cl-ink); line-height: 0; }
.cl-logo__svg--horizontal { height: 24px; width: auto; }
.cl-logo__svg--stacked { height: 52px; width: auto; }
.cl-logo__svg--mark { height: 20px; width: auto; }
.cl-logo__img { height: 24px; width: auto; }
@media (max-width: 480px) { .cl-logo__svg--horizontal, .cl-logo__img { height: 20px; } }

/* Logo draw (once per session) and hover ripple. Fully drawn without these classes. */
@media (prefers-reduced-motion: no-preference) {
	.cl-logo--draw .cl-flow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cl-draw 1s cubic-bezier(.45, 0, .2, 1) .15s forwards; }
	.cl-logo--ripple:hover .cl-flow { transform-box: fill-box; transform-origin: 50% 66%; animation: cl-ripple .9s ease-out; }
	.cl-reveal-on .cl-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
	.cl-reveal-on .cl-reveal.is-in { opacity: 1; transform: none; }
	.cl-card:hover .cl-card__img, .cl-feature__media:hover img { transform: scale(1.03); }
	.cl-card__img, .cl-feature__media img { transition: transform .5s ease; }
}
@keyframes cl-draw { to { stroke-dashoffset: 0; } }
@keyframes cl-ripple { 0% { transform: scaleY(1); } 30% { transform: scaleY(1.28); } 60% { transform: scaleY(.86); } 100% { transform: scaleY(1); } }

/* Loader: the line waves, then settles. */
.cl-loader { display: inline-flex; align-items: center; color: var(--cl-teal); }
.cl-loader svg { width: 40px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.cl-loader path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: cl-load 1.4s ease-in-out infinite; }
@keyframes cl-load { 0% { stroke-dashoffset: 1; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@media (prefers-reduced-motion: reduce) { .cl-loader path { animation: none; } }
button .cl-loader { margin-left: 4px; color: inherit; }

/* Search. */
.cl-search { position: relative; }
.cl-search__panel { position: absolute; right: 0; top: calc(100% + 14px); width: min(480px, calc(100vw - 32px)); background: var(--cl-base); border: 1px solid var(--cl-mist); border-radius: var(--cl-r); box-shadow: var(--cl-shadow); padding: 12px; z-index: 60; }
.cl-search__panel form { display: flex; gap: 8px; }
.cl-search__panel input { flex: 1; min-height: 48px; border: 1px solid var(--cl-slate); border-radius: 8px; padding: 0 14px; font: 17px var(--cl-b); background: var(--cl-base); color: var(--cl-ink); }
.cl-suggest ul { list-style: none; margin: 0; padding: 0; }
.cl-suggest a { display: flex; flex-direction: column; padding: 10px 8px; border-radius: 8px; color: var(--cl-ink); text-decoration: none; }
.cl-suggest a:hover, .cl-suggest a:focus { background: var(--cl-surface); }
.cl-suggest__head { margin: 12px 8px 4px; font: 600 13px var(--cl-b); color: var(--cl-slate); }
.cl-suggest__kicker { font-size: 13px; color: var(--cl-deep); }
.cl-suggest__title { font-weight: 600; }
.cl-suggest__none { margin: 12px 8px; font-size: 15px; color: var(--cl-slate); }
.cl-suggest .cl-loader { margin: 12px 8px; }

/* Topic bar. */
.cl-topics { border-bottom: 1px solid var(--cl-mist); background: var(--cl-base); }
.cl-topics__inner { max-width: 1200px; margin: 0 auto; padding-left: 16px; display: flex; align-items: stretch; }
.cl-topics__links { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; flex: 1; white-space: nowrap; }
.cl-topics__links a { padding: 18px 0; color: var(--cl-ink); text-decoration: none; font: 500 15px var(--cl-b); }
.cl-topics__links a:hover { text-decoration: underline; }
.cl-topics__nl { display: flex; align-items: center; padding: 0 24px; background: var(--cl-teal); color: var(--cl-on-accent); text-decoration: none; font: 600 15px var(--cl-b); }
.cl-topics__nl:hover { background: var(--cl-deep); color: var(--cl-on-accent); }

/* ---------- Homepage ---------- */
.cl-home > * + * { margin-top: 0; }
.cl-section { padding-top: var(--cl-section); }
.cl-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.cl-section__title { margin: 0; font: 700 var(--wp--preset--font-size--h2)/1.1 var(--cl-h); letter-spacing: -.02em; }
.cl-top .cl-section__title { font-weight: 800; font-size: var(--wp--preset--font-size--h1); }
.cl-section__more { font: 600 15px var(--cl-b); }

.cl-hero { position: relative; height: clamp(500px, 50vw, 720px); background: #2b2e30; overflow: hidden; color: #fff; }
.cl-hero__media, .cl-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-hero__fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--cl-fade) 0%, rgba(20,20,20,.45) 38%, rgba(20,20,20,0) 65%); }
.cl-hero__text { position: absolute; left: 0; right: 0; bottom: 0; max-width: 1200px; margin: 0 auto; padding: 0 16px clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.cl-hero__text > * { max-width: 860px; margin: 0; }
.cl-hero__rule { width: 40px; height: 4px; background: #2fb8c6; }
.cl-hero__kicker { font: 600 15px var(--cl-b); color: #2fb8c6; }
.cl-hero__title { font: 800 var(--wp--preset--font-size--display)/1.06 var(--cl-h); letter-spacing: -.02em; color: #fff; }
.cl-hero__title a { color: #fff; text-decoration: none; }
.cl-hero__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.cl-hero__stand { font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.5; max-width: 640px !important; }
.cl-hero__byline { font-size: 15px; }

.cl-top__grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 48px; }
.cl-top__main { display: flex; flex-direction: column; gap: 48px; }
.cl-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 32px; align-items: center; }
.cl-feature--flip .cl-feature__media { order: 2; }
.cl-feature__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--cl-r); background: var(--cl-mist); }
.cl-feature__media img, .cl-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-feature__text { display: flex; flex-direction: column; gap: 12px; }
.cl-feature__title { margin: 0; font: 800 clamp(24px, .8vw + 18px, 30px)/1.12 var(--cl-h); letter-spacing: -.02em; }
.cl-feature__title a, .cl-side__title a, .cl-news__title a { color: var(--cl-ink); text-decoration: none; }
.cl-feature__title a:hover, .cl-side__title a:hover, .cl-news__title a:hover { text-decoration: underline; }
.cl-feature__stand { margin: 0; font-size: 17px; color: var(--cl-slate); }
.cl-feature__meta { margin: 0; font-size: 13px; color: var(--cl-slate); }
.cl-side { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cl-mist); }
.cl-side__item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--cl-mist); }
.cl-side__thumb { width: 88px; height: 88px; flex: none; border-radius: 8px; overflow: hidden; background: var(--cl-mist); }
.cl-side__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-side__title { margin: 4px 0 0; font: 700 18px/1.25 var(--cl-h); letter-spacing: -.01em; }
@media (max-width: 1023px) { .cl-top__grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cl-feature { grid-template-columns: 1fr; } .cl-feature--flip .cl-feature__media { order: 0; } }

.cl-pillars, .cl-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.cl-tools { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.cl-pillars__card, .cl-tools__card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--cl-mist); border-radius: var(--cl-r); color: var(--cl-ink); text-decoration: none; transition: transform .2s, box-shadow .2s, background-color .2s; }
.cl-pillars__card:hover { transform: translateY(-2px); box-shadow: var(--cl-shadow); }
.cl-pillars__title, .cl-tools__title { font: 700 22px/1.2 var(--cl-h); letter-spacing: -.01em; }
.cl-pillars__text { font-size: 15px; color: var(--cl-slate); }
.cl-tools__card { background: var(--cl-surface); border-color: transparent; padding: 24px; min-height: 200px; }
.cl-tools__card:hover { background: var(--cl-pale); }
.cl-tools__title { font-size: 20px; }
.cl-tools__promise { font-size: 15px; line-height: 1.5; flex: 1; }
.cl-tools__checked { font-size: 13px; color: var(--cl-slate); }
.cl-tools__cta { font: 600 15px var(--cl-b); color: var(--cl-deep); }
.cl-tools--large { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.cl-tools--large .cl-tools__card { min-height: 260px; padding: 32px; }
.cl-tools--large .cl-tools__title { font-size: 26px; }
.cl-tools--large .cl-tools__promise { font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .cl-pillars__card:hover { transform: none; } }

.cl-news-dates { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px 64px; }
.cl-news__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cl-mist); }
.cl-news__item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--cl-mist); }
.cl-news__thumb { width: 96px; aspect-ratio: 1; flex: none; border-radius: 8px; overflow: hidden; background: var(--cl-mist); }
.cl-news__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-news__date { font-size: 13px; color: var(--cl-slate); }
.cl-news__title { margin: 4px 0 0; font: 700 20px/1.25 var(--cl-h); letter-spacing: -.01em; }
@media (max-width: 900px) {
	.cl-news-dates { grid-template-columns: 1fr; }
	.cl-news__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; border: 0; scrollbar-width: none; }
	.cl-news__item { flex: 0 0 72%; flex-direction: column; scroll-snap-align: start; border: 0; padding: 0; }
	.cl-news__thumb { width: 100%; }
}
.cl-dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cl-mist); }
.cl-dates__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--cl-mist); }
.cl-dates__date { font: 700 18px var(--cl-h); }
.cl-dates__text a { color: var(--cl-ink); }
.cl-dates__source { font-size: 13px; color: var(--cl-slate); }
.cl-dates__source a { color: var(--cl-slate); }

.cl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 32px 24px; }
.cl-card { display: flex; flex-direction: column; gap: 12px; color: var(--cl-ink); text-decoration: none; }
.cl-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--cl-r); overflow: hidden; background: var(--cl-mist); }
.cl-card__img--empty { display: block; width: 100%; height: 100%; background: var(--cl-mist); }
.cl-card__title { font: 700 20px/1.25 var(--cl-h); letter-spacing: -.01em; }
.cl-card:hover .cl-card__title { text-decoration: underline; }
.cl-cards--row { border-top: 1px solid var(--cl-mist); padding-top: 24px; }

.cl-trust { background: var(--cl-surface); margin-top: var(--cl-section); }
.cl-trust__inner { max-width: 1200px; margin: 0 auto; padding: var(--cl-section) 16px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.cl-trust__line { margin: 0; max-width: 720px; font: 800 clamp(26px, 1.6vw + 16px, 40px)/1.15 var(--cl-h); letter-spacing: -.02em; }
.cl-trust__line::before { content: ""; display: block; width: 40px; height: 4px; background: var(--cl-ink); margin-bottom: 16px; }
.cl-trust__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font: 500 17px var(--cl-b); }

.cl-newsletter { border: 3px solid var(--cl-teal); border-radius: var(--cl-r); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: center; justify-content: space-between; margin-bottom: var(--cl-section); }
.cl-newsletter__text { flex: 1 1 420px; }
.cl-newsletter__title { margin: 0 0 10px; font: 800 var(--wp--preset--font-size--h2)/1.15 var(--cl-h); letter-spacing: -.02em; }
.cl-newsletter__text p { margin: 0; font-size: 15px; color: var(--cl-slate); }
.cl-newsletter__form { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 380px; align-items: flex-end; }
.cl-newsletter__form .cl-field { flex: 1 1 220px; }
.cl-newsletter__form .cl-field > span { font-size: 15px; font-weight: 500; }

/* ---------- Articles ---------- */
.cl-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--cl-slate); }
.cl-breadcrumbs a { color: var(--cl-slate); }
.cl-standfirst { margin: 0; font-size: var(--wp--preset--font-size--standfirst); line-height: 1.5; color: var(--cl-slate); }
.cl-meta-row { border-top: 1px solid var(--cl-mist); border-bottom: 1px solid var(--cl-mist); padding: 16px 0; }
.cl-byline { display: flex; align-items: center; gap: 12px; }
.cl-byline__photo { border-radius: 999px; width: 44px; height: 44px; }
.cl-byline__text { display: flex; flex-direction: column; }
.cl-byline__name { font: 600 15px var(--cl-b); color: var(--cl-ink); }
.cl-byline__team { font-size: 13px; color: var(--cl-slate); }
.cl-stamps { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--cl-slate); }
.cl-stamp { display: inline-flex; align-items: center; gap: 6px; }
.cl-hero-image img { border-radius: var(--cl-r); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 767px) { .cl-hero-image img { aspect-ratio: 4 / 3; } }

.cl-article-grid { display: grid; grid-template-columns: 240px minmax(0, 680px) 300px; gap: 48px; justify-content: center; align-items: start; }
.cl-article-grid > .cl-rail { position: sticky; top: 112px; }
.cl-article-grid--notoc { grid-template-columns: minmax(0, 680px) 300px; }
.cl-rail:empty, .cl-toc-col:empty { display: none; }
.cl-main { padding-left: 16px; padding-right: 16px; }
.cl-home .alignfull { margin-left: -16px; margin-right: -16px; }
.cl-updated::before { content: "Updated "; }
@media (max-width: 1199px) { .cl-article-grid { grid-template-columns: 220px minmax(0, 680px); } .cl-article-grid--notoc { grid-template-columns: minmax(0, 680px); } .cl-article-grid > .cl-rail { display: none; } }
@media (max-width: 1023px) { .cl-article-grid { grid-template-columns: minmax(0, 1fr); } }
.cl-article-body > * { max-width: 680px; }
.cl-article-body > * + * { margin-block-start: 24px; }
.cl-article-body h2 { margin-block-start: 56px; scroll-margin-top: 100px; }
.cl-article-body h3 { margin-block-start: 40px; }

.cl-toc { font-size: 15px; }
.cl-toc--sticky { position: sticky; top: 112px; }
.cl-toc__title { font: 600 13px var(--cl-b); color: var(--cl-slate); cursor: pointer; list-style: none; margin-bottom: 12px; }
.cl-toc__title::-webkit-details-marker { display: none; }
.cl-toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--cl-mist); }
.cl-toc__list a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; color: var(--cl-ink); text-decoration: none; border-left: 2px solid transparent; line-height: 1.4; }
.cl-toc__list a:hover { text-decoration: underline; }
.cl-toc__list a.is-current { color: var(--cl-deep); font-weight: 600; border-color: var(--cl-teal); }
@media (max-width: 1023px) {
	.cl-toc--sticky { position: static; }
	.cl-toc details { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: 0 20px; }
	.cl-toc__title { min-height: 52px; display: flex; align-items: center; margin: 0; font-size: 15px; color: var(--cl-ink); }
	.cl-toc__list { border: 0; padding-bottom: 12px; }
	.cl-toc__list a { padding-left: 0; border: 0; }
}

/* Callouts and panels. Text inside Pale Current is always Ink. */
.cl-quick-answer, .cl-callout--tip, .cl-know__col--yes, .cl-what-means { background: var(--cl-pale); border: 1px solid var(--cl-soft); border-radius: var(--cl-r); padding: 28px; color: var(--cl-ink); }
.cl-quick-answer > :first-child, .cl-what-means > :first-child { font: 600 15px var(--cl-b); color: var(--cl-deep); margin: 0 0 10px; }
.cl-quick-answer :where(p, li), .cl-callout--tip :where(p, li), .cl-what-means :where(p, li) { color: var(--cl-ink); }
.cl-quick-answer > * + *, .cl-callout > * + *, .cl-what-means > * + * { margin-top: 10px; }
.cl-callout { border-radius: var(--cl-r); padding: 24px; }
.cl-callout > :first-child { font-weight: 600; margin: 0; }
.cl-callout--warning, .cl-callout--nations, .cl-callout--unconfirmed { background: var(--cl-surface); border: 1px solid var(--cl-mist); }
.cl-unconfirmed-label { display: inline-block; border: 1px solid var(--cl-ink); border-radius: 999px; padding: 2px 10px; font: 600 13px var(--cl-b); color: var(--cl-ink); }
.cl-callout--unconfirmed p { color: var(--cl-slate); }
.cl-callout--unconfirmed p:first-child { color: var(--cl-ink); }
.cl-key-facts { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); overflow: hidden; }
.cl-key-facts > h3, .cl-key-facts > h2 { margin: 0; padding: 18px 24px; border-bottom: 1px solid var(--cl-mist); font-size: 20px; }
.cl-key-facts table { margin: 0; width: 100%; border-collapse: collapse; font-size: 17px; }
.cl-key-facts td { padding: 14px 24px; border: 0; border-bottom: 1px solid var(--cl-mist); vertical-align: top; }
.cl-key-facts td:first-child { color: var(--cl-slate); width: 34%; }
.cl-key-facts tr:last-child td { border-bottom: 0; }
.cl-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.cl-timeline li { position: relative; padding: 24px 16px 0 0; border-top: 2px solid var(--cl-mist); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.cl-timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 14px; height: 14px; border-radius: 999px; background: var(--cl-slate); border: 3px solid var(--cl-base); }
.cl-timeline li.is-next::before { background: var(--cl-teal); }
.cl-timeline strong { font: 700 17px var(--cl-h); }
@media (max-width: 600px) { .cl-timeline { grid-template-columns: 1fr; } .cl-timeline li { border-top: 0; border-left: 2px solid var(--cl-mist); padding: 0 0 20px 24px; } .cl-timeline li::before { top: 2px; left: -9px; } }
.cl-know { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cl-know__col--no { background: var(--cl-surface); border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: 28px; }
.cl-know h3 { margin: 0 0 12px; font-size: 20px; }
@media (max-width: 600px) { .cl-know { grid-template-columns: 1fr; } }
.cl-step { counter-increment: cl-step; }
.cl-article-body { counter-reset: cl-step; }
.cl-step > h2::before { content: counter(cl-step) " "; color: var(--cl-teal); font-weight: 800; margin-right: 6px; }
.is-style-cl-checklist { list-style: none; padding: 0; }
.is-style-cl-checklist li { position: relative; padding-left: 36px; min-height: 28px; margin-bottom: 12px; }
.is-style-cl-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border: 2px solid var(--cl-ink); border-radius: 4px; }
.cl-checklist { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: 28px; }
.cl-checklist .wp-block-button__link { background: transparent; color: var(--cl-ink); box-shadow: inset 0 0 0 1px var(--cl-ink); }
.cl-faq { border-bottom: 1px solid var(--cl-mist); }
.wp-block-details summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--cl-slate); }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > :not(summary) { margin: 0 0 20px; }

.cl-sources__title, .cl-changes__title { font-size: 22px; margin: 0 0 12px; }
.cl-sources__list { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.cl-sources__list li:target { background: var(--cl-pale); border-radius: 4px; }
.cl-changes { background: var(--cl-surface); border-radius: var(--cl-r); padding: 24px; font-size: 15px; }
.cl-changes__list { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cl-changes__list div { display: flex; gap: 16px; }
.cl-changes__list dt { flex: 0 0 140px; font-weight: 600; }
.cl-changes__list dd { margin: 0; }

.cl-sponsor { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--cl-slate); }
.cl-sponsor__logo { max-height: 32px; width: auto; }
.cl-sponsor a { color: var(--cl-ink); font-weight: 600; font-size: 15px; }

/* Images. */
.is-style-cl-duotone img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.is-style-cl-duotone { background: var(--cl-teal); border-radius: var(--cl-r); overflow: hidden; }
.cl-gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.cl-gallery > * { flex: 0 0 min(80%, 560px); scroll-snap-align: start; margin: 0 !important; }
.cl-phone { max-width: 300px; margin-inline: auto; padding: 12px; border-radius: 40px; background: var(--cl-ink); }
.cl-phone img { border-radius: 30px !important; display: block; }
.cl-phone figcaption { color: var(--cl-base); text-align: center; }
.cl-image-break img { border-radius: 0; width: 100%; max-height: 70vh; object-fit: cover; }
figure.has-pin { position: relative; }
.cl-pin { position: absolute; top: 12px; right: 12px; background: #fff; color: #141414; border-radius: 999px; padding: 8px 14px; font: 600 13px var(--cl-b); text-decoration: none; box-shadow: var(--cl-shadow); opacity: 0; transition: opacity .2s; }
figure.has-pin:hover .cl-pin, .cl-pin:focus { opacity: 1; }

/* ---------- Commerce ---------- */
.cl-disclosure { display: flex; gap: 12px; align-items: flex-start; background: var(--cl-surface); border-radius: var(--cl-r); padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.cl-disclosure .cl-icon { flex: none; margin-top: 1px; }
.cl-disclosure > div { display: flex; flex-direction: column; gap: 4px; }
.cl-disclosure__amazon { font-size: 13px; color: var(--cl-slate); }
.cl-affiliate { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: 24px; display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px 32px; }
.cl-affiliate__media { background: var(--cl-surface); border-radius: var(--cl-r); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cl-affiliate__img { max-height: 100%; object-fit: contain; }
.cl-affiliate__img--empty { width: 100%; height: 100%; }
.cl-affiliate__body { display: flex; flex-direction: column; gap: 12px; }
.cl-affiliate__name { margin: 0; font: 700 var(--wp--preset--font-size--h3)/1.15 var(--cl-h); letter-spacing: -.02em; }
.cl-affiliate__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-affiliate__best, .cl-affiliate__verdict { margin: 0; }
.cl-affiliate__best { font-size: 15px; }
.cl-affiliate__specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.cl-affiliate__specs dt { color: var(--cl-slate); }
.cl-affiliate__specs dd { margin: 0; }
.cl-affiliate__compliance { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 15px; font-weight: 500; }
.cl-affiliate__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cl-affiliate__note { margin: 0; font-size: 13px; color: var(--cl-slate); }
@media (max-width: 640px) { .cl-affiliate { grid-template-columns: 1fr; } .cl-affiliate__media { max-width: 280px; } }

.is-style-cl-compare { overflow-x: auto; border: 1px solid var(--cl-mist); border-radius: var(--cl-r); }
.is-style-cl-compare table { border-collapse: separate; border-spacing: 0; min-width: 620px; width: 100%; font-size: 15px; }
.is-style-cl-compare th, .is-style-cl-compare td { border: 0; border-bottom: 1px solid var(--cl-mist); padding: 14px 16px; text-align: left; background: var(--cl-base); }
.is-style-cl-compare thead th { font-weight: 600; }
.is-style-cl-compare tr > :first-child { position: sticky; left: 0; z-index: 1; color: var(--cl-slate); font-weight: 400; }
.is-style-cl-compare thead tr > :first-child { color: var(--cl-ink); }
.is-style-cl-compare tr > :nth-child(2) { background: var(--cl-pale); border-bottom-color: var(--cl-soft); }
.is-style-cl-compare tbody tr:last-child > * { border-bottom: 0; }
.is-style-cl-compare figcaption { padding: 0 16px 12px; }

.cl-verdict { border: 2px solid var(--cl-ink); border-radius: var(--cl-r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.cl-verdict__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.cl-verdict__title { margin: 0; font-size: var(--wp--preset--font-size--h3); }
.cl-verdict__score { display: flex; align-items: center; gap: 12px; }
.cl-verdict__num { font: 800 34px var(--cl-h); }
.cl-stars { display: inline-flex; gap: 3px; }
.cl-star { width: 18px; height: 18px; border-radius: 4px; background: var(--cl-mist); }
.cl-star--full { background: var(--cl-teal); }
.cl-star--half { background: linear-gradient(90deg, var(--cl-teal) 50%, var(--cl-mist) 50%); }
.cl-verdict__summary { margin: 0; font-size: 18px; }
.cl-verdict__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cl-verdict__lists h3 { font-size: 18px; margin: 0 0 10px; }
.cl-verdict__lists ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cl-verdict__lists li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.cl-verdict__pros .cl-icon { color: var(--cl-deep); flex: none; margin-top: 2px; }
.cl-verdict__cons .cl-icon { color: var(--cl-slate); flex: none; margin-top: 2px; }
.cl-verdict__best { margin: 0; font-size: 15px; }
@media (max-width: 600px) { .cl-verdict__lists { grid-template-columns: 1fr; } }

.cl-lead { background: var(--cl-surface); border: 2px solid var(--cl-ink); border-radius: var(--cl-r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.cl-lead__eyebrow { margin: 0; font: 600 13px var(--cl-b); color: var(--cl-slate); }
.cl-lead__title { margin: 0; font-size: 26px; }
.cl-lead__disclosure { margin: 0; font-size: 15px; }
.cl-lead__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; margin-top: 8px; }
.cl-lead__form .cl-field > span { font-size: 15px; font-weight: 500; }
.cl-lead__form .cl-check, .cl-lead__form button { grid-column: 1 / -1; justify-self: start; }

.cl-pricebar { position: fixed; left: 50%; bottom: 16px; z-index: 40; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; width: min(720px, calc(100% - 32px)); box-sizing: border-box; padding: 10px 10px 10px 14px; background: var(--cl-base); border: 1px solid var(--cl-mist); border-radius: 16px; box-shadow: var(--cl-shadow); transition: transform .3s ease; }
.cl-pricebar.is-on { transform: translate(-50%, 0); }
.cl-pricebar img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--cl-surface); }
.cl-pricebar__name { flex: 1; font: 600 15px var(--cl-b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cl-pricebar { transition: none; } }

/* ---------- Ads and sponsors ---------- */
/* A switched-on, filled slot reserves its height. Off or empty slots are never printed. */
.cl-ad { margin: 40px auto; max-width: 100%; clear: both; }
.cl-ad__label { font: 400 13px var(--cl-b); color: var(--cl-slate); padding-bottom: 8px; border-bottom: 1px solid var(--cl-mist); margin-bottom: 12px; }
.cl-ad__box { min-height: var(--cl-ad-h); width: var(--cl-ad-w, 100%); max-width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; contain: layout; }
.cl-ad__box a { display: block; line-height: 0; }
.cl-ad__img { max-width: 100%; height: auto; }
.cl-ad--header, .cl-ad--footer { margin: 16px auto; width: calc(var(--cl-ad-w) + 0px); }
.cl-ad--header { margin-top: 16px; }
.cl-ad--sidebar .cl-ad__box { width: 300px; }
@media (max-width: 767px) {
	.cl-ad__box { min-height: var(--cl-ad-hm); width: var(--cl-ad-wm, 100%); }
	.cl-ad--header, .cl-ad--footer { width: calc(var(--cl-ad-wm) + 0px); }
}
.cl-ad-point { height: 0; }

/* ---------- Calculators ---------- */
.cl-calc { display: flex; flex-direction: column; gap: 32px; }
.cl-calc__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--cl-slate); }
.cl-calc__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 899px) { .cl-calc__grid { grid-template-columns: 1fr; } }
.cl-calc__inputs { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 32px; }
.cl-input { display: flex; align-items: center; max-width: 340px; min-height: 56px; border: 1px solid var(--cl-slate); border-radius: 8px; background: var(--cl-base); overflow: hidden; }
.cl-input:focus-within { outline: 2px solid var(--cl-deep); outline-offset: 2px; }
.cl-field.has-error .cl-input { border-color: var(--cl-error); }
.cl-input input { flex: 1; min-width: 0; height: 54px; border: 0 !important; outline: 0; padding: 0 14px; font: 600 22px var(--cl-b) !important; background: transparent; color: var(--cl-ink); font-feature-settings: "tnum"; }
.cl-input__unit { padding: 0 14px; font-size: 15px; color: var(--cl-slate); white-space: nowrap; }
.cl-range { width: 100%; height: 32px; accent-color: var(--cl-teal); margin: 0; }
.cl-seg { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cl-seg legend { padding: 0; margin-bottom: 10px; }
.cl-seg__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cl-seg__opt { position: relative; min-height: 56px; padding: 12px 16px; border: 1px solid var(--cl-mist); border-radius: 8px; display: flex; flex-direction: column; justify-content: center; gap: 2px; cursor: pointer; background: var(--cl-base); }
.cl-seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cl-seg__opt:has(input:checked) { border: 2px solid var(--cl-teal); background: var(--cl-pale); padding: 11px 15px; }
.cl-seg__opt:has(input:focus-visible) { outline: 2px solid var(--cl-deep); outline-offset: 2px; }
.cl-seg__main { font: 600 15px var(--cl-b); }
.cl-seg__sub { font-size: 13px; color: var(--cl-ink); }
.cl-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; }
.cl-switch input { position: absolute; opacity: 0; }
.cl-switch__track { width: 48px; height: 28px; border-radius: 999px; background: var(--cl-slate); position: relative; flex: none; transition: background-color .15s; }
.cl-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; transition: transform .15s; }
.cl-switch input:checked + .cl-switch__track { background: var(--cl-teal); }
.cl-switch input:checked + .cl-switch__track::after { transform: translateX(20px); }
.cl-switch input:focus-visible + .cl-switch__track { outline: 2px solid var(--cl-deep); outline-offset: 2px; }
.cl-calc__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--cl-mist); padding-top: 24px; }
.cl-calc__copied { font-size: 15px; color: var(--cl-deep); font-weight: 600; }
.cl-calc__result { position: sticky; top: 104px; background: var(--cl-pale); border: 1px solid var(--cl-soft); border-radius: var(--cl-r); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; color: var(--cl-ink); min-height: 280px; }
@media (max-width: 899px) { .cl-calc__result { position: static; } }
.cl-calc__result-title { margin: 0; font: 600 15px var(--cl-b); color: var(--cl-deep); }
.cl-calc__headline { font: 800 var(--wp--preset--font-size--display)/1 var(--cl-h); letter-spacing: -.02em; min-height: 1em; }
.cl-calc__unit { font-size: .42em; font-weight: 700; letter-spacing: 0; }
.cl-calc__sentence { margin: 0; font-size: 17px; line-height: 1.55; }
.cl-calc__breakdown { width: 100%; border-collapse: collapse; font-size: 15px; }
.cl-calc__breakdown th { text-align: left; font-weight: 400; padding: 10px 0; border-top: 1px solid var(--cl-soft); }
.cl-calc__breakdown td { text-align: right; font-weight: 600; padding: 10px 0; border-top: 1px solid var(--cl-soft); }
.cl-calc__check, .cl-calc__context { margin: 0; font-size: 13px; line-height: 1.5; border-top: 1px solid var(--cl-soft); padding-top: 14px; }
.cl-chart svg { display: block; height: 80px; overflow: visible; }
.cl-chart__label, .cl-chart__val { font: 600 13px var(--cl-b); fill: var(--cl-ink); }
.cl-chart__ev { fill: var(--cl-teal); }
.cl-chart__pet { fill: var(--cl-slate); }
.cl-calc__status { background: var(--cl-surface); border-radius: var(--cl-r); padding: 20px 24px; font-size: 15px; max-width: 760px; }
.cl-calc__status p { margin: 0; }
.cl-calc__status p + p { margin-top: 8px; }
.cl-assume { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: 0 24px; max-width: 760px; }
.cl-assume summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; font: 600 17px var(--cl-b); cursor: pointer; list-style: none; }
.cl-assume summary::-webkit-details-marker { display: none; }
.cl-assume summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--cl-slate); }
.cl-assume[open] summary::after { content: "\2212"; }
.cl-assume__list { margin: 0 0 20px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.cl-assume__values { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 24px; }
.cl-assume__values th, .cl-assume__values td { text-align: left; padding: 8px 8px 8px 0; border-top: 1px solid var(--cl-mist); vertical-align: top; }
.cl-assume__values thead th { font-weight: 600; border-top: 0; }
.cl-assume__values tbody th { font-weight: 400; }
.cl-calc .cl-sources { max-width: 760px; }
.cl-calc__related { font: 600 17px var(--cl-b); }

.cl-calc--compact { border: 1px solid var(--cl-soft); background: var(--cl-pale); border-radius: var(--cl-r); padding: 24px; gap: 16px; }
.cl-calc--compact .cl-calc__compact-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; align-items: end; }
.cl-calc--compact .cl-calc__result { position: static; padding: 0; border: 0; min-height: 0; background: transparent; }
.cl-calc--compact .cl-calc__headline { font-size: 34px; }
.cl-calc--compact .cl-field__help { display: none; }
.cl-calc--compact .cl-btn { align-self: flex-start; }
@media (max-width: 600px) { .cl-calc--compact .cl-calc__compact-body { grid-template-columns: 1fr; } }

/* Grant checker. */
.cl-grants { max-width: 680px; display: flex; flex-direction: column; gap: 20px; min-height: 420px; }
.cl-grants__count { margin: 0; font: 500 15px var(--cl-b); }
.cl-grants__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cl-grants__bars span { height: 6px; border-radius: 3px; background: var(--cl-mist); }
.cl-grants__bars .is-done { background: var(--cl-teal); }
.cl-grants__bars .is-now { background: var(--cl-mid); }
.cl-grants__q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cl-grants__legend { padding: 0; margin-bottom: 8px; font: 800 clamp(26px, 1.6vw + 18px, 40px)/1.15 var(--cl-h); letter-spacing: -.02em; }
.cl-grants__help { margin: 0 0 8px; color: var(--cl-slate); }
.cl-grants__opt { position: relative; min-height: 64px; padding: 0 20px; border: 1px solid var(--cl-mist); border-radius: var(--cl-r); display: flex; align-items: center; gap: 14px; font: 600 18px var(--cl-b); cursor: pointer; }
.cl-grants__opt input { width: 22px; height: 22px; margin: 0; accent-color: var(--cl-teal); }
.cl-grants__opt:has(input:checked) { border: 2px solid var(--cl-teal); background: var(--cl-pale); padding: 0 19px; }
.cl-grants__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cl-grants__wait { min-height: 420px; display: flex; align-items: center; justify-content: center; }
.cl-grants__title { margin: 0; font-size: var(--wp--preset--font-size--h2); }
.cl-grants__summary { margin: 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cl-grant { border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cl-grant > * { margin: 0; }
.cl-grant--eligible { border: 2px solid var(--cl-teal); background: var(--cl-pale); color: var(--cl-ink); }
.cl-grant--check { background: var(--cl-surface); }
.cl-grant__status { display: flex; align-items: center; gap: 10px; font: 600 15px var(--cl-b); }
.cl-grant__icon { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--cl-ink); }
.cl-grant--eligible .cl-grant__icon { background: var(--cl-deep); }
.cl-grant--no .cl-grant__icon { background: var(--cl-slate); }
.cl-grant__name { font-size: 22px; }
.cl-grant__facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.cl-grant__facts dt { font-weight: 600; }
.cl-grant__facts dd { margin: 0; }
.cl-grants__guide { margin: 0; background: var(--cl-surface); border-radius: var(--cl-r); padding: 20px 24px; font-weight: 500; font-size: 15px; }

/* ---------- Hubs, archives, author, trust ---------- */
.cl-hub-hero { position: relative; }
.cl-hub-hero__media img { width: 100%; height: clamp(280px, 36vw, 520px); object-fit: cover; display: block; }
.cl-hub-hero__text { max-width: 1200px; margin: 0 auto; padding: 40px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.cl-hub-hero__title { margin: 0; font: 800 var(--wp--preset--font-size--display)/1.06 var(--cl-h); letter-spacing: -.02em; }
.cl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cl-filter button { min-height: 40px; padding: 0 16px; border: 1px solid var(--cl-mist); border-radius: 999px; background: var(--cl-base); color: var(--cl-ink); font: 500 15px var(--cl-b); cursor: pointer; }
.cl-filter button[aria-pressed="true"] { border-color: var(--cl-teal); background: var(--cl-pale); font-weight: 600; }
.cl-grid-cards .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 24px; }
.cl-grid-cards .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.cl-grid-cards .wp-block-post-title a { text-decoration: none; color: var(--cl-ink); }
.cl-grid-cards .wp-block-post-title a:hover { text-decoration: underline; }
.wp-block-query-pagination { gap: 16px; font-weight: 600; }
.cl-author { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; }
.cl-author__photo { border-radius: 999px; width: 160px; height: 160px; }
.cl-author__name { margin: 0 0 12px; }
.cl-author__bio { margin: 0 0 16px; font-size: var(--wp--preset--font-size--standfirst); line-height: 1.5; color: var(--cl-slate); }
.cl-author__facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; }
.cl-author__facts dt { font-weight: 600; }
.cl-author__facts dd { margin: 0; }
.cl-author__links { display: flex; gap: 16px; }
@media (max-width: 600px) { .cl-author { grid-template-columns: 1fr; } .cl-author__photo { width: 96px; height: 96px; } }
.cl-contacts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.cl-contacts dt { font-weight: 600; }
.cl-contacts dd { margin: 0; }
.cl-advertise { display: flex; flex-direction: column; gap: 16px; }
.cl-advertise__form { display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--cl-mist); border-radius: var(--cl-r); padding: clamp(20px, 3vw, 32px); }
.cl-advertise__form p { margin: 0; font-size: 15px; }
.cl-advertise__form .cl-btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.cl-footer { background: var(--cl-surface); border-top: 1px solid var(--cl-mist); }
.cl-footer .wp-block-navigation { font-weight: 400; }
.cl-footer .wp-block-navigation a { text-decoration: none; }
.cl-footer .wp-block-navigation a:hover { text-decoration: underline; }
.cl-footer h2 { font: 600 15px var(--cl-b); letter-spacing: 0; margin: 0 0 12px; }
.cl-social { display: flex; gap: 8px; }
.cl-social__link { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--cl-ink); }
.cl-social__link:hover { background: var(--cl-base); }
.cl-footer-legal { border-top: 1px solid var(--cl-mist); padding-top: 24px; font-size: 13px; line-height: 1.6; color: var(--cl-slate); display: flex; flex-direction: column; gap: 10px; }
.cl-footer-legal p { margin: 0; }
.cl-footer-legal__row { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.cl-footer-legal a { color: var(--cl-slate); }
.cl-endorse { display: inline-flex; align-items: center; gap: 6px; }
.cl-endorse__mark { height: 14px; width: auto; }

/* Editor helpers. */
.cl-editor-empty { padding: 16px; border: 1px dashed var(--cl-mist); border-radius: 8px; font-size: 13px; color: var(--cl-slate); }

/* ---------- Print: checklists and articles ---------- */
@media print {
	.cl-header, .cl-footer, .cl-topics, .cl-ad, .cl-pricebar, .cl-progress, .cl-toc, .cl-related, .cl-newsletter, .cl-lead, .cl-pin, .cl-calc__actions { display: none !important; }
	body { font-size: 12pt; color: #000; background: #fff; }
	a { color: #000; }
	.cl-checklist { border: 1px solid #000; break-inside: avoid; }
	.cl-checklist .wp-block-buttons { display: none; }
	.is-style-cl-checklist li::before { border-color: #000; }
}
.cl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--cl-teal); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }
.admin-bar .cl-progress { top: var(--wp-admin--admin-bar--height, 32px); }
