/* 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%);
}

/* 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;
}

/* 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;
}

/* 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;
}

/* TABLE OF CONTENTS */

#toc {
    font-size: smaller;
}

.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;
}
