/* /solar-panels-rotherham/ (16 Oct 2026): a borough of semis on two hillsides. The page climbs: figures stepping up a
   slope in the hero, columns for the semis and the export rates, houses stepping up a hill, and a big panel of figures
   for "Is South Yorkshire sunny enough". */

/* ---------- Hero: the three figures step up, like houses up a slope ---------- */
.ro-hero .ak-hero-aside::before { display: none; }
.ro-hero::before { content: ""; position: absolute; z-index: 0; width: 520px; height: 520px; right: -170px; top: -150px; pointer-events: none;
  background: url("../sun-arc.svg") center / contain no-repeat; }
.ro-hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 999px) { .ro-hero::before { width: 340px; height: 340px; right: -180px; top: -120px; } }
.ro-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.ro-hero-stats > div:nth-child(3) { border: 3px solid transparent; border-image: none; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--ak-sun) border-box; }
.ro-hero-stats dd:not(.ak-stats-src) { font-size: clamp(2.125rem, 1.6rem + 1.5vw, 2.875rem); white-space: nowrap; }
@media (min-width: 641px) {
  .ro-steps-up { padding-top: 40px; }
  .ro-hero-stats > div:nth-child(1) { transform: translateY(0); margin-bottom: 0; }
  .ro-hero-stats > div:nth-child(2) { margin-bottom: 20px; }
  .ro-hero-stats > div:nth-child(3) { margin-bottom: 40px; }
}
@media (max-width: 640px) { .ro-hero-stats { grid-template-columns: minmax(0, 1fr); } }
.ro-hero .ak-hero-act .ak-acc { margin-top: 24px; }
@media (min-width: 1000px) {
  .ro-hero .ak-hero-act { align-self: end; padding-left: 8px; }
  .ro-hero .ak-hero-act .ak-acc { border-top: 0; padding-top: 0; }
}

