/* IFA Solar Funding Campaign: scoped under .ifa-solf so any theme can host it.
 * Every colour, size and spacing value below is a custom property that the
 * admin Style and layout tab can override; these are the shipped defaults. */

.ifa-solf {
	--solf-green: #006d3d;
	--solf-green-dark: #00522e;
	--solf-accent: #e49330;
	--solf-accent-dark: #b06a12;
	--solf-dark: #111727;
	--solf-red: #a51c30;
	--solf-grey: #d9d6d0;
	--solf-heading: #111727;
	--solf-text: #393a39;
	--solf-on-dark: #ffffff;
	--solf-kicker-dark: #7db091;
	--solf-kicker-light: #006d3d;
	--solf-band: #f7f4ee;
	--solf-surface: #ffffff;
	--solf-border: #ddd7cd;
	--solf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--solf-base: 16px;
	--solf-h1: 56px;
	--solf-h2: 36px;
	--solf-h3: 19px;
	--solf-stat: 96px;
	--solf-card-stat: 34px;
	--solf-kicker: 13px;
	--solf-hw: 800;
	--solf-radius: 14px;
	--solf-maxw: 1160px;
	--solf-pad: 64px;
	--solf-gap: 16px;
	--solf-sticky-top: 0px;
	--solf-logo-h: 44px;
	--solf-tl-cols: 4;
	--solf-cmp-cols: 3;
	--solf-asks-cols: 2;
	--solf-advice-cols: 2;
	--solf-cost-cols: 2;
	--solf-dates-cols: 4;
	--solf-cost-stat: 76px;
	--solf-grid-gap: 18px;

	/* Colours for the current background; the section modifiers below swap them. */
	--solf-fg: var(--solf-text);
	--solf-fg-heading: var(--solf-heading);
	--solf-fg-kicker: var(--solf-kicker-light);

	color: var(--solf-fg);
	font-family: var(--solf-font);
	font-size: var(--solf-base);
	line-height: 1.6;
	container-type: inline-size;
	text-align: left;
}

.ifa-solf *,
.ifa-solf *::before,
.ifa-solf *::after { box-sizing: border-box; }

/* Neutralise theme styles on the elements the plugin uses. */
.ifa-solf h1, .ifa-solf h2, .ifa-solf h3, .ifa-solf h4,
.ifa-solf p, .ifa-solf ul, .ifa-solf ol, .ifa-solf li,
.ifa-solf figure, .ifa-solf table {
	margin: 0;
	padding: 0;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	background: none;
	border: 0;
}
.ifa-solf ul, .ifa-solf ol { list-style: none; }
.ifa-solf li::before, .ifa-solf li::marker { content: none; }
.ifa-solf h1, .ifa-solf h2, .ifa-solf h3, .ifa-solf h4 { color: var(--solf-fg-heading); font-weight: var(--solf-hw); }
.ifa-solf strong { font-weight: 700; }
.ifa-solf a { box-shadow: none; }

.ifa-solf .ifa-solf__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- backgrounds ---------- */

.ifa-solf--bg-white { background: var(--solf-surface); }
.ifa-solf--bg-band { background: var(--solf-band); }
.ifa-solf--bg-dark,
.ifa-solf--bg-green {
	--solf-fg: var(--solf-on-dark);
	--solf-fg-heading: var(--solf-on-dark);
	--solf-fg-kicker: var(--solf-kicker-dark);
	color: var(--solf-fg);
}
.ifa-solf--bg-dark { background: var(--solf-dark); }
.ifa-solf--bg-green { background: var(--solf-green); --solf-fg-kicker: var(--solf-accent); }

/* Kicker colour chosen per section on the Style and layout tab. */
.ifa-solf .ifa-solf--kc-green { --solf-fg-kicker: var(--solf-green); }
.ifa-solf .ifa-solf--kc-accent { --solf-fg-kicker: var(--solf-accent); }
.ifa-solf .ifa-solf--kc-red { --solf-fg-kicker: var(--solf-red); }
.ifa-solf .ifa-solf--kc-dark { --solf-fg-kicker: var(--solf-heading); }
.ifa-solf .ifa-solf--kc-mint { --solf-fg-kicker: var(--solf-kicker-dark); }

