/* /solar-panels-nottingham/ (16 Oct 2026): our NG15 install. The finished roof bleeds off the hero; the job follows as
   a numbered photo story; the city and its boroughs get their own card. */

/* Hero: the photo, framed in the sun ring, running off the right edge */
.ng-hero-photo { padding: 12px 0 12px 12px; border-right: 0; border-radius: 26px 0 0 26px; }
.ng-hero-photo img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 40%; border-radius: 16px 0 0 16px; }
.ng-hero-photo .ak-photo-tag { top: 30px; left: 30px; font-size: 1rem; padding: 8px 16px; }
@media (min-width: 1000px) { .ng-hero .ak-hero-aside { margin-top: 0; } }
@media (max-width: 999px) {
  .ng-hero-photo { padding: 10px; border-right: 3px solid transparent; border-radius: 22px; }
  .ng-hero-photo img { aspect-ratio: 4 / 3; border-radius: 14px; }
}

/* The install as a photo story: three numbered photos joined by a line */
.ng-story-head { max-width: 46rem; }
.ng-story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 28px); counter-reset: ng; position: relative; }
@media (min-width: 760px) {
  .ng-story-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ng-story-list figure { margin: 0; position: relative; }
.ng-story-photo { padding: 8px; border-radius: 20px; background: var(--paper); box-shadow: var(--ak-shadow); }
.ng-story-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--line); }
.ng-story-list figcaption { position: relative; display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; color: var(--ink); font-size: 1.0625rem; line-height: 1.45; }
.ng-story-num { flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -4px; border-radius: 50%; border: 3px solid transparent;
  background: var(--ak-ring-bg); font: 500 1.125rem/1 var(--display); color: var(--ink); box-shadow: 0 0 0 6px var(--sky); }
.ng-story-list figcaption > span:last-child { padding-top: 10px; }
@media (max-width: 759px) {
  .ng-story-list li figure { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: center; }
  .ng-story-list figcaption { margin-top: 0; flex-direction: column; gap: 10px; }
  .ng-story-list figcaption > span:last-child { padding-top: 0; }
  .ng-story-num { width: 44px; height: 44px; margin-top: 0; box-shadow: none; }
}

/* Intro: the homes chart, with England's figures marked, and the price */
.ng-intro .ak-aside { display: grid; gap: 22px; }
.ng-homes { padding: clamp(22px, 2.8vw, 32px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-lift); }
.ng-homes-head { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 500 1.375rem/1.2 var(--display); }
.ng-homes-head small { display: block; margin-top: 3px; font: 400 .9375rem/1.35 var(--text); color: var(--ink-soft); }
.ng-homes .ak-bars { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.ng-homes .ak-bars ul { gap: 20px; }
.ng-homes .ak-bars-track { height: 16px; }
@media (min-width: 521px) { .ng-homes .ak-bars li { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr) 4rem; } }
.ng-intro .ak-text .ticks { margin-top: 12px; }
.ng-intro .ak-text .ticks a { font-weight: 600; }

/* Costs: the words, and the four guides as numbered cards */
.ng-cost-cards .ak-card { padding: 22px 22px 24px; }
.ng-cost-cards .ak-card p { margin: 0; padding-right: 30px; font-size: 1.0625rem; }
.ng-cost-cards .ak-card a { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) and (max-width: 1149px) { .ng-costs .ak-aside .ak-cards--2 { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* How it works: the words, and the warranties as rings in a column */
.ng-how .ak-text > p { color: var(--ink-soft); }
.ng-how .ak-text > p:first-of-type { color: var(--ink); font-size: 1.1875rem; }
.ng-how .ak-warr--rings { gap: 14px; }
.ng-how .ak-warr--rings > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 18px 20px; box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
.ng-how .ak-warr--rings .ak-warr-fig { grid-row: span 2; margin: 0; justify-self: start; font-size: 1.125rem; padding: 0 16px; }
@media (max-width: 480px), (min-width: 900px) and (max-width: 1149px) { .ng-how .ak-warr--rings > div { grid-template-columns: minmax(0, 1fr); row-gap: 6px; } .ng-how .ak-warr--rings .ak-warr-fig { grid-row: auto; margin-bottom: 8px; } .ng-how .ak-warr--rings dt, .ng-how .ak-warr--rings dd:not(.ak-warr-fig) { grid-column: 1; } }
.ng-how .ak-warr--rings dt, .ng-how .ak-warr--rings dd:not(.ak-warr-fig) { grid-column: 2; }
.ng-how .ak-warr--rings dd:not(.ak-warr-fig) { margin-top: 2px; font-size: .9375rem; }

/* Planning: the words, and who's who: the city, and the boroughs round it */
.ng-planning .ak-text > p:first-of-type { color: var(--ink); }
.ng-dno { margin-top: 24px !important; }
.ng-who { border-radius: var(--ak-radius); background: var(--paper); box-shadow: var(--ak-lift); overflow: hidden; }
.ng-who-city { padding: 26px 28px; border-bottom: 1px solid var(--line); border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--sun-coral), var(--sun-amber)) 1; }
.ng-who-boroughs { padding: 24px 28px 28px; }
.ng-who-label { margin: 0 0 6px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.ng-who-name { font: 500 1.5rem/1.2 var(--display); }
.ng-who-fig { margin-top: 12px; color: var(--ink-soft); line-height: 1.5; }
.ng-who-fig strong { display: block; font: 500 2.75rem/1 var(--display); color: var(--ink); letter-spacing: -0.02em; margin-bottom: 4px; }
.ng-who-boroughs .ak-chips { margin: 8px 0 16px; }
.ng-who-boroughs .ak-chips span { font-weight: 600; background: var(--sky); box-shadow: none; }
.ng-who-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ng-who-points li { position: relative; padding-left: 22px; line-height: 1.45; }
.ng-who-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--ak-sun); }
@media (min-width: 900px) { .ng-planning .ak-aside { margin-top: 90px; } }

/* Questions: the heading takes the first cell, the three cards the rest */
@media (min-width: 900px) {
  .area-nottingham .ak-faq--cards .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .area-nottingham .ak-faq--cards .faq { display: contents; }
  .area-nottingham .ak-faq--cards .section-head { margin: 0; padding-right: 24px; align-self: center; }
}

/* Nearby: a two-by-two list with the miles */
.ng-near-label { margin: -18px 0 12px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
@media (min-width: 700px) { .ng-near .ak-near-list { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.ng-near .ak-near-list li { padding: 16px 0; }
.ng-near .ak-near-list a { font: 500 1.25rem/1.25 var(--display); }
