/* Start custom CSS *//* SDDF — SECTION 09 — CSS AUTONOME (Elementor Atomic)
 * Coller dans le CSS de la page ou dans une feuille CSS personnalisée.
 * Les conteneurs sont indépendants ; aucune enveloppe #sddf-section-09 nécessaire.
 * Le CSS commun SDDF peut rester pour les autres pages : les sélecteurs ci-dessous
 * sont exclusivement réservés à la section 09.
 */

/* Base de chaque conteneur principal indépendant */
.sddf9-independent {
  box-sizing:border-box;
  width:100%;
  max-width:1140px;
  min-width:0;
  margin-inline:auto;
  margin-block:0 22px;
  position:relative;
  overflow-wrap:break-word;
}
.sddf9-independent, .sddf9-independent * { box-sizing:border-box; }
.sddf9-independent :is(h1,h2,h3,p,a) { overflow-wrap:break-word; word-break:normal; }
.sddf9-independent :is(h1,h2,h3) { hyphens:none; max-width:100%; }
.sddf9-independent a { color:#176B87; text-decoration-thickness:1px; text-underline-offset:3px; }
.sddf9-independent a:hover { color:#15516D; }

/* En-tête */
#sddf9-hero {
  display:flex; flex-direction:column;
  gap:16px; padding:40px 44px;
  background:linear-gradient(135deg,#eaf4f8 0%,#f7fbfe 65%,#e9f4f0 100%);
  border:1px solid #d5e6ee; border-left:6px solid #2884a6;
  border-radius:20px; box-shadow:0 10px 26px rgba(22,63,85,.08);
}
#sddf9-hero h1 { line-height:1.18; color:#193B56; }
#sddf9-hero .sddf-article-atomic-button a { display:inline-flex; padding:11px 18px; background:#edf7f9; border:1px solid #b7dbe5; border-radius:11px; font-weight:700; text-decoration:none; }

/* 4 indicateurs */
#sddf9-metrics { display:flex; flex-direction:row; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:0; background:transparent; }
#sddf9-metrics > .sddf-article-metric { width:calc(25% - 11px); min-width:0; padding:20px 13px; background:#fff; border:1px solid #dde8ee; border-top:4px solid #3a8aa8; box-shadow:0 5px 14px rgba(22,63,85,.05); border-radius:14px; }
#sddf9-metrics > .sddf-article-metric:nth-child(2n) { border-top-color:#32917b; }

/* Trois structures */
#sddf9-intro-structures { border:1px solid #cfe1e7; border-left:5px solid #2a8ca2; background:linear-gradient(135deg,#edf8f9,#fff); border-radius:17px; padding:26px 29px; box-shadow:0 5px 20px rgba(22,63,85,.045); }

/* La position syndicale actuelle, en flexbox autonome */
#sddf09-position-activite { display:flex; flex-direction:column; gap:13px; padding:28px 32px; background:linear-gradient(135deg,#e7f4ef,#f5fcf8); border:1px solid #b8dace; border-left:6px solid #2f8975; border-radius:18px; box-shadow:0 7px 20px rgba(28,106,84,.06); }
#sddf09-position-activite > :first-child { color:#227761; font-size:12px; font-weight:800; letter-spacing:1px; }
#sddf09-position-activite h2 { font-size:25px; color:#174e43; line-height:1.3; }
#sddf09-position-activite p { margin:0; font-size:15px; line-height:1.75; color:#294a43; }

/* Sommaire */
#sddf-09-sommaire { border-radius:18px; background:#f4f8fb; border:1px solid #dee8ef; padding:28px 30px; }
#sddf-09-sommaire .sddf9-toc-link { margin:0 0 7px; }
#sddf-09-sommaire .sddf9-toc-link a { display:block; padding:9px 12px; border-radius:9px; background:white; border:1px solid #e5edf2; text-decoration:none; transition:background .18s,border-color .18s; }
#sddf-09-sommaire .sddf9-toc-link a:hover { background:#e9f4f7; border-color:#c5e0e8; }

/* 13 chapitres — grille 154px / texte; chacun autonome */
.sddf9-independent.sddf-article-chapter { display:flex; flex-direction:row; flex-wrap:nowrap; align-items:flex-start; justify-content:space-between; gap:23px; padding:29px 25px; background:#fff; border:1px solid #dce8ee; border-left:4px solid #3389a8; border-radius:16px; box-shadow:0 5px 17px rgba(22,63,85,.045); }
.sddf9-independent.sddf-article-chapter-alt { border-left-color:#388e79; background:#fbfefc; }
.sddf9-independent.sddf-article-chapter > :first-child { width:154px; min-width:154px; max-width:154px; flex:0 0 154px; border-radius:12px; }
.sddf9-independent.sddf-article-chapter > :nth-child(2) { width:auto; flex:1 1 0; min-width:0; max-width:100%; padding:0; }
.sddf9-independent.sddf-article-chapter .sddf9-chapter-title { font-size:24px; font-weight:700; line-height:1.32; color:#193B56; margin:0 0 10px; }
.sddf9-independent.sddf-article-chapter p { line-height:1.77; }
.sddf9-independent.sddf-article-chapter > :first-child :is(h2,h3) { white-space:normal; word-break:normal; }

/* Synthèse — lien entre l'activité réelle (05) et la reconnaissance (09) */
#sddf09-synthese-installations { display:flex; flex-direction:column; gap:13px; padding:27px 32px; border:1px solid #c9dce9; border-left:6px solid #307b9f; background:linear-gradient(125deg,#eef6fb,#fdfefe); border-radius:17px; }
#sddf09-synthese-installations > :first-child { color:#24718f; font-weight:800; font-size:12px; letter-spacing:1px; }
#sddf09-synthese-installations h2 { font-size:25px; line-height:1.3; color:#193b56; }
#sddf09-synthese-installations p { margin:0; font-size:15px; line-height:1.75; }

/* Bibliographie et navigation */
#sddf9-sources { padding:28px 30px; background:#f4f8fb; border:1px solid #dce8ed; border-radius:17px; }
#sddf9-footer { padding:24px 26px; border-radius:17px; border:1px solid #d9e8ed; background:#eaf4f1; }

/* Eviter l'effet titres empilés dans l'éditeur */
.sddf9-independent .sddf9-chapter-content { min-width:0; }
.sddf9-independent .sddf9-chapter-title { max-width:100%; }
.sddf9-independent > * { min-width:0; }

@media (max-width:900px) {
  #sddf9-metrics > .sddf-article-metric { width:calc(50% - 8px); }
  .sddf9-independent.sddf-article-chapter { gap:17px; padding:24px 18px; }
  .sddf9-independent.sddf-article-chapter > :first-child { width:118px; flex-basis:118px; min-width:118px; max-width:118px; }
  .sddf9-independent.sddf-article-chapter .sddf9-chapter-title { font-size:21px; }
}
@media (max-width:767px) {
  .sddf9-independent { margin-bottom:17px; }
  #sddf9-hero { padding:27px 19px; }
  #sddf9-hero h1 { font-size:29px; }
  #sddf9-intro-structures, #sddf09-position-activite, #sddf09-synthese-installations, #sddf9-sources, #sddf9-footer, #sddf-09-sommaire { padding:21px 17px; }
  #sddf9-metrics { gap:9px; }
  #sddf9-metrics > .sddf-article-metric { width:calc(50% - 5px); padding:17px 10px; }
  #sddf-09-sommaire > * { min-width:0; }
  #sddf-09-sommaire .sddf9-toc-link a { font-size:14px; }
  .sddf9-independent.sddf-article-chapter { flex-direction:column; padding:19px 16px; gap:12px; }
  .sddf9-independent.sddf-article-chapter > :first-child { width:100%; min-width:0; max-width:100%; flex:0 1 auto; padding:13px 16px; }
  .sddf9-independent.sddf-article-chapter > :nth-child(2) { width:100%; max-width:100%; flex:1 1 auto; padding:0; }
  .sddf9-independent.sddf-article-chapter .sddf9-chapter-title { font-size:21px; }
  #sddf09-position-activite h2,#sddf09-synthese-installations h2 { font-size:22px; }
}
@media (prefers-reduced-motion:reduce) {
  #sddf-09-sommaire .sddf9-toc-link a { transition:none; }
}


/* ===== DEUX ILLUSTRATIONS, FLEXBOX AUTONOMES (SECTION 09) ===== */
#sddf9-image-prothese, #sddf9-image-ehpad {
  display:flex; flex-direction:row; align-items:center;
  gap:24px; padding:26px 30px; border-radius:18px;
  border:1px solid #d2e3ea; background:linear-gradient(120deg,#eef6fa 0%,#fff 100%);
  box-shadow:0 7px 20px rgba(23,67,88,.055);
}
#sddf9-image-ehpad { background:linear-gradient(120deg,#edf8f2 0%,#fff 100%); border-left:5px solid #398e79; }
#sddf9-image-prothese { border-left:5px solid #3389a8; }
#sddf9-image-prothese .sddf9-photo-text-col,
#sddf9-image-ehpad .sddf9-photo-text-col {
  display:flex; flex-direction:column; gap:11px; flex:1 1 44%; min-width:0;
}
#sddf9-image-prothese .sddf9-photo-image-col,
#sddf9-image-ehpad .sddf9-photo-image-col {
  flex:1 1 56%; min-width:0; display:flex; flex-direction:column;
  background:#e7f0f3; border:1px dashed #b9d2dd; border-radius:13px;
  min-height:220px; padding:10px; justify-content:center; overflow:hidden;
}
#sddf9-image-prothese .sddf9-photo-image-col img,
#sddf9-image-ehpad .sddf9-photo-image-col img {
  display:block; width:100%; height:auto; max-height:345px; object-fit:cover; border-radius:10px;
}
#sddf9-image-prothese .sddf9-photo-kicker,
#sddf9-image-ehpad .sddf9-photo-kicker {
  color:#24718f; font-size:12px; font-weight:750; letter-spacing:.09em; margin:0;
}
#sddf9-image-prothese .sddf9-photo-heading,
#sddf9-image-ehpad .sddf9-photo-heading {
  font-size:24px; line-height:1.3; color:#193b56; font-weight:700; margin:0;
}
#sddf9-image-prothese .sddf9-photo-desc,
#sddf9-image-ehpad .sddf9-photo-desc {
  font-size:15px; line-height:1.7; color:#2e4a5a; margin:0;
}
@media(max-width:767px){
  #sddf9-image-prothese, #sddf9-image-ehpad { flex-direction:column; align-items:stretch; padding:19px 16px; gap:16px; }
  #sddf9-image-prothese .sddf9-photo-text-col, #sddf9-image-ehpad .sddf9-photo-text-col,
  #sddf9-image-prothese .sddf9-photo-image-col, #sddf9-image-ehpad .sddf9-photo-image-col {flex:1 1 auto; width:100%;}
  #sddf9-image-prothese .sddf9-photo-heading, #sddf9-image-ehpad .sddf9-photo-heading {font-size:21px;}
}/* End custom CSS */