html, body {
      margin: 0;
      height: 100%;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      color: #111827;
      background: #ffffff;
    }

    

.site-brand {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 11;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-logo {
  height: 24px;
  width: auto;
  display: block;
}

.site-logo text {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  fill: #111827;
}

/* Keep the same two-column proportions across desktop resolutions (like 2560x1440). */
.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(420px, 28vw, 780px);
  height: 100vh;
}

    .map-wrap { position: relative; }
    #map { position: absolute; inset: 0; }

    .maplibregl-ctrl-attrib {
      font-size: 10px;
      line-height: 1.2;
      padding: 2px 6px;
      opacity: 0.85;
    }

    .maplibregl-ctrl-attrib-button {
      width: 24px;
      height: 24px;
    }

    .maplibregl-ctrl-attrib:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-inner {
      display: none;
    }


    .content {
      overflow-y: auto;
      border-left: 1px solid #d1d5db;
      background: #ffffff;
    }

    .inner {
      max-width: 680px;
      padding: 32px;
      margin-left: auto;
    }

    .crumbs {
      font-size: 14px;
      color: #6b7280;
      margin-bottom: 12px;
    }

    .crumbs a {
      color: #111827;
      text-decoration: none;
    }

    .crumbs span { margin: 0 6px; }

    h1 {
      font-size: 30px;
      margin: 0 0 10px;
    }

    h2 {
      font-size: 20px;
      margin: 0 0 10px;
    }

    h3 {
      font-size: 17px;
      margin: 18px 0 8px;
    }

    .lede {
      font-size: 18px;
      color: #374151;
      margin: 0 0 22px;
    }

    .data-table {
      width: 100%;
      border-collapse: collapse;
      margin: 12px 0 6px;
      font-size: 16px;
    }

    .data-table th,
    .data-table td {
      border-bottom: 1px solid #e5e7eb;
      padding: 10px 6px;
      text-align: left;
    }

    .data-table th:not(:first-child),
    .data-table td:not(:first-child) {
      text-align: center;
    }

    .data-table th {
      font-size: 14px;
      font-weight: 700;
      color: #111827;
      letter-spacing: 0.2px;
    }

    .section {
      margin-bottom: 24px;
    }

    .facts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px 24px;
      margin: 0;
    }

    .facts div { margin: 0; }
    .facts dt {
      font-size: 14px;
      font-weight: 600;
      color: #111827;
    }
    .facts dd {
      margin: 4px 0 0;
      font-size: 16px;
      color: #374151;
    }

    .small {
      font-size: 15px;
      color: #374151;
      line-height: 1.6;
    }

    .note {
      font-size: 14px;
      color: #6b7280;
      margin: 6px 0 0;
    }

    details summary {
      font-weight: 600;
      cursor: pointer;
    }

    details[open] summary {
      margin-bottom: 10px;
    }

    ul {
      margin: 10px 0 18px;
      padding-left: 18px;
      color: #374151;
      font-size: 16px;
    }

    li { margin-bottom: 6px; }

    .lang-list {
      margin: 0;
      padding: 0;
      list-style: none;
      font-size: 15px;
      color: #374151;
      text-align: center;
    }
    .lang-list li { margin-bottom: 4px; }

    .contact a { color: #111827; }

    .back-link {
      display: inline-block;
      margin-top: 6px;
      color: #111827;
      text-decoration: none;
      font-weight: 600;
    }

    @media (max-width: 1200px) {
      .page {
        grid-template-columns: 1fr;
        /* Neighbourhood pages include inline grid row sizing; force auto rows to avoid mobile blank space. */
        grid-template-rows: unset !important;
        height: auto;
      }

      .map-wrap {
        min-height: 420px !important;
        height: 50vh !important;
      }

      .content {
        border-left: none;
        border-top: 1px solid #d1d5db;
      }
    }

    @media (max-width: 720px) {
      .page {
        /* Ensure inline neighbourhood CSS cannot re-introduce fixed row heights. */
        grid-template-rows: unset !important;
      }

      .map-wrap {
        height: 40vh !important;
        min-height: 420px !important;
      }

      .inner {
        padding: 20px;
      }

      .facts {
        grid-template-columns: 1fr;
      }

      .data-table {
        display: block;
        overflow-x: auto;
      }

      .data-table th,
      .data-table td {
        padding: 8px;
      }
    }
  
