/* /solar-panels-doncaster/ (16 Oct 2026): the centre of the 100 miles we cover. The hero map shows the whole circle
   round Doncaster; the milestone sits under the words. */

/* Hero: the words, the milestone under them; the map, with the logos under it */
.dn-hero .dn-acc { margin: 26px auto 0; justify-content: center; border-top: 0; padding-top: 0; }
@media (min-width: 1000px) { .dn-hero .ak-hero-aside { margin-top: 8px; } }
.dn-hero .dn-map { box-shadow: var(--ak-lift); }
.dn-radius line { stroke: var(--ink); opacity: .55; }
.dn-radius circle { fill: var(--ink); opacity: .7; }
.dn-radius text { font-family: var(--text); font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-linejoin: round; }
.dn-hero .dn-mile { margin-top: 28px; padding: 14px 26px 14px 14px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-shadow);
  width: fit-content; max-width: 100%; gap: 16px; }
.dn-hero .ak-mile-dial { width: 92px; }
.dn-hero .ak-mile-dial svg { filter: none; }
.dn-hero .ak-mile-text strong { font-size: 1.25rem; }
.dn-hero .ak-mile-text span { font-size: 1rem; }
@media (max-width: 480px) { .dn-hero .dn-mile { border-radius: 20px; padding: 12px 16px 12px 12px; } .dn-hero .ak-mile-dial { width: 80px; } }

/* Intro: the figures as a strip, then the words and the services */
.dn-intro .section-head { margin-bottom: clamp(28px, 3.4vw, 40px); }
.dn-intro .section-head p { color: var(--ink); font-size: 1.1875rem; }
.dn-stats { padding: clamp(22px, 2.6vw, 30px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 601px) { .dn-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dn-stats dd:not(.ak-stats-src) { font-size: clamp(2.75rem, 1.9rem + 2.6vw, 4rem); }
.dn-stats dt { max-width: 17rem; color: var(--ink); font-size: 1.0625rem; }
.dn-stats dd.ak-stats-src { color: var(--ink-soft); }
.dn-intro-grid { display: grid; gap: 32px; margin-top: clamp(32px, 4vw, 52px); }
@media (min-width: 900px) { .dn-intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: start; } }
.dn-intro-text p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; }
.dn-intro-text p + p { margin-top: 16px; }
.dn-services { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.dn-services h3 { font-size: 1.25rem; }
@media (min-width: 900px) { .dn-intro-grid { align-items: center; } }

/* Costs: the words and links, and the grant figure in the panel */
.dn-cost-links { margin-top: 18px; }
.dn-cost-links a { color: var(--ink); }
.dn-grant { padding: clamp(28px, 3.4vw, 40px); }
.dn-grant .ak-ring { margin-bottom: 18px; }
.dn-grant .dn-grant-fig { font: 500 clamp(2.6rem, 1.8rem + 2.6vw, 3.6rem)/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.dn-grant .dn-grant-label { margin-top: 12px; color: var(--ink); font-size: 1.125rem; line-height: 1.5; max-width: 22rem; }

/* How it works: one calm, centred passage under the faded sun arc */
.dn-how { position: relative; overflow: hidden; }
.dn-how::before { content: ""; position: absolute; left: 50%; top: -260px; width: 620px; height: 620px; margin-left: -310px;
  background: url("../sun-arc.svg") center / contain no-repeat; opacity: .55; pointer-events: none; }
.dn-how .wrap { position: relative; }
.dn-how .section-head { margin: 0 auto 22px; text-align: center; }
.dn-how-body { max-width: 46rem; margin: 0 auto; text-align: center; }
.dn-how-body p { color: var(--ink-soft); font-size: 1.1875rem; line-height: 1.7; }
.dn-how-body p + p { margin-top: 16px; }
.dn-how-body a { color: var(--ink); font-weight: 600; }

/* Planning */
.dn-planning .ak-aside { display: grid; gap: 16px; }
.dn-planning .ak-text > p:first-of-type { color: var(--ink); }

/* Reviews and questions side by side */
.dn-talk-grid { display: grid; gap: clamp(48px, 6vw, 72px); }
@media (min-width: 960px) { .dn-talk-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: start; } }
.dn-talk .section-head { margin-bottom: 24px; }
.dn-talk .dn-talk-faq .faq { max-width: none; }
.dn-talk-faq .faq details p { padding-bottom: 22px; }
.dn-talk-reviews .ak-ratings { flex-wrap: wrap; }
@media (min-width: 960px) { .dn-talk-faq { padding-left: clamp(40px, 5vw, 72px); border-left: 1px solid var(--line); } }

/* Nearby: heading on the left, pills on the right */
@media (min-width: 900px) {
  .dn-near .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 80px); align-items: center; }
  .dn-near .section-head { grid-row: span 2; margin: 0; }
  .dn-near .ak-more { margin-top: 18px; }
}
.dn-near .ak-chips a { min-height: 48px; padding: 8px 22px; font-size: 1.0625rem; }
/* Phones and tablets: the button straight after the words, then the map */
@media (max-width: 999px) {
  .dn-hero .ak-hero-act { order: 1; }
  .dn-hero .ak-hero-aside { order: 2; margin-top: 8px; }
}
/* The badge sits above the map in the flow, so it can wrap at any width without covering the circle */
.dn-map.ak-map--badge { padding-top: clamp(10px, 1.4vw, 16px); }
.dn-map .ak-map-badge { position: static; display: inline-block; margin: 0 0 10px; max-width: 100%; }
@media (max-width: 520px) { .dn-map .ak-map-badge { font-size: .875rem; } }
