.review-block {
    background: #fff;
    padding: 40px 35px 80px;
    border-radius: 20px;
    position: relative;
    height: 100%;
    text-align: center;
}

.review-block:after {
    content: '';
    background-image: url('../images/Group-133.svg');
    background-repeat: no-repeat;
    height: 48px;
    width: 48px;
    right: 30px;
    top: 30px;
    position: absolute;
    background-size: 100%;
}

.gr-review-item {
    padding: 0 7.5px;
}

.gr-google-reviews {
    display: flex;
}

.gr-google-reviews .slick-list {
    margin: 0 -7.5px;
}

.gr-google-reviews .slick-track {
    display: flex !important;
}

.gr-google-reviews:not(.slick-initialized) {
    width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
    max-height: 412px;
}

.gr-google-reviews:not(.slick-initialized) .gr-review-item {
    width: 33.33% !important;
}

.gr-google-reviews .slick-slide {
    height: inherit !important;
}

h2.gr-popup-title {
    padding-right: 0 !important;
}

body .review-block h3,
body h2.gr-popup-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 38px;
    color: #000;
    padding-bottom: 0px;
    margin-bottom: 0;
    margin-top: 0px;
    font-family: "Kumbh Sans";
    text-transform: capitalize;
}
body h2.gr-popup-title{
    margin-bottom: 8px;
}
body .review-block h3 {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: #000;
    width: calc(100% - 25px);
    font-family: "Kumbh Sans";
}

body h2.gr-popup-title {
    font-weight: 600;
    font-size: 22px;
    text-align: left;
}

.review-block p.gr-review-text {
    /* font-size: 18px;
	line-height: 34px;
	color: #000;
	font-family: 'Open Sans';
	margin-bottom: 0;
    font-weight: 400; */
    font-size: 18px;
    line-height: 38px;
    color: rgb(0, 0, 0);
    font-family: "Kumbh Sans";
    font-weight: 400;
}

/* Container relative */
.gr-google-reviews {
    position: relative;
}

/* Common arrow button */
.gr-google-reviews .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 35px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    padding: 0;
    box-shadow: none;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
}


.gr-google-reviews .slick-arrow::before,
.gr-google-reviews .slick-arrow svg {
    display: none;
}


.gr-google-reviews .slick-arrow:hover {
    opacity: 0.5;
}

.gr-google-reviews .slick-next {
    right: -55px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.019' height='34.622' viewBox='0 0 18.019 34.622'%3E%3Cpath d='M1646.749,4675.311a.753.753,0,0,1-.753-.748.764.764,0,0,1,.218-.536L1662.189,4658l-15.968-16.028a.752.752,0,0,1,1.062-1.065l16.51,16.558a.751.751,0,0,1,0,1.065l-16.51,16.551A.729.729,0,0,1,1646.749,4675.311Z' transform='translate(-1645.996 -4640.688)' opacity='0.502'/%3E%3C/svg%3E");
}


.gr-google-reviews .slick-prev {
    left: -55px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.987' height='35.028' viewBox='0 0 17.987 35.028'%3E%3Cpath d='M276.253,4640a.757.757,0,0,1,.751.757.782.782,0,0,1-.218.543l-15.947,16.209,15.94,16.216a.767.767,0,0,1,0,1.078.738.738,0,0,1-1.06,0l-16.481-16.752a.766.766,0,0,1,0-1.077l16.481-16.746A.721.721,0,0,1,276.253,4640Z' transform='translate(-259.017 -4640)' opacity='0.502'/%3E%3C/svg%3E");
}


.review-block .gr-review-rating {
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 18px;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    column-gap: 12px;
}

.star.filled {
    color: #fbbc04;
    width: 19px;
    height: 20px;
}

.star.filled path {
    fill: #FFC828;
}

.star.empty path {
    fill: #ccc;
}

.star.empty {
    color: #ccc;
}

.review-block p.gr-review-time {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    font-family: 'Inter';
    margin-bottom: 15px;
    color: #000;
}

/* Popup */
div#gr-review-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.gr-popup-content {
    position: absolute;
    background: #fff;
    max-width: 870px;
    width: 90%;
    padding: 0;
    border-radius: 20px;
    z-index: 10000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 0;
    justify-content: center;
    height: auto;
    overflow: auto;
    display: block;
}

.gr-inner {
    height: auto;
    padding: 40px;
    max-height: 50vh;
    overflow: auto;
}

a.gr-read-more {
    display: block;
    width: fit-content;
    color: #000;
    font-family: "Kumbh Sans";
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    margin: 9px auto 12px auto;
    text-decoration: unset;
    transition: all .3s;
}

a.gr-read-more:hover {
    color: #E9AE2F;
}

.gr-inner::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.gr-inner::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.gr-inner::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    transition: 0.5s;
}

span.close-popup:hover {
    color: #E9AE2F;
}

.gr-popup-body {
    margin-bottom: 0;
}

.gr-popup-body p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 30px;
    font-family: "Kumbh Sans";
    font-weight: 400;
    color: #000;
}

img.review_img {
    display: flex;
    padding-bottom: 0px;
    margin: 0 auto;
    margin-bottom: 18px;
}

div#gr-review-popup img.review_img {
    margin: 0;
    margin-bottom: 18px;
}

body.popup-open {
    overflow: hidden;
}

