/* /solar-panels-huddersfield/ (16 Oct 2026): stone terraces and steep valleys. The quote card in the hero, the valley
   drawing and Which?'s orientation figures beside the first section, then costs and bills as cards. */

/* ---------- Hero: the words and the postcode card ---------- */
.hd-hero .ak-hero-quote { max-width: 30rem; margin-left: auto; }
@media (min-width: 1000px) {
  .hd-hero .ak-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hd-hero .ak-hero-aside { margin-top: 64px; }
}
@media (max-width: 999px) { .hd-hero .ak-hero-quote { margin: 0 auto; } .hd-hero .ak-hero-grid { display: flex; flex-direction: column; } .hd-hero .ak-hero-aside { order: 3; } }

/* ---------- Stone terraces and steep valleys ---------- */
.hd-stone .ak-ticks--cards { margin-top: 22px; }
.hd-stone .ak-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .hd-stone .ak-aside { position: sticky; top: 110px; } }
.hd-valley-card { margin: 0; padding: clamp(16px, 2vw, 22px); border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
.hd-valley { display: block; width: 100%; height: auto; border-radius: 16px; background: linear-gradient(180deg, var(--sky), #f7fafb 70%); }
.hd-land { fill: #fff; }
.hd-surface { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.hd-house { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.hd-pv { fill: none; stroke: var(--ink); stroke-width: 5; }
.hd-line { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.hd-shadow { fill: var(--ink); opacity: .11; }
.hd-river { fill: none; stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.hd-ray { fill: none; stroke: var(--sun-amber); stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.hd-sun { fill: #fff; stroke: var(--sun-coral); stroke-width: 3; }
.hd-valley-card figcaption { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 0 4px; color: var(--ink-soft); line-height: 1.45; font-size: 1rem; }
.hd-fig { flex: none; font: 500 2.5rem/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.hd-stone .ak-bars li { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) 3.5rem; }
.hd-size { margin-top: 34px !important; padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; background: var(--sky); }
.hd-size h3 { margin: 0 0 18px; font-size: 1.375rem; }
.hd-size p { color: var(--ink-soft); line-height: 1.65; font-size: 1.0625rem; }
.hd-size-stats { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.hd-size-stats dd:not(.ak-stats-src) { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.hd-size-stats > div { border-left-color: var(--line-strong); }
.hd-size-stats dt { font-size: .9375rem; }

/* ---------- Planning: St George's Square and the Peak District edge ---------- */
.hd-planning .ak-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .hd-planning .ak-aside { padding-top: 86px; } }
.hd-betjeman { margin: 0; padding: 4px 0 4px 26px; border-left: 4px solid transparent; border-image: linear-gradient(180deg, var(--sun-coral), var(--sun-amber)) 1; }
.hd-betjeman blockquote { margin: 0; padding: 0; border: 0; }
.hd-betjeman blockquote p { font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.25 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.hd-betjeman blockquote p::before { content: "\201C"; } .hd-betjeman blockquote p::after { content: "\201D"; }
.hd-betjeman figcaption { margin-top: 12px; color: var(--ink-soft); font-size: .9375rem; }
.hd-peak .ak-ring { margin-bottom: 14px; }
.hd-peak p { color: var(--ink) !important; }

/* ---------- Costs: two cards and the price ---------- */
.hd-cost-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (min-width: 1000px) { .hd-cost-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: stretch; } }
.hd-cost-cards .ak-card { display: flex; flex-direction: column; }
.hd-cost-cards .ak-tag { align-self: flex-start; margin-bottom: 12px; background: var(--sky); }
.hd-cost-cards .ak-tag + p { margin: 0 0 12px; font: 500 clamp(2.25rem, 1.7rem + 1.6vw, 3rem)/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.hd-price { display: flex; flex-direction: column; }
.hd-price .btn { margin-top: auto; align-self: flex-start; }
.hd-price p:not(.ak-price-fig) { margin-bottom: 22px; }
.hd-price a:not(.btn) { color: var(--ink); font-weight: 600; }

/* ---------- Bills: three cards with their figures ---------- */
.hd-bills .section-head { max-width: 50rem; }
.hd-bills .section-head p { color: var(--ink); font-size: 1.1875rem; line-height: 1.6; }
.hd-card-fig { margin: 0 0 16px !important; padding-bottom: 16px; border-bottom: 1px solid var(--line); font: 500 clamp(1.875rem, 1.5rem + 1vw, 2.375rem)/1.05 var(--display) !important; letter-spacing: -0.02em; color: var(--ink) !important; }
.hd-card-fig small { font: 500 1rem/1 var(--text); color: var(--ink-soft); letter-spacing: 0; }
.hd-bill-cards h3 { font-size: 1.1875rem; }
.hd-bills-foot { display: grid; gap: 18px; margin-top: clamp(24px, 3vw, 36px); }
@media (min-width: 900px) { .hd-bills-foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: center; } }
.hd-read { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }
.hd-read a { color: var(--ink); font-weight: 600; }

/* ---------- Battery ---------- */
.hd-batt-stats { margin-top: 22px !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hd-batt-stats > div { padding: 18px; }
.hd-batt-stats dd:not(.ak-stats-src) { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.hd-batt-stats dt { font-size: .9375rem; }
@media (max-width: 560px) { .hd-batt-stats { grid-template-columns: minmax(0, 1fr); } }
.hd-battery .ak-aside { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .hd-battery .ak-aside { padding-top: 80px; } }
.hd-where .ak-ring { margin-bottom: 14px; }
.hd-where p { color: var(--ink) !important; font-size: 1.0625rem; line-height: 1.65; }

/* ---------- West Yorkshire schemes: the deadline ---------- */
.hd-schemes-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .hd-schemes-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: center; } }
.hd-deadline { display: inline-flex; flex-direction: column; margin-bottom: 18px !important; padding: 12px 18px; border-radius: 14px; background: var(--sky); }
.hd-deadline span { font-weight: 600; font-size: .875rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.hd-deadline strong { font: 500 1.625rem/1.2 var(--display); color: var(--ink); }
.hd-scheme > p:not(.hd-deadline):not(.hd-pilot) { color: var(--ink) !important; font-size: 1.0625rem; line-height: 1.65; }
.hd-pilot { display: flex; align-items: baseline; gap: 12px; margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); }
.hd-pilot strong { font: 500 2.5rem/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.hd-whlg { display: grid; gap: 14px; }
.hd-whlg p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; }
.hd-whlg a { color: var(--ink); font-weight: 600; }

/* ---------- Choosing an installer ---------- */
@media (min-width: 900px) { .hd-installer .ak-ticks--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.hd-installer .ak-ticks--cards li { padding: 20px 22px 20px 54px; line-height: 1.55; }
.hd-installer .ak-ticks--cards li::before { top: 23px; left: 20px; }
.hd-us { display: grid; gap: 28px; margin-top: clamp(36px, 4vw, 52px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .hd-us { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px); } }
.hd-us h3 { font-size: 1.375rem; margin-bottom: 10px; }
.hd-us p { color: var(--ink-soft); line-height: 1.65; }

/* ---------- Process ---------- */
.hd-process .ak-steps--cards li { box-shadow: var(--ak-shadow); }
.hd-process-foot { display: grid; gap: 20px; margin-top: clamp(24px, 3vw, 36px); }
@media (min-width: 900px) { .hd-process-foot { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: center; } }
.hd-weeks { font: 500 clamp(1.25rem, 1.05rem + .6vw, 1.5rem)/1.4 var(--display); color: var(--ink); }
.hd-dno h3 { font-size: 1.1875rem; margin-bottom: 6px; }

/* ---------- Nearby ---------- */
.hd-near .ak-near-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hd-batt-stats dd small { font: 500 .875rem/1 var(--text); color: var(--ink-soft); letter-spacing: 0; }

/* ---------- Reviews: the lead quote centred in its card ---------- */
.hd-reviews .ak-review--big blockquote { margin: auto 0; padding: 24px 0; }
.hd-reviews .ak-review--big blockquote p { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); line-height: 1.3; }
/* Between 1000 and 1180px the words' column is too narrow for the ratings pill on one line, so it is set a size smaller */
@media (min-width: 1000px) and (max-width: 1179px) { .hd-hero .hh-rating { font-size: .8125rem; gap: 6px 10px; padding: 7px 14px; } .hd-hero .hh-rating-g { padding-left: 10px; } .hd-hero .hh-rating .stars { font-size: .875rem; } }
.hd-stone .ak-bars { box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
