.lyg-quotes {
    position: relative;
    width: 100%;
    min-width: 0;
}

.lyg-quotes__stage {
    position: relative;
    min-width: 0;
}

.lyg-quote {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        opacity var(--lyg-quote-transition, 500ms) ease,
        transform var(--lyg-quote-transition, 500ms) ease,
        visibility 0s linear var(--lyg-quote-transition, 500ms);
}

.lyg-quote.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.lyg-quote__text {
    position: relative;
    z-index: 1;
    margin: 0 0 34px;
    font-size: clamp(2rem, 5vw, 4.7rem);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lyg-quote__punctuation {
    color: #00aeef;
}

.lyg-quote__divider {
    width: 200px;
    height: 6px;
    margin: 0 0 38px;
    background: #7047eb;
}

.lyg-quote__author-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lyg-quote__author,
.lyg-quote__details {
    color: #9b9b9b;
}

.lyg-quote__author {
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 600;
}

.lyg-quote__details {
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 500;
}

.lyg-quote__decoration {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 170px;
    max-width: 36%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .lyg-quote {
        transition: none !important;
        transform: none !important;
    }
}

.lyg-quotes.has-shape-background {
    padding: 70px;
    isolation: isolate;
}

.lyg-quotes__shape {
    --lyg-quote-shape-shadow-x: 0px;
    --lyg-quote-shape-shadow-y: 16px;
    --lyg-quote-shape-shadow-blur: 28px;
    --lyg-quote-shape-shadow-color: rgba(0,0,0,.18);
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: #fff;
    pointer-events: none;
}

.lyg-quotes__shape path { fill: currentColor; }

.lyg-quotes.has-shape-background .lyg-quotes__stage {
    position: relative;
    z-index: 1;
}

.lyg-quotes.has-shape-shadow .lyg-quotes__shape {
    filter: drop-shadow(var(--lyg-quote-shape-shadow-x) var(--lyg-quote-shape-shadow-y) var(--lyg-quote-shape-shadow-blur) var(--lyg-quote-shape-shadow-color));
}
