/* Inicio · reseñas de Google */
.ig2238-google-testimonials .ig2238-google-summary {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.ig2238-google-testimonials .ig2238-all-reviews-wrap .ig2238-all-reviews,
.ig2238-google-testimonials .ig2238-all-reviews-wrap .ig2238-all-reviews:is(:hover, :focus-visible, :visited) {
    color: var(--ig-primary-hover, #00677b);
    background: #fff;
    border: 1px solid currentColor;
    box-shadow: 0 3px 12px rgb(0 0 0 / .08);
}
.ig2238-google-testimonials .ig2238-all-reviews:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Stretch the native horizontal track and let each quote use the free space. */
.ig2238-google-testimonials .ihr-reviews__grid.ig-component-track {
    align-items: stretch !important;
}
.ig2238-google-testimonials .ihr-reviews__grid.ig-component-track > article.ihr-review {
    align-self: stretch !important;
    height: auto !important;
}
.ig2238-google-testimonials .ihr-review > .ihr-review__quote {
    flex: 1 0 auto;
}

/* Share four row heights across the horizontal cards, including wrapped names. */
@supports (grid-template-rows: subgrid) {
    .ig2238-google-testimonials .ihr-reviews__grid.ig-component-track {
        display: grid !important;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 2 * var(--ig-review-gap)) / 3);
        grid-template-rows: repeat(4, auto);
        --ig-review-gap: 30px;
        column-gap: var(--ig-review-gap);
        row-gap: 0;
    }
    .ig2238-google-testimonials .ihr-reviews__grid.ig-component-track > article.ihr-review {
        display: grid !important;
        grid-template-rows: subgrid;
        grid-row: 1 / span 4;
        row-gap: 0;
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch !important;
    }
    .ig2238-google-testimonials .ihr-review > .ihr-review__quote { align-self: start; }
    .ig2238-google-testimonials .ihr-review > .ihr-review__person { align-self: center; margin-top: 0 !important; }
    @media (max-width: 1024px) {
        .ig2238-google-testimonials .ihr-reviews__grid.ig-component-track {
            grid-auto-columns: calc((100% - var(--ig-review-gap)) / 2);
        }
    }
    @media (max-width: 767px) {
        .ig2238-google-testimonials .ihr-reviews__grid.ig-component-track {
            grid-auto-columns: 100%;
            --ig-review-gap: 16px;
        }
    }
}