/* ---------- Columns (the semis, and the export rates), on one scale each ---------- */
.ro-cols { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
.section--sky .ro-cols { box-shadow: var(--ak-shadow); }
.ro-cols-plot { display: flex; align-items: flex-end; justify-content: center; gap: clamp(28px, 5vw, 64px); height: 280px; padding-top: 64px; border-bottom: 2px solid var(--line-strong); }
.ro-col { position: relative; flex: 0 1 140px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.ro-col-value { margin-bottom: 10px; font: 500 clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.ro-col-bar { display: block; flex: none; width: 100%; border-radius: 14px 14px 0 0; background: var(--line-strong); }
.ro-col-bar--warm { background: linear-gradient(180deg, var(--sun-amber), var(--sun-coral)); }
.ro-col-label { position: absolute; top: calc(100% + 12px); left: -12px; right: -12px; text-align: center; font-weight: 600; line-height: 1.3; font-size: 1rem; }
.ro-cols figcaption { margin-top: 72px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.45; }

/* ---------- A borough of semis ---------- */
.ro-semis-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .ro-semis-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; } }
.ro-semis-grid .ak-body > p:first-child { color: var(--ink); font-size: 1.1875rem; }
.ro-size { margin-top: clamp(44px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); border-radius: var(--ak-radius); background: var(--sky); }
.ro-size h3 { font-size: 1.375rem; }
.ro-size > p { margin-top: 12px; max-width: 52rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; }
.ro-size-stats { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.ro-size-stats > div { border-left-color: var(--line-strong) !important; }
.ro-size-stats dd:not(.ak-stats-src) { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); }

/* ---------- Hillside roofs: the drawing ---------- */
.ro-hill { margin: 0; padding: clamp(14px, 2vw, 22px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: var(--ak-shadow); }
.ro-hill svg { width: 100%; height: auto; }
.ro-ground { fill: var(--sky); stroke: var(--line-strong); stroke-width: 1.5; }
.ro-house path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ro-house path:first-child { fill: #fff; }
.ro-house .ro-pv { fill: var(--ink); stroke: var(--ink); stroke-width: 1.5; }
.ro-house .ro-pv--shaded { fill: var(--ink-soft); }
.ro-shadow { fill: var(--ink); opacity: .1; }
.ro-hills .ak-text > p { color: var(--ink); }

/* ---------- Sunny enough: the big panel of figures ---------- */
.ro-sun-panel { display: grid; gap: 26px; padding: clamp(24px, 3.2vw, 40px); }
.ro-load { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ro-load dd:not(.ak-stats-src) { width: clamp(112px, 12vw, 140px); height: clamp(112px, 12vw, 140px); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.ro-load > div:nth-child(2) dd:not(.ak-stats-src) { background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(225deg, var(--line-strong), var(--line)) border-box; }
.ro-load dt { max-width: 13rem; }
.ro-fig-title { margin-bottom: 14px; font-weight: 600; color: var(--ink) !important; }
.ro-kwh, .ro-roof { padding-top: 22px; border-top: 1px solid var(--line); }
.ro-kwh-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; }
.ro-kwh-row + .ro-kwh-row { margin-top: 14px; }
.ro-kwh-label { grid-column: 1 / -1; color: var(--ink-soft) !important; font-size: .9375rem; }
.ro-kwh-track { position: relative; height: 14px; border-radius: 999px; background: var(--sky); }
.ro-kwh-bar { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--line-strong); }
.ro-kwh-bar--warm { background: linear-gradient(90deg, var(--sun-coral), var(--sun-amber)); }
.ro-kwh-value { min-width: 7.5rem; text-align: right; font: 600 1.125rem/1 var(--display); color: var(--ink) !important; }
.ro-kwh-axis { position: relative; height: 18px; margin: 8px calc(7.5rem + 14px) 0 0; font-size: .8125rem; color: var(--ink-soft); }
.ro-kwh-axis span { position: absolute; transform: translateX(-50%); }
.ro-kwh-axis span:first-child { transform: none; } .ro-kwh-axis span:last-child { transform: translateX(-100%); }
.ro-roof-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ro-roof-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; }
.ro-roof-label { grid-column: 1 / -1; color: var(--ink-soft); font-size: .9375rem; line-height: 1.35; }
.ro-roof-track { position: relative; height: 14px; border-radius: 999px; background: var(--sky); }
.ro-roof-track > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--sun-coral), var(--sun-amber)); }
.ro-roof-track > span.ro-roof-less { background: var(--ink-soft); }
.ro-roof-value { min-width: 7.5rem; text-align: right; font: 600 1.0625rem/1.1 var(--display); }
@media (max-width: 480px) { .ro-kwh-value, .ro-roof-value { min-width: 0; } .ro-kwh-axis { margin-right: 0; display: none; } }

/* ---------- Solar PV and batteries: the chain, the figures, two cards, how it connects ---------- */
.ro-pv .section-head p { color: var(--ink); }
.ro-chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 800px) { .ro-chain { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.ro-chain li { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: var(--ak-shadow); }
.ro-chain li p { color: var(--ink-soft); font-size: .9375rem; line-height: 1.4; }
.ro-chain li strong { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.ro-chain-opt { background: transparent !important; box-shadow: none !important; outline: 2px dashed var(--line-strong); outline-offset: -2px; }
@media (min-width: 800px) {
  .ro-chain li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -17px; width: 14px; height: 14px; margin-top: -7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 2l6 5-6 5' fill='none' stroke='%23ec7a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
}
.ro-mcs { margin: clamp(28px, 4vw, 44px) 0; padding: 22px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.ro-mcs dd:not(.ak-stats-src) { font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3.25rem); }
.ro-pv-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ro-pv-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; } }
.ro-pv-card { padding: clamp(22px, 2.8vw, 32px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: var(--ak-shadow); }
.ro-pv-card h3 { font-size: 1.3125rem; }
.ro-pv-card > p { margin-top: 12px; color: var(--ink-soft); line-height: 1.65; }
.ro-pv-card a { color: var(--ink); font-weight: 500; }
.ro-pv-card > p.ro-pv-fig { margin: 14px 0 16px; color: var(--ink-soft); font-size: .9375rem; line-height: 1.4; }
.ro-pv-fig strong { display: block; margin-bottom: 4px; font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.75rem)/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.ro-connect { margin-top: clamp(32px, 4vw, 48px); }
.ro-connect h3 { font-size: 1.3125rem; }
.ro-connect-grid { display: grid; gap: 18px; margin-top: 12px; }
@media (min-width: 900px) { .ro-connect-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; } }
.ro-connect-text { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
.ro-couple { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ro-couple li { padding: 14px 18px; border-radius: 14px; background: var(--paper); color: var(--ink-soft); line-height: 1.45; font-size: 1rem; box-shadow: var(--ak-shadow); }
.ro-couple-tag { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); }
.ro-couple li:first-child { border-left: 4px solid var(--sun-coral); } .ro-couple li:last-child { border-left: 4px solid var(--sun-amber); }
.ro-cut { margin-top: clamp(24px, 3vw, 36px); max-width: 52rem; }

/* ---------- Planning ---------- */
.ro-planning .section-head { max-width: 50rem; }
.ro-plan-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ro-plan-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; } }
.ro-plan-count .ak-ring { margin-bottom: 12px; }
.ro-plan-big { font: 500 clamp(4rem, 3rem + 3vw, 5.5rem)/1 var(--display) !important; color: var(--ink) !important; letter-spacing: -0.03em; }
.ro-plan-label { margin-top: 4px !important; font-weight: 600; color: var(--ink) !important; }
.ro-plan-sub { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9375rem; }
.ro-plan-chips { margin-top: 10px; gap: 8px; }
.ro-plan-chips span { background: var(--sky); box-shadow: none; font-size: .9375rem; min-height: 36px; }

