.gbp-reviews-carousel {
    --gbp-review-stars-color: #ffd21f;
    --gbp-review-avatar-stroke-color: #ffd21f;
    --gbp-review-avatar-stroke-width: 6px;
    --gbp-review-card-background: #2d447c;
    --gbp-review-card-stroke-color: transparent;
    --gbp-review-card-stroke-width: 0;
    --gbp-review-card-radius: 8px;
    --gbp-review-card-width: 350px;
    --gbp-review-card-height: 300px;
    --gbp-review-text-color: #ffffff;
    --gbp-review-text-family: inherit;
    --gbp-review-text-size: 16px;
    --gbp-review-text-style: normal;
    --gbp-review-text-weight: 400;
    --gbp-review-author-color: #ffffff;
    --gbp-review-author-family: inherit;
    --gbp-review-author-size: 13px;
    --gbp-review-author-style: normal;
    --gbp-review-author-weight: 400;
    --gbp-review-shadow: 0 18px 35px rgba(0,0,0,0.25);
    --gbp-reviews-arrow-color: #1f2f5f;
    --gbp-reviews-arrow-stroke-color: transparent;
    --gbp-reviews-arrow-stroke-width: 0;
    --gbp-reviews-arrow-hover-color: #1f2f5f;
    --gbp-reviews-arrow-hover-stroke-color: transparent;
    --gbp-reviews-bullet-color: transparent;
    --gbp-reviews-bullet-stroke-color: #1f2f5f;
    --gbp-reviews-bullet-stroke-width: 1px;
    --gbp-reviews-bullet-hover-color: #1f2f5f;
    --gbp-reviews-bullet-hover-stroke-color: #1f2f5f;
    --gbp-reviews-bullet-gap: 10px;
    --gbp-reviews-bullet-width: 10px;
    --gbp-reviews-bullet-height: 10px;
    --gbp-reviews-bullet-radius: 50%;
    --gbp-reviews-bullet-outer-stroke-color: transparent;
    --gbp-reviews-bullet-outer-stroke-width: 0;
    --gbp-reviews-bullet-outer-stroke-gap: 5px;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 34px 70px 16px;
}

.gbp-reviews-track {
    position: relative;
    min-height: calc(var(--gbp-review-card-height) + 90px);
    overflow: visible;
}

.gbp-review-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--gbp-review-card-width);
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) scale(0.76);
    transition: transform 1200ms ease, opacity 1200ms ease, visibility 1200ms ease;
    pointer-events: none;
    z-index: 1;
}

.gbp-review-slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
    z-index: 3;
}

.gbp-review-slide.is-prev {
    cursor: pointer;
    visibility: visible;
    opacity: 1;
    transform: translateX(-158%) scale(0.82);
    pointer-events: auto;
    z-index: 2;
}

.gbp-review-slide.is-next {
    cursor: pointer;
    visibility: visible;
    opacity: 1;
    transform: translateX(58%) scale(0.82);
    pointer-events: auto;
    z-index: 2;
}

.gbp-review-avatar-wrap {
    position: relative;
    z-index: 2;
    width: 78px;
    height: 78px;
    margin: 0 auto -26px;
    border: var(--gbp-review-avatar-stroke-width) solid var(--gbp-review-avatar-stroke-color);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}

.gbp-review-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gbp-review-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: var(--gbp-review-card-height);
    padding: 42px 32px 34px;
    border-radius: var(--gbp-review-card-radius);
    border: var(--gbp-review-card-stroke-width) solid var(--gbp-review-card-stroke-color);
    background: var(--gbp-review-card-background);
    color: var(--gbp-review-text-color);
    text-align: center;
    box-shadow: var(--gbp-review-shadow);
    overflow: hidden;
}

.gbp-review-stars {
    margin-bottom: 14px;
    color: var(--gbp-review-stars-color);
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
}

.gbp-review-text-wrap {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
}

