@media screen and (max-width: 1190px) {
    .right-aligned-post-content {
        margin-right: auto;
    }
    
    .right-aligned-post-content blockquote,
    .right-aligned-post-content .kg-width-wide {
        align-self: flex-start;
        min-width: 100%;
        width: 100%;
    }
    
    .right-aligned-post-content .post-content-inner > h2 {
        position: static;
        max-width: 100%;
        width: auto;
        right: 0;
        transform: translateX(0%);
        align-self: flex-start;
        height: auto;
        margin-bottom: max(18px, calc(1.25vw * var(--scale)));
    }
    
    .right-aligned-post-content .kg-width-wide {
        max-width: 100% !important;
    }

    .right-aligned-post-content .kg-blockquote-alt {
        font-style: italic;
        text-align: center;
    }
    
    .right-aligned-post-content .kg-blockquote-alt,
    .right-aligned-post-content .post-content-inner > h2 {  
        line-height: calc(100% * var(--heading-font-line-height-scale)) !important;
        text-transform: unset !important;    
    }
    
    .right-aligned-post-content hr {
        width: 100%;
        align-self: flex-start;
    }
    
    html[data-primary-font="Thunder"] .right-aligned-post-content .post-content-inner > h2 {
        top: 0px;
    }
    
    .right-aligned-post-content .narrow-container {
        margin-right: auto;
    }
    
    .right-aligned-post-content .kg-width-full {
        align-self: unset;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
}

@media screen and (max-width: 1080px) {
    .secondary-hero h1 {
        font-size: calc(78px * var(--heading-font-scale));
    }

    .excerpt-and-authors {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    article[data-post-header-type='Wide Centered'] .excerpt-and-authors,
    article[data-post-header-type='Narrow Centered'] .excerpt-and-authors,
    article[data-post-header-type='Background Media Centered'] .excerpt-and-authors {
        align-items: center;
        justify-content: center;
        gap: 18px;
    }

    .post-main-image-wrapper {
        margin-top: 21px;
    }

    .post-content-inner-wrapper {
        margin-top: max(46px, calc(3.89vw * var(--scale)));
    }

    article[data-has-featured-image='false'] .post-content-inner-wrapper {
        margin-top: 46px;
    }

    .clipboard-alert {
        bottom: -26px;
    }

    .social:hover {
        color: var(--text-color);
        background-color: var(--background-color);
    }

    .related-posts {
        margin-top: 25px;
        gap: 32px;
    }
    
    .related-post {
        gap: 5px;
    }
    
    .related-post:hover {
        opacity: 0.7;
    }
    
    .related-post-arrow {
        width: 18px;
        min-width: 18px;
    }

    .post-upgrade-cta {
        padding: 108px 52px 92px 52px;
    }

    .post-content .post-upgrade-cta h2 {
        font-size: calc(68px * var(--heading-font-scale));
    }

    .post-upgrade-cta-paragraph {
        margin-top: 10px;
    }

    .under-button-wrapper {
        margin-top: 9px;
    }

    .right-aligned-post-content .post-content-inner > h2 {
        margin-bottom: 13px;
    }
}

@media screen and (max-width: 767px) {
    .secondary-hero h1 {
        font-size: calc(52px * var(--heading-font-scale));
    }

    .post-content-inner-wrapper {
        margin-top: max(32px, calc(3.89vw * var(--scale)));
    }

    article[data-has-featured-image='false'] .post-content-inner-wrapper {
        margin-top: 32px;
    }

    .excerpt-and-authors,
    article[data-post-header-type='Wide Centered'] .excerpt-and-authors,
    article[data-post-header-type='Narrow Centered'] .excerpt-and-authors,
    article[data-post-header-type='Background Media Centered'] .excerpt-and-authors  {
        gap: 12px;
    }

    .post-main-image-wrapper {
        margin-top: 19px;
    }

    .post-share-icons .social {
        width: 43px;
        min-width: 43px;
        height: 43px;
        min-height: 43px;
    }
    
    .post-share-icons .social-inner {
        width: 21px;
        height: 21px;
    }
    
    .post-share-icons .social-inner-bigger {
        width: 31px;
        height: 31px;
    } 

    .post-upgrade-cta {
        padding: 76px 26px 62px 26px;
    }

    .post-content .post-upgrade-cta h2 {
        font-size: calc(50px * var(--heading-font-scale));
    }

    .post-upgrade-cta-paragraph {
        margin-top: 7px;
        margin-bottom: 28px;
    }

    .under-button-wrapper {
        margin-top: 7px;
    }
}