/* ---------- Paying ---------- */
.ro-nogrant { max-width: 56rem; margin-bottom: clamp(28px, 4vw, 44px); }
.ro-nogrant p { font-size: 1.125rem; }
.ro-pay-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .ro-pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); } }
.ro-pay-col h3 { font-size: 1.3125rem; }
.ro-pay-col > p { margin-top: 12px; color: var(--ink-soft); line-height: 1.65; }
.ro-pay-col a { color: var(--ink); font-weight: 600; }
.ro-dates { list-style: none; margin: 24px 0 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 18px; }
.ro-dates::before { content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 2px; background: var(--line-strong); }
.ro-dates li { position: relative; padding-left: 40px; color: var(--ink-soft); line-height: 1.45; }
.ro-dates li::before { content: ""; position: absolute; left: 1px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line-strong); }
.ro-dates li.ro-date-warm::before { border-color: transparent; background: var(--ak-ring-bg); }
.ro-date { display: block; font: 600 1.125rem/1.3 var(--display); color: var(--ink); }
.ro-price { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .ro-price { grid-template-columns: minmax(0, 1fr); } }
.ro-price dd:not(.ak-stats-src) { font-size: clamp(1.625rem, 1.1rem + 1.2vw, 2.375rem); white-space: nowrap; }
.ro-pay-link { margin-top: 18px !important; }

/* ---------- Export ---------- */
.ro-cols--seg .ro-cols-plot { height: 240px; }

/* ---------- Process: the network in its own panel ---------- */
.ro-process .ak-text > p { color: var(--ink); font-size: 1.1875rem; }
.ro-npg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ro-npg-head p { font: 600 1.25rem/1.2 var(--display); color: var(--ink) !important; }

/* ---------- Commercial: the highlighted panel ---------- */
.ro-com-panel { padding: clamp(28px, 4vw, 48px); }
.ro-com-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ro-com-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: center; } }
.ro-com-text .ak-ring { margin-bottom: 18px; }
.ro-com-text p { color: var(--ink); font-size: 1.1875rem; line-height: 1.65; }
.ro-com-text a { color: var(--ink); font-weight: 600; }
.ro-com-fig { padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--ink-soft) !important; font-size: .9375rem; line-height: 1.45; }
@media (min-width: 900px) { .ro-com-fig { padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--line); } }
.ro-com-fig strong { display: block; margin-bottom: 8px; font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.75rem)/1.05 var(--display); color: var(--ink); letter-spacing: -0.02em; }

/* ---------- Reviews: stacked beside the heading ---------- */
@media (min-width: 900px) { .ro-reviews .ak-text { position: sticky; top: 110px; } }
.ro-reviews .ak-review { padding: 22px 26px 18px; }
.ro-reviews .ak-review blockquote p { font-size: 1.25rem; }
.ro-ray { fill: none; stroke: var(--sun-amber); stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; }
.ro-ray--blocked { stroke: var(--line-strong); }
