:root :where(.wp-block-post-content){
    .post-password-form {
        input[type=submit] {
            background-color: var(--wp--preset--color--primary);
            cursor: pointer;
            margin-top: 20px;
            border-radius: 8px;
            border-width: 0;
            padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--6);
            color: var(--wp--preset--color--white);
        }

        input[type=password] {
            padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--2);
            border: 1px solid var(--wp--preset--color--neutral-200);
            outline: none;
            min-height: auto;
        }
    }

    .wp-block-button.is-style-squared {
        .wp-block-button__link {
            border-radius: 0;
        }
    }

    .wp-block-button.is-style-outline {

        .wp-block-button__link {
            border-radius: 8px;
            border-color: var(--wp--preset--color--primary);
            color: var(--wp--preset--color--primary);

            &:hover,
            &:focus {
                border-color: var(--wp--preset--color--primary);
                background: var(--wp--preset--color--primary);
                color: var(--wp--preset--color--white);
            }
        }
    }

    table {
        border-collapse: collapse;
        border: 1px solid var(--wp--preset--color--neutral-200);
        width: 100%;

        th,
        td {
            border: 1px solid var(--wp--preset--color--neutral-200);
            padding: 6px;
        }

        a {
            color: var(--wp--preset--color--text-primary);
            text-decoration: none;
        }
    }



    pre {
        overflow-x: auto;
    }

    embed,
    iframe,
    object {
        max-width: 100%;
    }

    .wp-block-embed {
        overflow-wrap: break-word;
    }

    .wp-block-cover-text a,
    .wp-block-cover p:not(.has-text-color) {
        color: var(--wp--preset--color--white);

        &:hover,
        &:focus {
            color: var(--wp--preset--color--white);
        }
    }

    blockquote {
        border-left:5px solid #0047C5;
        border-radius: 8px;
        position: relative;
        background-color: var(--wp--preset--color--bg-2);
        color: var(--wp--preset--color--text-primary);
        font-family: var(--wp--preset--font-family--space-grotesk);
        font-size: var(--wp--preset--font-size--2-xl);
        font-weight: 700;
        letter-spacing: var(--wp--custom--letter-spacing--none);
        line-height: 31px;
        padding-bottom: 41px;
        margin-left: 0;
        margin-right: 0;

        p {
            color: var(--wp--preset--color--text-primary);
            font-family: var(--wp--preset--font-family--space-grotesk);
            font-size: var(--wp--preset--font-size--2-xl);
            font-weight: 700;
            letter-spacing: var(--wp--custom--letter-spacing--none);
            padding: 30px;
            margin-bottom: 0;
            line-height: 1.5;

            @media(min-width:768px) {
                padding: 41px 77px 0 77px;
            }
        }

        &:after {
            content: "";
            position: absolute;
            width: 45px;
            height: 44px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='45' height='44' viewBox='0 0 45 44' fill='none'%3E%3Cpath d='M9.67883 38C6.64234 38 4.27007 36.9524 2.56204 34.8571C0.854015 32.6667 0 29.4286 0 25.1429C0 20.6667 0.99635 16.381 2.98905 12.2857C5.07664 8.19048 8.01825 4.14286 11.8139 0.142864C11.9088 0.0476213 12.0511 0 12.2409 0C12.5255 0 12.7153 0.142858 12.8102 0.428574C13 0.619048 13.0474 0.857143 12.9526 1.14286C10.6752 4.19048 9.10949 7.14286 8.25548 10C7.49635 12.7619 7.11679 15.8571 7.11679 19.2857C7.11679 21.8571 7.44891 23.8571 8.11314 25.2857C8.77737 26.7143 9.67883 28 10.8175 29.1429L5.40876 30.1429C5.31387 28.5238 5.74088 27.2857 6.68978 26.4286C7.73358 25.5714 9.06205 25.1429 10.6752 25.1429C12.6679 25.1429 14.1861 25.7143 15.2299 26.8571C16.3686 28 16.938 29.5714 16.938 31.5714C16.938 33.6667 16.2737 35.2857 14.9453 36.4286C13.7117 37.4762 11.9562 38 9.67883 38ZM31.5985 38C28.562 38 26.1898 36.9524 24.4818 34.8571C22.8686 32.6667 22.062 29.4286 22.062 25.1429C22.062 20.5714 23.0584 16.2381 25.0511 12.1429C27.0438 8.04762 29.9854 4.04762 33.8759 0.142864C33.9708 0.0476213 34.1131 0 34.3029 0C34.5876 0 34.7774 0.142858 34.8723 0.428574C35.062 0.619048 35.1095 0.857143 35.0146 1.14286C32.7372 4.19048 31.1715 7.14286 30.3175 10C29.5584 12.7619 29.1788 15.8571 29.1788 19.2857C29.1788 21.8571 29.4635 23.9048 30.0328 25.4286C30.6971 26.8571 31.5985 28.0952 32.7372 29.1429L27.4708 30.1429C27.3759 28.5238 27.8029 27.2857 28.7518 26.4286C29.7007 25.5714 31.0292 25.1429 32.7372 25.1429C34.7299 25.1429 36.2482 25.7143 37.292 26.8571C38.4307 28 39 29.5714 39 31.5714C39 33.6667 38.3358 35.2857 37.0073 36.4286C35.7737 37.4762 33.9708 38 31.5985 38Z' fill='%230B1220'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-size: contain;
            bottom: 50px;
            right: 66px;

            @media(max-width:767px) {
                bottom: 10px;
                right: 10px;
            }
        }
        

        cite {
            font-size: var(--wp--preset--font-size--sm);
            font-weight: 400;
            line-height: var(--wp--custom--line-height--185);
            margin-top: var(--wp--preset--spacing--5);
            font-style: normal;
            display: block;
        }

        &:not(.has-text-align-right) {
            p + cite {
                padding-left: 30px;

                @media(min-width:768px) {
                    padding-left: 77px;
                }
            }
        }

        &.has-text-align-right {
            p + cite {
                padding-right: 30px;

                @media(min-width:768px) {
                    padding-right: 77px;
                }
            }

            &:after {
                content: none;
            }
        }

        &.is-style-large:where(:not(.is-style-plain)) {
            padding-bottom: 41px;

            &:after {
                content: none;
            }
        }
        
    }

    .wp-block-pullquote {
        blockquote {
             p + cite {
                padding-left: 0;
            }
        }
    }

}


.single-post .wp-block-comment-content {
    line-height: 26px;
}


.single-post .wp-block-social-link:hover {
    transform: none;
}

@media (max-width: 768px) {
    :root :where(.wp-block-post-content){
        figure.wp-caption {

            &.alignnone,
            &.aligncenter,
            &.alignright {
                max-width: 100%;
            }
        }
    }
}