.quotes-list-slider .block-header {
    margin-bottom: 40px;
}

.quotes-list-slider {
    overflow: hidden;
}

.quotes-list-slider__subtitle {
    margin-bottom: 16px;
}

.quotes-list-slider h2 {
    padding-left: 26px;
    margin-bottom: 24px;
    text-wrap: balance;
}

.quotes-list-slider__introduction {
    margin-bottom: 32px;
}

.quotes-list-slider__slide.quote-with-avatar {
    padding: 28px 32px;
    background: var(--wp--preset--color--light-green);
    /* Slides in slider usually have white background over the light blue background */
    border-radius: 8px;
    box-shadow: 0 10px 24px 0 rgba(0, 0, 0, 0.15);
    height: 100%;
    /* For swiper equal height */
    display: flex;
    flex-direction: column;
    aspect-ratio: initial;
}

/* Avatar row: image + meta side-by-side */
.quote-with-avatar__avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

/* Avatar image */
.quote-with-avatar__avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.quote-with-avatar__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quote-with-avatar__avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--wp--preset--color--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--dark-green);
}

/* Blockquote */
.quote-with-avatar__quote,
.quote-with-avatar__quote.has-large-text-font-size {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    flex: 1;
}

.quote-with-avatar__quote div {
    color: var(--wp--preset--color--dark-green);
    margin-bottom: 12px;
}

.quote-with-avatar__quote::before {
    content: '“';
    color: var(--wp--preset--color--dark-green);
    position: absolute;
    top: 0px;
    left: -11px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}

/*
.quote-with-avatar__quote::after {
    content: '”';

}*/

.quote-with-avatar__meta {
    color: var(--wp--preset--color--black);
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quote-with-avatar__name {
    font-size: 1rem;
    line-height: 1.2;
}

.quote-with-avatar__role {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (min-width: 1024px) {
    .quotes-list-slider__inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .quotes-list-slider .block-header {
        flex: 0 0 40%;
        max-width: 40%;
        padding-right: 78px;
        box-sizing: border-box;
        anchor-name: --quote-title;
        margin-bottom: 0;
    }

    .quotes-list-slider__controls-static {
        position-anchor: --quote-title;
        top: anchor(bottom);
        left: anchor(left);
        position: absolute;

        .swiper-controls {
            margin-top: 0;
        }
    }

    .quotes-list-slider .quotes-list-slider__slider-wrapper {
        flex: 0 0 60%;
        max-width: 60%;
        min-width: 0;
    }

    .quotes-list-slider h2 {
        padding-left: 0;
    }

    .quotes-list-slider__slider-wrapper .swiper {
        overflow: hidden;
    }
}

@media(max-width:801px) {
    .quotes-list-slider h2 {
        padding-left: 0;
        text-wrap: balance;
    }

    .quotes-list-slider .swiper-controls .swiper-button-prev {
        margin-left: 0;
    }

    .quotes-list-slider__slide.quote-with-avatar {
        padding: 24px;


    }

    .quote-with-avatar__quote.has-h-4-font-size {

        line-height: 1.25;
        font-size: 1.5rem !important;
    }
}