/* Copy-home masonry: no carousel sizing or duplicated slides. */
[data-clinic-section="influencers"][data-ahe-gallery-layout="masonry"]{overflow:hidden}
#uc_card_carousel_elementor_0225315.ahe-people-masonry{display:block!important;columns:5!important;column-gap:14px!important;width:100%!important;max-width:1400px;margin-inline:auto;transform:none!important;height:auto!important}
#uc_card_carousel_elementor_0225315.ahe-people-masonry .ahe-masonry-item{display:block!important;break-inside:avoid;page-break-inside:avoid;margin:0 0 14px!important;padding:0!important;width:100%!important;height:auto!important;border-radius:6px!important;overflow:hidden;transform:none!important;float:none!important}
#uc_card_carousel_elementor_0225315.ahe-people-masonry img{display:block!important;width:100%!important;height:auto!important;max-width:100%;border-radius:0!important;object-fit:contain!important;aspect-ratio:auto!important}
@media(max-width:767px){#uc_card_carousel_elementor_0225315.ahe-people-masonry{columns:4!important;column-gap:6px!important}#uc_card_carousel_elementor_0225315.ahe-people-masonry .ahe-masonry-item{margin-bottom:6px!important;border-radius:3px!important}}

/* Center the original full-bleed carousel wrapper inside the new gallery. */
#uc_card_carousel_elementor_0225315-wrapper:has(>.ahe-people-masonry){width:calc(100% - 48px)!important;max-width:1400px!important;margin:0 auto!important;float:none!important}
#uc_card_carousel_elementor_0225315.ahe-people-masonry{margin:0 auto!important}
@media(max-width:767px){#uc_card_carousel_elementor_0225315-wrapper:has(>.ahe-people-masonry){width:calc(100% - 24px)!important}}
