/* Published page styling */

.page-main {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: var(--space-10) var(--space-5);
}

@media (min-width: 640px) {
    .page-main {
        padding: 80px var(--space-10);
    }
}

.page {
    font-family: var(--site-font-body);
    font-size: var(--site-font-size);
    line-height: var(--site-line-height);
    color: var(--site-color-text);
}

.page h1 {
    font-family: var(--site-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--site-color-heading);
    margin-bottom: 2.5rem;
}

.page h2 {
    font-family: var(--site-font-heading);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--site-color-heading);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.page h3 {
    font-family: var(--site-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--site-color-heading);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.page p {
    margin-bottom: 1.5rem;
}

.page a {
    color: inherit;
    text-decoration: underline;
}

.page a.wikilink-new {
    text-decoration-style: dashed;
}

.page ul,
.page ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5em;
}

.page ul {
    list-style: disc;
}

.page ol {
    list-style: decimal;
}

.page li {
    margin-bottom: 0.5rem;
}

.page blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    color: #555;
    font-style: italic;
}

.page code {
    font-size: 0.875em;
    background: var(--code-bg);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

.page pre {
    background: var(--code-bg);
    padding: 1.25rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.page pre code {
    background: none;
    padding: 0;
}

.page hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2.5rem 0;
}

.page-footer {
    padding-top: 60px;
    padding-bottom: 80px;
    font-size: var(--font-size-sm);
    color: var(--site-color-muted);
    text-align: center;
}

.page-footer a {
    color: var(--site-color-muted);
    text-decoration: underline;
}
