.emerald-google-reviews-shell {
    padding: clamp(2.5rem, 5vw, 5.5rem) 1.25rem;
    background: #fff;
}

.emerald-google-reviews {
    width: min(100%, 1160px);
    margin: 0 auto;
    color: #183d2c;
}

.emerald-google-reviews__heading,
.emerald-reviews-page__header {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.emerald-reviews__eyebrow {
    margin: 0 0 .65rem;
    color: #66776c;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.emerald-google-reviews__heading h2,
.emerald-reviews-page h1 {
    margin: 0 0 .4rem;
    color: #183d2c;
    font-family: inherit;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.18;
}

.emerald-google-reviews__heading p,
.emerald-reviews-page__header > p:not(.emerald-reviews__eyebrow) {
    margin: 0 auto;
    color: #4f6054;
    font-size: 1rem;
    line-height: 1.7;
}

.emerald-google-reviews__heading p {
    margin-top: .4rem;
}

.emerald-google-reviews__stars {
    margin-top: .7rem !important;
    color: #eda43f !important;
    font-size: 2rem !important;
    letter-spacing: .12em;
    line-height: 1.2;
}

.emerald-google-reviews__stage {
    width: min(100%, 1160px);
    min-height: 300px;
    margin: 0 auto;
}

.emerald-review-carousel__card,
.emerald-review-card {
    box-sizing: border-box;
    min-height: 245px;
    padding: 1.25rem clamp(.75rem, 2vw, 1.5rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.emerald-review-carousel__topline,
.emerald-review-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.emerald-review-carousel__stars,
.emerald-review-card__stars {
    color: #c8902d;
    font-size: 1.25rem;
    letter-spacing: .12em;
    white-space: nowrap;
}

.emerald-review-carousel__source,
.emerald-review-card__source {
    color: #59675d;
    font-size: .9rem;
    font-weight: 700;
}

.emerald-review-carousel__quote,
.emerald-review-card blockquote {
    margin: 1.1rem 0 1.5rem;
    color: #283b30;
    font-size: clamp(.98rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    white-space: pre-line;
}

.emerald-review-carousel__quote {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}

.emerald-review-carousel__byline,
.emerald-review-card__byline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    color: #59675d;
    font-size: .9rem;
}

.emerald-review-carousel__author,
.emerald-review-card__author {
    color: #183d2c;
    font-weight: 700;
}

.emerald-review-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.25rem auto 0;
}

.emerald-review-carousel__panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.emerald-review-carousel__button {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #426553;
    border-radius: 50%;
    background: #fff;
    color: #183d2c;
    cursor: pointer;
    font: inherit;
    font-size: 1.2rem;
}

.emerald-review-carousel__button:disabled {
    cursor: default;
    opacity: .45;
}

.emerald-review-carousel__button:focus-visible,
.emerald-google-reviews a:focus-visible,
.emerald-reviews-page a:focus-visible {
    outline: 3px solid #c8902d;
    outline-offset: 3px;
}

.emerald-review-carousel__position {
    min-width: 5.5rem;
    color: #526457;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.emerald-google-reviews__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    margin: 1.75rem auto 0;
}

.emerald-google-reviews__links a,
.emerald-reviews__google-link {
    color: #176b4d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.emerald-google-reviews__more-button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: .8rem 2rem;
    border-radius: 999px;
    background: #0d451f;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color .2s ease, transform .2s ease;
}

.emerald-google-reviews__more-button:hover {
    background: #176b36;
    color: #fff !important;
    transform: translateY(-1px);
}

.emerald-about-reviews-cta {
    display: flex;
    justify-content: flex-start;
    margin: 1.5rem 0 0;
}

.emerald-google-reviews__status,
.emerald-reviews__notice {
    margin: 1.5rem auto;
    padding: 1.25rem;
    border: 1px solid #dce5dc;
    border-radius: 8px;
    background: #fff;
    color: #4f6054;
    line-height: 1.6;
    text-align: center;
}

.emerald-reviews-page {
    box-sizing: border-box;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.emerald-reviews-page__header {
    margin-bottom: 2.5rem;
}

.emerald-reviews-page__header .emerald-reviews__google-link {
    display: inline-block;
    margin-top: 1.25rem;
}

.emerald-reviews__count {
    margin: 0 0 1rem;
    color: #59675d;
    font-size: .95rem;
}

.emerald-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.emerald-review-card {
    min-height: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid #dce5dc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(31 61 43 / 7%);
}

.emerald-review-card blockquote {
    margin: 1rem 0 1.5rem;
    font-size: 1rem;
}

.emerald-review-card__byline time {
    color: #68766c;
    font-size: .84rem;
}

.emerald-reviews-page__back {
    margin: 2rem 0 0;
    text-align: center;
}

.emerald-reviews-page__back a {
    color: #176b4d;
    font-weight: 700;
}

@media (max-width: 980px) {
    .emerald-review-carousel__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .emerald-review-carousel__panel {
        grid-template-columns: 1fr;
    }

    .emerald-reviews__grid {
        grid-template-columns: 1fr;
    }

    .emerald-review-carousel__card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
