@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-BoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-ItalicNo2.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-RomanNo2.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Publico Text Mono';
    src: url('/assets/fonts/publico-text-mono/PublicoTextMono-SemiboldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

/* Roadmap-specific tweaks */
.milestone-item h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
}

.milestone-item p {
    margin: 0.3rem 0;
}

.milestone-item hr {
    margin-top: 1rem;
}




:root {
    --Off-Black: #0B0B0B;
    --Off-White: #F9F9F9;
}

* {
    text-rendering: geometricPrecision;
    box-sizing: border-box;
    margin-block-start: 0;
    margin-block-end: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

p {
    margin-block-start: 0.125em;
    margin-block-end: 0.125em;
}

hr {
    height: 1px;
    width: 100%;
    display: block;
    background-color: #0B0B0B;
}

body,
html {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    height: 100%;
    font-family: 'Publico Text Mono', Georgia, serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    color: var(--Off-Black);
    background-color: var(--Off-White);
}

figure {
    margin: 0;
    padding: 0;
}

.gh-site>header {
    position: relative;
    z-index: 2;
    display: flex;
    columns: 2;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid var(--Off-Black);
    border-bottom: 1px solid var(--Off-Black);
    background-color: #f9f9f9;
}

header div:first-child {
    text-transform: uppercase;
}

header a {
    text-decoration: none;
    color: var(--Off-Black);
}

a {
    color: var(--Off-Black);
    text-decoration: none;
}

.gh-content a {
    text-decoration: underline;
}

.post-content a {
    text-decoration: underline;
}

.gh-content ul>li {
    margin-bottom: 0.5rem;
}

.gh-content ul {
    margin-bottom: 1rem;
}

.gh-content h2,
.gh-content h3 {
    margin-block-start: 1em;
    margin-block-end: 0.5em;
}

body.post-template #nockchain-lead {
    display: none !important;
}

img#bottom-image {
    display: block;
    margin: 40px auto;
    width: 300px;
    max-width: 100%;
}

#top-vector {
    position: relative;
    z-index: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    opacity: 0.2;
    display: block;
    height: 1600px;
    margin-top: -200px;
    margin-bottom: -1100px;
    mask-image: url('/assets/images/top-lines.png');
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    mask-position: top center;
    background-color: forestgreen;

}

@media (max-width:1440px) {
    #top-vector {
        height: 800px !important;
        margin-bottom: -450px !important;
    }
}

@media (max-width:800px) {
    #top-vector {
        background-size: cover;
        margin-top: -150px !important;
        margin-bottom: -400px !important;
        height: 600px !important;
        mask-size: cover;
    }

    .gh-main {
        margin-bottom: 10rem !important;
    }
}

#nockchain-lead {
    font-family: Publico Text Mono, Georgia, serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: -0.03em;
    text-align: left;
}

#nockchain-lead .lead-line {
    border-bottom: 1px solid #0B0B0B;
    padding: 0.5rem 0.5rem 0 0.5rem;
}

@media (max-width: 400px) {
    #nockchain-lead {
        font-size: 36px;
        line-height: 36px;
    }

    #nockchain-lead .lead-line {
        padding: 0.5rem 0.25rem 0 0.25rem;
    }
}

#nockchain-lead .lead-line .leftward {
    text-align: left;
}

#nockchain-lead .lead-line .rightward {
    text-align: right;
}

section header {
    display: grid;
    grid-template-columns: 100%;
    text-transform: uppercase;
    padding: 0 1rem;
    border-bottom: 1px solid var(--Off-Black);
}

section header div:last-child {
    text-align: center;
}

main.narrow,
section.narrow {
    width: 35%;
    min-width: 450px;
    margin: 2rem auto;
}

main.narrow img,
section.narrow img {
    width: 100%;
    padding: 0 1.25rem;
    height: auto;
}

.stack {
    display: flex;
    gap: 1rem;
}

.cta-button {
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 1rem 2rem;
    border: 0;
    background-color: var(--Off-Black);
    color: #fff;
    border: 2px solid var(--Off-Black);
}