/* ---------- sections ---------- */

.ifa-solf .ifa-solf__sec {
	padding: var(--solf-pad) clamp(16px, 5cqi, 56px);
	border-radius: var(--solf-radius);
	margin: 0 0 var(--solf-gap);
	scroll-margin-top: calc(var(--solf-sticky-top) + 80px);
}
/* Two white sections in a row read as one; drop the gap between them. */
.ifa-solf .ifa-solf__sec.ifa-solf--bg-white + .ifa-solf__sec.ifa-solf--bg-white { margin-top: calc(-1 * var(--solf-gap)); padding-top: 0; }

.ifa-solf .ifa-solf__inner {
	max-width: var(--solf-maxw);
	margin: 0 auto;
}

.ifa-solf.ifa-solf--bleed .ifa-solf__sec,
.ifa-solf.ifa-solf--bleed .ifa-solf__nav {
	width: var(--solf-vw, 100%);
	margin-left: var(--solf-bleed-left, 0);
	margin-bottom: 0;
	border-radius: 0;
}
.ifa-solf.ifa-solf--bleed .ifa-solf__sec.ifa-solf--bg-white + .ifa-solf__sec.ifa-solf--bg-white { margin-top: 0; }

/* ---------- type ---------- */

.ifa-solf .ifa-solf__kicker {
	color: var(--solf-fg-kicker);
	font-size: var(--solf-kicker);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	line-height: 1.3;
	margin: 0 0 0.9em;
}

.ifa-solf .ifa-solf__title {
	font-size: var(--solf-h2);
	font-size: clamp(min(22px, var(--solf-h2)), 6cqi, var(--solf-h2));
	line-height: 1.12;
	margin: 0 0 0.45em;
}
.ifa-solf .ifa-solf__title--hero {
	font-size: var(--solf-h1);
	font-size: clamp(min(32px, var(--solf-h1)), 8cqi, var(--solf-h1));
	line-height: 1.04;
	margin-bottom: 0.45em;
}
.ifa-solf .ifa-solf__hl { color: var(--solf-accent); }

.ifa-solf .ifa-solf__lede { font-size: 1.12em; margin: 0 0 1.6em; opacity: 0.94; }
.ifa-solf .ifa-solf__intro { font-size: 1.04em; margin: 0 0 1.8em; }
.ifa-solf .ifa-solf__sub { font-size: calc(var(--solf-h3) * 1.06); line-height: 1.25; margin: 0 0 1.2em; }

/* ---------- buttons ---------- */

