.testimonial-feature {
    padding: 100px 0;
    background: #eef2ef
}

.testimonial-split {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 85px;
    align-items: center
}

.testimonial-intro h2 {
    color: var(--green);
    font-size: clamp(38px, 5vw, 58px)
}

.testimonial-intro p {
    max-width: 480px;
    color: var(--muted);
    font-size: 16px
}

.testimonial-intro .testimonial-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 30px
}

.testimonial-proof b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font: 800 24px Arial
}

.testimonial-proof span {
    font-size: 13px;
    color: var(--muted)
}

.testimonial-carousel {
    min-width: 0
}

.carousel-frame {
    position: relative;
    min-height: 355px
}

.facebook-testimonial {
    padding: 28px;
    border: 1px solid #d8dde3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(27, 39, 31, .1)
}

.facebook-testimonial.compact {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    animation: testimonial-in .3s ease
}

.facebook-testimonial header {
    display: flex;
    align-items: center;
    gap: 12px
}

.fb-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #dbeafe, #b8d8ff);
    color: #1459ad;
    font-size: 14px;
    font-weight: 800
}

.facebook-testimonial header>div {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column
}

.facebook-testimonial header strong {
    color: #17202b;
    font-size: 15px
}

.facebook-testimonial header div span {
    color: #606770;
    font-size: 12px
}

.facebook-testimonial header i {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #31a24c;
    color: #fff;
    font-style: normal;
    font-size: 10px
}

.fb-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font: 800 20px Arial
}

.fb-copy {
    margin: 24px 0;
    color: #1c1e21;
    font-size: 16px;
    line-height: 1.65;
    white-space: normal
}

.compact .fb-copy {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7
}

.facebook-testimonial footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 17px;
    margin-top: auto;
    border-top: 1px solid #e4e6eb;
    color: #65676b;
    font-size: 11px
}

.carousel-controls {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    margin-top: 19px
}

.carousel-buttons {
    display: flex;
    gap: 8px
}

.carousel-buttons button {
    width: 42px;
    height: 42px;
    border: 1px solid #cdd5cf;
    border-radius: 50%;
    background: #fff;
    color: var(--green);
    font-size: 19px;
    cursor: pointer
}

.carousel-buttons button:hover {
    background: var(--green);
    color: #fff
}

.carousel-status {
    font-size: 11px;
    color: var(--muted);
    font-weight: 800
}

.carousel-dots {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    overflow: hidden
}

.carousel-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #bcc7bf;
    cursor: pointer;
    transition: .2s
}

.carousel-dots button.active {
    width: 22px;
    background: #1877f2
}

.testimonials-page-hero {
    padding: 80px 0;
    background: #eef2ef
}

.testimonials-page-hero h1 {
    max-width: 800px;
    color: var(--green);
    margin-bottom: 18px
}

.testimonials-page-hero p {
    max-width: 700px;
    color: var(--muted);
    font-size: 18px
}

.testimonial-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line)
}

.testimonial-summary b {
    font-size: 20px;
    color: var(--green)
}

.testimonial-summary span {
    color: var(--muted);
    font-size: 13px
}

.testimonial-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start
}

.testimonial-list .facebook-testimonial {
    box-shadow: 0 10px 35px rgba(27, 39, 31, .07)
}

.testimonial-error {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line)
}

@keyframes testimonial-in {
    from {
        opacity: 0;
        transform: translateX(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:900px) {
    .testimonial-split {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .testimonial-list {
        grid-template-columns: 1fr
    }
}

@media(max-width:620px) {
    .testimonial-feature {
        padding: 70px 0
    }

    .carousel-frame {
        min-height: 430px
    }

    .facebook-testimonial {
        padding: 22px
    }

    .facebook-testimonial footer {
        flex-direction: column;
        gap: 4px
    }

    .carousel-controls {
        grid-template-columns: auto auto
    }

    .carousel-dots {
        display: none
    }

    .testimonial-summary {
        align-items: flex-start;
        flex-direction: column
    }
}