/* /solar-panels-birmingham/ (16 Oct 2026): two cities, so things come in pairs. The hero's two city cards, the twin
   grant cards, the two councils, two reviews then one, and a map with both cities. */

/* Hero: words across the top, the two city cards and the button under them */
.bm-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.bm-city { position: relative; padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; background: var(--paper); box-shadow: var(--ak-lift); overflow: hidden; }
.bm-city::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--ak-sun); }
.bm-city-name { display: flex; align-items: center; gap: 12px; margin: 0; font: 500 1.375rem/1.2 var(--display); }
.bm-city-name .ak-ring { width: 42px; height: 42px; border-width: 2px; }
.bm-city-name .sp-icon { width: 22px; height: 22px; }
.bm-city-fig { margin: 18px 0 0; font: 500 clamp(3rem, 2.2rem + 2.6vw, 4.25rem)/1 var(--display); letter-spacing: -0.03em; }
.bm-city-label { margin: 6px 0 0; color: var(--ink-soft); line-height: 1.4; }
.bm-city-bar { display: block; position: relative; height: 10px; margin-top: 18px; border-radius: 999px; background: var(--sky); }
.bm-city-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--sun-coral), var(--sun-amber)); }
.bm-cities-cap { margin-top: 14px; color: var(--ink-soft); font-size: .9375rem; }
.bm-hero .ak-hero-aside::before { display: none; }
.bm-hero::before { content: ""; position: absolute; z-index: 0; width: 640px; height: 640px; right: -300px; top: -320px; background: url("../sun-arc.svg") center / contain no-repeat; pointer-events: none; }
.bm-hero .ak-hero-grid { position: relative; z-index: 1; }
@media (max-width: 999px) { .bm-hero::before { width: 360px; height: 360px; right: -190px; top: -150px; } }
@media (min-width: 1000px) {
  .bm-hero .ak-hero-grid { row-gap: 36px; }
  .bm-hero .ak-hero-act { padding: 4px 0 0 clamp(8px, 2vw, 24px); }
  .bm-hero .ak-hero-act .page-actions { flex-direction: column; align-items: flex-start; }
  .bm-acc { margin-top: 26px; }
}
@media (max-width: 999px) { .bm-hero .ak-hero-act { order: 2; } .bm-hero .ak-hero-aside { order: 3; } .bm-hero .ak-hero-text { order: 1; } }
@media (max-width: 460px) {
  .bm-city { padding: 18px 16px 20px; }
  .bm-city-name { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 1.1875rem; }
  .bm-city-fig { margin-top: 14px; font-size: 2.75rem; }
  .bm-city-label { font-size: .9375rem; }
}

/* Intro: the words in two columns with the price beside them, then the services */
.bm-intro-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .bm-intro-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(36px, 5vw, 72px); } }
@media (min-width: 1100px) { .bm-intro-text { columns: 2; column-gap: 48px; } .bm-intro-text p { break-inside: avoid; } .bm-intro-text p:first-child { margin-top: 0; } }
.bm-intro-text p:first-child { color: var(--ink); }
.bm-sub { margin-top: clamp(40px, 5vw, 60px); margin-bottom: 18px; font-size: 1.375rem; }
.bm-price .ak-price-fig { color: var(--ink); }

/* Costs: the two grant schemes side by side, the guides under them */
.bm-twin { display: grid; gap: 20px; }
@media (min-width: 860px) { .bm-twin { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.bm-twin-card { padding: clamp(22px, 2.8vw, 32px); border-radius: 22px; }
.bm-twin-name { display: flex; align-items: center; gap: 14px; margin: 0 0 16px !important; font: 500 1.4375rem/1.2 var(--display) !important; color: var(--ink) !important; }
.bm-twin-card > p:not(.bm-twin-name) { color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.bm-twin-card .ak-chips { margin-top: 20px; }
.bm-twin-card .ak-chips span { background: var(--sky); box-shadow: none; }
.bm-guides { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--line-strong); }
.bm-guides > p { max-width: 46rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.bm-guides .ak-ticks { margin-top: 18px; }
.bm-guides .ak-ticks li { margin-bottom: 12px; color: var(--ink-soft); }
.bm-guides .ak-ticks a { color: var(--ink); font-weight: 600; }

/* How it works: the journey across the top */
.bm-journey { padding: 22px 30px; box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
.bm-journey .ak-journey-end { font-size: 1.1875rem; }
.bm-journey .ak-journey-line span { padding: 5px 16px; font-size: 1rem; }
.bm-how-grid { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .bm-how-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 72px); align-items: center; } }
.bm-how-grid .ak-body > p:first-child { color: var(--ink); font-size: 1.25rem; line-height: 1.6; }
.bm-how-grid .ak-body a { color: var(--ink); font-weight: 600; }
.bm-how .ak-warr--rows { box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }

/* Planning: the two councils, then Birmingham's conservation areas beside the notes */
.bm-who { list-style: none; margin: calc(-1 * clamp(8px, 2vw, 20px)) 0 24px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .bm-who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.bm-who li { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 999px; background: var(--paper); box-shadow: var(--ak-shadow); }
.bm-who li > span { display: flex; flex-direction: column; line-height: 1.3; color: var(--ink-soft); }
.bm-who strong { font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.bm-twin--plan { align-items: start; }
.bm-twin-side { display: grid; gap: 14px; }
.bm-twin-side .ak-note { align-items: center; }
.bm-areas { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.bm-areas li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 1100px) { .bm-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.bm-areas em { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--ak-sun); font: normal 600 .8125rem/1.3 var(--text); color: var(--ink); }

/* Reviews: two, then one wide with the ratings beside it */
.bm-third { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .bm-third { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: center; } }
.bm-review-wide blockquote p { font-size: 1.3125rem; line-height: 1.4; }
.bm-third .ak-ratings { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 8px; }

/* FAQ: three cards across */
@media (min-width: 1000px) { .area-birmingham .ak-faq--cards .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 999px) { .area-birmingham .ak-faq--cards .faq { grid-template-columns: minmax(0, 1fr); } }

/* Nearby: both cities on the map */
.bm-near .ak-map { box-shadow: var(--ak-lift); }
.bm-near .lm-label--minor { fill: var(--ink); font-family: var(--display); font-weight: 600; }
.bm-near .lm-place { fill: var(--sun-coral); }
/* The journey on phones: the two ends on one row, the line and its miles under them */
@media (max-width: 600px) {
  .bm-journey { flex-wrap: wrap; justify-content: space-between; row-gap: 16px; padding: 16px 18px 20px; border-radius: 20px; }
  .bm-journey .ak-journey-line { order: 3; flex: 1 0 100%; }
  .bm-journey .ak-journey-end { font-size: 1.0625rem; }
  .bm-near .ak-aside { display: none; }
}
