/* General */

.acf-block.testimonials {
    background: rgba(216, 235, 234, .28);
}

.testimonials .testimonials-intro-text > :last-child,
.testimonials .testimonial-detail-text > :last-child {
    margin-bottom: 0;
}

.testimonials .testimonials-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonials .testimonial-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(13, 26, 41, .07);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.testimonials .testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
}

.testimonials .testimonial-quote-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.testimonials .testimonial-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: var(--ice);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(13, 26, 41, .12);
}

.testimonials .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials .testimonial-quote {
    min-width: 0;
}

.testimonials blockquote {
    position: relative;
    margin-bottom: 16px;
    color: var(--navy);
    line-height: 1.45;
}

.testimonials blockquote::before {
    display: inline;
    margin-right: 0;
    color: var(--teal);
    content: "“";
    font-size: 2rem;
    font-weight: 700;
    line-height: 0;
    font-family: "Agrandir Narrow Bold", "Agrandir Narrow", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

.testimonials .testimonial-name {
    margin-bottom: 0;
    color: var(--teal-dark);
    font-weight: 700;
}

.testimonials .testimonial-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    margin-top: 28px;
}

.testimonials .testimonial-detail {
    overflow: hidden;
    background: var(--soft);
    border: 1px solid rgba(13, 26, 41, .07);
    border-radius: 16px;
}

.testimonials .testimonial-detail summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 13px 17px;
    color: var(--navy);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.testimonials .testimonial-detail summary::-webkit-details-marker {
    display: none;
}

.testimonials .testimonial-detail summary::marker {
    content: "";
}

.testimonials .testimonial-detail summary:focus-visible {
    outline: 3px solid rgba(86, 178, 184, .45);
    outline-offset: -3px;
}

.testimonials .testimonial-detail summary > span:first-child {
    font-family: "Donau Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 20px;
}

.testimonials .testimonial-detail-icon {
    position: relative;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.testimonials .testimonial-detail-icon::before,
.testimonials .testimonial-detail-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.testimonials .testimonial-detail-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.testimonials .testimonial-detail[open] .testimonial-detail-icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.testimonials .testimonial-detail-text {
    padding: 0 42px 16px 17px;
}

/* Responsive */

@media only screen and (max-width: 991.98px) {
    .testimonials .testimonials-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767.98px) {
    .testimonials .testimonials-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 38px;
    }

    .testimonials .testimonial-card {
        border-radius: 26px;
    }
}

@media only screen and (max-width: 575.98px) {
    .testimonials .testimonial-content {
        padding: 28px 22px;
    }

    .testimonials .testimonial-image {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .testimonials blockquote {
        font-size:20px;
    }
}
