/* HEADER */

.gh-head-actions {
    align-items: baseline;
    gap: 16px;
}

@media (max-width: 767px) {
    .gh-head-actions {
        display: none !important;
    }
}

.is-head-transparent .social-icon,
.is-head-dark:not(.is-head-transparent) .social-icon {
    filter: invert(100%);
}

/* HOME */

.home-template .gh-main {
    padding-top: 0;
}

.hero__title {
    font-size: 4rem !important;
}

.hero__description {
    font-size: 1.8rem !important;
}

.services {
    grid-template-columns: repeat(auto-fill, minmax(23rem, 1fr)) !important;
}

.services__description {
    font-size: 1.5rem !important;
}

.services__emoji {
    padding: 10px 5px;
}

.services__title {
    font-size: calc(1.8rem) !important;
}

/* POSTS */

.author-social-link {
    padding-left: 5px;
}

.author-social-link:first-of-type {
    padding-left: 10px;
}

@media (min-width: 767px) {
    .author-social-link {
        display: none !important;
    }
}

.gh-content > blockquote {
    background: #fff9ed;
    border-left: #ff5b00 solid 4px;
    box-shadow: 3px 2px 5px 0px lightgrey;
    font-style: italic;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-top: 10px;
}

/* Shariff share buttons */
.shariff {
    margin-top: 40px;
}

/* CODE BLOCKS */

.toolbar > .toolbar-item:not(:first-child) {
    padding-left: 5px;
}

/* ARTICLE LINKS */

.gh-content a, .fix-links a {
    color: navy;
    text-decoration: underline;
}

.gh-content a:visited, .fix-links a:visited {
    color: purple;
    text-decoration: underline;
}

.gh-content a:hover, .fix-links a:hover {
    color: red;
}

/* GitHub link */
.post_source_code_link {
    background: #fff;
    border-radius: 30px;
    border:thin #00a6ff solid;
    border-left: thick #00a6ff solid;
    border-right: thick #00a6ff solid;
    box-shadow: 3px 2px 5px 0px lightgrey;
    color: black;
    display: grid;
    font-size: smaller;
    grid-template-columns: 30px auto;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    vertical-align: middle;
    width: 80%;
}

/* GitHub link (2) */
.post_source_code_link_2 {
    border-bottom: 1px solid lightgray;
    color: #6f83e6;
    padding-bottom: 20px;
}

.post_source_code_link_2 > i {
    margin-right: 10px;
}

.post_source_code_link_2 > a {
    color: #2ea8ff !important;
    text-decoration: none;
}

.post_source_code_link_2 > a:visited {
    color: #2ea8ff !important;
}

.post_source_code_link_2 > a:hover {
    color: navy !important;
    text-decoration: underline;
}

/* BUY ME A COFFEE */

.bmc-button img {
    width: 27px !important;
    margin-bottom: 1px !important;
    box-shadow: none !important;
    border: none !important;
    vertical-align: middle !important;
}

.bmc-button {
    line-height: 36px !important;
    height:37px !important;
    text-decoration: none !important;
    display:inline-flex !important;
    color:#000000 !important;
    background-color:#FFDD00 !important;
    border-radius: 3px !important;
    border: 1px solid transparent !important;
    padding: 1px 9px !important;
    font-size: 22px !important;
    letter-spacing:0.6px !important;
    box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;
    -webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
    margin: 0 auto !important;
    font-family:'Cookie', cursive !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    -o-transition: 0.3s all linear !important;
    -webkit-transition: 0.3s all linear !important;
    -moz-transition: 0.3s all linear !important;
    -ms-transition: 0.3s all linear !important;
    transition: 0.3s all linear !important;
}

.bmc-button:hover, .bmc-button:active, .bmc-button:focus {
    -webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
    text-decoration: none !important;
    box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;
    opacity: 0.85 !important;
    color:#000000 !important;
}

/* SERIES TOC */

#series-toc {
    background: #d5e0ef;
    border: 1px solid navy;
    box-shadow: 10px 10px aliceblue;
    font-size: smaller;
    padding: 10px;
}

#series-toc a {
    text-decoration: none;
}

#series-toc a:visited {
    color: navy;
}

.series-toc-body {
    font-weight: bold;
}

.series-toc-body ol {
    font-weight: normal;
    margin-left: 10px;
}

.series-toc-list {
    margin-top: 10px;
}

.series-toc-list-current {
    color: #4a4a4a;
    font-style: italic;
}

/* TABLE OF CONTENTS */

#toc {
    font-size: smaller;
}

#toc a:visited {
    color: navy;
    text-decoration: underline;
}

.toc-body {
    margin-left: 15px;
    margin-bottom: 20px;
}

.toc-list {
    margin-top: 10px;
}

/* Media queries */

/* hide dot before timestamp for small main page cards on small screens */
@media (max-width: 767px) {
    .gh-topic-grid .gh-card:not(.large) .gh-card-footer > .gh-card-date:before {
        display: none;
    }
}

/* Add a horizontal line above the footer menu, under the signup form */

.gh-foot-menu {
    border-top: 1px solid hsla(0,0%,100%,.15);
    padding-top: 32px;
}


/* Override min body width defined in screen.css - too narrow */

.gh-canvas,
.kg-width-full.kg-content-wide {
    --main: min(var(--content-width, 850px), 100% - var(--gap) * 2) !important;
    --wide: minmax(0, calc((var(--container-width, 1200px) - var(--content-width, 850px))/2)) !important;
}

.gh-topic-grid .gh-card:not(.large),
.gh-topic-grid .gh-card.no-image.large .gh-card-excerpt,
.gh-topic-minimal .gh-card,
.gh-cover-content {
    max-width: 850px !important;
}

/* Meta section to the left of posts */

.gh-article-meta .updated-timestamp {
    font-style: italic;
}

/* EthicalAds */

/* @media (max-width: 1300px) {
    #ea-blog-page, #ea-blog-post {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }
} */


/* Pulled from ghost/versions/5.82.4/core/frontend/public/ghost.css */

/* Error /ghost/404/
/* ---------------------------------------------------------- */

.error-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: text;
}

.error-details {
    display: flex;
    align-items: center;
}

.error-ghost {
    margin: 15px;
    height: 115px;
}

@media (max-width: 630px) {
    .error-ghost {
        display: none;
    }
}

.error-code {
    margin: 0;
    color: #C5D2D9;
    font-size: 10vw;
    font-weight: 600;
    line-height: 0.9em;
    letter-spacing: -0.4vw;
}

.error-description {
    margin: 0;
    padding: 0;
    border: none;
    color: #54666D;
    font-size: 2.3rem;
    font-weight: 300;
    line-height: 1.3em;
}

.error-message {
    display: flex;
    flex-direction: column;
    margin: 15px;
    align-items: center;
}

.error-message a {
    font-size: 1.4rem;
    line-height: 1;
    margin: 8px 0;
}

.error-link {
    background-color: transparent;
    color: #5ba4e5;
    transition: background .3s,color .3s;
    text-decoration: none;
}

/* Stack trace
/* ---------------------------------------------------------- */

.error-stack {
    margin: 1rem auto;
    padding: 2rem;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.3);
}

.error-stack-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.error-stack-list li {
    display: block;
}

.error-stack-list li:before {
    content: "\21AA";
    display: inline-block;
    margin-right: 0.5rem;
    color: #bbb;
    font-size: 1.2rem;
}

.error-stack-function {
    font-weight: bold;
}

