.elementor-1242 .elementor-element.elementor-element-79539fb4{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1242 .elementor-element.elementor-element-16ec262b{margin:-3px -5px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;border-radius:50px 50px 50px 50px;}.elementor-1242 .elementor-element.elementor-element-16ec262b img{width:20px;}@media(max-width:1024px){.elementor-1242 .elementor-element.elementor-element-79539fb4{--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-1242 .elementor-element.elementor-element-16ec262b{margin:-3px -10px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}}@media(max-width:767px){.elementor-1242 .elementor-element.elementor-element-79539fb4{--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}}/* Start custom CSS for global, class: .elementor-global-402 */.wp-gr .wp-google-list .grw-header-inner {
    padding: 0!important;
}
/* 1. Hide the "powered by Google" section */
.hero-reviews .wp-google-powered {
    display: none !important;
}

/* 2. Main horizontal container */
.hero-reviews .wp-google-list .rpi-col8 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important; 
    gap: 15px !important; 
    flex-wrap: wrap !important;
}

/* 3. Strip extra line-height from the text to fix the downward dip */
.hero-reviews .wp-google-list .wp-google-based {
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    line-height: 1 !important; /* Removes invisible vertical spacing */
}

/* 4. Strip extra line-height from the button */
.hero-reviews .wp-google-list .wp-google-wr {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

/* 5. Vertical aligned stars and Text Weight */
.hero-reviews .wp-google-list .rpi-stars {
    margin-top: 0px !important;
    font-weight: 700 !important; /* Makes the "4.9" text bold */
    --star-size: 16px !important; /* Forces the star icons to shrink to 16px */
}

/* -------------------------------------------------------- */
/* 6. Mobile View: Wrap the elements and center the button  */
/* -------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-reviews .wp-google-list .rpi-col8 {
        display: grid !important; 
        grid-template-columns: max-content max-content !important; 
        row-gap: 12px !important; 
        column-gap: 10px !important; 
        justify-content: center !important; /* Centers the whole block if your page is wide */
    }

    /* Target the button specifically to center it on the second row */
    .hero-reviews .wp-google-list .wp-google-wr {
        grid-column: 1 / -1 !important; /* Forces the button to span across both columns */
        justify-self: center !important; /* Centers the button within its new full-width row */
    }
    
    .hero-reviews .wp-google-list .rpi-stars {
        margin-top: 0px !important;
    }
}/* End custom CSS */