.elementor-widget-agrind-testimonials-carousel,
.elementor-widget-agrind-testimonials-carousel > .elementor-widget-container {
    min-width: 0;
    max-width: 100%;
}

.agrind-testi {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    color: #1b2b1b;
    background: #f1f4f0;
}

.agrind-testi *,
.agrind-testi *::before,
.agrind-testi *::after {
    box-sizing: border-box;
}

.agrind-testi__inner {
    width: 100%;
    max-width: 980px;
    min-width: 0;
    margin-inline: auto;
}

.agrind-testi__inner > *,
.agrind-testi__carousel,
.agrind-testi__viewport,
.agrind-testi__track,
.agrind-testi__card {
    min-width: 0;
    max-width: 100%;
}

.agrind-testi__header {
    width: 100%;
    margin: 0 auto 52px;
    text-align: center;
}

.agrind-testi__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 8px 18px;
    border-radius: 999px;
    color: #294d25;
    background: #e1e8df;
    font: 700 12px/1.1 Arial, sans-serif;
    letter-spacing: 1.5px;
    overflow-wrap: anywhere;
}

.agrind-testi__title {
    margin: 22px 0 0;
    color: #102a12;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.agrind-testi__carousel {
    position: relative;
    width: 100%;
}

.agrind-testi__viewport {
    width: 100%;
    overflow: hidden;
}

.agrind-testi__track {
    display: flex;
    width: 100%;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.agrind-testi__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 10px;
}

.agrind-testi__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 370px;
    margin-inline: auto;
    padding: 46px 72px;
    border-radius: 22px;
    color: inherit;
    background: #fff;
    box-shadow: 0 14px 25px rgba(23, 48, 21, .12);
    text-align: center;
}

.agrind-testi__quote-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding-bottom: 9px;
    border-radius: 15px;
    color: #50b72f;
    background: #edf8e9;
    font: 700 34px/1 Georgia, serif;
}

.agrind-testi__stars {
    margin-top: 20px;
    color: #ffb000;
    font-size: 19px;
    letter-spacing: 3px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.agrind-testi__quote {
    width: 100%;
    max-width: 760px;
    margin: 24px auto 0;
    padding: 0;
    border: 0;
    color: #29342b;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.agrind-testi__quote::before {
    content: "“";
}

.agrind-testi__quote::after {
    content: "”";
}

.agrind-testi__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 100%;
    margin: 30px auto 0;
    text-align: left;
}

.agrind-testi__avatar {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    background: #1d4b1c;
    font: 700 16px/1 Arial, sans-serif;
}

.agrind-testi__avatar picture {
    display: contents;
}

.agrind-testi__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.agrind-testi__initials {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.agrind-testi__author-copy {
    min-width: 0;
    max-width: 100%;
}

.agrind-testi__name {
    color: #1c2d1c;
    font: 700 16px/1.25 Arial, sans-serif;
    overflow-wrap: anywhere;
}

.agrind-testi__role {
    margin-top: 4px;
    color: #718171;
    font: 400 14px/1.25 Arial, sans-serif;
    overflow-wrap: anywhere;
}

.agrind-testi__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    color: #718171;
    background: #f0f4ef;
    font: 400 31px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
    appearance: none;
}

.agrind-testi__arrow:hover {
    color: #718171;
    background: #f0f4ef;
    transform: translateY(-50%) scale(1.06);
}

.agrind-testi__arrow:focus,
.agrind-testi__arrow:active {
    color: #718171;
    background: #f0f4ef;
}

.agrind-testi__arrow:focus-visible,
.agrind-testi__dot:focus-visible,
.agrind-testi__review:focus-visible {
    outline: 3px solid rgba(80, 183, 47, .35);
    outline-offset: 3px;
}

.agrind-testi__arrow--prev {
    left: 28px;
}

.agrind-testi__arrow--next {
    right: 28px;
}

.agrind-testi__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.agrind-testi__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: transparent;
    background: #d9e3d7;
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
    appearance: none;
}

.agrind-testi__dot:hover,
.agrind-testi__dot:focus,
.agrind-testi__dot:active {
    background: #d9e3d7;
}

.agrind-testi__dot.is-active,
.agrind-testi__dot.is-active:hover,
.agrind-testi__dot.is-active:focus,
.agrind-testi__dot.is-active:active {
    width: 28px;
    background: #58ba34;
}

.agrind-testi__review-wrap {
    margin-top: 26px;
    text-align: center;
}

.agrind-testi__review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid #dde4db;
    border-radius: 999px;
    color: #718171;
    background: #fff;
    font: 400 14px/1.2 Arial, sans-serif;
    text-decoration: none;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.agrind-testi__review:hover,
.agrind-testi__review:focus-visible {
    border-color: #1d4b1c;
    color: #fff;
    background: #1d4b1c;
}

.agrind-testi__review-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.agrind-testi__review svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.agrind-testi__review i {
    flex: 0 0 auto;
    font-size: 15px;
}

.agrind-testi.is-no-transition .agrind-testi__track {
    transition: none;
}

@media (max-width: 1024px) {
    .agrind-testi__inner {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .agrind-testi__inner > * {
        grid-column: 1 / -1;
    }

    .agrind-testi__title {
        font-size: clamp(36px, 6vw, 44px);
    }

    .agrind-testi__card {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        align-content: center;
        justify-items: center;
        padding: 42px 48px;
    }

    .agrind-testi__card > * {
        grid-column: 1 / -1;
        min-width: 0;
        max-width: 100%;
    }

    .agrind-testi__quote {
        font-size: 21px;
    }

    .agrind-testi__arrow--prev {
        left: 18px;
    }

    .agrind-testi__arrow--next {
        right: 18px;
    }
}

@media (max-width: 767px) {
    .agrind-testi__inner,
    .agrind-testi__card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .agrind-testi__header {
        margin-bottom: 36px;
    }

    .agrind-testi__title {
        font-size: clamp(29px, 10vw, 36px);
    }

    .agrind-testi__slide {
        padding-inline: 0;
    }

    .agrind-testi__card {
        min-height: 0;
        padding: 40px 28px;
    }

    .agrind-testi__quote {
        font-size: 18px;
        line-height: 1.55;
    }

    .agrind-testi__carousel {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 12px;
        align-items: center;
    }

    .agrind-testi__viewport {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .agrind-testi__arrow {
        position: static;
        grid-row: 2;
        margin-top: 14px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .agrind-testi__arrow--prev {
        grid-column: 2;
        justify-self: end;
        left: auto !important;
    }

    .agrind-testi__arrow--next {
        grid-column: 3;
        justify-self: start;
        right: auto !important;
    }

    .agrind-testi__arrow:hover {
        transform: scale(1.06);
    }

    .agrind-testi__author {
        max-width: 88%;
    }

    .agrind-testi__role {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .agrind-testi__card {
        padding-inline: 22px;
    }

    .agrind-testi__author {
        align-items: flex-start;
        max-width: 100%;
    }

    .agrind-testi__review {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .agrind-testi__track,
    .agrind-testi__dot,
    .agrind-testi__arrow,
    .agrind-testi__review {
        transition: none !important;
    }
}