.ifa-solf .ifa-solf__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.ifa-solf a.ifa-solf__btn {
	display: inline-block;
	padding: 0.85em 1.6em;
	border-radius: calc(var(--solf-radius) * 0.5);
	border: 1px solid transparent;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.ifa-solf a.ifa-solf__btn--primary { background: var(--solf-accent); color: var(--solf-dark); }
.ifa-solf a.ifa-solf__btn--primary:hover { background: var(--solf-accent-dark); color: #fff; }
.ifa-solf a.ifa-solf__btn--ghost { color: var(--solf-fg); border-color: currentColor; background: transparent; }
.ifa-solf a.ifa-solf__btn--ghost:hover { background: var(--solf-fg); color: var(--solf-dark); }
.ifa-solf .ifa-solf--bg-white a.ifa-solf__btn--ghost:hover,
.ifa-solf .ifa-solf--bg-band a.ifa-solf__btn--ghost:hover { color: var(--solf-surface); }
.ifa-solf a.ifa-solf__btn--small { padding: 0.6em 1.15em; }
.ifa-solf a:focus-visible { outline: 3px solid var(--solf-accent); outline-offset: 3px; }

/* ---------- navigation bar ---------- */

.ifa-solf .ifa-solf__nav {
	background: var(--solf-surface);
	border-bottom: 1px solid var(--solf-border);
	padding: 12px clamp(16px, 5cqi, 56px);
	margin: 0 0 var(--solf-gap);
	z-index: 50;
}
.ifa-solf .ifa-solf__nav--sticky { position: sticky; top: var(--solf-sticky-top); }
.ifa-solf .ifa-solf__nav-inner {
	max-width: var(--solf-maxw);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
}
.ifa-solf .ifa-solf__logo { display: block; height: var(--solf-logo-h); width: auto; max-width: 100%; }
.ifa-solf .ifa-solf__nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 28px;
	margin-left: auto;
}
.ifa-solf a.ifa-solf__nav-link {
	color: var(--solf-heading);
	font-weight: 600;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}
.ifa-solf a.ifa-solf__nav-link:hover { border-bottom-color: var(--solf-accent); }

/* ---------- hero ---------- */

.ifa-solf .ifa-solf__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 32px clamp(24px, 6cqi, 88px);
	align-items: center;
}
.ifa-solf .ifa-solf__hero--below { grid-template-columns: minmax(0, 1fr); }
.ifa-solf .ifa-solf__hero--below .ifa-solf__stats { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ifa-solf .ifa-solf__stats { display: grid; gap: 16px; }

.ifa-solf .ifa-solf__stat {
	border-radius: calc(var(--solf-radius) * 1.3);
	padding: 1.6em 1.9em;
}
.ifa-solf .ifa-solf__stat--primary { background: var(--solf-green); color: var(--solf-on-dark); }
.ifa-solf .ifa-solf__stat--secondary { background: var(--solf-surface); color: var(--solf-text); border: 1px solid var(--solf-border); }
.ifa-solf .ifa-solf__stat-value {
	font-size: var(--solf-stat);
	font-size: clamp(min(56px, var(--solf-stat)), 14cqi, var(--solf-stat));
	font-weight: var(--solf-hw);
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 0.12em;
}
.ifa-solf .ifa-solf__stat--secondary .ifa-solf__stat-value { color: var(--solf-green); font-size: calc(var(--solf-stat) * 0.48); margin-bottom: 0.2em; }
.ifa-solf .ifa-solf__stat-label { font-size: 1.02em; line-height: 1.45; }
.ifa-solf .ifa-solf__stat--primary .ifa-solf__stat-label { font-weight: 700; font-size: 1.1em; }

/* ---------- why ---------- */

.ifa-solf .ifa-solf__why {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
	gap: 16px clamp(24px, 6cqi, 88px);
}
.ifa-solf .ifa-solf__why--stacked { grid-template-columns: minmax(0, 1fr); }
.ifa-solf .ifa-solf__why-body p { font-size: 1.06em; margin: 0 0 1em; }
.ifa-solf .ifa-solf__why-body p:last-child { margin-bottom: 0; }

/* ---------- card grids ----------
 * "At most N per row": each column is at least --min wide, so rows reflow
 * on their own as the space narrows. */

.ifa-solf .ifa-solf__grid {
	--solf-cols: 3;
	--solf-min: 220px;
	display: grid;
	gap: var(--solf-grid-gap);
	grid-template-columns: repeat(auto-fill, minmax(max(var(--solf-min), calc((100% - (var(--solf-cols) - 1) * var(--solf-grid-gap)) / var(--solf-cols))), 1fr));
}
.ifa-solf .ifa-solf__timeline { --solf-cols: var(--solf-tl-cols); --solf-min: 200px; }
.ifa-solf .ifa-solf__cmp { --solf-cols: var(--solf-cmp-cols); --solf-min: 240px; margin-bottom: 48px; }
.ifa-solf .ifa-solf__asks { --solf-cols: var(--solf-asks-cols); --solf-min: 300px; }
.ifa-solf .ifa-solf__advice { --solf-cols: var(--solf-advice-cols); --solf-min: 300px; }
.ifa-solf .ifa-solf__years { --solf-cols: var(--solf-dates-cols); --solf-min: 200px; --solf-grid-gap: 24px; }
.ifa-solf .ifa-solf__cost { --solf-cols: var(--solf-cost-cols); --solf-min: 280px; --solf-grid-gap: 28px; }

.ifa-solf .ifa-solf__card-title { font-size: var(--solf-h3); line-height: 1.3; margin: 0 0 0.55em; }
.ifa-solf .ifa-solf__card-text { font-size: 0.95em; line-height: 1.6; }

.ifa-solf .ifa-solf__period {
	font-size: var(--solf-kicker);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 0.7em;
}

/* timeline */
.ifa-solf .ifa-solf__tcard {
	background: var(--solf-surface);
	color: var(--solf-text);
	border-radius: var(--solf-radius);
	border-top: 5px solid var(--solf-dark);
	padding: 1.3em 1.4em 1.5em;
	--solf-fg-heading: var(--solf-heading);
}
.ifa-solf .ifa-solf__tcard.is-green { border-top-color: var(--solf-green); }
.ifa-solf .ifa-solf__tcard.is-accent { border-top-color: var(--solf-accent); }
.ifa-solf .ifa-solf__tcard.is-red { border-top-color: var(--solf-red); }
.ifa-solf .ifa-solf__tcard.is-grey { border-top-color: var(--solf-grey); }
.ifa-solf .ifa-solf__tcard.is-green .ifa-solf__period { color: var(--solf-green); }
.ifa-solf .ifa-solf__tcard.is-red .ifa-solf__period { color: var(--solf-red); }
.ifa-solf .ifa-solf__tcard.is-grey .ifa-solf__period { color: var(--solf-text); }
.ifa-solf .ifa-solf__tcard.is-accent .ifa-solf__period { color: var(--solf-accent-dark); }
.ifa-solf .ifa-solf__tcard.is-dark .ifa-solf__period { color: var(--solf-heading); }
.ifa-solf--bg-white .ifa-solf__tcard { border: 1px solid var(--solf-border); border-top-width: 5px; }

/* comparison */
.ifa-solf .ifa-solf__ccard {
	background: var(--solf-band);
	color: var(--solf-text);
	border-radius: calc(var(--solf-radius) * 1.3);
	padding: 1.9em 2em;
	--solf-fg-heading: var(--solf-heading);
}
.ifa-solf--bg-band .ifa-solf__ccard { background: var(--solf-surface); }
.ifa-solf .ifa-solf__ccard .ifa-solf__period { color: var(--solf-green); font-size: calc(var(--solf-h3) * 1.05); letter-spacing: 0; text-transform: none; }
.ifa-solf .ifa-solf__cstat {
	color: var(--solf-heading);
	font-size: var(--solf-card-stat);
	font-weight: var(--solf-hw);
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.ifa-solf .ifa-solf__cstat--second { margin-top: 0.55em; }
.ifa-solf .ifa-solf__cstat-label { font-weight: 700; font-size: 0.93em; margin: 0.15em 0 0; }
.ifa-solf .ifa-solf__ccard .ifa-solf__card-text { margin-top: 1.2em; }
.ifa-solf .ifa-solf__ccard--dark { background: var(--solf-dark) !important; color: var(--solf-on-dark); }
.ifa-solf .ifa-solf__ccard--dark .ifa-solf__period { color: var(--solf-accent); }
.ifa-solf .ifa-solf__ccard--dark .ifa-solf__cstat { color: var(--solf-on-dark); }
.ifa-solf .ifa-solf__ccard--dark .ifa-solf__card-text { opacity: 0.88; }

/* chart, legend and table */
.ifa-solf .ifa-solf__chart { margin: 0 0 48px; padding-bottom: 0; }
.ifa-solf .ifa-solf__bars {
	display: flex;
	align-items: stretch;
	gap: clamp(6px, 1.4cqi, 18px);
	height: 300px;
	border-bottom: 2px solid var(--solf-heading);
	padding-top: 28px;
	margin-bottom: 44px;
}
.ifa-solf .ifa-solf__bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; position: relative; }
.ifa-solf .ifa-solf__bar-col { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; }
.ifa-solf .ifa-solf__bar-value {
	font-weight: 800;
	color: var(--solf-heading);
	text-align: center;
	font-size: 1em;
	line-height: 1;
	padding-bottom: 8px;
	white-space: nowrap;
}
.ifa-solf .ifa-solf__bar-fill { display: block; height: var(--solf-v, 0); min-height: 4px; border-radius: 4px 4px 0 0; background: var(--solf-dark); }
.ifa-solf .ifa-solf__bar.is-green .ifa-solf__bar-fill { background: var(--solf-green); }
.ifa-solf .ifa-solf__bar.is-accent .ifa-solf__bar-fill { background: var(--solf-accent); }
.ifa-solf .ifa-solf__bar.is-red .ifa-solf__bar-fill { background: var(--solf-red); }
.ifa-solf .ifa-solf__bar.is-grey .ifa-solf__bar-fill { background: var(--solf-grey); min-height: 18px; }
.ifa-solf .ifa-solf__bar.is-accent .ifa-solf__bar-value { color: var(--solf-accent-dark); }
.ifa-solf .ifa-solf__bar.is-red .ifa-solf__bar-value { color: var(--solf-red); }
.ifa-solf .ifa-solf__bar.is-grey .ifa-solf__bar-value { color: var(--solf-text); font-weight: 600; }
.ifa-solf .ifa-solf__bar-label {
	position: absolute;
	top: 100%;
	left: 0; right: 0;
	text-align: center;
	font-size: 0.9em;
	font-weight: 600;
	padding-top: 12px;
	white-space: nowrap;
	color: var(--solf-heading);
}
.ifa-solf--bg-dark .ifa-solf__bar-value, .ifa-solf--bg-dark .ifa-solf__bar-label,
.ifa-solf--bg-green .ifa-solf__bar-value, .ifa-solf--bg-green .ifa-solf__bar-label { color: var(--solf-on-dark) !important; }

.ifa-solf .ifa-solf__legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 14px; font-size: 0.93em; font-weight: 600; color: var(--solf-fg-heading); }
.ifa-solf .ifa-solf__legend li { display: flex; align-items: center; gap: 8px; }
.ifa-solf .ifa-solf__legend li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 4px; background: var(--solf-dark); }
.ifa-solf .ifa-solf__legend li.is-green::before { background: var(--solf-green); }
.ifa-solf .ifa-solf__legend li.is-accent::before { background: var(--solf-accent); }
.ifa-solf .ifa-solf__legend li.is-red::before { background: var(--solf-red); }
.ifa-solf .ifa-solf__legend li.is-grey::before { background: var(--solf-grey); }

