.inline-math {
    display: inline-block;
}

:root {
    --zej-accent: #0b6ff9;
    --zej-link: #0b6ff9;
    --zej-page-bg: #fbfbfd;
    --zej-content-bg: #ffffff;
    --zej-sidebar-bg: #f5f6fa;
    --zej-border: rgba(31, 35, 40, 0.1);
    --zej-muted: #676b75;
    --zej-soft: rgba(11, 111, 249, 0.07);
    --zej-active: rgba(11, 111, 249, 0.09);
    --zej-nav-wash: rgba(31, 35, 40, 0.055);
}

html[data-theme="dark"] {
    --zej-accent: #5aa2ff;
    --zej-link: #5aa2ff;
    --zej-page-bg: #27262b;
    --zej-content-bg: #27262b;
    --zej-sidebar-bg: #27262b;
    --zej-border: #44434d;
    --zej-muted: #aaa4b1;
    --zej-soft: rgba(90, 162, 255, 0.075);
    --zej-active: rgba(90, 162, 255, 0.085);
    --zej-nav-wash: rgba(0, 0, 0, 0.18);
}

html,
body {
    min-height: 100%;
    background: var(--zej-content-bg);
}

body {
    text-rendering: optimizeLegibility;
}

a {
    color: var(--zej-link);
    text-underline-offset: 0.16em;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
    text-decoration-thickness: 0.08em;
}

.side-bar {
    background: var(--zej-sidebar-bg);
    border-right-color: var(--zej-border);
}

.site-header {
    border-bottom-color: var(--zej-border);
}

.site-title {
    font-weight: 650;
}

.main-header {
    border-bottom-color: var(--zej-border);
    background: var(--zej-content-bg);
}

.main-content {
    max-width: 56rem;
}

.main,
.main-content-wrap {
    background: var(--zej-content-bg);
}

.search,
.search-input-wrap,
.search-input {
    background: var(--zej-content-bg);
}

.main-content h1 {
    letter-spacing: 0;
    line-height: 1.12;
}

.main-content h2,
.main-content h3 {
    letter-spacing: 0;
}

.main-content p,
.main-content li {
    line-height: 1.75;
}

.main-content p {
    max-width: 68ch;
}

.main-content hr {
    border-color: var(--zej-border);
}

.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb-nav-list-item {
    color: var(--zej-muted);
}

.nav-list .nav-list-item .nav-list-link {
    position: relative;
    border-radius: 0;
    background: transparent !important;
    transition: color 160ms ease;
    isolation: isolate;
}

.nav-list .nav-list-item .nav-list-link::before {
    position: absolute;
    inset: 0 0 0 -14rem;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0;
    background: linear-gradient(90deg, transparent 0%, var(--zej-nav-wash) 18%, var(--zej-nav-wash) 100%);
    transition: opacity 160ms ease;
}

.nav-list .nav-list-item .nav-list-link:hover::before,
.nav-list .nav-list-item .nav-list-link.active::before {
    opacity: 1;
}

.staffer {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.1rem 0 1.6rem;
    border-bottom: 1px solid var(--zej-border);
}

.staffer > a {
    flex: 0 0 auto;
}

.staffer-image {
    box-shadow:
        0 0 0 1px var(--zej-border),
        0 12px 34px rgba(0, 0, 0, 0.14);
}

.staffer-name {
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.2;
}

.staffer-meta {
    color: var(--zej-muted);
}

.staffer hr {
    display: none;
}

@media (max-width: 42rem) {
    .main-content {
        max-width: none;
    }

    .staffer {
        align-items: flex-start;
    }
}
