/* Blockquote Component */
:root {
    --blockquote-margin-y: 3rem;
}

blockquote,
blockquote.wp-block-quote.is-style-large {
    position: relative;
    background: transparent;
    border-radius: var(--df-border-radius);
    border: none;
    font-weight: normal;
    font-style: normal;
    font-size: 3rem;
    line-height: 1.2;
    width: 70rem;
    max-width: 100%;
    text-align: left;
    padding: 8.5rem 0 1rem 0;
    margin: 0 0 var(--blockquote-margin-y) 0;
    font-family: var(--heading-font-family);
    color: var(--title-color);
    font-weight: normal;
    clear: both;
    border: none;
    border-left: none;
    box-shadow: none;
    transition: none;
}

blockquote+p:has(cite) {
    position: relative;
    margin-top: calc(var(--blockquote-margin-y) * -1);
    z-index: 2;
    font-size: 90%;
}

blockquote+p cite {
    font-style: normal;
}

blockquote.centered {
    margin-left: auto;
    margin-right: auto;
}

blockquote.gray,
blockquote.white,
blockquote.wp-block-quote.is-style-large {
    background: var(--light-bg-color);
    box-shadow: none;
    padding: 4.5rem 5.5rem 3rem;
    margin: 4rem 0;
}

blockquote.white {
    background: #fff;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.03);
}

blockquote:before {
    position: absolute;
    top: 0;
    font-family: "Fantasy", "Arial", "Helvetica", serif;
    display: block;
    font-size: 7rem;
    font-weight: bold;
    line-height: 1;
    width: 6.5rem;
    height: 6.5rem;
    text-align: center;
    border-radius: 50%;
    box-shadow: none;
    color: var(--highlight-color);
    content: "\201C";
    margin: 0 0 0 -0.4rem;
    padding-top: 1.1rem;
    background: rgba(0, 0, 0, 0.02);
}

blockquote.is-style-boxed {
    clear: both;
    background: rgb(var(--box-bg-color, 255, 255, 255));
    display: block;
    padding: var(--df-padding-unit);
    border-radius: var(--df-border-radius);
    box-shadow: var(--box-box-shadow);
    border: var(--box-border);
    width: 100%;
}

blockquote.is-style-boxed {
    padding-left: 5rem;
}

blockquote.is-style-boxed+p:has(cite) {
    margin-top: calc((var(--df-padding-unit) + var(--blockquote-margin-y) + 1rem) * -1);
    padding-left: 5rem;
}

blockquote.is-style-boxed:before,
blockquote.wp-block-quote.is-style-large:before {
    top: 50%;
    margin-top: -3.9rem;
    background: none;
    left: -2.9rem;
    box-shadow: none;
    transform: scale(1.2);
}

blockquote .wp-block-image {
    margin: 0;
}

blockquote .avatar img,
blockquote figure img {
    position: absolute;
    right: 3.5rem;
    bottom: -3rem;
    clear: both;
    width: 8rem !important;
    height: 8rem !important;
    margin: 2rem auto 0;
    border-radius: 50%;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

blockquote .avatar .name,
blockquote cite {
    display: block;
    font-weight: normal;
    text-align: left;
    font-style: normal;
    color: var(--text-light-color);
    position: relative;
    top: 0;
    margin-top: 1em;
    font-size: 60%;
    border-radius: var(--df-border-radius);
}

blockquote p {
    line-height: 1.1;
    font-size: inherit;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
    font-style: normal;
}

blockquote.is-style-plain {
    padding-top: 0;
}

blockquote.is-style-plain::before {
    display: none;
}

@media (max-width: 1440px) {
    blockquote {
        font-size: 2.2rem;
    }

    blockquote:before {
        transform: scale(0.9);
    }
}

@media (max-width: 600px) {

    blockquote:before {
        transform: scale(0.9);
    }

    blockquote.is-style-boxed:before,
    blockquote.wp-block-quote.is-style-large:before {
        left: 0;
        transform: scale(0.8);
    }
}