/* The simple version (/lite) — see lite.js.
   Written for browsers that can't run the main site: the Xbox 360, Wii U,
   PlayStation 3, Internet Explorer, Opera Mini. So, deliberately, NONE of what
   app.css relies on: no custom properties (var()), no grid, no flex gap, no
   clamp(), no :focus-visible. Colours are the brand palette written out by hand
   and were checked at WCAG AA, same as the main site. Text is big by default —
   this page is as likely to be on a television as on a phone. */
html{font-size:100%}
body{margin:0;background:#fdfbf6;color:#201b22;font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  font-size:1.25em;line-height:1.6}
body.big{font-size:1.6em}
main,nav,header,footer{display:block}
/* Email addresses and URLs are one long word — let them break rather than
   push a phone screen sideways. word-wrap is the old name, for IE. */
body{word-wrap:break-word;overflow-wrap:break-word}
/* 40em, not 46. body is 1.25em (20px), so 46em ran to about 88 characters a
   line — over the 80 WCAG 1.4.8 asks for. Because the measure is in em it
   scaled with body.big too, so it was 88 characters at EVERY size setting;
   that is the one place on the site where the measure was wrong rather than
   simply missing. 40em leaves about 76. */
.wrap{max-width:40em;margin:0 auto;padding:0 1em}
a{color:#9a1358}
a:hover{color:#401e44}
a:focus{outline:4px solid #8a0040;outline-offset:2px}
h1,h2,h3{color:#401e44;line-height:1.2;margin:1.2em 0 .5em}
h1{font-size:1.7em}
h2{font-size:1.35em;border-top:4px solid #c0176a;padding-top:.6em;margin-top:1.6em}
h3{font-size:1.05em;margin:0 0 .25em}
h3 a{text-decoration:none}
h3 a:hover,h3 a:focus{text-decoration:underline}
.skip{position:absolute;left:.5em;top:-10em;background:#401e44;color:#fff;padding:.6em 1em;font-weight:bold}
.skip:focus{top:0;color:#fff}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;padding:0;margin:-1px}

.hd{background:#fff;border-bottom:4px solid #c0176a;padding:.6em 0 .8em}
.brand{margin:.2em 0;font-size:1.6em;font-weight:900}
.brand a{color:#5a2a5e;text-decoration:none}
.tag{margin:0 0 .5em;color:#4a444e;font-size:.85em}
.opts{margin:0 0 .5em;font-size:.9em}
.opts a,.nav a,.areas a,.areas strong{display:inline-block;margin:.15em .3em .15em 0;padding:.35em .8em;
  border:2px solid #5a2a5e;border-radius:1.2em;text-decoration:none;font-weight:bold}
.nav{list-style:none;margin:0;padding:0}
.nav li{display:inline}
.nav a[aria-current]{background:#5a2a5e;color:#fff}
.areas strong{background:#5a2a5e;color:#fff}

.stories{list-style:none;margin:0;padding:0}
.stories li{padding:.9em 0;border-bottom:1px solid #e6dfe8}
.meta{margin:0;color:#4a444e;font-size:.85em}
.extract{margin:.4em 0 0;padding-left:.7em;border-left:4px solid #bfe0de;color:#4a444e;font-style:italic}
.when{background:#fbf5d6;border:1px solid #ecdfa8;padding:.3em .6em}
.note{color:#4a444e}
p{margin:.4em 0}

.ft{background:#2b1430;color:#f3eef4;margin-top:2.5em;padding:1em 0 1.5em}
.ft a{color:#f4ef9b}

/* High contrast — the link-driven equivalent of the main site's theme. */
body.hc{background:#000;color:#fff}
body.hc .hd,body.hc .ft{background:#000;border-color:#fff}
body.hc h1,body.hc h2,body.hc h3,body.hc .brand a{color:#fff}
body.hc h2{border-top-color:#ff0}
body.hc a,body.hc .ft a{color:#ff0}
body.hc a:focus{outline-color:#ff0}
body.hc .tag,body.hc .meta,body.hc .extract,body.hc .note{color:#ff0}
body.hc .opts a,body.hc .nav a,body.hc .areas a,body.hc .areas strong{border-color:#fff}
body.hc .nav a[aria-current],body.hc .areas strong{background:#ff0;color:#000}
body.hc .stories li{border-color:#fff}
body.hc .when{background:#000;border-color:#fff}

/* Keep the simple page's words clear of a notch, a rounded corner and the
   home bar. /lite is what an older phone, a games console or a television
   browser gets, so it meets more odd screen edges than the main site does,
   not fewer. max() so a device that reports no inset keeps the normal gutter. */
.wrap {
  padding-left: max(1em, env(safe-area-inset-left));
  padding-right: max(1em, env(safe-area-inset-right));
  padding-bottom: env(safe-area-inset-bottom);
}
