/* /solar-panels-sunderland/ (16 Oct 2026): the distance (a big milestone dial in the hero) and a city of houses (87%,
   drawn as a sun ring filled to 87%). */

/* Hero: the dial, the line under it and the journey strip, in one white card. */
.su-dist { display: grid; gap: 26px; padding: clamp(26px, 3vw, 38px) clamp(22px, 3vw, 34px) clamp(22px, 2.6vw, 30px); border-radius: 28px;
  background: var(--paper); box-shadow: var(--ak-lift); }
.su-mile { flex-direction: column; text-align: center; gap: 16px; }
.su-mile .ak-mile-dial { width: clamp(190px, 20vw, 240px); }
.su-mile .ak-mile-dial svg { filter: drop-shadow(0 18px 26px rgba(38, 40, 42, .16)); }
.su-mile .ak-mile-text strong { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem); letter-spacing: -0.01em; }
.su-mile .ak-mile-text span { font-size: 1.0625rem; }
.su-journey { background: var(--sky); box-shadow: none; }
@media (min-width: 1000px) { .su-hero .ak-hero-aside { margin-top: 56px; } }
@media (max-width: 999px) { .su-dist { max-width: 30rem; } .su-hero .ak-hero-act { order: 1; } .su-hero .ak-hero-aside { order: 2; } }
@media (max-width: 520px) { .su-dist { padding: 24px 18px 18px; } }
/* In a narrow card the journey runs down instead of across. */
.su-dist { container-type: inline-size; }
@container (max-width: 340px) {
  .su-journey { flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; }
  .su-journey .ak-journey-end, .su-journey .ak-journey-end--to { text-align: center; }
  .su-journey .ak-journey-line { flex: none; width: 2px; height: 46px; min-width: 0; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 11px); }
}

/* Intro: the words with the price beside them, then the homes as their own band. */
.su-intro-top { display: grid; gap: 32px; }
@media (min-width: 900px) { .su-intro-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; } }
.su-intro-text > p:first-child { margin-top: 0; }
.su-what { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.su-what h3 { font-size: 1.25rem; }
.su-houses { margin-top: clamp(44px, 6vw, 72px); padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--sky);
  display: grid; gap: 32px; align-items: center; justify-items: center; }
@media (min-width: 860px) { .su-houses { grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); justify-items: stretch; } }
.su-houses-text > p { font: 400 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.5 var(--display); color: var(--ink); max-width: 36rem; }
/* The rings, each filled to its own share. */
.su-ring-big, .su-ring-small { grid-template-columns: none; }
.su-ring-big > div { max-width: 19rem; }
.su-ring-big dd:not(.ak-stats-src), .su-ring-small dd:not(.ak-stats-src) { border: 0; letter-spacing: -0.03em; }
.su-ring-big dd:not(.ak-stats-src) { width: clamp(210px, 24vw, 280px); height: clamp(210px, 24vw, 280px); font-size: clamp(3.5rem, 2.6rem + 3vw, 5rem);
  background: radial-gradient(closest-side, var(--paper) calc(100% - 24px), transparent calc(100% - 23px)),
    conic-gradient(var(--sun-coral) 0%, var(--sun-amber) 87%, var(--sky-deep) 87% 100%); box-shadow: 0 22px 44px -26px rgba(38, 40, 42, .45); }
.su-ring-big dt { margin-top: 18px; font-size: 1.125rem; color: var(--ink); font-weight: 500; }
.su-ring-small { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 40px; }
.su-ring-small > div { flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 16px; text-align: left; }
.su-ring-small dd:not(.ak-stats-src) { width: 96px; height: 96px; font-size: 1.625rem;
  background: radial-gradient(closest-side, var(--paper) calc(100% - 12px), transparent calc(100% - 11px)),
    conic-gradient(var(--sun-coral) 0%, var(--sun-amber) var(--p), var(--sky-deep) var(--p) 100%); }
.su-ring-small > div:nth-child(1) dd { --p: 45%; }
.su-ring-small > div:nth-child(2) dd { --p: 29%; }
.su-ring-small dt { margin: 0; max-width: 9rem; font-size: 1rem; }

/* Costs: the grant's figures on the left, the grant and the guides on the right. */
.su-costs-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .su-costs-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 48px); align-items: start; } }
.su-grant-stats { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) and (max-width: 899px) { .su-grant-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.su-grant-stats dd:not(.ak-stats-src) { font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1.1; }
.su-grant .ak-ring { margin-bottom: 14px; }
.su-grant p { color: var(--ink) !important; font-size: 1.125rem; line-height: 1.65; }
.su-costs-lead { margin: 32px 0 6px; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.su-guides { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 32px; }
@media (min-width: 700px) { .su-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.su-guides li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.su-guides .ak-ring { width: 44px; height: 44px; border-width: 2px; }
.su-guides .sp-icon { width: 22px; height: 22px; }
.su-guides p { color: var(--ink-soft); line-height: 1.5; font-size: 1rem; }
.su-guides a { color: var(--ink); font-weight: 600; }

/* How it works: the distance line pulled out large. */
.su-how .ak-text > p.su-how-lead { margin-top: 22px; font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.3 var(--display); color: var(--ink); letter-spacing: -0.01em; max-width: 36rem; }
.su-how .ak-text > p.su-how-lead + p { margin-top: 14px; }
.su-how .ak-warr--rows { box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }

/* Planning: the council's rules with the named areas, the network and the national rules beside. */
.su-plan-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .su-plan-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; } }
.su-plan-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.su-plan-fig { color: var(--ink) !important; font-weight: 600; line-height: 1.25; }
.su-plan-fig strong { display: block; font: 500 clamp(2.5rem, 2rem + 1.6vw, 3.25rem)/1 var(--display); letter-spacing: -0.02em; }
.su-plan-main > p { color: var(--ink) !important; font-size: 1.125rem; line-height: 1.65; }
.su-chips { margin-top: 20px; }
.su-chips span { background: var(--sky); box-shadow: none; }
.su-plan-side { display: grid; gap: 16px; }

/* Reviews: one big quote, two under it. */
.su-quotes .ak-reviews--quote { margin-bottom: 20px; }
.su-quotes .ak-reviews--quote .ak-review::before { width: 64px; height: 64px; top: 24px; right: 28px; }

/* Nearby: the towns beside a map of the north-east. */
.su-near .ak-aside .ak-map { box-shadow: 0 0 0 1px var(--line), var(--ak-lift); }
@media (min-width: 900px) { .su-near .ak-split { align-items: center; } }
