p, * {
    font-family: var(--gh-font-body, Inter) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gh-font-header, Inter) !important;
}

html, body {
    z-index: 0;
    background-color: var(--io-background-color);
}

.hideBox {
    display: none !important;
}

a.gh-navigation-link {
    color: var(--io-color-gold-8);
}

/* global style updates */

.gh-main {
    padding-top: 10rem;
    padding-bottom: 0;
    flex-grow: initial;
}

.gh-content a {
    color: inherit !important;
}
.io-homeContent.gh-content {
    margin-top: 0;
}

.gh-pagehead {
    margin-top: 48px;
    justify-content: left;
    margin-bottom: 0;
}

.gh-pagehead-title {
    font-size: 28pt;
    font-weight: 500;
    color: var(--io-color-gold-12);
    width: 250px;
    text-align: left;
    line-height: 1;
}

hr {
    height: 2px;
    background-color: var(--io-color-gold-6);
}

.gh-pagehead-title.gh-author-name {
    margin-left: calc(50% - 125px);
}

.gh-pagehead-description {
    font-size: 16pt;
    font-weight: 400;
    color: var(--io-color-gold-11);
    width: 400px;
    margin-left: calc(50% - 125px);
    text-align: left;
    line-height: 1;
}

.gh-author-meta {
    margin-left: calc(50% - 125px);
}

.home.gh-pagehead {
    margin-top: 18px;
    margin-bottom: 18px;
    justify-content: center !important;
}
.home.gh-pagehead-title {
    font-size: 36pt;
    font-weight: 500;
    color: var(--io-color-gold-12);
    width: 250px;
    text-align: center !important;
    margin-left: calc(50% - 125px);
    line-height: 1;
    margin-bottom: -24px;
}

.home.gh-pagehead-title::after {
    content: '';
    position: relative;
    display: inline-block;
    width: 72px;
    height: 6px;
    background-color: var(--accent-color);
    top: -24px;
}

.home.gh-pagehead-description {
    font-size: 16pt;
    font-weight: 400;
    color: var(--io-color-gold-11);
    width: 300px;
    margin-left: calc(50% - 150px);
    text-align: center !important;
    line-height: 1;
}

.gh-foot-inner {
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: center;
    grid-template-columns: 1fr;
}

.gh-foot-inner span, .gh-foot-inner a {
    color: var(--io-color-gold-8);
}

.gh-foot-inner a:hover {
    color: var(--io-color-gold-9);
}

/* glowing lower fx */
#glowBlock {
    width: 100vw;
    height: 100vh;
    position: fixed;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

#glow {
    background: radial-gradient(farthest-corner, var(--accent-color), transparent 50%);
    width: 150vw;
    height: 200vh;
    position: fixed;
    bottom: -120vh;
    border-radius: 1000px;
    margin-left: -63vw;
    transition: left 0.75s;
    opacity: 0.2;
}

/* post list styling */

a .io-postList-item.io-homepageFeatured {
    border-radius: 24pt !important;
}

.io-postList-item:hover {
    background-color: var(--io-color-gold-2) !important;
    border-color: var(--io-color-gold-3) !important;
}

.io-homeContent {
    margin-bottom: 18px;
}

.io-postList-item {
    margin: 0;
    padding: 24px;
    display: grid;
    grid-template-columns: 124px auto;
    align-items: end;
    background-color: var(--io-color-gold-1) !important;
    border-style: solid;
    border-color: var(--io-color-gold-5);
    border-width: 2px;
}

a:not(:first-child) .io-postList-item {
    margin-top: -2px;
}

a:first-child .io-postList-item {
    border-top-left-radius: 16pt;
    border-top-right-radius: 16pt;
}

a:last-child .io-postList-item {
    border-bottom-left-radius: 16pt;
    border-bottom-right-radius: 16pt;
}

a:last-child:first-child .io-postList-item {
    border-top-left-radius: 16pt !important;
    border-top-right-radius: 16pt !important;
    border-bottom-left-radius: 16pt !important;
    border-bottom-right-radius: 16pt !important;
}

.io-postList-item:hover {
    background-color: var(--io-color-gold-3) !important;
    border-color: var(--io-color-gold-6) !important;
}

