.site-header {
    border-bottom: 1px solid #ccc;
    position: relative;
    text-transform: uppercase;
    font-size: 0.875em;
}

.site-header,
.site-header a {
    color: #888;
}

.site-header a:hover {
    color: #222;
    text-decoration: none;
}

.site-title {
    margin-top: 1em;
    margin-bottom: 1em;
    float: left;
    letter-spacing: 1px;
}

.site-nav {
    background: #eee;
}

.site-nav ul {
    text-align: right;
    float: right;
    letter-spacing: 1px;
    list-style-type: none;
}

.site-nav .menu > li {
    display: inline-block;
    margin: 1em 0 0 0.75em;
    padding: 0;
    position: relative;
    vertical-align: middle;
}

.site-nav a {
    display: block;
}

.site-nav .sub-menu a {
    display: block;
    line-height: 1.2em;
    padding: 4px 10px;
    color: #222;
}

.site-nav .sub-menu a:hover {
    color: #b6321c;
}

.site-nav .sub-menu {
    border-color: #ccc;
    z-index: 2147483647;
}

.site-nav .sub-menu li.current-menu-item > a {
    border-left: none;
    border-right: none;
}

.sub-menu {
    border: 1px solid #ccc;
    background: #eee;
    display: none;
    right: -10px;
    padding: 4px 0 3px 0;
    position: absolute;
    text-align: left;
    text-transform: none;
    top: 28px;
    min-width: 200px;
    z-index: 999;
}

.sub-menu li {
    border-bottom: 0;
    display: block;
    height: auto;
    margin: 3px 0;
    padding: 0;
    text-align: left;
}

.site-nav li:hover > .sub-menu {
    display: block;
}

.site-nav h1 {
    position: absolute;
    left: -999em;
}

.site-nav {
    float: right;
}

.site-nav .menu-icon {
    display: none;
}

.site-nav .page-link {
    color: #888;
}

.site-nav .page-link:not(:first-child) {
    margin-left: 20px;
}

@media screen and (max-width: 32em) {
    .site-nav {
        position: absolute;
        top: 9px;
        right: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: right;
    }
    .site-nav .menu-icon {
        display: block;
        float: right;
        width: 1.5em;
        height: 1.25em;
        line-height: 0;
        padding-top: 10px;
        text-align: center;
    }
    .site-nav .menu-icon > svg {
        width: 1.25em;
        height: 1em;
        vertical-align: middle;
    }
    .site-nav .menu-icon > svg path {
        fill: #444;
    }
    .site-nav .trigger {
        clear: both;
        display: none;
    }
    .site-nav:hover .trigger {
        display: block;
        padding-bottom: 5px;
    }
    .site-nav .page-link {
        display: block;
        padding: 5px 10px;
    }
}

@media screen and (max-width: 32em) {
    .site-nav h1 {
        border-bottom: 1px solid #ccc;
        cursor: pointer;
        display: none;
        /* Standard. IE8+, Saf, FF3+ */
        height: 23px;
        left: auto;
        margin-top: 10px;
        position: static;
        white-space: nowrap;
    }
    .site-nav .menu {
        display: block;
        left: -3px;
        min-width: 215px;
        padding: 4px 0;
        position: relative;
        right: -3px;
        z-index: 999;
    }
    .site-nav .menu.open {
        display: block;
    }
    .site-nav .menu li {
        display: block;
        margin: 0;
        color: #222;
    }
    .site-nav ul.menu a {
        color: #222;
    }
    .site-nav ul.menu a:hover {
        color: #b6321c;
    }
    .site-nav a,
    .site-nav li.current-menu-item > a {
        padding: 4px 10px;
    }
    .site-nav .menu > li {
        height: auto;
        text-align: left;
    }
    .site-nav .sub-menu {
        border: 0;
        display: block;
        position: relative;
        min-width: 215px;
        max-width: 215px;
        top: auto;
        right: auto;
        width: auto;
    }
    .site-nav .sub-menu {
        padding-left: 16px;
    }
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
hr,
dl,
dd,
ol,
ul,
figure {
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
}

body {
    font-family: "EB Garamond", serif;
    font-size: x-large;
    line-height: 1.5;
    color: #222;
    background-color: #eee;
    margin: 0 0.75em;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
ul,
ol,
dl,
figure,
.highlight {
    margin-bottom: 0.75em;
}

hr {
    display: block;
    margin: 0.5em auto;
    border-style: inset;
    border-top: 1px solid #ccc;
    border-bottom: none;
}

img {
    max-width: 100%;
    margin: auto auto;
    vertical-align: middle;
}

figure > img {
    display: block;
}

figcaption {
    font-size: 0.875em;
}

ul,
ol {
    margin-left: 1.5em;
}

li > ul,
li > ol {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

a {
    color: #b6321c;
    text-decoration: none;
}

a:hover {
    color: #ca6c18;
    text-decoration: none;
}

blockquote {
    background-color: #e1e1e1;
    border-left: 4px solid #242424;
    padding-left: 1.0em;
    padding-right: 0.8em;
    padding-top: 0.8em;
    padding-bottom: 0.001em;
    font-style: italic;
}

blockquote >:last-child {
    margin-bottom: 0;
}

pre,
code {
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #e1e1e1;
    font-family: monospace;
    font-size: 0.875em;
}

code {
    padding: 1px 5px;
}

pre {
    padding: 8px 12px;
    overflow-x: scroll;
}

pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0;
}

.icon > svg {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    vertical-align: middle;
}

.icon > svg path {
    fill: #222;
}

.footnotes ol li {
    list-style-type: decimal;
}

.footnotes ol {
    font-size: 0.66em;
    color: #888;
}

ul.listing {
    list-style-type: none;
    margin-left: 0;
}

ul.listing li.listing-seperator {
    padding-top: 0.75em;
    font-size: 1.17em;
}

ul.listing li.listing-item time {
    color: #888;
    text-transform: uppercase;
    padding-right: 0.5em;
}

ul.listing li.listing-item a {
    color: #b6321c;
}

.site-footer {
    font-size: 0.66em;
    color: #888;
    border-top: 1px solid #ccc;
    padding-top: 1.5em;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: center;
}

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

.site-footer a:hover {
    color: #ca6c18;
    text-decoration: underline;
}

.page {
    margin: 0 auto;
    max-width: -webkit-calc(50em - (1.5em * 2));
    max-width: calc(50em - (1.5em * 2));
    min-width: -webkit-calc(15em - (1.5em * 2));
    min-width: calc(15em - (1.5em * 2));
}

@media screen and (max-width: 50em) {
    .page {
        max-width: -webkit-calc(50em - (1.5em));
        max-width: calc(50em - (1.5em));
        min-width: -webkit-calc(15em - (1.5em * 2));
        min-width: calc(15em - (1.5em * 2));
    }
}

.site-header:after,
.site-footer:after,
.post:after {
    content: "";
    display: table;
    clear: both;
}

.post {
    margin-bottom: 1.5em;
}

.post p {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.post h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 1.35em;
    margin-bottom: 0.3em;
}

.captioned-img {
    text-align: center;
    border: none;
    font-size: 0.66em;
    overflow: hidden;
}

.captioned-img img {
    display: block;
    margin: auto auto;
    padding: 0.5em 0 0.5em 0;
    border: none;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-top: 0;
    margin-right: 1em;
    margin-bottom: 0.75em;
}

.alignright {
    float: right;
    margin-top: 0;
    margin-left: 1em;
    margin-bottom: 0.75em;
}

@media screen and (max-width: 32em) {
    .alignleft,
    .alignright {
        display: block;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}