.oyc-social{background:#071730;color:#fff;border-radius:16px;padding:clamp(38px,5vw,76px) clamp(18px,5vw,62px);box-sizing:border-box}
.oyc-social *{box-sizing:border-box}.oyc-social-intro{margin-bottom:30px}
.oyc-social-intro>span{display:inline-block;background:#f0867b;color:#071730;border-radius:99px;padding:10px 17px;font-size:13px;font-weight:800}
.oyc-social-intro h2{color:#fff!important;font-size:clamp(28px,3vw,43px)!important;font-weight:800!important;margin:17px 0 8px!important}
.oyc-social-intro p{color:#d7e0ed!important;font-size:17px!important;margin:0!important}
.oyc-social-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.oyc-social-card{min-width:0;border-radius:14px;overflow:hidden;background:#172d4b;box-shadow:0 8px 24px #0004}
.oyc-social-main{display:block;position:relative;color:#fff!important;text-decoration:none!important}
.oyc-social-media{display:block;aspect-ratio:1.06;background:linear-gradient(145deg,#244666,#142542);overflow:hidden}
.oyc-social-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.oyc-social-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:100px;font-weight:900;color:#ffffff30}
.oyc-social-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px;min-height:66px}
.oyc-social-caption strong{font-size:clamp(15px,1.3vw,19px)}.oyc-social-caption small{color:#f0867b;font-weight:700;white-space:nowrap}
.oyc-social-overlay{position:absolute;inset:0 0 66px;background:#ffffffe8;color:#071730;display:flex;flex-direction:column;gap:10px;justify-content:center;align-items:center;text-align:center;padding:20px;opacity:0;transition:opacity .25s}
.oyc-social-overlay strong{font-size:22px}.oyc-social-overlay span{line-height:1.4}.oyc-social-overlay em{font-style:normal;font-weight:800;color:#c75f56}
.oyc-social-main:hover .oyc-social-overlay,.oyc-social-main:focus-visible .oyc-social-overlay{opacity:1}.oyc-social-main:hover img{transform:scale(1.05)}
.oyc-social-last{display:block;text-align:center;color:#fff!important;font-size:12px;padding:10px;text-decoration:underline!important}
@media(max-width:850px){.oyc-social-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.oyc-social{padding:32px 14px}.oyc-social-grid{gap:10px}.oyc-social-overlay{display:none}.oyc-social-caption{padding:10px;flex-wrap:wrap}.oyc-social-caption strong{font-size:14px}.oyc-social-caption small{font-size:11px}}

/* v1.2 — Volet déroulant contenant des liens réellement cliquables. */
.oyc-social-card{align-self:start;overflow:hidden;transition:box-shadow .25s,transform .25s}
.oyc-social-card:hover,.oyc-social-card:focus-within{box-shadow:0 14px 35px #0008}
.oyc-social-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 16px;background:#244666;color:#fff;border:0;border-top:1px solid #44617a;cursor:pointer;font-size:13px;font-weight:700;line-height:1.35;font-family:inherit;text-align:left}
.oyc-social-toggle span{color:#f0867b;font-size:22px;line-height:1;transition:transform .25s}
.oyc-social-details{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .3s ease,opacity .2s ease;background:#fff;color:#071730}
.oyc-social-details-inner{min-height:0;overflow:hidden;padding:0 17px;transition:padding .3s ease}
.oyc-social-details h3{font-size:19px!important;line-height:1.3!important;color:#071730!important;margin:0 0 12px!important}
.oyc-social-richtext{font-size:15px;line-height:1.55;color:#142542}
.oyc-social-richtext p,.oyc-social-details p{color:#142542!important;font-size:15px!important;line-height:1.55!important;margin:0 0 10px!important}
.oyc-social-richtext a,.oyc-social-details a{color:#ab4d45!important;font-weight:700;text-decoration:underline!important}
.oyc-social-richtext ul{padding-left:20px!important;margin:7px 0 14px!important}
.oyc-social-page,.oyc-social-last{display:block;text-align:left;padding:7px 0;font-size:13px!important}
.oyc-social-card.is-open .oyc-social-details{grid-template-rows:1fr;opacity:1}
.oyc-social-card.is-open .oyc-social-details-inner{padding:18px 17px 19px}
.oyc-social-card.is-open .oyc-social-toggle span{transform:rotate(180deg)}
@media(max-width:600px){.oyc-social-toggle{font-size:12px;padding:10px}.oyc-social-details-inner{padding-left:12px;padding-right:12px}.oyc-social-card.is-open .oyc-social-details-inner{padding:14px 12px 16px}}

/* v1.3 — titres réglables, cartes de hauteur identique et volet personnalisable. */
.oyc-social-caption{height:112px;min-height:112px;align-items:center;overflow:hidden}
.oyc-social-caption strong{font-size:var(--oyc-card-title-size,19px)!important;line-height:1.22!important;min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.oyc-social-caption small{flex:none}
.oyc-social-details{background:var(--oyc-panel-bg,#fff)!important;color:var(--oyc-panel-color,#142542)!important}
.oyc-social-details h3{font-size:var(--oyc-panel-title-size,19px)!important;color:var(--oyc-panel-color,#142542)!important}
.oyc-social-richtext,.oyc-social-richtext p,.oyc-social-details p,.oyc-social-details li,.oyc-social-details strong,.oyc-social-details em{color:var(--oyc-panel-color,#142542)!important}
.oyc-social-richtext a,.oyc-social-details a,.oyc-social-page,.oyc-social-last{color:var(--oyc-panel-link,#ab4d45)!important}
@media(max-width:600px){.oyc-social-caption{height:124px;min-height:124px;display:flex;flex-wrap:wrap;align-content:center}.oyc-social-caption strong{font-size:min(var(--oyc-card-title-size,19px),17px)!important;-webkit-line-clamp:4}.oyc-social-caption small{max-width:100%}}
.oyc-social .oyc-social-highlight,.oyc-social .oyc-social-caption .oyc-social-highlight,.oyc-social .oyc-social-details h3 .oyc-social-highlight{color:#f0867b!important}
.oyc-social .oyc-social-caption small{color:var(--oyc-network-color,#93c5fd)!important}

/* v1.5.0 — Deux lignes indépendantes, réglables depuis la même administration. */
html body .oyc-social .oyc-social-card .oyc-social-caption{
 height:150px;min-height:150px;flex-direction:column;align-items:flex-start;justify-content:center;flex-wrap:nowrap;gap:8px;
}
html body .oyc-social .oyc-social-card .oyc-social-caption .oyc-social-two-lines{
 display:block!important;overflow:visible!important;-webkit-line-clamp:unset;width:100%;
}
html body .oyc-social .oyc-social-caption .oyc-social-two-lines>span{display:block!important;line-height:1.2!important;overflow-wrap:normal}
html body .oyc-social .oyc-social-caption .oyc-social-two-lines>.oyc-social-line1{font-size:var(--oyc-social-line1-size,18px)!important;color:var(--oyc-social-line1-color,#fff)!important;font-weight:500!important}
html body .oyc-social .oyc-social-caption .oyc-social-two-lines>.oyc-social-line2{font-size:var(--oyc-social-line2-size,20px)!important;color:var(--oyc-social-line2-color,#ec8888)!important;font-weight:800!important;margin-top:3px}
html body .oyc-social .oyc-social-caption>small{align-self:flex-start}

/* v1.5.1 — Action discrète à droite de la couverture, comme les cartes OYC. */
.oyc-social .oyc-social-cover{position:relative}
html body .oyc-social .oyc-social-card .oyc-social-cover .oyc-social-toggle{
 position:absolute;bottom:22px;right:14px;left:auto;width:auto;min-width:58px;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
 background:transparent!important;border:0!important;padding:8px 0;font-size:11px;line-height:1.2;
 color:#fff!important;z-index:3;
}
html body .oyc-social .oyc-social-cover .oyc-social-toggle>span{
 display:block;width:10px;height:10px;font-size:0;border-right:2px solid #fff;border-bottom:2px solid #fff;
 transform:rotate(45deg)!important;margin:0 0 4px;transition:transform .2s ease;
}
html body .oyc-social .oyc-social-card.is-open .oyc-social-toggle>span{transform:rotate(225deg)!important}
html body .oyc-social .oyc-social-cover .oyc-social-caption .oyc-social-two-lines{padding-right:70px}
html body .oyc-social .oyc-social-cover .oyc-social-toggle:focus-visible{outline:2px solid #ec8888;outline-offset:3px}

/* v1.5.2 — Zone de titre plus compacte, sans masquer les grands corps réglés. */
html body .oyc-social .oyc-social-card .oyc-social-caption{
 height:auto;min-height:112px;padding:12px 16px;gap:5px;overflow:visible;
}
html body .oyc-social .oyc-social-card .oyc-social-cover .oyc-social-toggle{bottom:15px}
@media(max-width:600px){html body .oyc-social .oyc-social-card .oyc-social-caption{padding:12px;min-height:112px}}

/* v1.5.3 — Repère de plateforme blanc, à côté du nom du réseau. */
html body .oyc-social .oyc-social-caption>small{display:flex;align-items:center;gap:7px}
html body .oyc-social .oyc-social-caption .oyc-social-platform-logo{display:inline-flex!important;width:19px;height:19px;flex:0 0 19px;align-items:center;justify-content:center}
html body .oyc-social .oyc-social-platform-logo svg{display:block;width:100%;height:100%}

/* Logos également dans les liens des volets, sans changer le texte des liens. */
html body .oyc-social .oyc-social-details .oyc-social-platform-logo{
 display:inline-block!important;width:18px;height:18px;vertical-align:middle;margin-right:7px;
}
html body .oyc-social .oyc-social-details .oyc-social-platform-logo svg{display:block;width:18px;height:18px}

/* v1.5.5 — Logos seuls, plus grands, avec libellés accessibles conservés. */
html body .oyc-social .oyc-social-icon-text{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
 overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
html body .oyc-social .oyc-social-caption .oyc-social-platform-logo{width:30px!important;height:30px!important;flex-basis:30px!important}
html body .oyc-social .oyc-social-card .oyc-social-details a:has(.oyc-social-platform-logo){
 display:inline-flex!important;align-items:center;justify-content:center;width:44px;min-height:44px;
 padding:6px!important;margin:4px 8px 4px 0;vertical-align:middle;text-decoration:none!important;border-radius:6px;
}
html body .oyc-social .oyc-social-details a .oyc-social-platform-logo{width:32px!important;height:32px!important;margin:0!important}
html body .oyc-social .oyc-social-details .oyc-social-platform-logo svg{width:100%!important;height:100%!important}
html body .oyc-social .oyc-social-details a:has(.oyc-social-platform-logo):hover{background:rgba(255,255,255,.12)}
/* v1.5.6 — Toutes les plateformes sur une seule ligne. */
html body .oyc-social .oyc-social-details .oyc-social-platform-row{
 display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:12px;
 width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:5px 0;
}
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-platform-row>a{
 flex:0 0 44px!important;margin:0!important;min-width:44px;
}

/* v1.5.7 — Respecter les paragraphes et respirations saisis dans le volet. */
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-richtext p{margin:0 0 16px!important}
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-richtext p:last-child{margin-bottom:0!important}

/* Ouverture explicite au clic, sans ouverture au survol ou à la prise de focus. */
html body .oyc-social .oyc-social-card:not(.is-open) .oyc-social-details{grid-template-rows:0fr!important;opacity:0!important;visibility:hidden}
html body .oyc-social .oyc-social-card:not(.is-open) .oyc-social-details-inner{padding-top:0!important;padding-bottom:0!important}
html body .oyc-social .oyc-social-card:not(.is-open) .oyc-social-toggle>span{transform:rotate(45deg)!important}
html body .oyc-social .oyc-social-card .oyc-social-details :is(strong,b){color:#ec8888!important}
html body .oyc-social .oyc-social-details .oyc-social-platform-row.oyc-social-platform-inline{display:inline-flex!important;width:auto!important;max-width:100%;vertical-align:middle;margin-left:12px;padding:0;overflow:visible}
@media(hover:hover){
 html body .oyc-social .oyc-social-card:hover{box-shadow:0 0 0 1px rgba(255,255,255,.35)!important}
 html body .oyc-social .oyc-social-main:hover img{transform:none!important}
 html body .oyc-social .oyc-social-main:hover .oyc-social-overlay{opacity:0!important}
 html body .oyc-social .oyc-social-cover:hover{background:rgba(255,255,255,.1)}
 html body .oyc-social .oyc-social-cover:hover img{filter:brightness(1.08)}
}

/* Un nom et ses réseaux sur une seule ligne, même après un saut dans l’éditeur. */
html body .oyc-social .oyc-social-card .oyc-social-details p.oyc-social-association-line{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:10px;width:100%;min-width:0}
html body .oyc-social .oyc-social-details .oyc-social-association-name{flex:1 1 auto;min-width:0;white-space:nowrap}
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-association-name,
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-association-name :is(strong,b){font-size:var(--oyc-association-size,16px)!important}
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-association-line .oyc-social-platform-row{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;gap:6px;overflow:visible}
html body .oyc-social .oyc-social-card .oyc-social-details .oyc-social-association-line .oyc-social-platform-row>a{flex:0 0 36px!important;min-width:36px!important}

/* V1.6.1 — Volets homogènes ; aucun texte ni lien masqué. */
@media (min-width: 851px) {
  html body .oyc-social .oyc-social-card.is-open .oyc-social-details-inner {
    min-height: 255px;
    display: flex;
    flex-direction: column;
  }
  html body .oyc-social .oyc-social-card.is-open .oyc-social-richtext {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }
  /* Les paragraphes de liens descendent, sans changer leur ordre ni leur contenu. */
  html body .oyc-social .oyc-social-card.is-open .oyc-social-richtext p:not(:has(a)) + p:has(a) {
    margin-top: auto!important;
    padding-top: 13px;
  }
}
@media (max-width: 850px) {
  html body .oyc-social .oyc-social-card.is-open .oyc-social-details-inner {
    min-height: 0;
  }
}

.oyc-social .oyc-social-logo-link{display:inline-flex;width:max-content;line-height:0}
.oyc-social .oyc-social-logo-link:focus-visible{outline:2px solid #ec8888;outline-offset:3px}