.io-postList-item:hover .post-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.io-postList-item .post-title {
    grid-column: 2 / 2;
    grid-row: 1;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 2px;
    color: var(--io-color-gold-12);
}
.io-postList-item .post-excerpt {
    grid-column: 2 / 2;
    grid-row: 2;
    font-size: 12pt;
    line-height: 1.8;
    font-weight: 400;
    color: var(--io-color-gold-11);
    margin-top: 0;
}
.io-postList-item .post-time, .io-postList-item .post-date {
    grid-column: 1 / 1;
    grid-row: 1;
    font-size: 10pt;
    text-transform: uppercase;
    color: var(--io-color-gold-11);
    font-weight: 600;
}

/* navigation sidebar build (only on large screens) */
@media (min-width: 768px) {
    .gh-site {
        width: calc(100% - 248px);
        margin-left: 248px;
    }
    .gh-head {
        height: 100vh;
        width: 248px;
        position: fixed;
        border-width: 0 2px 0 0;
        border-style: solid;
        border-color: oklch(from var(--io-color-gold-5) l c h / 0.15);
        background-color: rgba(0,0,0,0);
    }
    .gh-outer {
        padding: 0 14pt !important;
    }
    .gh-head-inner {
        column-gap: normal !important;
        grid-auto-flow: column;
        grid-template-rows: 1fr 1fr 1fr;
    }
    .gh-head .nav {
        display: inline-block;
    }
    .page-template .gh-article-header, .page-template .gh-head, .post-template .gh-article-header, .post-template .gh-head {
        background-color: rgba(0,0,0,0) !important;
    }

    .gh-head-brand {
        align-self: end;
        margin-bottom: 5px;
    }

    .gh-head-brand .gh-head-logo:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .gh-head-menu, .gh-head-actions {
        align-self: start;
    }

    .gh-head-menu {
        width: 100%;
        text-transform: inherit;
        display: block;
    }

    .gh-head-menu .nav li a {
        color: var(--io-color-gold-11);
        line-height: 1.8;
        font-size: 14pt;
        font-weight: 400;
    }

    .gh-head-menu .nav li a:hover {
        color: var(--io-color-gold-12);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .gh-head-actions {
        display: grid;
        gap: normal;
        text-transform: inherit;
        color: var(--io-color-gold-12);
    }

    .gh-head-logo {
        font-size: 16pt;
        font-weight: 400;
        color: var(--io-color-gold-12);
    }

    .gh-head-members {
        display: block;
    }

    .gh-head-members p, .gh-head-actions button {
        font-size: 14pt;
        line-height: 1.8;
        font-weight: 400;
        display: block;
    }
    
    .gh-head-members p a, .gh-head-actions button {
        color: var(--io-color-gold-12);
    }
    .gh-icon-btn.gh-search {
        width: inherit;
    }
    #mkeFlag {
        width: 60px;
        height: 36px;
        border-radius: 6px;
        background-image: url('../images/mkeFlag.svg');
        background-position: center;
        background-color: var(--io-color-gold-9);
        z-index: 100;
        margin-top: 6px;
        border-width: 2px;
        border-color: white;
        border-style: solid;
    }
}

.kg-btn {
    border-width: 2px;
    border-style: solid;
    border-color: var(--io-color-gold-8) !important;
    border-radius: 24pt !important;
    background-color: var(--io-color-gold-7) !important;
}

.kg-btn:hover {
    border-color: var(--io-color-gold-7) !important;
    background-color: var(--io-color-gold-6) !important;
}

.kg-bookmark-container {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: var(--io-color-gold-5) !important;
    border-radius: 24pt !important;
    background-color: var(--io-color-gold-3) !important;
}

.gh-head {
    background-color: rgba(0,0,0,0);
}

.gh-head-logo {
        font-size: 16pt;
        font-weight: 400;
        color: var(--io-color-gold-12);
}

.io-homeContent .gh-head-logo {
    display: none !important;
}


.gh-navigation {
    border-top-color: var(--io-color-gold-6) !important;
}

.gh-search.gh-icon-btn svg {
    stroke: var(--accent-color) !important;
}

.gh-burger:after, .gh-burger:before {
    background-color: var(--accent-color) !important;
    height: 2px;
}


