.wp-rich-text {
    z-index: 1;
}

.wp-rich-text .testimonial-icon svg {
    width: 5rem;
}

.wp-rich-text .testimonial-icon svg .cls-1 {
    fill: rgb(var(--quote-icon));
}

.wp-rich-text .wp-rich-text__heading {
    color: rgb(var(--color-heading));
    font-weight: bold;
    margin-top: 0;
}

.wp-rich-text .wp-rich-text__heading.testimonials-content {
    line-height: normal;
    margin-bottom: 0;
}

.wp-rich-text .authors-name {
    margin-top: 2rem;
}

.wp-rich-text .secondary-heading {
    margin-bottom: 1rem;
}

.wp-rich-text__wrapper {
    display: flex;
    justify-content: center;
    width: calc(100% - 4rem / var(--font-body-scale));
}

@media screen and (max-width: 749px) {
    .wp-rich-text__wrapper img {
        max-width: 100%;
    }
}

.wp-rich-text:not(.wp-rich-text--full-width) .wp-rich-text__wrapper {
    margin: auto;
    width: calc(100% - 8rem / var(--font-body-scale));
}

.wp-rich-text__text p {
    line-height: 2.6rem;
}

.wp-rich-text__blocks {
    width: 100%;
}

@media screen and (min-width: 750px) {
    .wp-rich-text__wrapper {
        width: 100%;
    }

    .wp-rich-text__wrapper--left {
        justify-content: flex-start;
    }

    .wp-rich-text__wrapper--right {
        justify-content: flex-end;
    }

    .wp-rich-text__blocks {
        max-width: 50rem;
    }
}

@media screen and (min-width: 990px) {
    .wp-rich-text__blocks {
        max-width: 78rem;
    }
}

.wp-rich-text__blocks * {
    overflow-wrap: break-word;
}

.wp-rich-text__blocks > * {
    margin-top: 0;
    margin-bottom: 0;
}

.wp-rich-text__blocks > * + * {
    margin-top: 2rem;
}

.wp-rich-text__blocks > * + a {
    margin-top: 3rem;
}

.wp-rich-text__buttons {
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 45rem;
    word-break: break-word;
}

.wp-rich-text__buttons--multiple > * {
    flex-grow: 1;
    min-width: 22rem;
}

.wp-rich-text__buttons + .wp-rich-text__buttons {
    margin-top: 1rem;
}

.wp-rich-text__blocks.left .wp-rich-text__buttons {
    justify-content: flex-start;
}

.wp-rich-text__blocks.right .wp-rich-text__buttons {
    justify-content: flex-end;
}

.wp-rich-text a.wp-rich-text__arrow-link {
    margin-top: 1rem;
    color: rgb(var(--color-secondary-heading));
    display: block;
    text-decoration: none;
}

.wp-rich-text a.wp-rich-text__arrow-link:before {
    background-color: rgb(var(--color-link));
    color: rgb(var(--color-link));
    content: " ";
    display: inline-block;
    height: 1.3rem;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23e8eaed"><path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"/></svg>');
    mask-repeat: no-repeat;
    mask-size: 1.6rem;
    padding-right: 2rem;
}

.rte.checkmark ul,
.rte.arrow ul,
.rte.arrow-alternate ul {
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-position: inside;    
    display: inline-block;
}

.wp-rich-text .rte ul {
  list-style-position: inside;
  padding: 0;
}

.rte.checkmark ul li,
.rte.arrow ul li,
.rte.arrow-alternate ul li {
    line-height: 2.6rem;
    list-style-type: none;
    padding-left: 0;
    position: relative;
}

.rte.arrow ul li,
.rte.arrow-alternate ul li {
    padding-left: 0;
}

.rte.checkmark ul li:before {
    background-color: rgb(var(--color-secondary-heading));
    color: rgb(var(--color-secondary-heading));
    content: " ";
    height: 24px;
    left: 0;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"/></svg>');
    mask-repeat: no-repeat;
    mask-position: 0 5px;
    padding-right: 29px;    
    width: 24px;
    display: inline-block;    
}

.rte.arrow ul li:before,
.rte.arrow-alternate ul li:before {
    background-color: rgb(var(--color-secondary-heading));
    color: rgb(var(--color-secondary-heading));
    content: " ";
    height: 24px;
    left: 0;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23e8eaed"><path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"/></svg>');
    mask-position: 0 11px;
    mask-repeat: no-repeat;
    mask-size: 15px;
    padding-right: 0;    
    width: 24px;
    display: inline-block;    
}
