.sv-google-reviews {
    --sv-review-gap: 28px;
    --sv-review-visible: 3;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0 clamp(24px, 2.4vw, 42px) 4px;
    background: transparent;
}

.sv-google-reviews,
.sv-google-reviews * {
    box-sizing: border-box;
}

.sv-google-reviews__viewport {
    overflow: hidden;
    padding: 36px 0 10px;
    background: transparent;
}

.sv-google-reviews__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--sv-review-gap);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    touch-action: pan-y;
    background: transparent;
}

.sv-google-review-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--sv-review-gap) * (var(--sv-review-visible) - 1))) / var(--sv-review-visible));
    min-width: 0;
    min-height: 230px;
    margin: 0;
    padding: 62px 30px 26px;
    border: 1px solid rgba(44, 53, 66, .04);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    text-align: center;
    color: #3e4147;
}

.sv-google-review-card__google {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
}

.sv-google-review-card__google svg {
    display: block;
    width: 18px;
    height: 18px;
}

.sv-google-review-card__avatar {
    position: absolute;
    top: -32px;
    left: 50%;
    width: 76px;
    height: 76px;
    transform: translateX(-50%);
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--sv-color-paper, #F7FAF8);
    color: var(--sv-color-muted, #5C6F67);
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}

.sv-google-review-card__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 50%;
}

.sv-google-review-card__author {
    margin: 0 0 2px;
    color: #353535;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.sv-google-review-card__author a,
.sv-google-review-card__author span {
    color: inherit;
    text-decoration: none;
}

.sv-google-review-card__author a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sv-google-review-card__stars {
    margin: 0 0 2px;
    color: var(--sv-color-green, #1BA365);
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sv-google-review-card__date {
    display: block;
    margin: 0 0 12px;
    color: #aaa49b;
    font-size: 12px;
    line-height: 1.3;
}

.sv-google-review-card__text {
    margin: 0;
    color: #767676;
    font-size: 14px;
    line-height: 1.58;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.sv-google-reviews.is-static .sv-google-reviews__track {
    justify-content: center;
}

@media (max-width: 1024px) {
    .sv-google-reviews {
        --sv-review-gap: 22px;
        --sv-review-visible: 2;
        padding-left: 24px;
        padding-right: 24px;
    }

    .sv-google-reviews__viewport {
        padding-top: 34px;
    }

    .sv-google-review-card {
        min-height: 244px;
        padding-left: 26px;
        padding-right: 26px;
    }
}

@media (max-width: 767px) {
    .sv-google-reviews {
        --sv-review-gap: 16px;
        --sv-review-visible: 1;
        padding-left: 18px;
        padding-right: 0;
        overflow: hidden;
    }

    .sv-google-reviews__viewport {
        overflow: visible;
        padding: 30px 0 8px;
    }

    .sv-google-review-card {
        flex-basis: calc(100% - 64px);
        min-height: 220px;
        padding: 54px 22px 22px;
    }

    .sv-google-review-card__avatar {
        top: -26px;
        width: 68px;
        height: 68px;
    }

    .sv-google-review-card__google {
        top: 14px;
        left: 14px;
    }

    .sv-google-review-card__author {
        font-size: 17px;
    }

    .sv-google-review-card__text {
        font-size: 13.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sv-google-reviews__track {
        transition: none !important;
    }
}
