body {
    color: black;
    background-color: white;
    margin: 1in 0.5in 0.5in 0.5in;
    min-width: 8.5in;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p { text-align: justify; }

h1, h2 { margin-right: auto; }

code, .literal-url {
    font-family: "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, monospace;
    font-size: 85%;
}

/* Front matter / header */
header {
    display: block;
    position: relative;
    margin-bottom: 1em;
}

header h1 {
    font-size: 250%;
    font-weight: bold;
    margin: 0;
}

header .date {
    font-size: 100%;
    font-weight: normal;
}

header .subtitle {
    font-size: 100%;
    font-weight: normal;
}

.contact-info {
    position: absolute;
    top: 0;
    right: 0;
}

.contact-info address {
    font-style: normal;
    text-align: right;
}

.contact-info a {
    font-family: "Bitstream Vera Sans Mono", "Andale Mono", "Courier New", Courier, monospace;
    font-size: 85%;
}

/* Job entries */
.job-entry {
    margin-bottom: 1.5em;
}

.job-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3em;
}

.job-dates {
    flex-shrink: 0;
    min-width: 10em;
}

.job-company {
    font-size: 150%;
    flex-grow: 1;
}

.job-company .division {
    font-size: 75%;
    padding-left: 1.5em;
}

.job-title {
    flex-shrink: 0;
    text-align: right;
}

.job-description {
    margin-top: 0.5em;
}

/* Notable earlier work (short version) */
.notable-earlier-list {
    list-style: none;
    padding-left: 0;
}

.notable-earlier-list li {
    margin-bottom: 0.5em;
}

/* Keyword block */
.keyword-block {
    margin-bottom: 1em;
}

.keyword-block dt {
    font-weight: bold;
    float: left;
    margin-right: 0.5em;
}

.keyword-block dt::after {
    content: ":";
}

.keyword-block dd {
    margin-left: 0;
    margin-bottom: 0.3em;
}

/* Section expand/collapse (long version) */
.section-collapsible h2 {
    cursor: pointer;
}

.section-collapsible.collapsed .job-entry,
.section-collapsible.collapsed ul,
.section-collapsible.collapsed p,
.section-collapsible.collapsed .prose,
.section-collapsible.collapsed h3,
.section-collapsible.collapsed dl {
    display: none;
}

.section-collapsible.expanded h2::after { content: " \2212 "; color: lightgray; }
.section-collapsible.expanded h2:hover::after { content: " \2212 "; color: blue; }
.section-collapsible.collapsed h2::after { content: " + "; color: lightgray; }
.section-collapsible.collapsed h2:hover::after { content: " + "; color: blue; }