.cta-button-inverted {
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 1rem 2rem;
    border: 0;
    background-color: #fff;
    color: var(--Off-Black);
    border: 2px solid var(--Off-Black);
}


.cta-button:hover {
    background-color: #393939;
    text-shadow: 0 0 0.5px #fff;
    border: 2px solid #fff;
}

.cta-button-inverted:hover {
    background-color: #ddd;
    text-shadow: 0 0 0.5px #fff;
}

@media screen and (max-width: 550px) {
    .stack {
        flex-direction: column;
    }

    .cta-button,
    .cta-button-inverted {
        min-width: 270px;
    }
}

.two-column-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem;
    max-width: 100%;
}

.three-column-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 1rem;
    max-width: 100%;
}

.three-column-row img {
    max-width: 100%;
    height: auto;
}

.gh-main {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    margin-bottom: 14rem;
}

.gh-list-item-image img {
    object-fit: cover;
    width: 100%;
    height: 350px;
}


.gh-article-header {
    text-align: center;
}

section#summary {
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.gh-article-header,
section#summary {
    max-width: 800px;
    margin: 0 auto;
}

.gh-article-header h1,
section#summary h1 {
    color: var(--Off-Black);
    font-family: Publico Text Mono;
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1px;
}

.gh-article-header h2,
section#summary h2 {
    margin: 0;
    color: var(--Off-Black);
    text-align: center;
    font-family: Publico Text Mono;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.gh-article {
    font-size: 0.95em;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.gh-article p {
    margin: 0.75em 0;
}

.gh-article img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    display: block;
}

body.page-template .gh-page-content {
    margin: 0 auto;
    display: block;
    padding: 0 1rem;
    max-width: 1200px;
}

section table {
    width: 100%;
}

section table tr {
    display: block;
    border-bottom: 1px solid var(--Off-Black);
    padding: 0 1rem;
    width: 100%;

}

section table td {
    vertical-align: text-top;
}

section table td:nth-child(1) {
    width: 10%;
}

section table td:nth-child(2) {
    width: 10%;

}

td.left-spacer {
    padding-left: 150px;
}

footer {
    text-align: right;
    width: 100%;
    margin: 2rem 0rem;
    background-color: #f9f9f9;
}

footer>p {
    padding: 0 1rem;
}

#header-nav {
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#header-nav ul {
    display: none;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.show-header-nav {
    position: fixed;
    display: flex !important;
    top: calc(2.6rem - 2px);
    right: 0;
    backdrop-filter: blur(3px);
}

#header-nav li {
    display: inline-block;
    text-align: center;
    list-style: none;
    border-bottom: 1px solid black;
    background-color: #f9f9f9;
}

#header-nav li a {
    padding: 1rem;
}

#header-nav li:hover,
#header-nav li a:hover {
    background-color: black;
    color: #f9f9f9;
}


#header-nav li:last-of-type {
    border-right: none;
}

#header-nav li a {
    display: block;
    width: 100%;
    height: 100%;
}

.menu-open {
    cursor: pointer;
}

.menu-close {
    cursor: pointer;
    display: none;
}

@media (max-width: 980px) {
    #header-nav ul {
        max-width: 400px;
    }

    #nockchain-lead .lead-line {
        grid-template-columns: 1fr;
        line-height: 1;
    }

    .three-column-row {
        grid-template-columns: 1fr;
    }

    .bottom-vector {
        height: auto;
    }

    .bottom-vector .three-column-row {
        top: auto;
        position: inherit;
    }
}



@media screen and (max-width: 550px) {
    .gh-article-header h1.gh-article-title {
        font-size: 2rem;
        line-height: normal;
    }

    section.bottom-narrow,
    main.narrow,
    section.narrow {
        min-width: 300px;
    }

    .two-column-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem;
    }

    .gh-list-item-image img {
        height: 250px;
    }

}

/* Roadmap-specific */
.milestone-item.is-completed {
    opacity: 0.7;
}