/* THE SITE'S FOOTER (Tony, 6 Nov 2026): the home page's footer, on every page
   a signed-out reader can reach — About, Coverage, the Disruption Library,
   Help, Terms, Privacy and Subscriptions. One markup, one stylesheet, so the
   pages cannot drift apart again. `foot.js` hides the link to the page being
   read; Home is in the list and hidden on the home page.

   A dark band in every theme, like the home page's, so its colours are
   literal rather than the theme's tokens. */
.vfoot {
  background: #16242F; color: #C7D8E1;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; font-size: 0.92rem; line-height: 1.55;
  padding-top: 52px;
  padding-bottom: max(56px, calc(env(safe-area-inset-bottom, 0px) + 40px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.vfoot-inner { max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; }
.vfoot-lockup { height: 32px; width: auto; max-width: 100%; display: block; margin-bottom: 16px; }
.vfoot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.vfoot nav a { color: #EDF1F3; text-decoration: none; }
.vfoot nav a:hover { text-decoration: underline; }
.vfoot nav a[data-here] { display: none; }
.vfoot a:focus-visible { outline: 2.5px solid #EDF1F3; outline-offset: 3px; }
.vfoot p { margin: 0; color: inherit; }
.vfoot .vfoot-na { color: #EDF1F3; font-weight: 600; }

/* "Cookie settings" at the end of the footer's links, added by consent.js:
   a button (it opens the cookie bar, it goes nowhere) drawn as a link. */
.vfoot-cookies { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: #EDF1F3; cursor: pointer; }
.vfoot-cookies:hover { text-decoration: underline; }
.vfoot-cookies:focus-visible { outline: 2.5px solid #EDF1F3; outline-offset: 3px; }

/* THE COOKIE BAR (consent.js, 19 Nov 2026). The footer's dark band, pinned to
   the bottom until the reader chooses. Accept and Reject are the same size and
   weight: neither is the easy one (the ICO's guidance on consent). */
.vconsent {
  position: fixed; z-index: 2147483000; left: 0; right: 0; bottom: 0;
  background: #16242F; color: #C7D8E1; border-top: 1px solid #2E4452;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; font-size: 0.92rem; line-height: 1.5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.vconsent-text { margin: 0; max-width: 760px; flex: 1 1 320px; }
.vconsent-text a { color: #EDF1F3; }
.vconsent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.vconsent-btn {
  appearance: none; font: inherit; font-weight: 600; min-width: 104px; min-height: 40px; padding: 8px 18px;
  border-radius: 6px; border: 1.5px solid #EDF1F3; background: transparent; color: #EDF1F3; cursor: pointer;
}
.vconsent-btn:hover { background: #EDF1F3; color: #16242F; }
.vconsent-btn:focus-visible { outline: 2.5px solid #EDF1F3; outline-offset: 3px; }
@media print { .vconsent { display: none; } }
