/* Scoped pilot styles: existing public pages keep their own CSS unchanged. */
.city-page { background:#f7f8f6; color:#152a2f; }
.city-page main { max-width:1100px; margin:0 auto; padding:28px 20px 48px; display:grid; gap:24px; }
.city-page h1 { font-size:clamp(28px,4.4vw,44px); line-height:1.15; margin:4px 0 0; }
.city-page h2 { font-size:22px; margin:0 0 12px; color:#1e6e63; }
.city-page .kicker { color:#1e6e63; }
.city-page main a { color:#1b6557; text-decoration:underline; text-underline-offset:3px; }
.city-page .city-answer { font-size:19px; line-height:1.55; max-width:75ch; }
.city-page p { margin:0 0 12px; }
.city-page figure { margin:0; background:#fff; border:1px solid #d6dfdc; border-radius:14px; overflow:hidden; }
.city-page figure img { display:block; width:100%; height:auto; }
.city-page figcaption { padding:12px 16px; color:#52675f; font-size:14px; line-height:1.5; }
.city-page .city-peaks { list-style:none; margin:0; padding:0; max-width:760px; }
.city-page .city-peaks > li { padding:12px 0; border-bottom:1px solid #d6dfdc; }
.city-page .city-peak-row { display:flex; justify-content:space-between; gap:12px; }
.city-page .city-peak-row a { color:#152a2f; font-weight:650; }
.city-page .city-peak-row span { color:#52675f; text-align:right; }
.city-page details { margin-top:10px; color:#52675f; font-size:14px; line-height:1.55; }
.city-page summary { cursor:pointer; color:#1b6557; }
.city-page details p { margin:8px 0; }
.city-page .city-limits, .city-page .city-method { color:#52675f; line-height:1.6; max-width:80ch; }
.city-page a:focus-visible, .city-page summary:focus-visible { outline:3px solid #1b6557; outline-offset:4px; }
.city-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.city-card { min-width:0; overflow:hidden; border:1px solid #d6dfdc; border-radius:14px; background:#fff; }
.city-card > img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; background:#e5e9e7; }
.city-card > div { padding:20px; line-height:1.6; }
.city-page .city-card h3 { font-size:22px; margin:0 0 10px; color:#1e6e63; }
.city-page .city-region { margin:34px 0 16px; }
.city-observer { display:grid; gap:6px; padding:16px 20px; border-left:4px solid #1b6557; border-radius:8px; background:#fff; line-height:1.5; }
.city-observer > strong { color:#1b6557; }
.city-observer-coordinates { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.city-page .city-editorial { max-width:80ch; line-height:1.65; }
.city-summit-altitude { white-space:nowrap; }
.city-map-frame { position:relative; }
.city-map-links { position:absolute; inset:0; display:block; width:100%; height:100%; pointer-events:none; }
.city-map-links-mobile { display:none; }
.city-map-link { pointer-events:all; cursor:pointer; }
.city-map-hit { fill:transparent; stroke:none; }
.city-map-link:hover .city-map-hit,.city-map-link:focus-visible .city-map-hit { stroke:#152a2f; stroke-width:2px; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 2px #fff); }
.city-page .city-map-link:focus-visible { outline:none; }
.city-calculator-cta { padding:24px; border:1px solid #b8cec4; border-radius:14px; background:#eaf2ee; line-height:1.6; }
.city-page a.city-calculator-link { display:inline-block; padding:12px 18px; border-radius:8px; background:#173f3b; color:#fff; font-weight:700; }
.city-featured-calculation { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:4px 0 22px; line-height:1.5; }
@media(max-width:850px) { .city-card-grid { grid-template-columns:1fr; } }
@media(max-width:600px) {
  .city-map-links-desktop { display:none; }
  .city-map-links-mobile { display:block; }
  .city-page main { padding:22px 16px 40px; gap:20px; }
  .city-page .topbar { flex-wrap:wrap; gap:12px; }
  .city-page .city-peak-row { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; }
  .city-page .city-peak-row > span { text-align:left; }
  .city-page .city-answer { font-size:18px; }
}
/* Scale bar over the fixed map image (user, 26 November 2026). */
.city-map-frame .map-scale { position:absolute; left:10px; bottom:10px; box-sizing:border-box; padding:0 5px; border:2px solid #26332e; border-top:0; background:rgba(255,255,255,.92); color:#1f2a26; font:600 12px/1.5 system-ui,sans-serif; white-space:nowrap; pointer-events:none; }
.city-map-scale-mobile { display:none; }
@media(max-width:600px) { .city-map-scale-desktop { display:none; } .city-map-scale-mobile { display:block; } }
/* City page follow-up (user, 2 December 2026): texts use the full width, the
   whole summit row opens its calculation and hidden summits have their own
   section. */
.city-page .city-editorial, .city-page .city-limits, .city-page .city-method { max-width:none; }
.city-page .city-peaks > li, .city-page .city-hidden-peaks > li { position:relative; }
.city-page .city-peak-row a::after, .city-page .city-hidden-peaks > li > a:first-child::after { content:""; position:absolute; inset:0; }
.city-page .city-peaks > li:hover, .city-page .city-hidden-peaks > li:hover { background:#eef3f1; }
.city-page .city-hidden-peaks { list-style:none; margin:0; padding:0; max-width:760px; color:#3f5550; line-height:1.5; }
.city-page .city-hidden-peaks > li { padding:12px 0; border-bottom:1px solid #d6dfdc; }
.city-page .city-hidden-peaks > li > a:first-child { color:#152a2f; font-weight:650; }
.city-page .city-hidden-peaks > li > a:not(:first-child) { position:relative; z-index:1; }
/* Introduction beside the observation point, as on the summit pages (user,
   2 December 2026): name and coordinates only, notes in the practical section. */
.city-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.45fr); gap:48px; align-items:end; }
.city-hero-copy { min-width:0; }
.city-hero-copy h1 { margin-bottom:18px; }
.city-hero-copy .city-editorial { margin:0; }
.city-identity { display:grid; grid-template-columns:76px 1fr; gap:16px 18px; align-items:center; padding:20px; border:1px solid #d6dfdc; border-radius:12px; background:#fff; }
.city-identity-symbol { grid-row:1/3; display:grid; place-items:center; width:76px; height:76px; border-radius:50%; background:#e8f3f0; }
.city-identity-symbol svg { width:58px; fill:none; stroke:#278f81; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.city-identity strong, .city-identity > div > span { display:block; }
.city-identity strong { font-size:1.05rem; line-height:1.3; }
.city-page .city-identity strong a { color:#223b39; }
.city-identity > div > span { margin-top:4px; color:#5f6d69; font-size:.8rem; }
.city-identity dl { margin:0; }
.city-identity dt { color:#5f6d69; font-size:.68rem; font-weight:650; text-transform:uppercase; letter-spacing:.08em; }
.city-identity dd { margin:5px 0 0; color:#2b4541; font-size:.85rem; font-weight:700; line-height:1.45; }
@media(max-width:850px) {
  .city-hero { grid-template-columns:1fr; gap:22px; }
  .city-identity { max-width:520px; }
}
@media(max-width:600px) {
  .city-identity { grid-template-columns:58px 1fr; padding:16px; }
  .city-identity-symbol { width:58px; height:58px; }
  .city-identity-symbol svg { width:44px; }
}