@media (max-width: 767px) {
    .is-head-open:not(.is-head-brand):not(.is-head-dark):not(.is-head-transparent) #gh-head {
        background-color: var(--io-color-gold-3);
        align-items: start;
    }
    #gh-head .gh-head-brand {
        width: 100%;
    }
    #gh-head .nav {
        align-items: start;
    }
    .gh-head-members {
        align-items: start;
        text-transform: capitalize;
    }
    .is-head-open:not(.is-head-brand):not(.is-head-dark):not(.is-head-transparent) #gh-head .gh-head-menu {
        justify-content: left;
    }
    .is-head-open #gh-head .gh-head-actions {
        background-color: rgba(0,0,0,0) !important;
    }
    .gh-head-menu .nav li a, p.io-nav-exclude a {
        color: var(--accent-color);
        font-weight: 400 !important;
        font-size: 14pt;
        text-align: left;
    }
    .io-homeContent figcaption {
        font-size: 12pt !important;
    }
    .io-homeContent figure a img {
        height: 108px !important;
    }
    .io-homeContent figure {
        width: calc((100% - 12px) / 3) !important;
        margin-right: 6px !important;
    }
    .io-homeContent figure:last-child {
        margin-right: 0 !important;
    }
    .io-homeContent {
        margin-bottom: 8px !important;
    }
    .io-postList-item {
        display: block !important;
    }
    .gh-pagehead {
        margin-left: 24px !important;
    }
    .post-template .gh-head,
    .post-template .gh-article-header,
    .page-template .gh-head,
    .page-template .ph-article-header {
        background-color: var(--io-background-color);
    }
}

@media (min-width: 992px) {
    .is-head-left-logo .gh-head-menu {
        margin: 0 !important;
    }
}

.page-template .gh-article-header, .page-template .gh-head, .post-template .gh-article-header, .post-template .gh-head {
    background-color: var(--color-white);
}

/* content formatting for posts */

.gh-article-title {
    font-size: 28pt;
    font-weight: 500;
    color: var(--io-color-gold-12);
    text-align: left;
    font-family: var(--gh-font-heading, Inter);
}

.gh-article-excerpt {
    font-size: 18pt;
    font-weight: 300;
    color: var(--io-color-gold-10);
    text-align: left;
    font-style: italic;
    margin-top: 0;
}

.gh-article-meta {
    font-size: 12pt;
    font-weight: 600;
    color: var(--io-color-gold-11);
    margin-bottom: 24pt;
}

.gh-article-header::after {
    content: '';
    grid-column: main;
    height: 6pt;
    width: 64pt;
    background-color: var(--accent-color);
    margin-top: 6pt;
}

.gh-article-image img {
    border-radius: 8pt;
    border-width: 2px;
    border-style: solid;
    border-color: var(--io-color-gold-4);
}

.gh-content table:not(.gist table) {
    background: none !important;
    width: 100%;
}

.gh-content table:not(.gist table) th, .gh-content table:not(.gist table) td {
    border: none;
    padding: 0;
    line-height: 1.8;
    font-size: 14pt;
    color: var(--io-color-gold-12);
    text-wrap: auto;
    overflow-y: clip;
}

.gh-content table:not(.gist table) th:first-child, .gh-content table:not(.gist table) td:first-child {
    color: var(--io-color-gold-12);
    width: 148px;
    text-wrap: auto;
}

.gh-content table:not(.gist table) tr:not(:first-child) td:not(:first-child) {
    color: var(--io-color-gold-11);
    text-wrap: auto;
}

.gh-content table:not(.gist table) td:first-child, .gh-content table:not(.gist table) td:last-child {
    background-image: none !important;
}

p {
    font-size: 14pt;
    line-height: 1.8;
    color: var(--io-color-gold-11);
}
a.gh-author-website {
    background-color: var(--io-color-gold-1);
    color: var(--io-color-gold-12);
    border-radius: 100px;
    padding: 0.6rem 1.2rem;
    font-size: 12pt;
}

.gh-head-inner {
    grid-template-columns: 1fr !important;
    justify-items: start;
}

table a, p a {
    text-decoration: none !important;
}

