/*
 Ulysses Ghost Preview
 */


*, :after, :before {
    box-sizing: inherit;
}

::selection {
    text-shadow: none;
    background: #cbeafb;
}

a, abbr, acronym, address, applet, article, aside, audio, big, blockquote, body, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

b, strong {
    font-weight: 700;
}

blockquote, dl, ol, p, ul {
    margin: 0 0 1.5em;
}

dfn, em, i {
    font-style: italic;
}

html {
    box-sizing: border-box;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-y: scroll;
    font-size: 62.5%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, html {
    overflow-x: hidden;
}

body {
    color: #313b3f;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6em;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga" on;
}

article > header {
    position: relative;
    margin: 0 auto;
    padding: 70px 170px 50px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

body {
    padding: 0 5vw;
    margin-top: 64px;
    padding-bottom: 4vw;
}

article {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

h1 {
    margin: .67em 0;
    font-size: 2em;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.15;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

h5, h6 {
    margin: 1.5em 0 .5em;
    font-size: 1.4rem;
    font-weight: 500;
}

h1 {
    margin: 0 0 .5em;
    font-size: 5.5rem;
    font-weight: 600;
}

blockquote {
    margin: 1.5em 0;
    padding: 0 1.6em;
    border-left: .5em solid #e5eff5;
}

hr {
    position: relative;
    display: block;
    width: 100%;
    margin: 2.5em 0 3.5em;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #e3e9ed;
}

a {
    color: #26a8ed;
    text-decoration: none;
}

ol, ul {
    padding-left: 1.3em;
    padding-right: 1.5em;
}

ol {
    list-style: decimal;
}

ol, ul {
    max-width: 100%;
}

li {
    margin: .5em 0;
    padding-left: .3em;
    line-height: 1.6em;
}

code[class*=language], pre {
    color: #000;
    background: 0 0;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

code[class*=language] {
    max-height: inherit;
    height: inherit;
    padding: 0 1em;
    display: block;
    overflow: auto;
}

pre > code[class*=language] {
    color: #000;
    position: relative;
    border-left: 10px solid #358ccb;
    box-shadow: -1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf;
    background-color: #fdfdfd;
    background-image: linear-gradient(transparent 50%, rgba(69, 142, 209, .04) 50%);
    background-size: 3em 3em;
    background-origin: content-box;
}


.post-full-title {
    margin: 0;
    color: #090a0b;
}

.post-full-custom-excerpt {
    margin: 20px 0 0;
    color: #738a94;
    font-family: Georgia, serif;
    font-size: 2.3rem;
    line-height: 1.4em;
    font-weight: 300;
}

.post-full-byline {
    margin-top: 35px;
    font-size: 13px;
    font-weight: normal;
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 24 24' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(1,0,0,1,-0.0380785,-0.0411796)'%3E%3Ccircle cx='12.038' cy='12.041' r='11.983' style='fill:rgb(235,235,235);'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M3.513,18.998C4.749,15.504 8.082,13 12,13C15.918,13 19.251,15.504 20.487,18.998C18.47,21.442 15.417,23 12,23C8.583,23 5.53,21.442 3.513,18.998ZM12,12C14.21,12 16,9.21 16,7C16,4.79 14.21,3 12,3C9.79,3 8,4.79 8,7C8,9.21 9.79,12 12,12Z' style='fill:white;'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position-x: 2px;
    background-position-y: 17px;
    background-size: 36px;
    padding-left: 48px;
    height: calc(36px + 19px);
    display: block;
    padding-top: 19px;
    border-top: 1px solid #e3e9ed;
    font-weight: 500;
}

.post-full-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin: 25px 0 50px;
    background: #e3e9ed;
    border-radius: 3px;
}

.post-full-image img {
    max-width: 1040px;
    width: 100%;
    height: auto;
}

.post-full-content {
    position: relative;
    margin: 0 auto;
    padding: 0 170px 6vw;
    min-height: 230px;
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1.6em;
    background: #fff;
}

.post-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post-full-content blockquote, .post-full-content dl, .post-full-content h1, .post-full-content h2, .post-full-content h3, .post-full-content h4, .post-full-content h5, .post-full-content h6, .post-full-content ol, .post-full-content p, .post-full-content pre, .post-full-content ul {
    margin: 0 0 1.5em;
    min-width: 100%;
}

.post-full-content h1, .post-full-content h2, .post-full-content h3, .post-full-content h4, .post-full-content h5, .post-full-content h6 {
    color: #090a0b;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
}

.post-full-content h1 {
    margin: .5em 0 .4em;
    font-size: 4.2rem;
    line-height: 1.25em;
    font-weight: 600;
}

.post-full-content h2 {
    margin: .5em 0 .4em;
    font-size: 3.2rem;
    line-height: 1.25em;
    font-weight: 600;
}

.post-full-content h3 {
    margin: .5em 0 .2em;
    font-size: 2.5rem;
    line-height: 1.3em;
    font-weight: 600;
}

.post-full-content p + h2 {
    margin-top: .8em;
}

.post-full-content h2 + h3 {
    margin-top: .7em;
}

.post-full-content h3 + h4 {
    margin-top: 0;
}

.post-full-content h4 {
    margin: .5em 0 .2em;
    font-size: 2.5rem;
    font-weight: 600;
}

.post-full-content h5 {
    display: block;
    margin: .5em 0;
    padding: .4em 1em .9em;
    border: 0;
    color: #3eb0ef;
    font-family: Georgia, serif;
    font-size: 3.2rem;
    line-height: 1.35em;
    text-align: center;
}

.post-full-content h6 {
    margin: .5em 0 .2em;
    font-size: 2rem;
    font-weight: 700;
}

.post-full-content blockquote {
    margin: 0 0 1.5em;
    padding: 0 1.5em;
    border-left: 3px solid #3eb0ef;
}

.post-full-content pre {
    overflow-x: auto;
    margin: 1.5em 0 3em;
    max-width: 100%;
    border: 1px solid #000;
    color: #e5eff5;
    font-size: 1.4rem;
    line-height: 1.5em;
    background: #0e0f11;
    border-radius: 5px;

    position: relative;
    margin: .5em 0;
    overflow: visible;
    padding: 0;
    margin-bottom: 1em;
}

.post-full-content pre code {
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

.post-full-content code {
    padding: 0 5px 2px;
    font-size: .8em;
    line-height: 1em;
    font-weight: 400 !important;
    background: #e5eff5;
    border-radius: 3px;
}

.post-full-content hr {
    margin: 2em 0;
}

.post-full-content hr + p {
    margin-top: 1.2em;
}

.post-full-content a {
    color: #15171a;
    word-break: break-word;
    box-shadow: inset 0 -1px 0 #15171a;
    transition: all .2s ease-in-out;
}

.post-full-content li {
    word-break: break-word;
}

.post-full-content li:first-child {
    margin-top: 0;
}

.post-full-content figure {
    margin: .8em 0 2.3em;
}

.post-full-content figcaption {
    margin: 1em 0 0;
    color: #5d7179;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    font-size: 75%;
    line-height: 1.5em;
    text-align: center;
}

.post-full-content figure img {
    margin: 0;
}

.post-full-content img, .post-full-content video {
    display: block;
    margin: 1.5em auto;
    max-width: 1040px;
    height: auto;
}

.post-full-content img[src=""] {
    display: none !important;
}

.post-full-content img[src=""] + figcaption {
    display: none !important;
}

.post-full-content em, .post-full-content strong {
    color: #090a0b;
}

@media (min-width: 1180px) {
    .post-full-content h5 {
        max-width: 1060px;
        width: 100vw;
    }
}

@media (max-width: 1170px) {
    article header {
        padding: 60px 11vw 50px;
    }

    .post-full-content {
        padding: 0 11vw;
    }

    .post-full-image {
        margin: 25px -6vw 50px;
        border-radius: 0;
    }

    .post-full-image img {
        max-width: 1170px;
    }
}

@media (max-width: 1040px) {
    .post-full-content img, .post-full-content video {
        width: 100%;
    }
}

@media (max-width: 800px) {
    article header {
        padding-right: 5vw;
        padding-left: 5vw;
    }

    .post-full-content {
        padding: 0 5vw;
        font-size: 1.8rem;
    }

    .post-full-content h1 {
        font-size: 3.2rem;
        line-height: 1.25em;
    }

    .post-full-content h2 {
        margin-bottom: .3em;
        font-size: 2.8rem;
        line-height: 1.25em;
    }

    .post-full-content h3 {
        margin-bottom: .3em;
        font-size: 2.4rem;
        line-height: 1.3em;
    }

    .post-full-content h4 {
        margin-bottom: .3em;
        font-size: 2.4rem;
        line-height: 1.3em;
    }

    .post-full-content h5 {
        margin-bottom: 1em;
        margin-left: 1.3em;
        padding: 0 0 .5em;
        font-size: 2.4rem;
        text-align: initial;
    }

    .post-full-content h6 {
        font-size: 1.8rem;
        line-height: 1.4em;
    }

    .post-full-content figure {
        margin: .2em 0 1.3em;
    }
}

@media (max-width: 700px) {
    .post-full-image {
        margin: 25px -5vw;
    }
}

@media (max-width: 500px) {
    .footnotes, .post-full-comments, .post-full-content dl, .post-full-content ol, .post-full-content p, .post-full-content pre, .post-full-content ul {
        margin-bottom: 1.28em;
    }

    article header {
        padding: 20px 0 35px;
    }

    .post-full-title {
        margin-top: .2em;
        font-size: 3.3rem;
    }

    .post-full-byline {
        background-position-y: 16px;
        background-position-x: 2px;
        background-size: 28px;
        padding-left: 40px;
        height: calc(34px + 15px);
        font-size: 1.2rem;
    }

    .post-full-image {
        margin-top: 5px;
        margin-bottom: 5vw;
    }

    .post-full-content {
        padding: 0;
    }

    .post-full-content blockquote {
        padding: 0 1.3em;
    }

    .post-full-content figcaption {
        margin-bottom: .4em;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: hsla(0, 0%, 100%, .75);
        background: #191b1f;
    }

    img {
        opacity: .9;
    }

    hr {
        border-top-color: #2b2f36;
    }

    .post-full-title {
        color: hsla(0, 0%, 100%, .9);
    }

    .post-full-custom-excerpt {
        color: #92a3ab;
    }

    .post-full-byline {
        border-top-color: #3b404a;
        color: hsla(0, 0%, 100%, .75);
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M3.513 18.998C4.749 15.504 8.082 13 12 13s7.251 2.504 8.487 5.998C18.47 21.442 15.417 23 12 23s-6.47-1.558-8.487-4.002zM12 12c2.21 0 4-2.79 4-5s-1.79-4-4-4-4 1.79-4 4 1.79 5 4 5z' fill='%23FFF'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    }

    .post-full-image {
        background-color: #2b2f36;
    }

    .post-full-content {
        background: #191b1f;
    }

    .post-full-content h1, .post-full-content h2, .post-full-content h3, .post-full-content h4, .post-full-content h6 {
        color: hsla(0, 0%, 100%, .9);
    }

    .post-full-content a {
        color: #fff;
        box-shadow: inset 0 -1px 0 #fff;
    }

    .post-full-content figcaption {
        color: hsla(0, 0%, 100%, .6);
    }

    .post-full-content code {
        color: #fff;
        background: #000;
    }

    .post-full-content em, .post-full-content strong {
        color: #fff;
    }

}
