.lup-reviews {
    --lup-blue: #0d3b59;
    --lup-google-blue: #4285f4;
    --lup-star: #fbbc04;
    position: relative;
    left: 50%;
    width: min(1900px, calc(100vw - 36px));
    max-width: none;
    margin: 52px 0;
    padding: 24px 20px;
    transform: translateX(-50%);
    background: #fff;
    color: #181818;
    font-family: "Open Sans", Arial, sans-serif;
}

.lup-reviews *,
.lup-reviews *::before,
.lup-reviews *::after {
    box-sizing: border-box;
}

.lup-reviews__layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.lup-reviews__summary {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.lup-reviews__rating-label {
    color: #050505;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.15;
}

.lup-reviews__summary-stars {
    margin: 12px 0 8px;
}

.lup-reviews__summary .lup-stars {
    gap: 3px;
}

.lup-reviews__summary p {
    margin: 0 0 8px;
    color: #242424;
    font-size: 16px;
    line-height: 1.45;
}

.lup-google-wordmark {
    display: block;
    width: 116px;
    height: auto;
    margin-top: 2px;
}

.lup-reviews__google-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    padding: 9px 20px;
    border: 2px solid #0877db;
    border-radius: 999px;
    background: #0877db;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.lup-reviews__google-button:hover,
.lup-reviews__google-button:focus-visible {
    background: #fff;
    color: #0877db !important;
    transform: translateY(-1px);
}

.lup-reviews__slider {
    position: relative;
    min-width: 0;
    padding: 0 22px;
}

.lup-reviews__viewport {
    overflow: hidden;
}

.lup-reviews__track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.lup-review-card {
    display: flex;
    min-width: 0;
    width: 303px;
    height: 273px;
    min-height: 273px;
    flex: 0 0 303px;
    flex-direction: column;
    padding: 20px;
    border: 0;
    border-radius: 12px;
    background: #f7f7f7;
    box-shadow: none;
}

.lup-review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lup-review-card__avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 50%;
    background: #e8edf2;
    object-fit: cover;
}

.lup-review-card__avatar--initial {
    display: inline-grid;
    place-items: center;
    background: #7c55c7;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.lup-review-card__person {
    min-width: 0;
    flex: 1;
}

.lup-review-card__person strong,
.lup-review-card__person span {
    display: block;
}

.lup-review-card__person strong {
    display: -webkit-box;
    overflow: hidden;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lup-review-card__person span {
    margin-top: 3px;
    color: #858585;
    font-size: 14px;
    line-height: 1.2;
}

.lup-google-g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 28px;
    overflow: visible;
    flex: 0 0 auto;
}

.lup-google-g img {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 100% !important;
    object-fit: contain;
}

.lup-review-card__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 8px;
}

.lup-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.lup-star-icon {
    display: block;
    width: 22px;
    height: auto;
    flex: 0 0 22px;
}

.lup-star-icon.is-empty {
    filter: grayscale(1);
    opacity: .22;
}

.lup-reviews__summary .lup-star-icon {
    width: 32px;
    flex-basis: 32px;
}

.lup-review-card__verified {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.lup-review-card__text {
    display: -webkit-box;
    overflow: hidden;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.lup-review-card__text p {
    margin: 0;
}

.lup-review-card.is-expanded .lup-review-card__text {
    display: block;
    overflow: visible;
}

.lup-review-card.is-expanded {
    height: auto;
}

.lup-review-card__more {
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 0 0;
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-align: left;
}

.lup-review-card__more:hover,
.lup-review-card__more:focus-visible {
    color: #0877db;
}

.lup-review-card:not(.has-overflow) .lup-review-card__more {
    visibility: hidden;
}

.lup-reviews__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 0 3px;
    transform: translateY(-50%);
    border: 1px solid #ebebeb;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    color: #777;
    cursor: pointer;
    font: 300 34px/1 Arial, sans-serif;
}

.lup-reviews__arrow:disabled {
    opacity: .35;
    cursor: default;
}

.lup-reviews__arrow--prev {
    left: 0;
}

.lup-reviews__arrow--next {
    right: 0;
}

.lup-reviews__dots {
    display: flex;
    min-height: 8px;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.lup-reviews__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5d5d5;
    cursor: pointer;
}

.lup-reviews__dot.is-active {
    width: 21px;
    border-radius: 999px;
    background: #0877db;
}

@media (max-width: 1200px) {
    .lup-reviews {
        width: min(960px, calc(100vw - 28px));
        padding: 24px 18px;
    }

    .lup-reviews__layout {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 16px;
    }

    .lup-reviews__summary .lup-stars {
        gap: 3px;
    }

    .lup-reviews__summary .lup-star-icon {
        width: 32px;
        flex-basis: 32px;
    }

}

@media (max-width: 680px) {
    .lup-reviews {
        left: auto;
        width: calc(100% - 24px);
        margin: 34px auto;
        padding: 26px 16px 30px;
        transform: none;
    }

    .lup-reviews__layout {
        display: block;
    }

    .lup-reviews__summary {
        margin-bottom: 28px;
    }

    .lup-reviews__rating-label {
        font-size: 23px;
    }

    .lup-reviews__summary .lup-star-icon {
        width: 30px;
        flex-basis: 30px;
    }

    .lup-google-wordmark {
        width: 108px;
    }

    .lup-reviews__slider {
        padding: 0 15px;
    }

    .lup-review-card {
        width: 100%;
        height: auto;
        min-height: 273px;
        flex-basis: 100%;
        padding: 20px;
    }

    .lup-reviews__arrow {
        width: 38px;
        height: 38px;
    }

    .lup-reviews__arrow--prev {
        left: -4px;
    }

    .lup-reviews__arrow--next {
        right: -4px;
    }
}