.ifa-solf .ifa-solf__tablewrap { margin: 0; }
.ifa-solf .ifa-solf__tablescroll { overflow-x: auto; }
.ifa-solf .ifa-solf__table { width: 100%; border-collapse: collapse; font-size: 0.98em; }
.ifa-solf .ifa-solf__table th, .ifa-solf .ifa-solf__table td {
	text-align: left;
	padding: 0.85em 1em 0.85em 0;
	border: 0;
	border-bottom: 1px solid var(--solf-border);
	background: none;
	color: inherit;
	vertical-align: top;
}
.ifa-solf .ifa-solf__table thead th { font-weight: 800; color: var(--solf-fg-heading); border-bottom: 2px solid var(--solf-fg-heading); padding-top: 0; }
.ifa-solf .ifa-solf__table tbody th { font-weight: 400; }
.ifa-solf .ifa-solf__table tbody td { font-weight: 700; color: var(--solf-fg-heading); }
.ifa-solf .ifa-solf__callout {
	margin: 1.6em 0 0;
	padding: 0.1em 0 0.1em 1.1em;
	border-left: 5px solid var(--solf-accent);
	font-weight: 700;
	color: var(--solf-fg-heading);
	max-width: 62em;
}
.ifa-solf .ifa-solf__note { margin: 1em 0 0; font-size: 0.9em; }
.ifa-solf .ifa-solf__footnote { margin: 2.4em 0 0; font-size: 0.82em; opacity: 0.85; }

