/*! BLCKSPRT SOCIAL - rendu front (grille / masonry / cartes). Cible < 5 Ko (ENF-01). */
.blck-social-feed{--blck-cols:3;--blck-gap:24px;--blck-radius:10px;--blck-border-width:1px;--blck-ratio:4/3;display:block;margin:8px 0 24px}
.blck-social-feed .blck-social-cards{display:grid;grid-template-columns:repeat(var(--blck-cols),minmax(0,1fr));gap:var(--blck-gap);align-items:stretch}
.blck-social-feed *,.blck-social-feed *::before,.blck-social-feed *::after{box-sizing:border-box}
.blck-social-feed--masonry .blck-social-cards{display:block;column-count:var(--blck-cols);column-gap:var(--blck-gap);column-fill:balance}
.blck-social-feed--masonry .blck-social-card{break-inside:avoid;margin:0 0 var(--blck-gap)}
.blck-social-card{position:relative;display:flex;flex-direction:column;background:#fff;border:var(--blck-border-width) solid #ECECEA;border-radius:var(--blck-radius);overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.blck-social-feed--shadow .blck-social-card{box-shadow:0 2px 10px rgba(0,0,0,.07)}
.blck-social-feed--hover-fade .blck-social-card:hover{opacity:.88}
.blck-social-feed--hover-lift .blck-social-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.09);transform:translateY(-2px)}
.blck-social-media{display:block;width:100%;aspect-ratio:var(--blck-ratio);overflow:hidden;line-height:0}
.blck-social-img{display:block;width:100%;height:100%;object-fit:cover;margin:0!important}
.blck-social-feed--ratio-auto .blck-social-media{aspect-ratio:auto}
.blck-social-feed--ratio-auto .blck-social-img{height:auto}
.blck-social-feed--media-left .blck-social-card,.blck-social-feed--media-right .blck-social-card{flex-direction:row;align-items:stretch}
.blck-social-feed--media-right .blck-social-card{flex-direction:row-reverse}
.blck-social-feed--media-left .blck-social-media,.blck-social-feed--media-right .blck-social-media{flex:0 0 40%;min-width:120px;aspect-ratio:auto}
.blck-social-body{display:flex;flex:1 1 auto;flex-direction:column;gap:8px;padding:16px 18px 18px}
.blck-social-topbar{display:flex;align-items:flex-start;gap:10px}
.blck-social-cover{display:block;overflow:hidden}
.blck-social-head{display:flex;align-items:center;gap:10px;min-width:0}
.blck-social-identity{display:flex;flex-direction:column;min-width:0}
.blck-social-author{font-size:14px;font-weight:600;color:#1A1A1A;overflow-wrap:anywhere}
.blck-social-followers{font-size:12px;color:#6B6B66}
.blck-social-menu{position:relative;flex:0 0 auto;margin-left:auto}
.blck-social-menu-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#6B6B66;font-size:18px;line-height:1;cursor:pointer;list-style:none}
.blck-social-menu-toggle::-webkit-details-marker{display:none}
.blck-social-menu[open] .blck-social-menu-toggle{background:#F3F3F1}
.blck-social-menu-list{position:absolute;right:0;top:48px;z-index:5;min-width:190px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #ECECEA;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.1)}
.blck-social-menu-list a{display:block;padding:8px 10px;border-radius:6px;font-size:13px;color:#1A1A1A;text-decoration:none}
.blck-social-menu-list a:hover{background:#F6F6F4}
.blck-social-date{font-size:12px;color:#6B6B66}
.blck-social-text{margin:0;font-size:14px;line-height:1.55;color:#1A1A1A}
.blck-social-metrics{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#6B6B66}
.blck-social-metric{display:inline-flex;align-items:center;gap:5px}
.blck-social-metric::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.blck-social-metric--reactions{color:var(--blck-c-reactions,var(--blck-metric-reactions,#3660B0))}
.blck-social-metric--comments{color:var(--blck-c-comments,var(--blck-metric-comments,#2E7D46))}
.blck-social-metric--shares{color:var(--blck-c-shares,var(--blck-metric-shares,#B45309))}
.blck-social-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto}
.blck-social-more,.blck-social-share{font-size:13px;font-weight:600;color:#1257a5;text-decoration:none}
.blck-social-share::before{content:"\2197";margin-right:6px}
.blck-social-more:hover,.blck-social-more:focus,.blck-social-share:hover,.blck-social-share:focus{text-decoration:underline}
.blck-social-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.blck-social-feed a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media (max-width:900px){.blck-social-feed .blck-social-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.blck-social-feed--masonry .blck-social-cards{column-count:2}}
@media (max-width:560px){.blck-social-feed .blck-social-cards{grid-template-columns:1fr}.blck-social-feed--masonry .blck-social-cards{column-count:1}.blck-social-feed--media-left .blck-social-card,.blck-social-feed--media-right .blck-social-card{flex-direction:column}}
.blck-social-feed .blck-social-banner{width:100%;margin:0 0 var(--blck-gap);background:#fff;border-radius:var(--blck-radius);overflow:hidden}
.blck-social-feed .blck-social-banner .blck-social-cover{height:180px}
.blck-social-feed .blck-social-banner .blck-social-head{display:flex;align-items:center;gap:16px;padding:14px 20px}
.blck-social-feed .blck-social-banner--cover .blck-social-head{margin-top:-40px;align-items:flex-end}
.blck-social-img,.blck-social-cover-img,.blck-social-avatar{display:block;width:100%!important;height:100%!important;object-fit:cover}
.blck-social-feed .blck-social-head .blck-social-avatar{width:96px!important;height:96px!important;border-radius:50%;flex:0 0 auto;border:4px solid #fff}
.blck-social-feed .blck-social-topbar--solo{position:absolute;top:8px;right:8px;z-index:2;margin:0}
.blck-social-feed .blck-social-topbar--solo .blck-social-menu{background:none}
.blck-social-feed .blck-social-topbar--solo .blck-social-menu-toggle{background:rgba(255,255,255,.92)}
.blck-social-feed--grid .blck-social-body{flex:1;display:flex;flex-direction:column;justify-content:space-between}

.blck-social-metrics--icons .blck-social-metric::before{display:none}
.blck-social-metric svg{width:15px;height:15px}
.blck-social-metrics--mono .blck-social-metric{color:#6B6B66}
.blck-social-more-wrap{margin:16px 0 0;text-align:center}
.blck-social-feed .blck-social-card[hidden]{display:none!important}
.blck-social-feed--masonry .blck-social-cards.is-masonry{display:flex;column-count:initial;column-gap:0;align-items:flex-start;gap:var(--blck-gap)}
.blck-social-feed--masonry .blck-social-cards.is-masonry>.blck-social-col{display:flex;flex-direction:column;gap:var(--blck-gap);flex:1 1 0;min-width:0}
.blck-social-feed--masonry .blck-social-cards.is-masonry .blck-social-card{margin:0}
.blck-social-more-wrap{margin:var(--blck-gap) 0 0;text-align:center}
.blck-social-feed .blck-social-more-btn{padding:10px 24px;border:1px solid #d5d9e0;border-radius:999px!important;background:#fff;color:inherit;font:inherit}
.blck-social-more-btn:hover{border-color:currentColor}
.blck-social-actions__links{display:flex;align-items:center;gap:16px;margin-left:auto}.blck-social-more{display:inline-flex;align-items:center;gap:4px}.blck-social-more svg{display:block;width:12px;height:12px;fill:#5b6472;stroke:none;transition:fill .15s}.blck-social-more:hover svg{fill:#1877F2}
.blck-social-feed .blck-social-share,.blck-social-feed .blck-social-more{text-decoration:none!important}
.blck-social-actions__links a::before,.blck-social-modal__actions a::before{content:none!important}