.gbp-review-text {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: currentColor transparent;
    scrollbar-color: color-mix(in srgb, currentColor 65%, transparent) transparent;
    padding-right: 10px;
    touch-action: pan-y;
    overflow-wrap: break-word;
    color: var(--gbp-review-text-color);
    font-family: var(--gbp-review-text-family);
    font-size: var(--gbp-review-text-size);
    font-style: var(--gbp-review-text-style);
    font-weight: var(--gbp-review-text-weight);
    line-height: 1.55;
    -webkit-overflow-scrolling: touch;
}

.gbp-review-text::-webkit-scrollbar { width: 6px; }
.gbp-review-text::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.gbp-review-text::-webkit-scrollbar-track { background: transparent; }
.gbp-review-text::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: currentColor;
    background: color-mix(in srgb, currentColor 65%, transparent);
}

.gbp-reviews-profile-button-wrap {
    display: flex;
    justify-content: var(--gbp-profile-button-align);
    margin: var(--gbp-profile-button-margin-y) var(--gbp-profile-button-margin-x);
    position: relative;
    z-index: 6;
}

.gbp-reviews-profile-button-bottom {
    margin-bottom: 0;
}

.gbp-reviews-profile-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: min(var(--gbp-profile-button-width), 100%);
    min-height: var(--gbp-profile-button-height);
    padding: 0 18px;
    border: var(--gbp-profile-button-border-width) solid var(--gbp-profile-button-border-color);
    border-radius: var(--gbp-profile-button-radius);
    background: var(--gbp-profile-button-background);
    box-sizing: border-box;
    box-shadow: var(--gbp-profile-button-shadow);
    color: var(--gbp-profile-button-color);
    font-family: var(--gbp-profile-button-family);
    font-size: var(--gbp-profile-button-size);
    font-style: var(--gbp-profile-button-style);
    font-weight: var(--gbp-profile-button-weight);
    line-height: 1.2;
    text-decoration: none;
}

.gbp-reviews-profile-button:hover,
.gbp-reviews-profile-button:focus {
    color: var(--gbp-profile-button-color);
    filter: brightness(1.08);
}

.gbp-review-author {
    flex: 0 0 auto;
    margin-top: 22px;
    color: var(--gbp-review-author-color);
    font-family: var(--gbp-review-author-family);
    font-size: var(--gbp-review-author-size);
    font-style: var(--gbp-review-author-style);
    font-weight: var(--gbp-review-author-weight);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gbp-reviews-arrow {
    appearance: none;
    position: absolute;
    top: 210px;
    z-index: 5;
    width: 36px;
    height: 48px;
    padding: 0;
    border: var(--gbp-reviews-arrow-stroke-width) solid var(--gbp-reviews-arrow-stroke-color) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--gbp-reviews-arrow-color);
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
    box-shadow: none !important;
    transform: translateY(-50%);
    transition: opacity 180ms ease;
}

