:root {
  --bg: #ffffff;
  --fg: #1d2329;
  --muted: #5f6b76;
  --line: #e3e6ea;
  --panel: #f5f7f9;
  --accent: #1f6fb2;
  --shadow: 0 4px 18px rgba(0, 0, 0, .12);
  --topbar-h: 56px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12171c;
    --fg: #e4e8ec;
    --muted: #9aa6b1;
    --line: #2a333b;
    --panel: #1a2128;
    --accent: #6cb2ee;
    --shadow: 0 4px 18px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
small { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  height: var(--topbar-h);
  display: grid; align-items: center; gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 620px) minmax(0, 1fr);
  grid-template-areas: "brand search actions";
  padding: 0 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand { grid-area: brand; justify-self: start; font-weight: 700; color: var(--fg); text-decoration: none; white-space: nowrap; }
.search { grid-area: search; position: relative; width: 100%; }
.topbar-actions { grid-area: actions; justify-self: end; display: flex; align-items: center; gap: 12px; }
.search input {
  width: 100%; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--fg); font: inherit;
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 4px 0; list-style: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); max-height: 60vh; overflow-y: auto;
}
.search-results li {
  display: grid; grid-template-columns: 4.5em 1fr; column-gap: 8px;
  padding: 6px 12px; cursor: pointer;
}
.search-results li.active, .search-results li:hover { background: var(--panel); }
.search-results li.empty { display: block; color: var(--muted); cursor: default; }
.search-results .code { font-weight: 700; font-family: ui-monospace, Consolas, monospace; grid-row: span 2; }
.search-results .where { color: var(--muted); font-size: 13px; }
.langs { display: flex; gap: 8px; }
.langs a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 13px; }
.langs a[aria-current] { color: var(--fg); }

/* ---- Map page ---- */
.page-map main { position: relative; }
.map { height: calc(100vh - var(--topbar-h)); height: calc(100dvh - var(--topbar-h)); width: 100%; }
/* The start page carries words now, so the footer -- and the licences in it, GeoNames
   asks for its credit by name -- belongs on it like on every other page. */
