.emoi-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.emoi-profile-card{background:#fff;border:1px solid #dad8ec;border-radius:24px;padding:20px;min-width:0;overflow:hidden}.emoi-profile-card[hidden],.emoi-profile-empty[hidden],.emoi-profile-pages[hidden]{display:none!important}.emoi-profile-card .et_pb_section,.emoi-profile-card .et_pb_row{background:transparent!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.emoi-profile-card .et_pb_column{width:100%!important;margin:0!important}.emoi-profile-photo .et_pb_image_wrap,.emoi-profile-photo img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;border-radius:16px}.emoi-profile-card .et_pb_button_module_wrapper{margin-top:20px!important}.emoi-profile-filters{border:0;padding:0;margin:0 0 24px;font-family:Nunito,sans-serif;color:#0a0095}.emoi-profile-filters legend{font-weight:700;margin-bottom:16px}.emoi-profile-filters>div{display:flex;flex-wrap:wrap;gap:8px}.emoi-profile-filters button,.emoi-profile-pages button{font:700 14px Nunito,sans-serif;border:1px solid #0a0095;border-radius:12px;background:#fff;color:#0a0095;padding:10px 16px;cursor:pointer;min-height:44px}.emoi-profile-filters button[aria-pressed=true]{background:#0a0095;color:white}.emoi-profile-count{font:14px Nunito,sans-serif;color:#5d5b70;margin-bottom:24px!important}.emoi-profile-pages{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px;color:#0a0095}.emoi-profile-pages button:disabled{opacity:.35}.emoi-profile-catalogue button:focus-visible{outline:3px solid #00afa2;outline-offset:3px}.emoi-profile-compact .emoi-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emoi-profile-compact .emoi-profile-photo,.emoi-profile-compact .emoi-profile-caption{display:none}.emoi-profile-page>.et_pb_row{width:90%!important;max-width:1280px!important}.emoi-profile-hero .et_pb_image_wrap,.emoi-profile-hero img{width:100%!important;display:block!important;aspect-ratio:4/3;object-fit:cover;border-radius:24px}.emoi-profile-page .et_pb_text p{padding-bottom:0}.emoi-profile-page .et_pb_button{white-space:normal}.emoi-profile-page .emoi-profile-three{display:flex;gap:24px}.emoi-profile-page .emoi-profile-three:after{display:none}.emoi-profile-page .emoi-profile-three>.et_pb_column{width:calc((100% - 48px)/3)!important;margin:0!important;min-width:0}
@media(max-width:980px){.emoi-profile-grid,.emoi-profile-compact .emoi-profile-grid{grid-template-columns:1fr}.emoi-profile-page>.et_pb_row{width:calc(100% - 48px)!important}.emoi-profile-page .emoi-profile-three{flex-direction:column}.emoi-profile-page .emoi-profile-three>.et_pb_column{width:100%!important}.emoi-profile-page .et_pb_text{overflow-wrap:anywhere}.emoi-profile-hero{max-width:452px}.emoi-profile-page .profile-hero-row>.et_pb_column:last-child{order:-1}.emoi-profile-page .profile-hero-row{gap:24px!important}.emoi-profile-page .profile-hero-row>.et_pb_column:first-child{display:contents}.emoi-profile-page .profile-hero-row .profile-identity{order:-2}.emoi-profile-filters button{font-size:13px}}

/* Keep nested card rows independent of page-level mobile margins. */
body .emoi-profile-catalogue .emoi-profile-card .et_pb_section .et_pb_row{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}

/* Collectif: three editable cards on desktop, one on mobile, horizontal scroll. */
.emoi-profile-carousel .emoi-profile-grid{display:flex;overflow-x:auto;gap:24px;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:16px}
.emoi-profile-carousel .emoi-profile-card{flex:0 0 calc((100% - 48px)/3);scroll-snap-align:start}
.emoi-profile-carousel .emoi-profile-grid:focus-visible{outline:3px solid #00afa2;outline-offset:4px}
@media(max-width:980px){.emoi-profile-carousel .emoi-profile-card{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.emoi-profile-carousel .emoi-profile-grid{scroll-behavior:auto}}


/* Styles scoped to native profile cards: prevent page-level Divi module styles from leaking into previews. */
.emoi-profile-card .et_pb_section,.emoi-profile-card .et_pb_row,.emoi-profile-card .et_pb_column{display:block!important;height:auto!important;min-height:0!important;visibility:visible!important}
.emoi-profile-card{height:auto!important;min-height:0!important}
.emoi-profile-card .et_pb_text{font-family:Nunito,Arial,sans-serif!important;font-size:17px!important;font-weight:400!important;line-height:1.4!important;color:#252340!important;margin:0 0 12px!important}
.emoi-profile-card .et_pb_text h3{font-family:Nunito,Arial,sans-serif!important;font-size:26px!important;font-weight:700!important;line-height:1.4!important;color:#0a0095!important;padding:0!important}
@media(max-width:767px){.emoi-profile-card .et_pb_text h3{font-size:24px!important}}


body .emoi-profile-catalogue .emoi-profile-card .et_pb_section,body .emoi-profile-catalogue .emoi-profile-card .et_pb_row,body .emoi-profile-catalogue .emoi-profile-card .et_pb_column{height:auto!important;min-height:0!important;display:block!important}
body .emoi-profile-catalogue .emoi-profile-card .et_pb_text p{font:inherit!important;color:inherit!important;padding:0!important}
body .emoi-profile-carousel .emoi-profile-grid{align-items:flex-start!important}
body .emoi-profile-carousel .emoi-profile-card{align-self:flex-start!important;height:auto!important;min-height:0!important}