/* tranche dates, year by year, under the chart */
.ifa-solf .ifa-solf__dates { margin: 0 0 48px; }
.ifa-solf .ifa-solf__year { position: relative; border-top: 3px solid var(--solf-border); padding-top: 1em; }
.ifa-solf .ifa-solf__year::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--solf-heading);
}
.ifa-solf .ifa-solf__year-label { font-size: calc(var(--solf-h3) * 1.1); line-height: 1.2; margin: 0 0 0.6em; color: var(--solf-fg-heading); font-weight: var(--solf-hw); }
.ifa-solf .ifa-solf__year-list { margin: 0; }
.ifa-solf .ifa-solf__date { position: relative; padding-left: 1.25em; margin: 0 0 0.45em; font-size: 0.95em; line-height: 1.45; }
.ifa-solf .ifa-solf__date::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--solf-dark);
}
.ifa-solf .ifa-solf__date strong { color: var(--solf-fg-heading); }
.ifa-solf .ifa-solf__date.is-green::before { background: var(--solf-green); }
.ifa-solf .ifa-solf__date.is-accent::before { background: var(--solf-accent); }
.ifa-solf .ifa-solf__date.is-red::before { background: var(--solf-red); }
.ifa-solf .ifa-solf__date.is-grey::before { background: var(--solf-grey); }
.ifa-solf .ifa-solf__date.is-none::before { background: transparent; box-shadow: inset 0 0 0 2px var(--solf-border); }

