/* The site's header and footer, the same on every page (How it works, About and Map carry the same rules inline). */
header.top { flex: none; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 500 19px var(--display); white-space: nowrap; }
header.top .brand svg { height: 26px; width: auto; }
header.top .brand > span { position: relative; top: .11em; }  /* Newsreader's capitals ride high in their line: centred on the mark's bars */
header.top .this-word { color: var(--this); } header.top .that-word { color: var(--that); }
header.top nav { display: flex; align-items: center; }
header.top nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font: 15px var(--body); white-space: nowrap; }
header.top nav a:hover, header.top nav a[aria-current="page"] { color: var(--ink); }
header.top nav a.cta { color: var(--this); font-weight: 700; }
header.top .navmenu { display: none; position: relative; margin: 0 0 0 12px; padding: 0; border: 0; background: none; }
header.top .navmenu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; color: var(--ink); }
header.top .navmenu summary::-webkit-details-marker { display: none; }
header.top .navmenu summary:hover, header.top .navmenu[open] summary { background: var(--line); }
header.top .navmenu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
header.top .navpanel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; display: grid; background: var(--surface); border: 1px solid var(--line);
            border-radius: 14px; padding: 6px; box-shadow: 0 12px 28px rgba(15,26,46,.2); z-index: 20; }
header.top nav .navpanel a { margin: 0; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-size: 16px; }
header.top nav .navpanel a:hover { background: var(--bg); }
@media (max-width: 720px) { header.top nav > a:not(.cta) { display: none; } header.top .navmenu { display: block; }
  header.top nav a.cta { background: var(--this); color: var(--bg); padding: 7px 14px; border-radius: 99px; font-size: 14px; } header.top nav a.cta .arr { display: none; } }
@media (max-width: 480px) { header.top .wrap { padding: 0 16px; } }
@media (max-width: 340px) { header.top .brand > span { display: none; } }  /* a folded foldable: the mark, Try it and the menu */
footer.site { border-top: 1px solid var(--line); padding: 30px 20px 44px; color: var(--muted); font: 14px/1.6 var(--body); }
footer.site .wrap { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; }
footer.site a { color: var(--muted); }
footer.site nav { display: block; min-width: 0; }  /* wraps between links (some pages make every nav a flex row) */
footer.site nav a { display: inline; margin: 0; padding: 0; font: inherit; color: var(--muted); white-space: nowrap; }  /* not the header's nav rules */
