/* /areas/north-east/ (16 Oct 2026): a county overview. The hero is a wide map of the region on the real coastline;
   "Does solar work this far north?" is a two-tier visual of the government's figures; the places are cards. */

/* Hero: the region, wide */
@media (min-width: 1000px) {
  .ne-hero .ak-hero-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); row-gap: 36px; }
  .ne-hero .ak-hero-act .page-actions { flex-direction: column; align-items: flex-start; }
  .ne-hero .ak-hero-act .ak-acc { margin-top: 26px; }
}
.ne-hero .ak-map { box-shadow: var(--ak-lift); }
.ne-hero .ak-hero-aside::before { top: auto; bottom: -220px; right: auto; left: -260px; }
/* Give the town names a little room from their sun rings */
.ne-map .lm-label--hi[text-anchor="start"] { transform: translateX(.8px); }
.ne-map .lm-label--hi[text-anchor="end"] { transform: translateX(-.8px); }
.ne-hero .ak-map figcaption:not(.visually-hidden) { margin-top: 12px; padding: 0 6px 4px; }
.ne-map--tall { display: none; }
@media (max-width: 699px) { .ne-map--wide { display: none; } .ne-map--tall { display: block; } }
/* The first extra place is the North Sea: a name on the water, without a dot */
.ne-map svg > circle.lm-place:nth-of-type(2) { display: none; }
.ne-map svg > text:nth-of-type(1) { font-style: italic; letter-spacing: .14em; fill: var(--ink-soft); font-weight: 500; }

/* Does solar work this far north? Joint highest over lowest */
.ne-league { display: grid; gap: 20px; }
@media (min-width: 900px) { .ne-league { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 24px; } }
.ne-tier { border-radius: var(--ak-radius); padding: clamp(24px, 3.2vw, 44px); }
.ne-tier--top { border: 3px solid transparent; box-shadow: var(--ak-lift);
  background: url("../sun-arc.svg") right -170px top -190px / 360px 360px no-repeat padding-box, linear-gradient(var(--paper), var(--paper)) padding-box, var(--ak-sun) border-box; }