table a:hover, p a:hover {
    color: var(--io-color-gold-12) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

table a:not(.io-noArrowLink)::after, p a:not(.io-noArrowLink)::after {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: var(--accent-color);
    mask-image: url("http://localhost:2368/assets/images/linkArrow.svg");
    content: "";
    display: inline-block;
    height: 10px;
    position: relative;
    width: 10px;
    margin-bottom: 4px;
}
table a:hover:not(.io-noArrowLink)::after, p a:hover:not(.io-noArrowLink)::after {
    background-color: var(--io-color-gold-12) !important;
}

h3 {
    font-family: var(--gh-font-heading, Inter);
    font-size: 14pt !important;
    font-weight: 400;
    line-height: 1.8;
    color: var(--io-color-gold-12);
}

.kg-gallery-image img {
    border-radius: 8pt;
    border-width: 2px;
    border-style: solid;
    border-color: var(--io-color-gold-2);
}

.pswp img {
    border-radius: 8pt;
}

/* about page custom header styling */

.io-profileHead {
    display: grid;
    grid-template-columns: 92px auto;
    grid-gap: 36px;
    margin-top: 64px;
}

.io-profileHead .io-profileImage {
    height: 92px;
    width: 92px;
    border: none;
    border-radius: 100px;
    grid-column: 1 / 1;
}

.io-profileHead h1.gh-author-name {
    font-size: 20pt;
    font-weight: 400;
    color: var(--io-color-gold-12);
    font-family: var(--gh-font-heading);
}
.io-profileHead .gh-author-location {
    color: var(--io-color-gold-12);
}

.io-profileHead .gh-author-bio {
    font-size: 14pt;
    line-height: 1.8;
    font-weight: 400;
    margin-top: 0;
    color: var(--io-color-gold-11);
}

.io-profileHead .gh-author-meta {
    margin-top: 0;
}

.io-profileContent {
    width: calc(100% - 100px);
    left: 100px;
    grid-column: 2 / 2;
    padding-top: 12px;
    margin-left: -100px;
}

@media (max-width: 992px) {
    
    .io-profileHead {
        grid-template-columns: auto;
        grid-gap: 12px;
        padding-bottom: 36px;
        border-bottom: 2px solid var(--io-color-gold-5);
    }

    .io-profileContent {
        grid-row: 2;
        grid-column: 1;
        margin-left: 0 !important;
    }
    
    .gh-content table:not(.gist table) th:first-child, .gh-content table:not(.gist table) td:first-child {
        color: var(--io-color-gold-12);
        width: 94px;
        text-wrap: auto;
        font-size: 10pt;
    }
    
    .gh-content table:not(.gist table) th, .gh-content table:not(.gist table) td {
        line-height: 1.6;
        font-size: 12pt;
    }
    p {
        font-size: 12pt;
        line-height: 1.6;
        color: var(--io-color-gold-11);
    }
}

/* Custom Home Block */
.io-homeContent figure {
    display: inline-block;
    width: calc((100% - 48px) / 3);
    margin-right: 24px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--io-color-gold-5);
    border-radius: 24pt;
    background-color: var(--io-color-gold-2);
}
.io-homeContent figure:hover {
    background-color: var(--io-color-gold-3);
    border-color: var(--io-color-gold-6);
}
.io-homeContent figure:last-child {
    margin-right: 0;
}

.io-homeContent figure a {
    width: 100%;
    border-radius: 24pt;
}

.io-homeContent figure a img {
    height: 124px;
    padding-top: 18px;
    padding-bottom: 48px;
}

.io-homeContent figcaption {
    font-size: 14pt;
    margin-top: -38px;
    padding-bottom: 12px;
    margin-bottom: 0;
    pointer-events: none;
    color: var(--io-color-gold-12);
}

figcaption {
    font-size: 10pt;
    color: var(--io-color-gold-9);
}

figcaption a {
    font-size: 10pt;
    color: var(--io-color-gold-12);
}


/* Subscription Box */

.gh-subscribe-wrapper {
    margin-top: 18px;
    margin-bottom: 18px;
}

.gh-subscribe {
    margin: 0;
    background: var(--io-color-gold-3);
    border-radius: 24px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--io-color-gold-6);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
div.subscribe-info {
    align-self: flex-start;
    order: 1;
}
div.subscribe-button {
    align-self: flex-end;
    order: 2;
    width: 124px;
    font-size: 12pt !important;
    font-weight: 500;
    background-color: var(--io-color-gold-9);
    border-radius: 18px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--io-color-gold-10);
    padding: 2pt 2pt;
}

h3.subscribe-title {
    font-family: var(--gh-font-heading, Inter);
    font-size: 12pt !important;
    font-weight: 500;
    color: var(--io-color-gold-11);
    text-align: left;
    line-height: 1.6;
    padding-left: 12pt;
}
p.subscribe-input {
    font-size: 14pt !important;
    font-weight: 400;
    font-style: italic;
    text-align: left;
    color: var(--io-color-gold-12);
    line-height: 1.6;
}