.legend {
  position: absolute; left: 12px; bottom: 36px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: calc(100% - 24px);
  padding: 6px 10px; border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  font-size: 12px; box-shadow: var(--shadow);
}
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.large_airport { background: #d7263d; }
.dot.medium_airport { background: #f46036; }
.dot.small_airport { background: #2e86ab; }
.dot.heliport { background: #8e44ad; }
.dot.seaplane_base { background: #16a085; }
.dot.closed { background: #8a8a8a; }
.map-note {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
  margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--bg); box-shadow: var(--shadow); font-size: 13px; color: var(--muted);
}
.popup strong { display: block; font-size: 14px; }
.popup-meta { font-family: ui-monospace, Consolas, monospace; color: #555; margin: 2px 0 6px; }
.maplibregl-popup-content { color: #1d2329; }

/* The basemap switcher: one round button with the layers mark, and the list it opens. White
   whatever the page's theme, like the map's own controls, because it sits on top of a pale
   drawn map and of dark satellite imagery alike. */
.basemap-ctrl { position: relative; }
.basemap-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: #1d2329;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3); cursor: pointer;
}
.basemap-toggle svg { width: 22px; height: 22px; }
.basemap-toggle:hover { background: #f2f5f8; }
.basemap-toggle[aria-expanded="true"] { background: #e7eff7; }
.basemap-menu {
  position: absolute; top: 48px; right: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 2px; min-width: 168px; padding: 8px;
  border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
}
.basemap-menu[hidden] { display: none; }
.basemap-menu button {
  border: 0; background: transparent; color: #1d2329; cursor: pointer;
  font: inherit; font-size: 14px; text-align: left; white-space: nowrap;
  padding: 9px 12px; border-radius: 9px;
}
.basemap-menu button:hover { background: rgba(0, 0, 0, .06); }
/* The chosen one is blue whatever the page's theme, and stays blue under the mouse. */
.basemap-menu button[aria-checked="true"],
.basemap-menu button[aria-checked="true"]:hover { background: #1f6fb2; color: #fff; }
/* The kinds row owns the top of the start page, so the map's own controls begin below it. */
.page-map .maplibregl-ctrl-top-right { top: 44px; }

/* ---- Content pages ---- */
.content { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
.crumbs { font-size: 13px; color: var(--muted); }
.airport h1 { margin: 8px 0 4px; font-size: 28px; line-height: 1.25; }
.lead { color: var(--muted); margin: 0 0 24px; }
.badge {
  display: inline-block; padding: 1px 8px; margin-right: 6px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #fff; background: #555;
}
.badge.large_airport { background: #d7263d; }
.badge.medium_airport { background: #f46036; }
.badge.small_airport { background: #2e86ab; }
.badge.heliport { background: #8e44ad; }
.badge.seaplane_base { background: #16a085; }
.badge.closed { background: #8a8a8a; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
h2 { font-size: 18px; margin: 28px 0 8px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: var(--panel); }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.closed td { color: var(--muted); text-decoration: line-through; }
.links { padding-left: 20px; }
.footer {
  max-width: 960px; margin: 0 auto; padding: 16px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}

@media (max-width: 800px) {
  :root { --topbar-h: 108px; }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 44px 40px;
    grid-template-areas: "brand actions" "search search";
    gap: 8px 12px;
    padding-block: 8px;
  }
}

@media (max-width: 600px) {
  .brand { font-size: 0; }
  .brand::first-letter { font-size: 20px; }
  .brand-symbol { font-size: 20px; }
  .legend { display: none; }
  .airport h1 { font-size: 22px; }
}

/* ---- Airport page: the paragraph, the other names, the neighbours ---- */
.paragraph { margin: 0 0 8px; max-width: 70ch; }
.aka { margin: 0 0 20px; color: var(--muted); font-size: 13px; max-width: 70ch; }
.nearby { list-style: none; padding: 0; margin: 0; }
.nearby li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.nearby .code {
  font-family: ui-monospace, Consolas, monospace; font-weight: 700;
  font-size: 12px; margin-left: 6px; color: var(--muted);
}
.nearby .where { color: var(--muted); font-size: 13px; margin-left: 6px; }
.links.maps { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; }

/* ---- One button per thing in the top bar, instead of thirty-five links ---- */
.pop { position: relative; flex: 0 0 auto; }
.pop > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--fg); white-space: nowrap;
}
.pop > summary::-webkit-details-marker { display: none; }
.pop.langs > summary span { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
.pop.langs > summary::after { content: "▾"; color: var(--muted); }
.pop.menu > summary { font-size: 18px; padding: 0 13px; }
.pop[open] > summary { border-color: var(--accent); color: var(--accent); }
.pop .panel {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  width: min(320px, calc(100vw - 24px));
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px;
}
.panel-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 8px; }
.panel-head b { font-size: 14px; }
.panel-head .x {
  margin-left: auto; min-width: 44px; min-height: 44px;
  border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer;
}
.lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: 60vh; overflow-y: auto; }
.lang-list a, .menu-list a {
  display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  border-radius: 8px; text-decoration: none; color: var(--fg); font-size: 14px;
}
.lang-list a:hover, .menu-list a:hover { background: var(--panel); }
.lang-list a[aria-current] { color: var(--accent); font-weight: 600; }
.menu-list { display: flex; flex-direction: column; }
@media (max-width: 620px) {
  /* A sheet along the bottom edge, where a thumb is, rather than a menu by the ear. */
  .pop .panel {
    position: fixed; inset: auto 0 0 0; width: auto;
    border-radius: 14px 14px 0 0; border-bottom: 0; padding: 10px 12px 18px;
  }
  .pop.langs > summary span { max-width: 6ch; }
}

/* ---- The start page: the map, what it draws, and something to read under it ---- */
.mapwrap { position: relative; }
.page-map .map { height: calc(100svh - var(--topbar-h) - 52px); min-height: 320px; }
.kinds {
  position: absolute; z-index: 4; left: 10px; top: 10px; right: 10px;
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}
.kinds::-webkit-scrollbar { display: none; }
.kind {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 11px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
  font-size: 13px; cursor: pointer; box-shadow: var(--shadow);
}
.kind input { position: absolute; opacity: 0; width: 0; height: 0; }
.kind:has(input:checked) { color: var(--fg); border-color: var(--accent); }
.kind input:focus-visible + .dot { outline: 2px solid var(--accent); outline-offset: 2px; }
.start { padding-top: 6px; }
.totals { color: var(--muted); font-size: 14px; margin: 10px 0 18px; }
.totals b { color: var(--fg); font-size: 16px; }
.countries { list-style: none; margin: 0; padding: 0;
  display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.countries a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px;
  border-radius: 8px; text-decoration: none; color: var(--fg); border: 1px solid transparent;
}
.countries a:hover { background: var(--panel); border-color: var(--line); }
.cnum { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- The airport page: the numbers first, the map on the spot, the tables folded ---- */
.content.airport { max-width: 1680px; padding-inline: clamp(16px, 2.5vw, 40px); }
.page-airport .footer { max-width: 1680px; padding-inline: clamp(16px, 2.5vw, 40px); }
.airport h1 { font-size: clamp(22px, 5vw, 30px); line-height: 1.2; margin: 6px 0 4px; }
.airport .lead { margin: 0 0 14px; color: var(--muted); }
.facts {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
}
.facts li {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
  background: var(--panel); display: flex; flex-direction: column; gap: 1px; min-width: 0;
}
.flabel { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fvalue { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
iframe.airport-map {
  display: block; width: 100%; height: clamp(420px, 60vh, 720px);
  border: 1px solid var(--line); border-radius: 12px;
  margin: 0 0 16px; background: var(--card, transparent);
}
@media (max-width: 600px) {
  iframe.airport-map { height: clamp(320px, 52vh, 480px); }
}
.airport .paragraph { margin: 0 0 8px; }
details.fold { border-top: 1px solid var(--line); padding: 2px 0; }
details.fold > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  min-height: 48px; user-select: none;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { font-size: 17px; margin: 0; }
details.fold > summary::after { content: "▾"; color: var(--muted); margin-left: auto; transition: transform .15s; }
details.fold[open] > summary::after { transform: rotate(180deg); }
details.fold > summary .cnum { margin-left: 0; }
.nearby .code { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.tail { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.tail h2 { font-size: 17px; }
.coords { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 8px 0 14px; }
.coords dt { color: var(--muted); font-size: 14px; }
.coords dd { margin: 0; }
.coords small { color: var(--muted); display: block; }

/* Airport layout: the information beside the satellite map, resources below the map. */
.page-airport {
  --bg: #f5f2eb; --fg: #302c29; --muted: #827b72;
  --line: #e2ddd4; --panel: #fcfbf8; --accent: #aa572b; --topbar-h: 76px;
}
.page-airport .topbar { padding-inline: 36px; }
.page-airport .brand { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.page-airport .brand-symbol {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px;
}
.page-airport .pop > summary { border-radius: 8px; background: transparent; }
.page-airport .search input { background: transparent; border-radius: 9px; }
.content.airport { max-width: 1600px; padding-top: 32px; }
.page-airport .footer { max-width: 1600px; font-size: 12px; }
.airport .crumbs { margin-bottom: 24px; font-size: 12px; }
.airport .crumbs a { color: var(--muted); text-decoration: none; }
.airport .crumbs a:hover { text-decoration: underline; }
.airport-feature { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 38px; }
.airport-intro { min-width: 0; }
.airport h1 {
  font: 400 clamp(32px, 3.2vw, 46px)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em; overflow-wrap: anywhere; margin: 0 0 18px;
}
.airport .lead { font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.airport .badge { background: transparent; color: var(--accent); padding: 0; display: block; margin: 0 0 5px; }
.airport-codes { display: flex; gap: 20px; margin: 0 0 28px; }
.airport-codes > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.airport-codes small { display: block; font-size: 10px; letter-spacing: .1em; }
.airport-codes b { font: 600 19px/1.5 ui-monospace, Consolas, monospace; }
.airport .facts {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px;
  border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 22px;
}
.airport .facts li { background: none; border: 0; border-radius: 0; padding: 0; gap: 6px; }
.airport .flabel { font-size: 10px; white-space: normal; overflow: visible; }
.airport .fvalue { font-size: 19px; }
.airport .paragraph { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.airport .aka { font-size: 11px; margin-top: 14px; }
.airport-visual { min-width: 0; }
.airport-map-shell { position: relative; }
.airport iframe.airport-map { height: clamp(480px, 66vh, 720px); margin: 0; border-radius: 4px; }
.airport-map-switch {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  display: flex; gap: 3px; padding: 3px; border-radius: 22px;
  background: var(--panel); box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.airport-map-switch[hidden] { display: none; }
.airport-map-switch button {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 0; border-radius: 50%; padding: 0;
  background: transparent; color: var(--fg); font: inherit; font-size: 12px; cursor: pointer;
}
.airport-map-switch button[aria-pressed="true"] { background: var(--fg); color: var(--panel); }
.airport-map-switch svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.airport-map-location {
  position: absolute; left: 16px; bottom: 68px; max-width: calc(100% - 32px);
  padding: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.airport-map-location svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.coordinate-control > summary { display: flex; align-items: center; justify-content: center; list-style: none; padding: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.coordinate-control > summary::-webkit-details-marker { display: none; }
.coordinate-control > summary svg { width: 18px; height: 18px; }
.coordinate-control > summary:hover, .coordinate-control[open] > summary { background: var(--bg); }
.coordinate-panel { position: absolute; bottom: calc(100% + 8px); left: 0; width: min(280px, calc(100vw - 64px)); padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.coordinate-formats { display: flex; gap: 5px; margin: 0 0 8px; }
.coordinate-formats[hidden], .coordinate-copy[hidden] { display: none; }
.coordinate-formats button, .coordinate-copy { border: 1px solid var(--line); background: transparent; color: var(--fg); border-radius: 4px; font: inherit; font-size: 12px; padding: 7px 10px; min-height: 36px; cursor: pointer; }
.coordinate-formats button[aria-pressed="true"] { background: var(--fg); color: var(--panel); border-color: var(--fg); }
.coordinate-value { display: block; width: 100%; margin: 0 0 8px; padding: 8px 0; border: 0; background: transparent; color: var(--fg); font: 13px/1.5 ui-monospace, Consolas, monospace; }
.coordinate-copy { color: var(--accent); }
.coordinate-status { display: block; font-size: 11px; color: var(--muted); }
.coordinate-control button:focus-visible, .coordinate-control summary:focus-visible, .coordinate-value:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.coordinate-nojs { margin: 8px 0 0; font: 12px ui-monospace, Consolas, monospace; }
.airport-map-switch button:focus-visible, .airport-resources a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.airport-resources { display: flex; flex-wrap: wrap; gap: 9px; padding: 19px 0 0; }
.airport-resources a {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 5px; background: var(--panel);
  color: var(--fg); text-decoration: none; font-size: 12px;
}
.airport-resources a:hover { border-color: var(--accent); color: var(--accent); }
.airport-resources .resource-icon { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.5; flex-shrink: 0; }
.external-arrow { color: var(--muted); margin-inline-start: 5px; }
.airport-weather { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.airport-weather-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.airport-weather h2 { margin: 0 0 5px; font: 400 23px/1.35 Georgia, "Times New Roman", serif; }
.airport-weather p { margin: 0; font-size: 12px; color: var(--muted); }
.weather-provider { font-size: 12px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.weather-provider:hover { text-decoration: underline; }
.airport-weather-frame { display: block; width: 100%; height: 187px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.airport-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 36px; }
.airport-details > * { min-width: 0; align-self: start; }
.airport-details details.fold > summary h2, .airport .tail h2 { font: 400 24px/1.4 Georgia, "Times New Roman", serif; }
.airport-details th { background: transparent; font-size: 12px; font-weight: 400; }
.airport-details td { padding-block: 12px; font-size: 13px; }
.airport .tail { margin-top: 0; }
.airport .coords { font-size: 13px; }
@media (max-width: 1100px) {
  .airport-feature { grid-template-columns: 280px minmax(0, 1fr); gap: 26px; }
  .page-airport .topbar { padding-inline: 20px; }
}
@media (max-width: 800px) {
  .page-airport { --topbar-h: 108px; }
  .page-airport .topbar { padding-inline: 16px; }
  .page-airport .brand { font-size: 13px; gap: 7px; }
  .page-airport .brand-symbol { width: 28px; height: 28px; font-size: 17px; }
  .airport-feature, .airport-details { grid-template-columns: 1fr; gap: 24px; }
  .airport-feature { display: flex; flex-direction: column; gap: 0; }
  .airport-intro { display: contents; }
  .airport-intro h1 { order: 1; }
  .airport-intro .lead { order: 2; }
  .airport-codes { order: 3; }
  .airport-intro .facts { order: 4; }
  .airport-visual { order: 5; margin-bottom: 24px; }
  .airport-intro .paragraph { order: 6; border-top: 0; padding-top: 0; }
  .airport-intro .aka { order: 7; }
  .airport .facts { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .airport iframe.airport-map { height: clamp(380px, 60vh, 560px); }
  .airport-map-switch { top: 12px; right: 12px; }
  .content.airport { padding-top: 12px; }
  .airport .crumbs { margin-bottom: 10px; font-size: 11px; }
  .airport h1 { font-size: 23px; line-height: 1.15; margin-bottom: 6px; }
  .airport .lead { font-size: 11px; line-height: 1.55; margin-bottom: 10px; }
  .airport .badge { display: inline; margin: 0 7px 0 0; font-size: 11px; }
  .airport-data-strip { order: 3; border-top: 1px solid var(--line); padding-top: 9px; margin-bottom: 12px; }
  .airport-codes { gap: 12px; margin-bottom: 8px; }
  .airport-codes > div { display: flex; align-items: baseline; gap: 6px; }
  .airport-codes > div + div { padding-inline-start: 12px; }
  .airport-codes small { font-size: 10px; }
  .airport-codes b { font-size: 14px; }
  .airport .facts { grid-template-columns: 1fr 1fr; gap: 5px 12px; padding: 0; margin: 0; border: 0; }
  .airport .facts li { flex-direction: row; align-items: baseline; gap: 7px; }
  .airport .flabel { font-size: 10px; text-transform: none; letter-spacing: 0; }
  .airport .fvalue { font-size: 13px; flex-shrink: 0; }
  .airport iframe.airport-map { height: 440px; }
}