/* ---------- the cost ---------- */

.ifa-solf .ifa-solf__sec--cost .ifa-solf__intro { font-size: 1.14em; max-width: 50em; margin-bottom: 2.4em; }
.ifa-solf .ifa-solf__xcard {
	background: var(--solf-surface);
	color: var(--solf-text);
	border-radius: calc(var(--solf-radius) * 1.4);
	padding: 2.6em 3em 2.4em;
	--solf-fg-heading: var(--solf-heading);
}
.ifa-solf--bg-white .ifa-solf__xcard { border: 1px solid var(--solf-border); }
.ifa-solf .ifa-solf__xcard-value {
	color: var(--solf-heading);
	font-size: var(--solf-cost-stat);
	font-size: clamp(min(40px, var(--solf-cost-stat)), 10cqi, var(--solf-cost-stat));
	font-weight: var(--solf-hw);
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 0.3em;
}
.ifa-solf .ifa-solf__xcard.is-green .ifa-solf__xcard-value { color: var(--solf-green); }
.ifa-solf .ifa-solf__xcard.is-accent .ifa-solf__xcard-value { color: var(--solf-accent-dark); }
.ifa-solf .ifa-solf__xcard.is-red .ifa-solf__xcard-value { color: var(--solf-red); }
.ifa-solf .ifa-solf__xcard.is-grey .ifa-solf__xcard-value { color: var(--solf-text); }
.ifa-solf .ifa-solf__xcard-headline { font-size: calc(var(--solf-h3) * 1.3); line-height: 1.25; margin: 0 0 0.6em; }
.ifa-solf .ifa-solf__xcard .ifa-solf__card-text { font-size: 1em; }

/* ---------- independent advice ---------- */