.review-block img.emoji,
.gr-popup-content img.emoji {
    display: inline;
    border: none;
    box-shadow: none;
    height: 1em;
    width: 1em;
    margin: 0 0.07em;
    vertical-align: -0.1em;
    background: none;
    padding: 0;
}
body.popup-open .et_pb_section.gallery-section.et_section_regular {
    overflow: hidden;
    z-index: 0;
}
/* new css start */
.page-id-44 .review-block ,.single-service .review-block  {
    background: #F9F7F5;
}
/* new css */
/* listing reviews start */
.gr-layout-list .gr-reviews-container {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 40px);
    row-gap: 50px;
    margin: 0 -20px;
}

.gr-layout-list .gr-reviews-container .gr-review-item-list {
    width: calc(100% / 3);
    padding: 0 20px;
    /* background: red; */
}

.gr-layout-list .gr-reviews-container .gr-review-item-list .review-block {
    background: #F9F7F5;
}

.gr-google-reviews-list.gr-layout-list {
    width: 100%;
}
.gr-load-more-container a {
    cursor: pointer;
}
.gr-load-more-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
/* listing reviews end */
@media screen and (max-width: 1440px) {
    .gr-google-reviews .slick-prev {
        left: -40px;
    }

    .gr-google-reviews .slick-next {
        right: -40px;
    }

    .et_pb_section.patient_testimonials_section {

        padding-left: 40px !important;
        padding-right: 40px !important;
    }

}

@media screen and (max-width: 1199px) {
    body .review-block h3 {
        font-size: 22px;
        line-height: 28px;
        bottom: 29px;
    }

    body h2.gr-popup-title {
        font-size: 20px;
        line-height: 30px;
    }

    a.gr-read-more {
        margin: 12px auto 14px auto;
        font-size: 18px;
        line-height: 28px;
    }

    .review-block p.gr-review-text,
    .gr-popup-body p {
        font-size: 16px;
        line-height: 28px;
        
    }
.review-block p.gr-review-text{
    margin-bottom: 5px;
}
    .gr-inner {
        padding: 40px 30px;
    }

    .review-block .gr-review-rating {
        margin-bottom: 14px;
        gap: 8px;
    }

    img.review_img {
        /* padding-bottom: 10px; */
        width: 100%;
        max-width: 42px;
    }

    /* .gr-review-item {
        padding: 0 12px;
    }

    .gr-google-reviews .slick-list {
        margin: 0 -12px;
    } */

    .review-block {
        padding: 30px 25px 60px;
    }

    .et_pb_section.patient_testimonials_section {

        padding-left: 00px !important;
        padding-right: 00px !important;
    }

    .gr-google-reviews .slick-arrow {
        top: auto !important;
                bottom: -77px !important;
        height: 30px;
    }

    .gr-google-reviews .slick-prev {
        left: calc(50% - 35px) !important;
    }

        .gr-google-reviews .slick-next {
       right: calc(50% - 35px) !important;
    } 
    div#gr-review-popup img.review_img{
        margin-bottom: 15px;
    }
     .gr-layout-list .gr-reviews-container .gr-review-item-list {
    padding: 0 10px;
}

.gr-layout-list .gr-reviews-container {
    width: calc(100% + 20px);
    row-gap: 20px;
    margin: 0 -10px;
}

.gr-load-more-container {
    margin-top: 30px;
}
}


@media screen and (max-width: 980px) {
    .review-block {
        padding: 26px 30px 55px;
    }

    body .review-block h3 {
        bottom: 25px;
    }
        .gr-google-reviews:not(.slick-initialized) {
        max-height: 340px;
    }

    .gr-google-reviews:not(.slick-initialized) .gr-review-item {
        width: 50% !important;
    }
 .gr-layout-list .gr-reviews-container .gr-review-item-list{
        width: calc(100% / 2);
 }
   
}
@media screen and (max-width: 767px) {

    body .review-block h3,
    body h2.gr-popup-title {
        font-size: 18px;
        line-height: 25px;
    }

    .gr-google-reviews button.slick-prev.slick-arrow {
        right: 40px;
    }

    a.gr-read-more {
        font-size: 16px;
        line-height: 26px;
    }


    .review-block:after {
        height: 40px;
        width: 40px;
        right: 25px;
        top: 25px;
    }

    /* .gr-google-reviews .slick-arrow {
        height: 32px;
        width: 32px;
        top: -55px;
    } */
img.review_img{
    margin-bottom: 15px;
}
.gr-google-reviews .slick-arrow {
             bottom: -71px !important;
        height: 25px;
     
    }
    .review-block p.gr-review-time {
        margin-bottom: 12px;
    }

    .review-block .elementor-widget-rating {
        margin-bottom: 15px;
    }

    .review-block {
        padding: 20px 25px 45px;
    }

    .gr-popup-content {
        max-width: 100%;
    }

    img.review_img {
        width: 40px;
    }

    .gr-google-reviews:not(.slick-initialized) {
        max-height: 320px;
    }

    .gr-google-reviews:not(.slick-initialized) .gr-review-item {
        width: 100% !important;
    }
     body .review-block h3 {
        bottom: 20px;
    }
.gr-google-reviews .slick-prev {
        left: calc(50% - 30px) !important;
    }
    .gr-google-reviews .slick-next {
        right: calc(50% - 30px) !important;
    }
    .gr-layout-list .gr-reviews-container .gr-review-item-list {
        width: calc(100% / 1);
    }
}






@media screen and (max-width: 479px) {
    .review-block:after {
        height: 32px;
        width: 32px;
    }

    .gr-inner {
        max-height: 60vh;
        height: auto;
    }

    .gr-inner {
        padding: 25px;
    }

    .gr-google-reviews .slick-arrow svg {
        width: 16px;
        height: 12px;
    }
}