/* Styles communs aux thèmes Hello EFCS et Hello WFCS (gabarits partagés, charte V2).
   Chaque thème enfant définit les variables --cs-* dans son style.css. Les blocs sont des conteneurs et widgets
   Elementor qui portent les classes cs-* (réglage « Classes CSS »), d'après les maquettes HTML V2. */

/* ---------- Police Outfit, hébergée sur le site ---------- */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

body { font-family: "Outfit", Arial, sans-serif; color: var(--cs-text); -webkit-font-smoothing: antialiased; }
.elementor-heading-title { letter-spacing: -.015em; }
h1.elementor-heading-title { letter-spacing: -.02em; }

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 3px solid var(--cs-second); outline-offset: 3px; }
.cs-footer :focus-visible, .cs-card:not(.cs-card--light):focus-visible { outline-color: #FFFFFF; }
html { scroll-padding-top: 120px; }
#content:focus { outline: none; }
.cs-lecteur { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Boutons (widget Bouton, classes cs-btn et cs-btn--ghost) ---------- */
.cs-btn .elementor-button {
	border-radius: 999px; padding: 14px 24px; font-family: "Outfit", Arial, sans-serif; font-weight: 600; font-size: 16px;
	line-height: 1.2; border: 2px solid var(--cs-primaire); background: var(--cs-primaire); color: #FFFFFF;
}
.cs-btn .elementor-button:hover { background: var(--cs-texte-fonce); border-color: var(--cs-texte-fonce); color: #FFFFFF; }
.cs-btn--ghost .elementor-button { background: transparent; color: var(--cs-primaire); }
.cs-btn--ghost .elementor-button:hover { background: var(--cs-primaire); color: #FFFFFF; border-color: var(--cs-primaire); }

/* ---------- En-tête ---------- */
.cs-header { border-bottom: 1px solid var(--cs-filet); background: #FFFFFF; }
.cs-header.elementor-sticky--effects { box-shadow: 0 6px 24px rgba(11, 37, 69, .10); }
.cs-header.elementor-sticky--active { z-index: 99; }
.cs-header .cs-logo img { height: 86px; width: auto; max-width: none; }
.cs-nav .elementor-nav-menu--main .elementor-item { font-weight: 500; font-size: 16px; color: var(--cs-text); padding: 10px 14px; }
.cs-nav .elementor-nav-menu--main .elementor-item:hover,
.cs-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--cs-primaire); }
.cs-nav .elementor-nav-menu--dropdown { border-radius: 14px; box-shadow: 0 12px 32px rgba(11, 37, 69, .12); overflow: hidden; }
.cs-nav .elementor-nav-menu--dropdown a { font-size: 15px; padding: 12px 18px; color: var(--cs-text); }
/* Menu mobile : Elementor réduit les sous-entrées à 0.85em ; on garde une taille lisible et un retrait. */
.cs-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-sub-item { font-size: 15px; padding-left: 32px; }
.cs-nav .elementor-nav-menu--dropdown a:hover, .cs-nav .elementor-nav-menu--dropdown a.elementor-item-active { background: var(--cs-fond); color: var(--cs-primaire); }
.cs-nav .elementor-menu-toggle { border: 1.5px solid var(--cs-filet); border-radius: 10px; width: 44px; height: 44px; color: var(--cs-text); background: #FFFFFF; }
@media (max-width: 1024px) { .cs-header .cs-logo img { height: 64px; } }
/* Menu centré : logo et bouton dans deux cases de même largeur sur grand écran, le menu occupe le milieu. En dessous
   de 1 281 px, les cases prennent la taille de leur contenu et les entrées du menu se resserrent. */
.cs-header .cs-nav .elementor-nav-menu--main > .elementor-nav-menu { justify-content: center; }
.cs-header .cs-btn--entete .elementor-button { white-space: nowrap; }
@media (min-width: 1281px) {
	.cs-header .cs-logo, .cs-header .cs-btn--entete { flex: 0 0 170px; width: 170px; max-width: 170px; }
	.cs-header .cs-btn--entete { text-align: right; }
	.cs-header .cs-logo, .cs-header .cs-logo > .elementor-widget-container { text-align: left; display: flex; justify-content: flex-start; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
	.cs-nav .elementor-nav-menu--main .elementor-item { padding: 10px 9px; font-size: 15px; }
}

/* ---------- Ouverture ---------- */
.cs-lead, .cs-lead p { font-size: 21px; line-height: 1.5; color: var(--cs-lead); max-width: 34em; }
.cs-lead p:last-child { margin-bottom: 0; }
.cs-facts { border-top: 1px solid var(--cs-filet); }
.cs-facts > .e-con { --width: auto; width: auto; }
.cs-fact .elementor-heading-title { display: block; font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--cs-chiffre, var(--cs-primaire)); }
.cs-fact-label .elementor-heading-title { font-size: 15px; line-height: 1.35; font-weight: 400; color: var(--cs-muted); }
/* Le format est porté par le conteneur (le SVG seul n'a pas de hauteur fiable dans une colonne flex), et le bloc
   ne doit pas rétrécir sur mobile : sinon le visuel déborde sur le titre. */
.cs-ouverture { width: 100%; aspect-ratio: var(--cs-ouverture-ratio, 1300 / 1218); position: relative; }
.cs-ouverture-col { --flex-shrink: 0; }
.cs-ouverture-col > .elementor-widget { width: 100%; flex-shrink: 0; }
.cs-ouverture__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 767px) {
	.cs-lead, .cs-lead p { font-size: 17px; }
	.cs-fact .elementor-heading-title { font-size: 24px; }
	.cs-ouverture { max-width: 340px; margin: 0 auto; }
}

/* ---------- Cartes (Jeux et événements) ---------- */
.cs-card { border-radius: 24px; overflow: hidden; background: var(--cs-texte-fonce); color: #FFFFFF; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cs-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11, 37, 69, .18); }
.cs-card .cs-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 0; }
.cs-card .elementor-heading-title { color: #FFFFFF; }
.cs-card .cs-card__txt p { color: #CFDBE9; font-size: 18px; line-height: 1.55; }
.cs-card--light { background: var(--cs-fond); color: var(--cs-text); }
.cs-card--light .elementor-heading-title { color: var(--cs-text); }
.cs-card--light .cs-card__txt p { color: var(--cs-lead); }
.cs-tag .elementor-heading-title {
	display: inline-block; font-weight: 600; font-size: 14px; line-height: 1.3; padding: 5px 12px; border-radius: 999px;
	background: var(--cs-surface-chaude); color: var(--cs-texte-fonce) !important; letter-spacing: 0;
}
.cs-card--light .cs-tag .elementor-heading-title { background: var(--cs-primaire); color: #FFFFFF !important; }
/* Étiquette d'alerte (WFCS : Signal Red, une seule touche par page) */
/* Blanc sur Signal Red : 4,1:1. Texte en gras de 19 px (« grand texte » WCAG, seuil 3:1) pour rester conforme. */
.cs-tag--signal .elementor-heading-title { background: var(--cs-signal, var(--cs-accent)); color: #FFFFFF !important; font-size: 19px; font-weight: 700; padding: 6px 14px; }

/* ---------- En-tête de section (titre et lien « tout voir ») ---------- */
.cs-voir a, .cs-voir .elementor-heading-title { color: var(--cs-primaire); font-weight: 600; font-size: 16px; letter-spacing: 0; }
.cs-voir a:hover { text-decoration: underline; }

/* ---------- Projets ---------- */
@media (min-width: 768px) { .cs-pjs > .cs-pj { --width: auto; width: auto; flex: 1 1 0; } }
.cs-pj { background: #FFFFFF; border: 1px solid var(--cs-filet); border-radius: 18px; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.cs-pj:hover { border-color: var(--cs-second); box-shadow: 0 10px 28px rgba(11, 37, 69, .08); }
.cs-meta .elementor-heading-title, .cs-meta { font-size: 15px; font-weight: 400; color: var(--cs-muted); letter-spacing: 0; }
.cs-pj .cs-pj__txt p { font-size: 16px; line-height: 1.55; color: var(--cs-lead); margin: 0; }
.cs-statut .elementor-heading-title { color: var(--cs-primaire); font-weight: 600; }

/* ---------- Bloc photo et liens (Be Active at Work) ---------- */
.cs-work { border-radius: 24px; overflow: hidden; background: #FFFFFF; }
.cs-lien { border-bottom: 1px solid var(--cs-filet); text-decoration: none; }
.cs-lien .elementor-heading-title { color: var(--cs-primaire); font-weight: 600; font-size: 18px; letter-spacing: 0; }
.cs-lien .cs-lien__desc .elementor-heading-title { color: var(--cs-lead); font-weight: 400; font-size: 15px; }
.cs-lien:hover .elementor-heading-title:first-child { text-decoration: underline; }

/* ---------- Actualités (grille en boucle et carte « Carte actualité ») ---------- */
.cs-nw { text-decoration: none; }
.cs-nw .elementor-widget-theme-post-featured-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; }
.cs-nw .elementor-widget-theme-post-title .elementor-heading-title { font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--cs-text); letter-spacing: 0; }
.cs-nw:hover .elementor-widget-theme-post-title .elementor-heading-title { color: var(--cs-primaire); }
.cs-nw .elementor-widget-theme-post-excerpt, .cs-nw .elementor-widget-theme-post-excerpt p { font-size: 16px; line-height: 1.55; color: var(--cs-lead); margin: 0; }
.cs-nw .elementor-post-info__item { font-size: 15px; color: var(--cs-muted); }

/* ---------- Adhésion et partenaires ---------- */
.cs-plogo { background: #FFFFFF; border: 1px solid var(--cs-filet); border-radius: 12px; height: 100px; }
.cs-plogo img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Pied de page ---------- */
.cs-footer { background: var(--cs-texte-fonce); color: #D6E1EE; font-size: 15px; }
.cs-footer a { color: #FFFFFF; }
.cs-footer a:hover { color: var(--cs-clair); text-decoration: underline; }
.cs-footer .elementor-heading-title { color: #FFFFFF; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.cs-footer ul { list-style: none; margin: 0; padding: 0; }
.cs-footer li { margin-bottom: 6px; line-height: 1.5; }
.cs-footer li a { display: inline-block; padding: 3px 0; }
.cs-footer .cs-logo-blanc img { height: 92px; width: auto; }
.cs-legal { border-top: 1px solid rgba(255, 255, 255, .15); color: #9FB3C9; font-size: 13px; }
.cs-legal p, .cs-legal .elementor-heading-title { color: #9FB3C9; font-size: 13px; font-weight: 400; margin: 0; }
.cs-legal a { color: #9FB3C9; }

/* Pastilles de contact (charte : adresse, téléphone, e-mail, site). Shortcode [cs_contact]. */
.cs-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-pills li { display: flex; align-items: center; gap: 12px; margin: 0; }
.cs-pill { flex: 0 0 auto; width: 40px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.cs-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs-pill--adresse { background: var(--cs-pill-adresse); color: #FFFFFF; }
.cs-pill--tel { background: var(--cs-pill-tel); color: #FFFFFF; }
/* Pastille de la couleur du pied de page (WFCS : téléphone WFCS Navy) : liseré clair pour rester visible. */
.cs-footer .cs-pill--tel { box-shadow: var(--cs-pill-tel-pied, none); }
.cs-pill--mail { background: var(--cs-pill-mail); color: var(--cs-texte-fonce); }
.cs-pill--web { background: var(--cs-pill-web); color: #FFFFFF; }
.cs-pills a { color: #FFFFFF; }

/* ---------- Pages intérieures : bandeau, texte des articles, pagination, recherche ---------- */
.cs-bandeau { background: var(--cs-fond); border-bottom: 1px solid var(--cs-filet); }
.cs-bandeau h1.elementor-heading-title { max-width: 22em; }
.cs-titre-article .elementor-heading-title { font-size: 52px; max-width: 18em; }
@media (max-width: 767px) { .cs-titre-article .elementor-heading-title { font-size: 34px; } }

.cs-contenu { font-size: 18px; line-height: 1.65; color: var(--cs-text); overflow-wrap: break-word; }  /* adresses longues coupées sur mobile */
.cs-contenu p, .cs-contenu li { line-height: 1.65; }
.cs-contenu p { margin: 0 0 1.1em; }
.cs-contenu h2, .cs-contenu h2.elementor-heading-title { font-size: 30px; line-height: 1.2; margin: 1.4em 0 .5em; }
.cs-contenu h3, .cs-contenu h3.elementor-heading-title { font-size: 22px; line-height: 1.3; margin: 1.2em 0 .4em; }
.cs-contenu a:not(.elementor-button) { color: var(--cs-primaire); text-decoration: underline; text-underline-offset: 2px; }
.cs-contenu a:not(.elementor-button):hover { color: var(--cs-texte-fonce); }
.cs-contenu img { border-radius: 14px; height: auto; }
.cs-contenu ul, .cs-contenu ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.cs-contenu blockquote { border-left: 3px solid var(--cs-accent); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; color: var(--cs-lead); }
.cs-contenu .e-con, .cs-contenu .elementor-section .elementor-container { --padding-left: 0; --padding-right: 0; }

.cs-pagination .elementor-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.cs-pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 12px; margin: 0 !important; display: inline-flex;
	align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; color: var(--cs-primaire); border: 1px solid var(--cs-filet); }
.cs-pagination .page-numbers.current { background: var(--cs-primaire); border-color: var(--cs-primaire); color: #FFFFFF; }
.cs-pagination a.page-numbers:hover { background: var(--cs-fond); }
.cs-pagination .e-load-more-message, .elementor-loop-container + .e-loop-nothing-found-message, .e-loop-nothing-found-message { font-size: 18px; color: var(--cs-lead); }

.e-con > .elementor-widget.cs-recherche, .cs-recherche { max-width: 640px; width: 100%; }
.cs-recherche .elementor-search-form__container { border: 1.5px solid var(--cs-filet) !important; border-radius: 999px !important; overflow: hidden; background: #FFFFFF; min-height: 52px; }
.cs-recherche .elementor-search-form__input { font-family: "Outfit", Arial, sans-serif; font-size: 17px; padding-left: 22px; color: var(--cs-text); background: #FFFFFF; }
.cs-recherche .elementor-search-form__submit { background: var(--cs-primaire); color: #FFFFFF; font-family: "Outfit", Arial, sans-serif; font-weight: 600; font-size: 16px; padding: 0 24px; border-radius: 999px; margin: 4px; min-width: 0; }
.cs-recherche .elementor-search-form__submit:hover { background: var(--cs-texte-fonce); }

/* ---------- Blocs V2 des pages intérieures ---------- */
/* Mosaïque de photos */
.cs-mosaique img { width: 100%; display: block; object-fit: cover; border-radius: 18px; }
.cs-mosaique > .elementor-widget:first-child img { aspect-ratio: 3 / 2; border-radius: 24px; }
.cs-mosaique > .e-con img { aspect-ratio: 4 / 3; }
.cs-mosaique > .e-con > .elementor-widget { flex: 1 1 0; }

/* Étapes ou jours numérotés */
.cs-etape { background: var(--cs-fond); border-radius: 18px; border-top: 3px solid var(--cs-accent); }
.cs-etape__num .elementor-heading-title { color: var(--cs-primaire); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.cs-etape__txt .elementor-heading-title { color: var(--cs-text); font-weight: 500; font-size: 17px; line-height: 1.4; letter-spacing: 0; }
@media (min-width: 768px) { .cs-etapes > .cs-etape { --width: auto; width: auto; flex: 1 1 0; } }

/* Bandeau d'appel sur fond marine */
.cs-appel { background: var(--cs-texte-fonce); border-radius: 24px; color: #FFFFFF; }
.cs-appel h2.elementor-heading-title { color: #FFFFFF; }
.cs-appel .cs-appel__txt p { color: #CFDBE9; font-size: 18px; margin: 0; }
.cs-btn--clair .elementor-button, body .cs-btn--clair .elementor-button { background: #FFFFFF; border-color: #FFFFFF; color: var(--cs-texte-fonce); }
.cs-btn--clair .elementor-button:hover { background: var(--cs-surface-chaude); border-color: var(--cs-surface-chaude); color: var(--cs-texte-fonce); }

/* Chiffres clés en tête de section */
.cs-facts--section .cs-fact .elementor-heading-title { font-size: 34px; }
@media (max-width: 767px) { .cs-facts--section > .e-con { width: calc(50% - 12px); --width: calc(50% - 12px); } }

/* Frise des éditions : jalons posés sur une ligne */
.cs-frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); row-gap: 30px; }
.cs-frise li { position: relative; padding: 22px 16px 0 0; margin: 0; border-top: 2px solid var(--cs-frise, var(--cs-accent)); }
.cs-frise li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--cs-frise, var(--cs-accent)); box-shadow: 0 0 0 3px #FFFFFF; }
.cs-frise--hiver { --cs-frise: var(--cs-second); }
.cs-fond .cs-frise li::before, .cs-frise--hiver li::before { box-shadow: 0 0 0 3px var(--cs-fond); }
.cs-frise__annee { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--cs-primaire); }
.cs-frise__lieu { display: block; font-size: 15px; line-height: 1.4; color: var(--cs-lead); margin-top: 2px; }
.cs-frise__a-venir .cs-frise__note { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--cs-surface-chaude); color: var(--cs-texte-fonce); }
.cs-frise-bloc p:empty { display: none; }

/* Pages encore en ancien contenu : respiration sous le bandeau et avant le pied de page */
.cs-contenu-page > .elementor > .elementor-section:first-child,
.cs-contenu-page > .elementor > .e-con:first-child:not(.cs-section) { margin-top: 48px; }
.cs-contenu-page > .elementor > .elementor-section:last-child,
.cs-contenu-page > .elementor > .e-con:last-child:not(.cs-section) { margin-bottom: 72px; }

/* ---------- Grilles, cartes et blocs des pages reconstruites ---------- */
/* Grilles : 24 px d'écart, colonnes calculées (Elementor donne 100 % aux conteneurs enfants par défaut). */
.cs-grille > .e-con { flex: 0 0 auto; }
.cs-grille--5 > .e-con { --width: calc((100% - 64px) / 5); width: calc((100% - 64px) / 5); }
.cs-grille--4 > .e-con { --width: calc((100% - 72px) / 4); width: calc((100% - 72px) / 4); }
.cs-grille--3 > .e-con { --width: calc((100% - 48px) / 3); width: calc((100% - 48px) / 3); }
@media (max-width: 1024px) {
	.cs-grille--5 > .e-con { --width: calc((100% - 32px) / 3); width: calc((100% - 32px) / 3); }
	.cs-grille--4 > .e-con, .cs-grille--3 > .e-con { --width: calc((100% - 24px) / 2); width: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
	.cs-grille--5 > .e-con { --width: calc((100% - 16px) / 2); width: calc((100% - 16px) / 2); }
	.cs-grille--4 > .e-con { --width: calc((100% - 24px) / 2); width: calc((100% - 24px) / 2); }
	.cs-grille--3 > .e-con { --width: 100%; width: 100%; }
	.cs-membres .cs-grille--4 > .e-con { --width: 100%; width: 100%; }
}
@media (min-width: 768px) { .cs-egales > .e-con { --width: auto; width: auto; flex: 1 1 0; } }

/* Texte courant des pages */
.cs-texte, .cs-texte p, .cs-texte li { font-size: 18px; line-height: 1.65; color: var(--cs-text); }
.cs-texte p { margin: 0 0 1em; }
.cs-texte p:last-child { margin-bottom: 0; }
.cs-texte h3 { font-size: 22px; margin: 1.3em 0 .4em; }
.cs-texte ul, .cs-liste ul, .cs-volet__corps ul { padding-left: 1.2em; margin: 0 0 1em; }
.cs-texte li, .cs-liste li, .cs-volet__corps li { margin-bottom: .45em; }
.cs-texte a, .cs-liste a, .cs-volet__corps a, .cs-pj__txt a { color: var(--cs-primaire); text-decoration: underline; text-underline-offset: 2px; }
.cs-texte li::marker, .cs-liste li::marker, .cs-volet__corps li::marker { color: var(--cs-accent); }

/* Cartes à liste (missions, activités) */
.cs-carte-liste { background: var(--cs-fond); border-radius: 24px; border-top: 3px solid var(--cs-accent); }
.cs-liste, .cs-liste li { font-size: 17px; line-height: 1.55; color: var(--cs-text); }
.cs-liste ul { margin: 0; }

/* Volets dépliables */
.cs-volet { background: #FFFFFF; border: 1px solid var(--cs-filet); border-radius: 16px; margin: 0 0 12px; }
.cs-volet summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 18px; color: var(--cs-text); position: relative; }
.cs-volet summary::-webkit-details-marker { display: none; }
.cs-volet summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--cs-primaire); border-bottom: 2px solid var(--cs-primaire); transform: rotate(45deg); transition: transform .2s ease; }
.cs-volet[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.cs-volet summary:hover { color: var(--cs-primaire); }
.cs-volet__corps { padding: 0 22px 20px; font-size: 17px; line-height: 1.6; color: var(--cs-text); }
.cs-volet__corps p { margin: 0 0 .8em; }

/* Personnes (Comité exécutif) */
.cs-personne__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 18px; display: block; }
.cs-personne__initiales { flex-shrink: 0; width: 100%; }
.cs-personne__initiales .elementor-heading-title { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5;
	border-radius: 18px; background: var(--cs-clair); color: var(--cs-primaire); font-size: 44px; font-weight: 600; }
.cs-personne h3.elementor-heading-title { font-size: 19px; margin-top: 10px; }
.cs-personne__role .elementor-heading-title { color: var(--cs-primaire); font-weight: 500; font-size: 16px; letter-spacing: 0; }

/* Cartes à logo (projets, membres) */
.cs-carte { height: auto; }
.cs-carte__logo { background: transparent; border: 0; border-radius: 0; min-height: 160px; }   /* la carte encadre déjà le logo */
.cs-carte__logo img { max-height: 130px; width: auto; max-width: 100%; object-fit: contain; }
.cs-carte .cs-voir .elementor-heading-title { margin-top: auto; }
.cs-carte h3.elementor-heading-title { font-size: 19px; line-height: 1.3; }
.cs-carte__img img { border-radius: 18px; }
.cs-tag--pays .elementor-heading-title { background: var(--cs-clair) !important; }

/* Logos (partenaires, évolution du logo) */
/* Partenaires de l'accueil (« They support us ») : section à part, logos en grand */
.cs-soutiens__titre .elementor-heading-title, .cs-soutiens__lien .elementor-heading-title { text-align: center; }
.cs-soutiens { width: 100%; }
.cs-section .cs-soutiens > .e-con.cs-plogo--soutien { --width: min(190px, calc((100% - 120px) / 6)); width: var(--width); }
/* Peu de partenaires (WFCS) : cases plus grandes */
.cs-section .cs-soutiens:not(:has(> :nth-child(4))) > .e-con.cs-plogo--soutien { --width: 280px; height: 160px; }
.cs-soutiens:not(:has(> :nth-child(4))) .cs-plogo--soutien img { max-height: 116px; }
@media (max-width: 1024px) { .cs-section .cs-soutiens > .e-con.cs-plogo--soutien { --width: calc((100% - 48px) / 3); } }
@media (max-width: 767px) { .cs-section .cs-soutiens > .e-con.cs-plogo--soutien, .cs-section .cs-soutiens:not(:has(> :nth-child(4))) > .e-con.cs-plogo--soutien { --width: calc((100% - 12px) / 2); height: 96px; } }
.cs-plogo--soutien { height: 120px; box-shadow: 0 6px 18px rgba(16, 42, 84, .06); }
.cs-plogo--soutien img { max-height: 84px; }
a.cs-plogo--soutien:hover { box-shadow: 0 8px 24px rgba(16, 42, 84, .12); }
@media (max-width: 767px) { .cs-plogo--soutien { height: 96px; } .cs-plogo--soutien img { max-height: 64px; } }
.cs-plogo--grand { height: auto; min-height: 150px; }
.cs-plogo--grand img { max-height: 120px; }
a.cs-plogo:hover { border-color: var(--cs-second); }
.cs-ligne { border-bottom: 1px solid var(--cs-filet); }
.cs-ligne:last-child { border-bottom: 0; }

/* Atouts numérotés */
.cs-atout { background: var(--cs-fond); border-radius: 18px; }

/* Contact : coordonnées sur fond clair et formulaire */
.cs-section:not(.cs-footer) .cs-pills a { color: var(--cs-text); }
.cs-section:not(.cs-footer) .cs-pills li { font-size: 17px; }
.cs-horaires ul { list-style: none; padding: 0; }
.cs-carte-form { background: var(--cs-fond); border-radius: 24px; }
.cs-formulaire .elementor-field-group > label { font-weight: 600; font-size: 15px; color: var(--cs-text); margin-bottom: 6px; }
.cs-formulaire .elementor-field-textual { border: 1.5px solid var(--cs-filet); border-radius: 12px; background: #FFFFFF; font-family: "Outfit", Arial, sans-serif; font-size: 17px; padding: 12px 14px; min-height: 48px; color: var(--cs-text); }
.cs-formulaire .elementor-field-type-acceptance label { font-size: 15px; line-height: 1.45; }
.cs-formulaire .elementor-field-type-acceptance a { color: var(--cs-primaire); text-decoration: underline; }
.cs-formulaire .elementor-button { border-radius: 999px; min-height: 52px; }
.cs-formulaire .elementor-mark-required .elementor-field-label::after { color: var(--cs-accent); }

/* ---------- Blocs issus de la conversion des pages anciennes ---------- */
.cs-section .cs-texte { max-width: 820px; }
.cs-sous-titre .elementor-heading-title { color: var(--cs-primaire); margin-top: 16px; }
.cs-photo img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; }
.cs-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; transition: opacity .2s ease; }
.cs-galerie a:hover img { opacity: .85; }
.cs-chiffre { background: #FFFFFF; border: 1px solid var(--cs-filet); border-top: 3px solid var(--cs-accent); border-radius: 18px; }
.cs-chiffre .cs-fact .elementor-heading-title { font-size: 32px; }
.cs-chiffre .cs-fact-label .elementor-heading-title { font-size: 16px; color: var(--cs-lead); }
.cs-citation { background: #FFFFFF; border-left: 4px solid var(--cs-accent); border-radius: 18px; }
.cs-citation__txt p { font-size: 17px; line-height: 1.65; color: var(--cs-text); margin: 0 0 .8em; }
.cs-citation__nom .elementor-heading-title { font-weight: 600; font-size: 17px; color: var(--cs-primaire); }
.cs-video { max-width: 900px; width: 100%; }
.cs-grille--2 > .e-con, .cs-grille--2 > .elementor-widget { --width: calc((100% - 24px) / 2); width: calc((100% - 24px) / 2); }
@media (max-width: 767px) { .cs-grille--2 > .e-con, .cs-grille--2 > .elementor-widget { --width: 100%; width: 100%; } }
.cs-logo-seul img { max-height: 170px; width: auto; max-width: min(440px, 100%); }
.cs-volets--colonnes .elementor-widget-container, .cs-volets--colonnes > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
@media (max-width: 767px) { .cs-volets--colonnes .elementor-widget-container, .cs-volets--colonnes > div { grid-template-columns: 1fr; } }
.cs-album { text-decoration: none; }
.cs-album img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; }
.cs-album h3.elementor-heading-title { font-size: 19px; line-height: 1.3; }
.cs-album:hover h3.elementor-heading-title { color: var(--cs-primaire); }
.cs-video .elementor-wrapper { border-radius: 20px; overflow: hidden; }

/* Articles anciens : texte à gauche, couleurs et boutons de la charte (réglages de couleur des anciens widgets neutralisés) */
.cs-contenu p, .cs-contenu li, .cs-contenu .elementor-widget-text-editor { text-align: left !important; }
.cs-contenu .elementor-widget-text-editor, .cs-contenu .elementor-widget-text-editor p { color: var(--cs-text) !important; font-style: normal; }
.cs-contenu .elementor-widget-heading .elementor-heading-title { color: var(--cs-text) !important; }
.cs-contenu .elementor-button { background-color: var(--cs-primaire) !important; color: #FFFFFF !important; border-radius: 999px !important; }
.cs-contenu .elementor-button:hover { background-color: var(--cs-texte-fonce) !important; }
.cs-contenu .cs-section { --padding-left: 0px; --padding-right: 0px; padding-left: 0 !important; padding-right: 0 !important; }
.cs-contenu .cs-section > .e-con-inner { max-width: 100%; }
.cs-contenu .cs-texte { max-width: none; }

/* Anciens contenus : leurs polices Google (Roboto, Poppins...) ne sont plus chargées. Outfit partout, sauf icônes. */
.cs-contenu :is(h1, h2, h3, h4, h5, h6, p, li, a, span, strong, em, td, th, blockquote, label, .elementor-heading-title, .elementor-button),
.cs-contenu-page :is(h1, h2, h3, h4, h5, h6, p, li, a, span, strong, em, td, th, blockquote, label, .elementor-heading-title, .elementor-button) {
	font-family: "Outfit", Arial, sans-serif !important;
}

/* ---------- Page d'accueil WFCS : prochains Jeux, éditions, membres par continent, actualités en texte ---------- */
.cs-next { border-radius: 24px; overflow: hidden; background: var(--cs-texte-fonce); color: #FFFFFF; }
.cs-next h2.elementor-heading-title { color: #FFFFFF; }
.cs-next .cs-card__txt p { color: #CFDBE9; font-size: 18px; line-height: 1.55; max-width: 30em; margin: 0; }
.cs-ed { text-decoration: none; }
.cs-ed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; transition: opacity .2s ease; }
.cs-ed:hover img { opacity: .9; }
.cs-ed__annee .elementor-heading-title { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--cs-texte-fonce); margin-top: 14px; }
.cs-ed__lieu .elementor-heading-title { font-size: 18px; font-weight: 400; color: var(--cs-text); letter-spacing: 0; }
.cs-ed:hover .cs-ed__lieu .elementor-heading-title { color: var(--cs-primaire); }
.cs-continent h3.elementor-heading-title { color: var(--cs-primaire); }
.cs-continent p { color: var(--cs-lead); margin: 0; }
.cs-nw--texte { border-top: 3px solid var(--cs-accent); padding-top: 18px; }
.cs-nw--texte .cs-plus .elementor-heading-title { color: var(--cs-primaire); font-weight: 600; font-size: 16px; letter-spacing: 0; margin-top: 6px; }
.cs-nw--texte:hover .cs-plus .elementor-heading-title { text-decoration: underline; }
.cs-plogo--vide { border-style: dashed; border-color: #B8C6D6; }
.cs-plogo--vide .elementor-heading-title { font-size: 13px; color: var(--cs-muted); font-weight: 400; text-align: center; letter-spacing: 0; }

/* ---------- Mise en page des sections : largeur de lecture et espacements réguliers ---------- */
@media (max-width: 767px) {
	.cs-legal { text-align: left; }
}

/* ---------- Filtres des actualités par catégorie ([cs_categories]) ---------- */
.cs-filtres ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cs-filtres a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
	border: 1.5px solid var(--cs-filet); background: #FFFFFF; color: var(--cs-text); font-weight: 500; font-size: 16px; text-decoration: none; }
.cs-filtres a:hover { border-color: var(--cs-primaire); color: var(--cs-primaire); }
.cs-filtres a[aria-current="page"] { background: var(--cs-primaire); border-color: var(--cs-primaire); color: #FFFFFF; }
.cs-filtres__nb { font-size: 13px; font-weight: 600; color: var(--cs-muted); }
.cs-filtres a[aria-current="page"] .cs-filtres__nb, .cs-filtres a:hover .cs-filtres__nb { color: inherit; }

/* ---------- Cartes interactives ([cs_carte], generateur/cartes.py) ---------- */
.cs-map { position: relative; margin: 0; }
.cs-map__svg { display: block; width: 100%; height: auto; }
.cs-map__fond { fill: var(--cs-map-fond, var(--cs-filet)); stroke: #FFFFFF; stroke-width: .6; stroke-linejoin: round; }
.cs-map__pays { fill: var(--cs-map-membre, var(--cs-primaire)); stroke: #FFFFFF; stroke-width: .7; stroke-linejoin: round; transition: fill .15s ease; }
.cs-map__pastille { fill: var(--cs-map-membre, var(--cs-primaire)); stroke: #FFFFFF; stroke-width: 1.5; }
.cs-map__lien:hover .cs-map__pays, .cs-map__lien:focus .cs-map__pays,
.cs-map__lien:hover .cs-map__pastille, .cs-map__lien:focus .cs-map__pastille { fill: var(--cs-texte-fonce); }
.cs-map__lien:focus, .cs-map__ville:focus, .cs-map__lien:focus-visible, .cs-map__ville:focus-visible { outline: none; }  /* focus montré par le contour */
.cs-map figcaption { font-style: normal; }
.cs-map__lien:focus-visible .cs-map__pays, .cs-map__lien:focus-visible .cs-map__pastille { stroke: var(--cs-second); stroke-width: 2.5; }
.cs-map__ville { cursor: default; }
.cs-map__ville circle { fill: var(--cs-map-ete, var(--cs-accent)); stroke: #FFFFFF; stroke-width: 2; transition: r .15s ease; }
.cs-map__ville--hiver circle { fill: var(--cs-map-hiver, var(--cs-second)); }
.cs-map__ville--a-venir circle { fill: #FFFFFF; stroke: var(--cs-map-a-venir, var(--cs-texte-fonce)); stroke-width: 3.5; }
.cs-map__ville:hover circle, .cs-map__ville:focus-visible circle { stroke: var(--cs-texte-fonce); stroke-width: 3; }
.cs-map__bulle { position: absolute; z-index: 2; pointer-events: none; max-width: 280px; padding: 10px 14px; border-radius: 10px;
	background: var(--cs-texte-fonce); color: #FFFFFF; font-size: 15px; line-height: 1.4; box-shadow: 0 8px 24px rgba(11, 37, 69, .25); }
.cs-map__bulle strong { display: block; font-weight: 600; }
.cs-map__bulle span { display: block; color: #CFDBE9; font-size: 14px; }
.cs-map__legende { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--cs-lead); }
.cs-map__legende li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.cs-map__puce { width: 14px; height: 14px; border-radius: 50%; background: var(--cs-map-ete, var(--cs-accent)); }
.cs-map__puce--hiver { background: var(--cs-map-hiver, var(--cs-second)); }
.cs-map__puce--a-venir { background: #FFFFFF; box-shadow: inset 0 0 0 3px var(--cs-map-a-venir, var(--cs-texte-fonce)); }
.cs-map__puce--membre { border-radius: 3px; background: var(--cs-map-membre, var(--cs-primaire)); }

/* ---------- Agenda ([cs_agenda], module concilium-agenda) ---------- */
.cs-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cs-agenda__item { margin: 0; padding: 24px 26px; background: #FFFFFF; border: 1px solid var(--cs-filet); border-left: 4px solid var(--cs-accent); border-radius: 16px; }
.cs-agenda__date { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--cs-primaire); }
.cs-agenda__titre { margin: 0; font-size: 22px; line-height: 1.25; color: var(--cs-text); }
.cs-agenda__lieu { margin: 4px 0 0; font-size: 16px; color: var(--cs-muted); }
.cs-agenda__texte { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--cs-lead); }
.cs-agenda__actions { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cs-agenda__actions a, .cs-agenda__flux a { color: var(--cs-primaire); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cs-agenda__flux { margin: 22px 0 0; font-size: 16px; }
.cs-agenda__vide { font-size: 18px; color: var(--cs-lead); }

/* ---------- Presse et documents ([cs_documents], [cs_logos]) ---------- */
.cs-docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cs-filet); }
.cs-doc { display: flex; align-items: center; gap: 18px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--cs-filet); }
.cs-doc__type { flex: 0 0 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
	background: var(--cs-fond); color: var(--cs-primaire); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.cs-doc__corps { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.cs-doc__titre { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--cs-text); }
.cs-doc__infos { font-size: 15px; color: var(--cs-muted); }
.cs-doc__lien { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 999px;
	border: 2px solid var(--cs-primaire); color: var(--cs-primaire); font-weight: 600; text-decoration: none; }
.cs-doc__lien:hover { background: var(--cs-primaire); color: #FFFFFF; }
@media (max-width: 600px) { .cs-doc { flex-wrap: wrap; } .cs-doc__lien { margin-left: 70px; } }
.cs-logos-kit { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 28px; }
.cs-logo-kit { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-presse__intro, .cs-presse__intro p { font-size: 20px; line-height: 1.6; }
.cs-logo-kit__apercu { height: 180px; display: flex; align-items: center; justify-content: center; padding: 20px; border: 1px solid var(--cs-filet); border-radius: 16px; background: #FFFFFF; }
.cs-logo-kit__apercu--fonce { background: var(--cs-texte-fonce); border-color: var(--cs-texte-fonce); }
.cs-logo-kit__apercu img { max-height: 130px; width: auto; max-width: 100%; object-fit: contain; }
.cs-logo-kit__titre { font-size: 17px; font-weight: 600; color: var(--cs-text); }
.cs-logo-kit__liens { display: flex; gap: 10px; }
.cs-logo-kit__liens a { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--cs-primaire);
	color: var(--cs-primaire); font-weight: 600; font-size: 15px; text-decoration: none; }
.cs-logo-kit__liens a:hover { background: var(--cs-primaire); color: #FFFFFF; }
