/* ------------------------------------------------------------
   Quote
------------------------------------------------------------ */

.ls-quote {
    padding-block: clamp(64px, 8vw, 112px);
    background: var(--wp--preset--color--custom-longside-bg-light);
    color: var(--wp--preset--color--custom-longside-dark);
}

.ls-quote > .ls-section-inner {
    max-width: 1100px;
}


/* Quote
------------------------------------------------------------ */

.ls-quote-main {
    position: relative;
    max-width: 1000px;
    margin-inline: auto;
    padding-left: 64px;
    text-align: center;
}

.ls-quote-mark {
    position: absolute;
    top: -0.12em;
    left: 0;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 1;
    color: var(--wp--preset--color--custom-longside-cyan);
    opacity: .32;
}

.ls-quote-text {
    margin: 0;
    padding: 0;
    border: 0;
}

/*.ls-quote-text p {*/
/*    margin: 0;*/
/*    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;*/
/*    font-size: clamp(1.75rem, 2.6vw, 2.75rem);*/
/*    font-style: italic;*/
/*    font-weight: 600;*/
/*    line-height: 1.35;*/
/*    letter-spacing: -.015em;*/
/*    color: inherit;*/
/*}*/


.ls-quote-text p {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(1.6rem, 2.25vw, 2.35rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: inherit;
}

/* Author
------------------------------------------------------------ */

.ls-quote-author {
    margin-top: clamp(32px, 4vw, 48px);
    gap: 20px;
}

.ls-quote-author-text {
    text-align: right;
}

.ls-quote-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.ls-quote-role {
    margin: 5px 0 0;
    font-size: .9rem;
    line-height: 1.4;
    color: rgba(6, 16, 24, .62);
}

.ls-quote-image {
    flex: 0 0 88px;
    width: 88px;
    max-width: 88px;
    margin: 0;
}

.ls-quote-image img {
    display: block;
    width: 88px;
    max-width: 100%;
    height: 88px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(6, 16, 24, .14);
}

/* Dark variant
------------------------------------------------------------ */

/*.ls-quote.ls-section--dark {*/
/*    background:*/
/*            radial-gradient(*/
/*                    circle at 82% 20%,*/
/*                    rgba(56, 214, 232, .12) 0,*/
/*                    rgba(56, 214, 232, .05) 22%,*/
/*                    transparent 48%*/
/*            ),*/
/*            var(--wp--preset--color--custom-longside-dark);*/
/*    color: #f7f9fb;*/
/*}*/

.ls-quote.ls-section--dark {
    background:
            linear-gradient(
                    225deg,
                    rgba(56, 214, 232, .28) 0%,
                    rgba(56, 214, 232, .14) 15%,
                    rgba(56, 214, 232, .05) 30%,
                    transparent 48%
            ),
            var(--wp--preset--color--custom-longside-dark);
    color: #f7f9fb;
}


.ls-quote.ls-section--dark .ls-quote-mark {
    color: var(--wp--preset--color--custom-longside-cyan);
    opacity: .38;
}

.ls-quote.ls-section--dark .ls-quote-text p {
    color: #f7f9fb;
}

.ls-quote.ls-section--dark .ls-quote-role {
    color: rgba(247, 249, 251, .62);
}

.ls-quote.ls-section--dark .ls-quote-image img {
    border-color: rgba(255, 255, 255, .18);
}


/* Responsive
------------------------------------------------------------ */

@media (max-width: 800px) {

    .ls-quote {
        padding-block: 48px;
        padding-inline: 24px;
    }
    .ls-quote-main {
        max-width: 100%;
        padding-left: 0;
        padding-top: 38px;
        text-align: center;
    }
    .ls-quote-mark {
        top: -0.12em;
        left: 0;
        font-size: 4.5rem;
    }
    .ls-quote-text p {
        font-size: clamp(1.35rem, 5.5vw, 1.7rem);
        line-height: 1.4;
    }
    .ls-quote-author {
        margin-top: 32px;
        gap: 12px;
        justify-content: flex-end;
        width: 100%;
    }
    .ls-quote-author-text {
        text-align: right;
    }
    .ls-quote-image {
        flex: 0 0 64px;
        width: 64px;
        max-width: 64px;
    }
    .ls-quote-image img {
        width: 64px;
        height: 64px;
    }

}