.ne-tier--low { background: var(--sky); }
.ne-tier-k { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--ak-sun); font-weight: 600; font-size: .9375rem; }
.ne-fig { margin: 18px 0 0; font: 500 clamp(4.5rem, 2.6rem + 6.4vw, 8.5rem)/.9 var(--display); letter-spacing: -0.045em; color: var(--ink); }
.ne-fig small { margin-right: .08em; font: 500 clamp(1.375rem, 1rem + 1.2vw, 2rem)/1 var(--display); letter-spacing: -0.01em; color: var(--ink-soft); }
.ne-fig--word { margin-top: 0; font-size: clamp(3rem, 2rem + 3.6vw, 5rem); letter-spacing: -0.03em; color: var(--ink-soft); }
.ne-regions { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.ne-regions li { padding: 6px 14px; border-radius: 999px; background: var(--sky); font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.ne-regions li.ne-regions-here { background: var(--ak-sun); }
.ne-tier-label { margin-top: 18px; max-width: 34rem; color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.ne-tier-src { margin-top: 8px; font-size: .875rem; color: var(--ink-soft); }
.ne-load { margin-top: 24px; }
.ne-load p { font-size: 1.0625rem; }

/* Where we install: the places as cards, the miles first */
.ne-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ne-place { position: relative; grid-column: span 2; display: flex; flex-direction: column; padding: 22px 24px 24px; border-radius: 18px; background: var(--paper); box-shadow: var(--ak-shadow); transition: box-shadow .2s ease; }
.ne-place:nth-child(-n+2) { grid-column: span 3; }
.ne-place-miles { order: 1; display: flex; align-items: baseline; gap: 6px; color: var(--ink-soft); font-weight: 500; }
.ne-place-miles strong { font: 500 clamp(2.5rem, 2rem + 1.4vw, 3.25rem)/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.ne-place-name { order: 2; margin-top: 14px; font: 500 1.375rem/1.25 var(--display); color: var(--ink); text-decoration: none; }
a.ne-place-name::after { content: "\00a0\2192"; color: var(--sun-coral); }
a.ne-place-name::before { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.ne-place:has(a:hover) { box-shadow: 0 0 0 2px var(--sun-coral), var(--ak-shadow); }
.ne-place-note { order: 3; margin-top: 6px; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.ne-place--nopage { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@media (max-width: 899px) { .ne-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ne-place, .ne-place:nth-child(-n+2) { grid-column: span 1; } .ne-place:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ne-places { grid-template-columns: minmax(0, 1fr); } .ne-place:last-child { grid-column: auto; } }

/* Planning: Durham's World Heritage Site beside the rules */
.ne-planning-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .ne-planning-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 88px); align-items: center; } }
.ne-planning .ak-ticks--cards { margin-top: 18px; }
.ne-planning-side { display: grid; gap: 16px; }
.ne-whs { padding: clamp(24px, 3vw, 34px); border-radius: var(--ak-radius); border: 3px solid transparent; box-shadow: var(--ak-shadow);
  background: url("../sun-arc.svg") right -150px top -170px / 300px 300px no-repeat padding-box, linear-gradient(var(--paper), var(--paper)) padding-box, var(--ak-sun) border-box; }
.ne-whs .ak-ring { margin-bottom: 18px; }
.ne-whs-k { font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.ne-whs-name { margin-top: 4px; font: 500 clamp(1.625rem, 1.3rem + 1vw, 2.125rem)/1.15 var(--display); letter-spacing: -0.01em; }
.ne-a4 { padding: 22px 24px; border-radius: var(--ak-radius); background: var(--sky); }
.ne-a4-k { margin-bottom: 12px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.ne-a4 .ak-chips span { box-shadow: 0 6px 16px -12px rgba(38, 40, 42, .4); }

/* Councils */
.ne-councils-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ne-councils-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 5vw, 80px); align-items: center; } }
.ne-councils-head .ak-ring--lg { margin-bottom: 18px; }
.ne-council-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 700px) { .ne-council-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ne-council-cards li { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--ak-radius); background: var(--paper); box-shadow: var(--ak-shadow); border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--sun-coral), var(--sun-amber)) 1; }
.ne-council-cards p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }
.ne-council-cards strong { display: block; margin-bottom: 10px; font: 500 1.375rem/1.25 var(--display); color: var(--ink); }

/* Grants: the schemes as cards, the closed one dashed */
.ne-schemes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 800px) { .ne-schemes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ne-scheme { display: flex; flex-direction: column; padding: 24px 26px; border-radius: var(--ak-radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
.ne-scheme-tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--ak-sun); font-weight: 600; font-size: .875rem; }
.ne-scheme h3 { margin-top: 16px; font-size: 1.375rem; }
.ne-scheme p { margin-top: 8px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }
.ne-groupbuy { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 18px 24px; border-radius: 16px; border: 1.5px dashed var(--line-strong); }
.ne-groupbuy p { color: var(--ink-soft); line-height: 1.55; }
.ne-groupbuy-tag { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--sky); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 560px) { .ne-groupbuy { flex-direction: column; align-items: flex-start; gap: 10px; } }
.ne-grant-note { margin-top: 18px; }

/* How we work at this distance */
.ne-journey { margin: 4px 0 36px; padding: 22px 30px; }
.ne-journey .ak-journey-end { font-size: 1.125rem; }
@media (max-width: 560px) {
  .ne-journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; padding: 18px 20px; border-radius: 20px; }
  .ne-journey .ak-journey-line { grid-column: 1 / -1; grid-row: 2; margin: 4px 6px 6px; }
  .ne-journey .ak-journey-end--to { justify-content: flex-end; }
}
.ne-distance-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .ne-distance-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(48px, 6vw, 88px); align-items: center; } }
.ne-distance-text { color: var(--ink); font-size: 1.1875rem; line-height: 1.65; }
@media (max-width: 799px) { .area-north-east .ak-related--cards .related { grid-template-columns: minmax(0, 1fr); } }