.ifa-solf .ifa-solf__acard {
	background: var(--solf-band);
	color: var(--solf-heading);
	border-radius: calc(var(--solf-radius) * 1.2);
	border-top: 7px solid var(--solf-dark);
	padding: 1.9em 2.2em 2em;
	--solf-fg-heading: var(--solf-heading);
}
.ifa-solf--bg-band .ifa-solf__acard { background: var(--solf-surface); }
.ifa-solf .ifa-solf__acard.is-green { border-top-color: var(--solf-green); }
.ifa-solf .ifa-solf__acard.is-accent { border-top-color: var(--solf-accent); }
.ifa-solf .ifa-solf__acard.is-red { border-top-color: var(--solf-red); }
.ifa-solf .ifa-solf__acard.is-grey { border-top-color: var(--solf-grey); }
.ifa-solf .ifa-solf__acard .ifa-solf__period { color: var(--solf-accent-dark); letter-spacing: 0.1em; }
.ifa-solf .ifa-solf__acard .ifa-solf__card-title { font-size: calc(var(--solf-h3) * 1.2); margin-bottom: 0.7em; }
.ifa-solf .ifa-solf__acard-text { font-size: 1.05em; margin: 0 0 0.9em; }
.ifa-solf .ifa-solf__source { font-size: 0.86em; margin: 1.2em 0 0; opacity: 0.85; }
.ifa-solf .ifa-solf__bullets { margin: 0; }
.ifa-solf .ifa-solf__bullets li { position: relative; padding-left: 1.3em; margin: 0 0 0.45em; font-size: 1.02em; }
.ifa-solf .ifa-solf__bullets li::before { content: ""; position: absolute; left: 0.2em; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ifa-solf .ifa-solf__acard--dark {
	background: var(--solf-dark) !important;
	color: var(--solf-on-dark);
	--solf-fg-heading: var(--solf-on-dark);
}
.ifa-solf .ifa-solf__acard--dark .ifa-solf__period { color: var(--solf-accent); }

/* ---------- key asks ---------- */

.ifa-solf .ifa-solf__sec--asks .ifa-solf__title { margin-bottom: 1.1em; }
.ifa-solf .ifa-solf__ask {
	display: flex;
	gap: 1.1em;
	background: var(--solf-surface);
	color: var(--solf-text);
	border-radius: calc(var(--solf-radius) * 1.2);
	padding: 1.9em 2em 2em 1.6em;
	--solf-fg-heading: var(--solf-heading);
}
.ifa-solf--bg-white .ifa-solf__ask { border: 1px solid var(--solf-border); }
.ifa-solf .ifa-solf__ask-num {
	flex: none;
	width: 1.1em;
	color: var(--solf-accent);
	font-size: calc(var(--solf-h3) * 2.4);
	font-weight: 800;
	line-height: 0.95;
	text-align: center;
}
.ifa-solf .ifa-solf__ask-body { min-width: 0; }
.ifa-solf .ifa-solf__ask .ifa-solf__card-text { font-size: 0.97em; }
.ifa-solf .ifa-solf__ask--wide {
	grid-column: 1 / -1;
	background: var(--solf-dark);
	color: var(--solf-on-dark);
	--solf-fg-heading: var(--solf-on-dark);
	border: 0 !important;
}
.ifa-solf .ifa-solf__ask--wide .ifa-solf__card-text { opacity: 0.9; }
.ifa-solf .ifa-solf__ask--highlight { box-shadow: inset 0 0 0 4px var(--solf-accent); }

/* ---------- get a quote ---------- */

.ifa-solf .ifa-solf__sec--quote { padding-bottom: calc(var(--solf-pad) * 0.5); }
.ifa-solf .ifa-solf__sec--quote .ifa-solf__intro { margin-bottom: 1.2em; }
.ifa-solf .ifa-solf__sec--quote .ifa-solf__intro:last-child { margin-bottom: 0; }
.ifa-solf a.ifa-solf__tel { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ifa-solf--bg-white a.ifa-solf__tel, .ifa-solf--bg-band a.ifa-solf__tel { color: var(--solf-green-dark); }

/* ---------- campaign strip (ifa.ie/solar) ---------- */

.ifa-solf--strip { margin: 0 0 1.5em; }
.ifa-solf .ifa-solf__strip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px 32px;
	align-items: center;
	border-radius: var(--solf-radius);
	padding: 28px clamp(18px, 4cqi, 36px);
}
.ifa-solf--bg-white.ifa-solf__strip { border: 1px solid var(--solf-border); }
.ifa-solf .ifa-solf__strip-stat {
	background: var(--solf-green);
	color: var(--solf-on-dark);
	border-radius: var(--solf-radius);
	padding: 18px 22px;
	max-width: 230px;
}
.ifa-solf .ifa-solf__strip-stat .ifa-solf__stat-value { font-size: clamp(40px, 9cqi, 56px); }
.ifa-solf .ifa-solf__strip-stat .ifa-solf__stat-label { font-size: 0.86em; font-weight: 700; }
.ifa-solf .ifa-solf__strip .ifa-solf__kicker { margin-bottom: 0.5em; }
.ifa-solf .ifa-solf__title--strip { font-size: clamp(22px, 4.6cqi, 30px); margin-bottom: 0.35em; }
.ifa-solf .ifa-solf__strip-text { font-size: 0.98em; }
.ifa-solf .ifa-solf__strip-body:first-child { grid-column: 1 / 3; }

/* ---------- narrow layouts ---------- */

@container (max-width: 860px) {
	.ifa-solf .ifa-solf__hero { grid-template-columns: minmax(0, 1fr); }
	.ifa-solf .ifa-solf__hero .ifa-solf__stats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.ifa-solf .ifa-solf__strip { grid-template-columns: auto minmax(0, 1fr); }
	.ifa-solf .ifa-solf__strip-action { grid-column: 1 / -1; }
}

@container (max-width: 700px) {
	.ifa-solf .ifa-solf__why { grid-template-columns: minmax(0, 1fr); }
	.ifa-solf .ifa-solf__nav-links { gap: 4px 18px; margin-left: 0; }
	/* Too narrow for upright bars with readable labels: switch to horizontal bars. */
	.ifa-solf .ifa-solf__bars { flex-direction: column; height: auto; padding: 0; margin-bottom: 20px; border-bottom: 0; border-left: 2px solid var(--solf-heading); gap: 6px; }
	.ifa-solf .ifa-solf__bar { flex-direction: row; align-items: center; }
	.ifa-solf .ifa-solf__bar-label { position: static; flex: none; width: 3.4em; padding: 0 0 0 8px; text-align: left; }
	.ifa-solf .ifa-solf__bar-col { flex-direction: row; align-items: center; justify-content: flex-start; }
	.ifa-solf .ifa-solf__bar-fill { order: -1; height: 20px; width: calc(var(--solf-v, 0) * 0.78); min-width: 4px; min-height: 0; border-radius: 0 4px 4px 0; }
	.ifa-solf .ifa-solf__bar.is-grey .ifa-solf__bar-fill { min-height: 0; min-width: 14px; }
	.ifa-solf .ifa-solf__bar-value { padding: 0 0 0 8px; font-size: 0.92em; }
	.ifa-solf .ifa-solf__ccard, .ifa-solf .ifa-solf__ask, .ifa-solf .ifa-solf__acard, .ifa-solf .ifa-solf__xcard { padding: 1.5em 1.3em; }
}

@container (max-width: 520px) {
	.ifa-solf .ifa-solf__strip { grid-template-columns: minmax(0, 1fr); }
	.ifa-solf .ifa-solf__strip-stat { max-width: none; }
	.ifa-solf .ifa-solf__strip-body:first-child { grid-column: auto; }
	.ifa-solf .ifa-solf__ask { flex-direction: column; gap: 0.3em; }
	.ifa-solf .ifa-solf__ask-num { text-align: left; width: auto; }
	.ifa-solf .ifa-solf__stat { padding: 1.3em 1.4em; }
	.ifa-solf .ifa-solf__table { font-size: 0.84em; }
	.ifa-solf .ifa-solf__table th, .ifa-solf .ifa-solf__table td { padding-right: 0.55em; }
	.ifa-solf .ifa-solf__table th:last-child, .ifa-solf .ifa-solf__table td:last-child { padding-right: 0; }
	.ifa-solf .ifa-solf__acard { padding: 1.5em 1.3em; }
	.ifa-solf a.ifa-solf__nav-link { font-size: 0.94em; }
}

@media (prefers-reduced-motion: reduce) {
	.ifa-solf a.ifa-solf__btn { transition: none; }
}
