:root {
    --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
        "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
        "Helvetica Neue", sans-serif;

    --bg: #f8f8f8;
    --accent-bg: #e7e7e7;
    --text: #000000;
    --border: #898EA4;
    --border-width: 1px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-family: var(--sans-font);
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background-color: var(--bg);
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
}

/* Header navigation */

body > header ul {
    list-style-type: none;
    margin: 0;
    padding: 5px;
    background-color: #333333;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}

body > header ul li {
    display: block;
    padding: 0;
    margin: 0;
    color: white;
    background-color: #333333;
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    text-align: center;
}

body > header ul li.current {
    padding: 10px 14px;
    background-color: #111111;
}

body > header ul li a,
body > header ul li a:visited,
body > header ul li a:hover,
body > header ul li a:active {
    display: block;
    padding: 10px 14px;
    color: white;
    text-decoration: none;
    background-color: inherit;
}

body > header ul li:hover,
body > header ul li:has(a:hover) {
    background-color: #111111;
}

/* Main newsletter images */

main {
    padding: 0;
}

.newsletter-pages {
    width: 100%;
    overflow-x: auto;
}

.newsletter-pages img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.newsletter-pages img:not(:last-child) {
    border-bottom: 2px solid #000;
}

/* Mobile */

@media only screen and (max-width: 720px) {
    body > header ul {
        flex-wrap: nowrap;
        justify-content: center;
    }

    body > header ul li {
        flex: 1 1 0;
        white-space: nowrap;
    }
}

.download-footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #333333;
}

.download-footer a,
.download-footer a:visited,
.download-footer a:hover,
.download-footer a:active {
    color: white;
    text-decoration: none;
}