.article {
    margin-top: 160px;
}

.article p,
.article li {
    font-size: 16px;
    line-height: 23px;
    overflow-wrap: anywhere; 
}

.post-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 36px;
}

.post-feature-image-wrapper {
    width: 100%;
}

.previous-button:hover .arrow-icon {
    transform: translateX(-5px);
}

h1.post-heading {
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
}

.post-header-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.post-excerpt {
    max-width: 480px;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.post-header-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
}

.save-post-button {
    column-gap: 8px;
    padding: 13px 16px 10px;
    border: 1px solid var(--text-color);
    text-transform: none;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
}

.save-post-button span {
    padding-bottom: 3px;
}

.post-content,
.about-content {
    margin-top: 36px;
    overflow-y: hidden;
}

.post-content > * {
    margin-bottom: 30px;
}

.post-content ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.post-content li {
    margin-bottom: 16px;
}

.post-content p a {
    color: var(--text-color);
}

.post-upgrade-cta {
    background-color: var(--text-color);
    padding: 56px 80px;
    border-radius: 8px;
    color: var(--background-color);
    position: relative;
}

.post-cta-heading {
    color: var(--background-color);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

.post-cta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-cta-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 10px;
    max-width: 560px;
}

.post-upgrade-cta p {
    color: var(--background-color);
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
}

.post-cta-content p a {
    text-decoration: underline;
    font-weight: 500;
    color: currentColor;
}

.post-cta-background-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.post-cta-background-image svg {
    width: 30%;
}

.post-upgrade-cta-content {
    z-index: 2;
    position: relative;
}

.fading-content {
    position: relative;
}

.fading-content:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 35vh;
    background: linear-gradient(transparent, var(--background-color) 93%);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    line-height: 120%;
    text-transform: none;
}

.post-content h1 {
    font-size: 56px;
}

.post-content h2 {
    font-size: 40px;
}

.post-content h3 {
    font-size: 32px;
}

.post-content h4 {
    font-size: 26px;
}

.save-post-button:disabled {
    opacity: 0.4;
}

.save-post-button[is-saved="true"] {
    background-color: var(--text-color);
    color: var(--background-color);
}

.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;
}

@media (max-width: 991px) {
   .post-content h1 {
        font-size: 46px;
    } 
}

@media (max-width: 767px) { 
    h1.post-heading {
        font-size: 28px;
        line-height: 32px;
    }

    .post-content h1 {
        font-size: 32px;
    }

    .post-content h2 {
        font-size: 26px;
    }

    .post-content h3 {
        font-size: 22px;
    }

    .post-content h4 {
        font-size: 18px;
    }

    .article {
        margin-top: 120px;
    }

    .post-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 26px;
    }

    .save-post-button {
        padding: 10px 16px 7px;
    }

    .post-content,
    .about-content {
        margin-top: 26px;
    }

    .post-content > * {
        margin-bottom: 24px;
    }

    .post-upgrade-cta {
        padding: 48px 20px;
    }

    .post-cta-heading {
        font-size: 18px;
        line-height: 26px;
    }

    .post-cta-top {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .post-cta-content {
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .post-upgrade-cta p {
        font-size: 14px;
        line-height: 20px;
    }

    .post-cta-content p a {
        display: block;
        font-weight: 300;
        margin-top: 10px;
    }

    .post-cta-background-image svg {
        width: 80%;
    }
}