.gbp-reviews-arrow:hover,
.gbp-reviews-arrow:focus,
.gbp-reviews-arrow:active {
    border: 0 !important;
    border-color: var(--gbp-reviews-arrow-hover-stroke-color) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.gbp-reviews-arrow:hover,
.gbp-reviews-arrow:focus {
    color: var(--gbp-reviews-arrow-hover-color) !important;
    opacity: 0.75;
}

.gbp-reviews-arrow:active {
    color: var(--gbp-reviews-arrow-hover-color) !important;
    opacity: 0.75;
}

.gbp-reviews-arrow-prev {
    left: 18px;
}

.gbp-reviews-arrow-next {
    right: 18px;
}

.gbp-reviews-bullets {
    display: flex;
    justify-content: center;
    gap: var(--gbp-reviews-bullet-gap);
    margin-top: 20px;
}

.gbp-reviews-bullet {
    position: relative;
    width: var(--gbp-reviews-bullet-width);
    height: var(--gbp-reviews-bullet-height);
    padding: 0;
    border: var(--gbp-reviews-bullet-stroke-width) solid var(--gbp-reviews-bullet-stroke-color) !important;
    border-radius: var(--gbp-reviews-bullet-radius);
    background: var(--gbp-reviews-bullet-color) !important;
    background-color: var(--gbp-reviews-bullet-color) !important;
    color: var(--gbp-reviews-bullet-stroke-color) !important;
    cursor: pointer;
    box-shadow: none !important;
    opacity: 1;
}

.gbp-reviews-bullet.is-active::after {
    position: absolute;
    inset: calc(-1 * (var(--gbp-reviews-bullet-outer-stroke-gap) + var(--gbp-reviews-bullet-outer-stroke-width)));
    border: var(--gbp-reviews-bullet-outer-stroke-width) solid var(--gbp-reviews-bullet-outer-stroke-color);
    border-radius: calc(var(--gbp-reviews-bullet-radius) + var(--gbp-reviews-bullet-outer-stroke-gap));
    content: '';
    pointer-events: none;
}

.gbp-reviews-bullet.is-active {
    background: var(--gbp-reviews-bullet-hover-color) !important;
    background-color: var(--gbp-reviews-bullet-hover-color) !important;
    border-color: var(--gbp-reviews-bullet-hover-stroke-color) !important;
    color: var(--gbp-reviews-bullet-hover-stroke-color) !important;
    font-weight: 700;
}

.gbp-reviews-bullet:hover,
.gbp-reviews-bullet:focus,
.gbp-reviews-bullet:active {
    background: var(--gbp-reviews-bullet-hover-color) !important;
    background-color: var(--gbp-reviews-bullet-hover-color) !important;
    border-color: var(--gbp-reviews-bullet-hover-stroke-color) !important;
    color: var(--gbp-reviews-bullet-hover-stroke-color) !important;
    box-shadow: none !important;
    opacity: 0.75;
}

.gbp-reviews-bullet.is-active:hover,
.gbp-reviews-bullet.is-active:focus,
.gbp-reviews-bullet.is-active:active {
    background: var(--gbp-reviews-bullet-hover-color) !important;
    background-color: var(--gbp-reviews-bullet-hover-color) !important;
    border-color: var(--gbp-reviews-bullet-hover-stroke-color) !important;
    color: var(--gbp-reviews-bullet-hover-stroke-color) !important;
}

@media (min-width: 768px) and (max-width: 1400px) {
    .gbp-reviews-arrow-prev {
        left: calc(50% - (min(var(--gbp-review-card-width), 52vw) / 2) - 52px);
    }

    .gbp-reviews-arrow-next {
        right: calc(50% - (min(var(--gbp-review-card-width), 52vw) / 2) - 52px);
    }

    .gbp-review-text {
        padding-right: 0;
        scrollbar-gutter: auto;
    }
}

@media (max-width: 767px) {

    .gbp-reviews-carousel {
        overflow: visible;
        padding: 28px 0 16px;
    }

    .gbp-reviews-track {
        min-height: calc(var(--gbp-review-card-height) + 110px);
        overflow: visible;
    }

    .gbp-review-slide {
        width: min(var(--gbp-review-card-width), calc(100% - 72px));
    }

    .gbp-review-slide.is-prev,
    .gbp-review-slide.is-next {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) scale(0.76);
    }

    .gbp-review-card {
        height: var(--gbp-review-card-height);
        border-radius: var(--gbp-review-card-radius);
        padding: 42px 24px 30px;
    }

    .gbp-reviews-arrow {
        top: 220px;
        width: 28px;
    }

    .gbp-reviews-arrow-prev {
        left: 2px;
    }

    .gbp-reviews-arrow-next {
        right: 2px;
    }

    .gbp-review-text {
        font-size: 15px;
        line-height: 1.5;
        padding-right: 0;
        scrollbar-gutter: auto;
    }

}
