/* Home - Testimonials section responsive */

@media screen and (max-width: 1439px) {

}

@media screen and (max-width: 1024px) {

}

@media screen and (max-width: 1100px) {
    .testimonials {
        overflow-x: hidden;
    }

    .testimonials__inner {
        max-width: 100%;
    }

    .testimonials__card {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 40px;
        min-height: 0;
        width: 100%;
        overflow: hidden;
    }

    .testimonials__left,
    .testimonials__middle,
    .testimonials__right {
        min-width: 0;
        max-width: 680px;
        width: 100%;
    }

    .testimonials__left {
        width: min(350px, 100%);
    }

    .testimonials__arch {
        width: 100%;
        padding: 24px 12px 12px;
        border-radius: 110px 110px 16px 16px;
    }

    .testimonials__middle {
        align-items: center;
    }

    .testimonials__heading,
    .testimonials__quote-text,
    .testimonials__author-info {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: break-word;
    }

    .testimonials__cta {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials__author {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }

    .testimonials__nav {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .testimonials__inner {
        width: calc(100% - 24px);
        border-radius: 24px;
    }

    .testimonials__card {
        gap: 34px;
        padding: 48px clamp(20px, 5vw, 34px);
    }

    .testimonials__left {
        width: min(320px, 100%);
    }

    .testimonials__arch {
        height: auto;
        min-height: 400px;
    }

    .testimonials__stars {
        justify-content: center;
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 600px) {
    .testimonials {
        min-height: 0;
        padding: 60px 0;
    }

    .testimonials__inner {
        width: calc(100% - 16px);
        border-radius: 20px;
    }

    .testimonials__card {
        padding: 40px clamp(16px, 5vw, 24px);
    }

    .testimonials__cta {
        width: min(316px, 100%);
        justify-content: center;
    }

    .testimonials__cta > span:not(.testimonials__cta-icon) {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .testimonials__quote-icon {
        align-self: center;
    }

    .testimonials__author {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        justify-content: stretch;
        text-align: left;
        gap: 12px;
    }

    .testimonials__nav {
        justify-self: end;
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    .testimonials__card {
        padding: 36px 16px;
    }

    .testimonials__left {
        width: min(300px, 100%);
    }

    .testimonials__arch {
        min-height: 360px;
        padding: 22px 12px 12px;
        border-radius: 100px 100px 14px 14px;
    }

    .testimonials__quote-text {
        font-size: 16px;
        line-height: 1.55;
    }

}

@media screen and (max-width: 375px) {
    .testimonials__inner {
        width: calc(100% - 10px);
        border-radius: 18px;
    }

    .testimonials__card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .testimonials__arch {
        min-height: 330px;
    }

    .testimonials__cta {
        padding: 8px 16px 8px 58px;
        font-size: 14px;
    }

    .testimonials__author {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .testimonials__avatar {
        width: 44px;
        height: 44px;
    }

    .testimonials__nav button {
        width: 36px;
        height: 36px;
    }
}
