/* /solar-panels-wakefield/ (16 Oct 2026): a stacked hero, the district's figures in sun rings across it, the
   customers early, then splits that swap sides. */

/* Hero: words and milestone on top, the rings across the full width under them */
@media (min-width: 1000px) {
  .wf-hero .ak-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "text act" "aside aside"; row-gap: clamp(36px, 4vw, 52px); }
  .wf-hero .ak-hero-act { align-self: end; padding-left: clamp(0px, 2vw, 24px); }
}
.wf-hero .ak-hero-aside::before { display: none; }
.wf-mile { margin-bottom: 26px; }
.wf-mile .ak-mile-dial { width: 112px; }
.wf-hero .wf-acc { margin-top: 26px; }
.wf-rings { position: relative; padding: clamp(26px, 3.4vw, 40px) clamp(20px, 3vw, 40px); border-radius: 28px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), var(--ak-lift); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  background-image: url("../sun-arc.svg"); background-repeat: no-repeat; background-size: 360px 360px; background-position: right -190px top -210px; }
.wf-rings > div { padding: 0 6px; }
.wf-rings dd:not(.ak-stats-src) { width: 128px; height: 128px; font-size: 2.125rem; }
.wf-rings > div:nth-child(4) dd:not(.ak-stats-src) { font-size: 1.625rem; }
.wf-rings dt { max-width: 13rem; margin-top: 14px; color: var(--ink); font-size: 1rem; }
.wf-rings dd.ak-stats-src { margin-top: 4px; }
@media (min-width: 1000px) { .wf-rings > div + div { border-left: 1px solid var(--line); } }
@media (max-width: 999px) {
  .wf-rings { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 420px) {
  .wf-rings dd:not(.ak-stats-src) { width: 108px; height: 108px; font-size: 1.75rem; border-width: 5px; }
  .wf-rings > div:nth-child(4) dd:not(.ak-stats-src) { font-size: 1.375rem; }
  .wf-rings dt { font-size: .9375rem; }
}

/* Intro */
.wf-what { padding: clamp(22px, 2.8vw, 30px); border-radius: var(--ak-radius); background: var(--sky); }
.wf-what h3 { font-size: 1.25rem; margin-bottom: 16px; }
.wf-what .ak-services a { box-shadow: var(--ak-shadow); }

/* Reviews, early */
.wf-quotes .ak-review--big blockquote p { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem); }

/* Costs: the grant figure and the West Yorkshire deadline, on the left */
.wf-costs .ak-text .ticks { margin-top: 16px; }
.wf-costs .ak-text .ticks a { color: var(--ink); }
.wf-grant { padding: clamp(26px, 3.2vw, 38px); }
.wf-grant .ak-ring { margin-bottom: 18px; }
.wf-grant .wf-grant-fig { font: 500 clamp(2.5rem, 1.8rem + 2.4vw, 3.4rem)/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.wf-grant .wf-grant-label { margin-top: 10px; color: var(--ink); line-height: 1.5; }
.wf-deadline { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--sky); }
.wf-deadline p { color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }
.wf-deadline .wf-deadline-date { margin-bottom: 6px; font: 500 1.375rem/1.2 var(--display); color: var(--ink); }
.wf-deadline-date span { display: block; margin-bottom: 4px; font: 600 .8125rem/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--star); }

/* How it works, with the price beside it */
.wf-how .ak-text > p:first-of-type { color: var(--ink); font-size: 1.1875rem; }
.wf-how .ak-text a { font-weight: 600; }
.wf-how .ak-warr--rows { margin-top: 28px; }

/* Planning: the places as chips, on the left */
.wf-places { padding: clamp(24px, 3vw, 34px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-lift); }
.wf-places-fig { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.wf-places-fig strong { display: block; font: 500 clamp(3rem, 2.4rem + 2vw, 4rem)/1 var(--display); color: var(--ink); letter-spacing: -0.03em; margin-bottom: 6px; }
.wf-places-label { margin: 0 0 10px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.wf-places .ak-chips + .wf-places-label { margin-top: 20px; }
.wf-chips-a4 span { background: var(--sky); box-shadow: none; }
.wf-dno { margin-top: 22px !important; }
@media (min-width: 900px) { .wf-planning .ak-aside { margin-top: 84px; } }

/* FAQ: one narrow column */
.area-wakefield .ak-faq--list .faq { max-width: 52rem; }

/* Nearby cards: four across */
@media (min-width: 1000px) { .wf-near .ak-near-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-wakefield .ak-faq--list .faq { padding: 6px clamp(20px, 3vw, 34px); border-top: 0; border-radius: var(--ak-radius); background: var(--paper); box-shadow: var(--ak-shadow); }
.area-wakefield .ak-faq--list .faq details:last-child { border-bottom: 0; }
/* Phones and tablets: the milestone and the button straight after the words, then the rings */
@media (max-width: 999px) {
  .wf-hero .ak-hero-act { order: 1; }
  .wf-hero .ak-hero-aside { order: 2; }
}
