/* Elements mean the same thing on every page. A class is only for a second role. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { display: flex; flex-direction: column; min-height: 100vh; font-size: 1em; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
p { line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: sans-serif; }
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.67em; }
li { margin-bottom: 0.2em; }
small { color: #555; }
a { color: #0000ee; text-decoration: none; }
a:hover { text-decoration: underline; }
blockquote { max-width: 90%; margin: 0 auto 1.25rem; padding: 0.5rem 1.25rem; background: #f9f9f9; border-left: 10px solid #ccc; font-style: italic; }
hr { border: 0; height: 1px; background: #555; }
pre { padding: 0.9rem; border: 1px solid #aaa; background: #f5f5f5; color: #111; white-space: pre-wrap; overflow-wrap: break-word; }
.highlight pre { padding: 0; border: 0; background: transparent; color: inherit; }
button[aria-pressed="true"] { font-weight: 700; }
article article { margin-left: 1.5rem; }
.messages { margin: 0 0 1rem; padding-left: 0; list-style: none; }

/* The page is a full-width header and a centered column. */

/* Pantone 158 C (#e87722). Black text stays readable on this orange. */
body > header { margin: 0 0 3rem; padding: 0.5rem 1rem 1rem; background: #e87722; color: #111; font-family: sans-serif; text-align: center; }
body > header a { color: inherit; }
.logo { display: block; margin-bottom: 0.25rem; font-size: 42px; font-weight: 900; line-height: 1.1; }
.logo:hover { text-decoration: none; }
body > header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 0.9rem; }

body > main { flex: 1; }
body > main,
body > footer { width: min(940px, 100%); margin-inline: auto; padding-inline: 1rem; }
body > footer { padding-block: 1.25rem; font-size: smaller; text-align: center; }
