/* /solar-panels-chesterfield/ (16 Oct 2026): the quote card first, the borough's homes as columns, the words of how
   it works down a timeline, and planning as one wide panel across the page. */

/* Hero: the postcode card on the left, the words on the right */
@media (min-width: 1000px) {
  .cf-hero .ak-hero-aside { margin-top: 6px; }
  .cf-hero .ak-hero-text, .cf-hero .ak-hero-act { padding-top: 4px; }
}
.cf-hero .ak-hero-aside::before { top: -150px; }

/* Intro: the borough's homes as three columns */
/* The three services as one card, a row each */
.cf-intro .ak-services { margin-top: 14px; max-width: 34rem; gap: 0; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); overflow: hidden; }
.cf-intro .ak-services li + li { border-top: 1px solid var(--line); }
.cf-intro .ak-services a { border-radius: 0; box-shadow: none; padding: 12px 22px 12px 14px; }
.cf-intro .ak-services a:hover { transform: none; box-shadow: none; background: var(--sky); }
.cf-homes { padding: clamp(24px, 3vw, 36px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-lift); }
.cf-homes-head { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font: 500 1.375rem/1.2 var(--display); }
.cf-homes-head small { display: block; margin-top: 3px; font: 400 .9375rem/1.35 var(--text); color: var(--ink-soft); }
.cf-cols { margin: 0; }
.cf-cols ul { list-style: none; margin: 0; padding: 0 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px);
  align-items: end; height: 260px; border-bottom: 2px solid var(--ink); position: relative; }
.cf-cols li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.cf-cols-bar { display: block; width: 100%; max-width: 92px; height: calc(var(--v) * 2% * .98); border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--sun-coral), var(--sun-amber)); }
.cf-cols-value { margin-bottom: 10px; font: 500 clamp(1.5rem, 1.2rem + .8vw, 1.875rem)/1 var(--display); letter-spacing: -0.01em; }
.cf-cols-label { position: absolute; top: calc(100% + 12px); left: 0; right: 0; text-align: center; font-weight: 600; font-size: 1rem; }
.cf-cols figcaption { margin-top: 48px; color: var(--ink-soft); font-size: .9375rem; }

/* Costs: the words and links beside the price */
.cf-costs .ak-ticks--cards { margin-top: 20px; }
.cf-costs .ak-ticks--cards a { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .cf-costs .ak-aside { position: sticky; top: 110px; align-self: start; margin-top: 92px; } }

/* How it works: the words down a timeline */
.cf-how .ak-text > p { margin-top: 20px; }
.cf-how .ak-text a { font-weight: 600; }
.cf-steps li { padding-bottom: 34px; padding-left: 76px; }
.cf-steps li::before { width: 52px; height: 52px; font-size: 1.375rem; top: -8px; }
.cf-steps li:not(:last-child)::after { left: 25px; top: 50px; }
.cf-steps h3 { font-size: 1.25rem; }
.cf-steps p { margin-top: 6px; font-size: 1.125rem; line-height: 1.6; max-width: 36rem; }
@media (min-width: 900px) { .cf-how .ak-split { align-items: center; } }

/* Planning: one wide panel */
.cf-plan-panel { padding: clamp(24px, 3.6vw, 48px); background-position: left -150px bottom -170px, 0 0, 0 0; background-size: 320px 320px, auto, auto; }
.cf-plan-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .cf-plan-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 72px); } }
.cf-plan-text .ak-ring { margin-bottom: 18px; }
.cf-plan-text p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; }
.cf-plan-text p + p { margin-top: 14px; }
.cf-plan-text .cf-plan-note { color: var(--ink); font-size: 1.1875rem; }
.cf-plan-text a { color: var(--ink); }
.cf-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; }
.cf-figs > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 18px 16px; border-radius: 16px; background: var(--sky); }
.cf-figs dd { margin: 0; font: 500 clamp(2.5rem, 2rem + 1.6vw, 3.25rem)/1 var(--display); letter-spacing: -0.02em; }
.cf-figs dt { margin-top: 6px; font-size: .9375rem; line-height: 1.4; color: var(--ink); }
.cf-plan-label { margin: 0 0 10px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.cf-plan-facts .ak-chips { margin-bottom: 24px; }
.cf-councils { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cf-councils li { padding: 12px 16px; border-left: 3px solid var(--sun-amber); background: var(--sky); border-radius: 0 12px 12px 0; }
.cf-councils strong { display: block; font-weight: 600; }
.cf-councils span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.4; }
.cf-plan-warr { margin-top: clamp(28px, 3.6vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.cf-plan-warr .ak-warr--cards > div { padding: 0; box-shadow: none; background: none; }
@media (min-width: 800px) { .cf-plan-warr .ak-warr--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* Reviews: a pair, then the third beside the ratings */
.cf-quotes-foot { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 800px) { .cf-quotes-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.cf-quotes-foot .ak-ratings { margin: 0; padding: 0 clamp(0px, 2vw, 24px); }
.cf-quotes-foot .ak-ratings p { font: 500 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.35 var(--display); color: var(--ink); max-width: 26rem; }
.cf-quotes-foot .ak-ratings a { display: inline-block; margin-top: 12px; }
.cf-quotes .ak-reviews--pair .ak-review blockquote p { font-size: 1.3125rem; }

/* Nearby: centred pills */
.cf-near .section-head { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 28px; }
.cf-near .ak-chips { justify-content: center; }
.cf-near .ak-more { text-align: center; }

/* Questions: two columns, the answers open, balanced by the browser */
.area-chesterfield .ak-faq--two .faq { display: block; }
@media (min-width: 900px) { .area-chesterfield .ak-faq--two .faq { columns: 2; column-gap: 56px; } }
.area-chesterfield .ak-faq--two .faq details { break-inside: avoid; }
.area-chesterfield .ak-faq--two .faq details:first-child { border-top: 0; }
