body {
    --xh-primary-color: rgb(34, 34, 34);
    --xh-primary-color-trans: rgba(34, 34, 34, 0.5);
    --xh-accent-color: rgb(247, 147, 30);
    --xh-accent-color-darker: rgb(183, 98, 13);
    --xh-accent-color-bg: rgba(183, 98, 13, 0.05);
    --xh-blue-gray: rgb(120, 144, 156);
    --xh-font-family: "Nunito", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Open Sans", sans-serif;
}

body, .blog-description {
    font-family: var(--xh-font-family);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--xh-font-family);
    font-weight: 600;
}

h3 {
    font-size: 26px;
    margin: 20px 0;
}

hr {
    border-color: var(--xh-accent-color);
    margin: 1em 0;
}

a {
    text-decoration: none;
    border-bottom: 1px dashed var(--xh-blue-gray);
}

a:hover {
    color: var(--xh-accent-color);
}

/* Header */
#site-head {
    background-color: white;
    background-position-y: 20%; /* alignment fix on mobile */
}

div.vertical {
    vertical-align: bottom;
    padding-bottom: 120px;
}

#site-head-content {
    color: var(--xh-primary-color);
    width: 90%;
}

h1.blog-title {
    color: transparent;
}

/** Intro nav buttons / arrow */
a.btn.site-menu {
    background-color: transparent;
    border: 1px solid var(--xh-primary-color);
    color: var(--xh-primary-color);
    font-family: var(--xh-font-family);
    font-weight: 300;
}

a.btn.site-menu:hover {
    background-color: var(--xh-accent-color-bg);
    border-color: var(--xh-accent-color);
    color: var(--xh-accent-color);
}

i#header-arrow {
    color: var(--xh-primary-color-trans);
}

i#header-arrow:hover {
    color: var(--xh-accent-color);
}


/** Left Nav Menu */
div.fixed-nav {
    font-family: var(--xh-font-family);
    font-size: 18px;
}

div.fixed-nav .fn-item {
    border-bottom: 1px solid transparent;
    color: var(--xh-blue-gray);
    margin: 1em 0.5em;
    user-select: none;
}

div.fixed-nav .fn-item:hover {
    border-bottom-color: var(--xh-accent-color);
    color: var(--xh-primary-color);
}

div.fixed-nav .fn-item.active {
    border-bottom-color: var(--xh-accent-color);
    color: var(--xh-accent-color);
}


/* Posts + page sections */
div.post-holder {
    background-color: rgb(245, 245, 245);
}

article.post {
    max-width: 900px;
}

article.post p {
    text-align: justify;
}

div.post-after.even {
    border-top-color: rgb(245, 245, 245) !important;
}

div.post-holder.odd {
    background-color: white;
    color: var(--xh-primary-color);
}

header.post-header {
    color: var(--xh-accent-color);
    margin-bottom: 0.5em;
}

section.post-content {
    font-size: 18px;
    hyphens: none;
}

/* Callouts */
article.post div.xh-callout,
article.post p.xh-callout {
    background-color: var(--xh-accent-color-bg);
    border: 1px solid var(--xh-accent-color);
    border-radius: 6px;
    padding: 1em 2em;
    text-align: center;
}

article.post div.xh-callout p {
    text-align: center;
}

article.post div.xh-callout {
    display: inline-block;
}

/* Images & Icons */
article.post figcaption p {
    margin: 0 20px 30px 0;
    font-size: 12px;
    text-align: right;
}

figure a {
    text-decoration: none !important;
}

/* Color and spacing for FA icons */
.far, .fab {
    color: #263238;
    margin-right: 0.5em;
}

/* Resize + float Hoist logo */
img.xh-hoist-logo {
    float: left;
    margin: 0 0.5em 1em 0;
    width: 30%;
    min-width: 150px;
}

/* Resize mobile screenshot and float right on desktop. */
figure.xh-tb-mobile img {
    max-height: 400px;
}

@media only screen and (min-width: 800px) {
    figure.xh-tb-mobile {
        float: right;
        width: 50%;
    }
}

/** Mobile overrides */
@media only screen and (max-width: 500px) {
    header#site-head {
        min-height: 100%;
        background-size: 130%;
    }

    div.vertical {
        padding-bottom: 0;
    }

    h2.blog-description {
        font-size: 16px;
        margin: 3em 0;
    }

    h3 {
        font-size: 22px;
    }

    a.btn.site-menu {
        width: 100px;
    }

    article.post p.xh-callout,
    article.post div.xh-callout,
    article.post div.xh-callout p {
        text-align: left;
    }
}
