/* Explain: Base CSS reset and global typography styles. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

::selection {
    background: var(--primary-color);
    color: #fdf9f3;
}

/* Rich text rendered from the data records */
.article-body p {
    margin-bottom: 1.1rem;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 2rem 0 0.8rem;
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 1.6rem 0 0.6rem;
}

.article-body ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-bottom: 1.1rem;
}

.article-body ol {
    list-style: decimal;
    padding-left: 1.4rem;
    margin-bottom: 1.1rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.article-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-body blockquote {
    margin: 1.5rem 0;
    padding-left: 1.1rem;
    border-left: 2px solid var(--accent-color);
    font-style: italic;
    color: var(--text-muted);
}