.mod-google-reviews {
    width: 100%;
    max-width: var(--gr-max-width, 420px);
    overflow: hidden;
    background: var(--gr-bg, #fff);
    color: var(--gr-text, #202124);
    border: 1px solid var(--gr-border, #e5e7eb);
    border-radius: var(--gr-radius, 18px);
    line-height: 1.45;
}

.mod-google-reviews.has-shadow {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.gr-summary {
    padding: 18px 20px 20px;
    background: var(--gr-summary-bg, #fff);
    text-align: left;
}

.gr-summary-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.gr-summary-title {
    min-width: 0;
    color: #1f1f1f;
    font-size: var(--gr-summary-title-size, 24px);
    font-weight: 500;
    line-height: 1.3;
}

.gr-summary-verified {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    line-height: 0;
}

.gr-summary-verified svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gr-summary-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
    min-height: 18px;
}

.gr-summary-rating-row.is-first {
    margin-top: 0;
}

.gr-summary-large-rating {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 7px;
}

.gr-summary-large-rating.is-first {
    margin-top: 0;
}

.gr-summary-large-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    row-gap: 5px;
}

.gr-score {
    color: #636363;
    font-size: .875rem;
    font-weight: 400;
    line-height: 18px;
}

.gr-score--large {
    color: #1f1f1f;
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -.02em;
}

.gr-summary-stars,
.gr-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    white-space: nowrap;
}

.gr-summary-stars {
    height: 18px;
    line-height: 18px;
}

.gr-stars {
    line-height: 0;
}

.gr-summary-stars svg,
.gr-stars svg {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.gr-summary-count {
    color: #0b57d0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}

.gr-summary-count-link {
    text-decoration: none;
}

.gr-summary-count-link:hover,
.gr-summary-count-link:focus-visible {
    color: #0b57d0;
    text-decoration: underline;
}

.gr-summary-category {
    margin-top: 5px;
    color: #636363;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.45;
}

.gr-summary--large .gr-summary-category {
    margin-top: 3px;
}

.gr-summary--large .gr-summary-large-meta .gr-summary-stars {
    height: 16px;
    line-height: 16px;
}

.gr-summary--large .gr-summary-large-meta .gr-summary-count {
    line-height: 16px;
}

.gr-review-action {
    margin-top: 16px;
}

.gr-review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #c2eaf2;
    color: #014f5a;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: none;
    transition: background-color .15s ease;
}

.gr-review-button__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    line-height: 0;
}

.gr-review-button__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gr-review-button:hover,
.gr-review-button:focus-visible {
    background: #b6e2eb;
    color: #014f5a;
    text-decoration: none;
    box-shadow: none;
}

.gr-list.has-divider {
    border-top: 1px solid var(--gr-border, #e5e7eb);
}

.gr-list.is-scrollable {
    max-height: var(--gr-list-height, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.gr-review {
    padding: 20px;
}

.gr-review + .gr-review {
    border-top: 1px solid var(--gr-border, #e5e7eb);
}

.gr-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gr-avatar-wrap {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.gr-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef2f7;
}

.gr-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gr-accent, #0b72f6);
    font-weight: 700;
    font-size: .82rem;
}

.gr-avatar-google {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    padding: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
    line-height: 0;
}

.gr-avatar-google svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gr-person {
    min-width: 0;
}

.gr-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .98rem;
    font-weight: 400;
}

.gr-date {
    margin-top: 2px;
    color: var(--gr-muted, #6b7280);
    font-size: .8rem;
}

.gr-stars {
    margin: 12px 0 10px;
}

.gr-text {
    overflow-wrap: anywhere;
}

.gr-text.is-shortened {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--gr-lines, 5);
    line-clamp: var(--gr-lines, 5);
}

.gr-all-reviews-action {
    display: flex;
    justify-content: center;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--gr-border, #e5e7eb);
}

.gr-all-reviews-action--left {
    justify-content: flex-start;
}

.gr-all-reviews-action--full .gr-all-reviews-link {
    box-sizing: border-box;
    width: 100%;
}

.gr-all-reviews-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 6px;
    background: transparent;
    color: #007b8b;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.2;
    transition: background-color .15s ease;
}

.gr-all-reviews-link:hover,
.gr-all-reviews-link:focus-visible {
    background: #ebf5f6;
    color: #007b8b;
    text-decoration: none;
}

.gr-source-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--gr-accent, #0b72f6);
    font-size: .92rem;
    text-decoration: none;
}

.gr-source-link:hover,
.gr-source-link:focus-visible {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .gr-summary {
        padding: 16px 18px;
    }

    .gr-review {
        padding: 18px;
    }

    .gr-review-button {
        padding-inline: 15px;
    }
}
