.article .article-hero h1 {
    text-align: left;
}

.article .article-hero {
    margin-top: calc(3 * var(--gap));
}

.article-header {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.article-header .rhombus-background {
    z-index: -1;
    color: var(--ghost-accent-color);
}

.article-header .card-header {
    line-height: 100%;
    color: var(--background-color);
    padding: 16px 32px;
    font-size: 16px;
    width: fit-content;
    text-transform: uppercase;
}

.post-excerpt p,
.post-content p,
.post-content li {
    opacity: 0.8;
    font-size: 18px;
    letter-spacing: 0em;
    line-height: 170%;
}

.post-content {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

.post-content > * {
    margin-bottom: 18px;
}

.post-content ul, .post-content ol {
    padding-left: 34px;
}


.post-content ul li, .post-content ol li {
    margin-bottom: 16px;
}

kg-image-card.kg-width-wide img,
.kg-image-card.kg-width-full img {
    width: 100%;
}

.kg-image-card.kg-width-full figcaption {
    text-align: center;
}

.kg-width-wide {
    width: 100%;
    max-width: 100%;
}

.kg-width-full {
    max-width: none !important;
    position: relative !important;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-radius: 0px !important;
}

.post-content h4, 
.post-content h5, 
.post-content h6 {
    font-weight: 400 !important;
}

.excerpt-and-date {
    display: flex;
    flex-direction: column;
}

.excerpt-and-date small {
    opacity: 0.8;
}

.post-share-icons {
    display: flex;
    margin-top: 18px;
}

.clipboard-alert {
    display: none;
    position: absolute;
    left: 0;
    bottom: -33px;
}

.post-share-title {
    margin-top: 18px;
    opacity: 1 !important;
}

.related-posts {
    margin-top: 32px;
    padding-top: 30px;
    border-top: 1px solid #202020;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-post {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
    transition: opacity .2s ease;
}

.related-post:hover {
    opacity: 1;
}

.related-post p,
.related-post-arrow {
    color: var(--text-color);
}

.related-post p {
    font-weight: 200;
    line-height: 100%;
}

.related-post-arrow {
    width: 20px;
    min-width:20px;
}

.related-post-arrow.rotated {
    transform: rotateZ(180deg);
}

.post-content p a {
    color: var(--text-color);
}

.visible-content {
    opacity: 1 !important;
}

.hidden-post-content {
    opacity: 0;
    transition: opacity;
    transition-duration: 0.7s;
    transition-timing-function: ease;
    transition-delay: 0.4s;
}

.date-small-text {
    display: block;
    margin-top: 12px;
}

@media screen and (max-width: 1080px) {
    .article .article-hero {
        margin-top: calc(2 * var(--gap));
    }

    .article-header {
        gap: 22px;
    }

    .related-post:hover {
        opacity: 0.7;
    }

    .post-content {
        padding-bottom: 80px;
    }
}

@media screen and (max-width: 767px) { 
    .article .article-hero h1 {
        line-height: 120%;
    }

    .article .article-hero {
        margin-top: calc(3.5 * var(--gap));
    }

    .article-header {
        gap: 10px;
    }

    .article-header .card-header {
        margin-bottom: 6px;
        padding: 7px 32px;
    }

    .post-excerpt p,
    .post-content p,
    .post-content li {
        font-size: 16px;
    }

    .post-content {
        margin-top: 17px;
    }

    .post-image-wrapper {
        margin-top: 4px;
    }

    .post-content > * {
        margin-bottom: 16px;
    }

    .post-share-icons {
        margin-top: 14px;
    }

    .clipboard-alert {
        bottom: -28px;
    }

    .related-posts {
        margin-top: 22px;
        padding-top: 26px;
    }

    .post-content {
        padding-bottom: 40px;
    }
}