.cgr-section {
    width: 100%;
    padding: 30px 0px;
    background: #f7f7f7;
    box-sizing: border-box;
}

.cgr-container {
    max-width: 1250px;
    margin: 0 auto;
}

.cgr-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.cgr-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}

.cgr-heading h2 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.cgr-heading p {
    margin: 0 auto 22px;
    max-width: 600px;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.cgr-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cgr-summary strong {
    font-size: 25px;
    color: #111;
}

.cgr-review-count {
    color: #666;
    font-size: 14px;
}

.cgr-stars {
    display: inline-flex;
    gap: 2px;
    white-space: nowrap;
}

.cgr-star {
    font-size: 20px;
    line-height: 1;
    color: #c8c8c8;
}

.cgr-star-full {
    color: #f5b301;
}

.cgr-slider-wrap {
    position: relative;
    padding: 0 45px;
}

.cgr-swiper {
    overflow: hidden;
    padding: 10px 5px 60px;
}

.cgr-card {
    height: 100%;
    min-height: 310px;
    padding: 32px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.cgr-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cgr-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cgr-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cgr-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
    color: #333;
    font-size: 19px;
    font-weight: 700;
}

.cgr-author h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.3;
    color: #111;
}

.cgr-date {
    display: block;
    color: #888;
    font-size: 13px;
}

.cgr-google-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #4285f4;
    font-size: 16px;
    font-weight: 700;
}

.cgr-card-rating {
    margin-top: 25px;
}

.cgr-review-text {
    margin-top: 20px;
    color: #444;
    font-size: 16px;
    line-height: 1.75;
    flex-grow: 1;
}

.cgr-review-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cgr-review-link:hover {
    text-decoration: underline;
}

.cgr-review-link span,
.cgr-google-button span {
    font-size: 16px;
}

.cgr-prev,
.cgr-next {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: #111;
}

.cgr-prev::after,
.cgr-next::after {
    font-size: 14px !important;
    font-weight: 700;
    color: #fff;
}

.cgr-prev {
    left: 0 !important;
}

.cgr-next {
    right: 0 !important;
}

.cgr-pagination {
    bottom: 5px !important;
}

.cgr-pagination .swiper-pagination-bullet {
    opacity: 1;
    background: #d2d2d2;
}

.cgr-pagination .swiper-pagination-bullet-active {
    background: #111;
}

.cgr-footer {
    text-align: center;
    margin-top: 15px;
}

.cgr-google-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 25px;
    border: 1px solid #111;
    border-radius: 50px;
    color: #111;
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.cgr-google-button:hover {
    background: #111;
    color: #fff;
}

.cgr-empty {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 10px;
}

@media (max-width: 991px) {

    .cgr-section {
        padding: 30px 0px;
    }

    .cgr-heading h2 {
        font-size: 24px;
    }

    .cgr-slider-wrap {
        padding: 0 35px;
    }

    .cgr-card {
        padding: 26px;
    }
}

@media (max-width: 767px) {

    .cgr-section {
        padding: 30px 15px;
    }

    .cgr-heading {
        margin-bottom: 35px;
    }

    .cgr-heading h2 {
        font-size: 24px;
    }

    .cgr-heading p {
        font-size: 15px;
    }

    .cgr-slider-wrap {
        padding: 0;
    }

    .cgr-swiper {
        padding-bottom: 55px;
    }

    .cgr-card {
        min-height: 290px;
        padding: 24px;
        border-radius: 14px;
    }

    .cgr-prev,
    .cgr-next {
        display: none !important;
    }

    .cgr-review-text {
        font-size: 15px;
    }
}


/* Equal height cards */
.cgr-swiper .swiper-wrapper {
    align-items: stretch;
}

.cgr-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.cgr-card {
    width: 100%;
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Review content */
.cgr-review-content {
    position: relative;
    margin-top: 20px;
}

/* Initially show limited content */
.cgr-review-text {
    height: 115px;
    overflow: hidden;
    color: #444;
    font-size: 16px;
    line-height: 1.75;
    transition: height 0.3s ease;
}

/* Expanded review */
.cgr-card.is-expanded {
    height: auto;
    min-height: 420px;
}

.cgr-card.is-expanded .cgr-review-text {
    height: auto;
    max-height: none;
}

/* Read More button */
.cgr-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.cgr-read-more:hover {
    opacity: 0.65;
}

/* Mobile */
@media (max-width: 767px) {

    .cgr-card {
        height: 390px;
        min-height: 390px;
    }

    .cgr-review-text {
        height: 105px;
        font-size: 15px;
        line-height: 1.7;
    }

    .cgr-card.is-expanded {
        height: auto;
    }
}