/* =========================================================
   MAUD CASTILLAN — HEADER 1.0.21
   Bloc autonome : logo centré, baseline visible, texte dessous.
   ========================================================= */

body.csmk-maudcastillan-bridge > header.site-header:not(.mc-header),
body.csmk-maudcastillan-bridge header.site-header:not(.mc-header){
  display: none !important;
}

html body.csmk-maudcastillan-bridge .mc-header{
  position: relative !important;
  inset: auto !important;
  z-index: 10 !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 5px 18px rgba(15,23,42,.05) !important;
}

html body.csmk-maudcastillan-bridge .mc-header__bar{
  display: block !important;
  width: min(1040px, calc(100% - 32px)) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 14px 0 12px !important;
  overflow: visible !important;
  text-align: center !important;
}

html body.csmk-maudcastillan-bridge .mc-header__brand{
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: inherit !important;
  line-height: normal !important;
  text-align: center !important;
  text-decoration: none !important;
  transform: none !important;
}

html body.csmk-maudcastillan-bridge .mc-header__brand:hover,
html body.csmk-maudcastillan-bridge .mc-header__brand:focus{
  color: inherit !important;
  text-decoration: none !important;
}

/* La classe peut rester sur <picture> après optimisation d'image. */
html body.csmk-maudcastillan-bridge .mc-header picture.mc-header__logo,
html body.csmk-maudcastillan-bridge .mc-header .mc-header__logo{
  position: static !important;
  display: block !important;
  width: min(390px, 82vw) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  line-height: 0 !important;
  transform: none !important;
}

html body.csmk-maudcastillan-bridge .mc-header picture.mc-header__logo > img,
html body.csmk-maudcastillan-bridge .mc-header img.mc-header__logo,
html body.csmk-maudcastillan-bridge .mc-header .mc-header__logo img{
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html body.csmk-maudcastillan-bridge .mc-header__title{
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: center !important;
  transform: none !important;
}

html body.csmk-maudcastillan-bridge .mc-header__info{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #5f5f67 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}

html body.csmk-maudcastillan-bridge .mc-header + :where(.featured-image,.site,#page,.site-content){
  margin-top: 0 !important;
  clear: both !important;
}

html body.csmk-maudcastillan-bridge .mc-header :where(.menu-toggle,.mobile-menu-control-wrapper,.main-navigation,.hamburger,button){
  display: none !important;
}

@media (max-width: 700px){
  html body.csmk-maudcastillan-bridge .mc-header__bar{
    width: min(100% - 20px, 1040px) !important;
    padding: 10px 0 9px !important;
  }

  html body.csmk-maudcastillan-bridge .mc-header__brand{
    gap: 6px !important;
  }

  html body.csmk-maudcastillan-bridge .mc-header picture.mc-header__logo,
  html body.csmk-maudcastillan-bridge .mc-header .mc-header__logo{
    width: min(330px, 88vw) !important;
  }

  html body.csmk-maudcastillan-bridge .mc-header__info{
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

/* =========================================================
   MAUD CASTILLAN — TITRES DE SECTIONS
   Override volontairement fort sur GeneratePress / CoconSEM global.
   ========================================================= */

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h2,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h2.reveal,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h2.wp-block-heading{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 2.35em !important;
  margin-bottom: 1.05em !important;
  padding: 0 0 .34em !important;
  overflow: visible !important;
  white-space: normal !important;
  color: #b32025 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(179,32,37,.24) !important;
  background: transparent !important;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -.018em !important;
  text-decoration: none !important;
  text-shadow: none !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h2:first-child{
  margin-top: 0 !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h2 a{
  color: inherit !important;
  border: 0 !important;
  text-decoration: none !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h3,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) h3.reveal{
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 1.9em !important;
  margin-bottom: .8em !important;
  overflow: visible !important;
  white-space: normal !important;
  color: #5f465f !important;
  line-height: 1.28 !important;
}

html body.coconsem.csmk-maudcastillan-bridge .heading-flex{
  align-items: flex-start !important;
  min-width: 0 !important;
}

html body.coconsem.csmk-maudcastillan-bridge .heading-flex.is-multiline{
  display: block !important;
}

html body.coconsem.csmk-maudcastillan-bridge .heading-flex.is-multiline .special-heading-border{
  display: none !important;
}

html body.coconsem.csmk-maudcastillan-bridge .heading-flex.is-multiline :where(h2,h3,h4){
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* =========================================================
   MAUD CASTILLAN — H1 SUPERPOSÉE SUR LA COVER
   ========================================================= */

html body.csmk-maudcastillan-bridge .featured-image.page-header-image,
html body.csmk-maudcastillan-bridge .featured-image.csmk-maud-featured-cover{
  position: relative !important;
  width: min(1040px, calc(100% - 40px)) !important;
  margin: 18px auto 26px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 46px rgba(15,23,42,.16) !important;
  isolation: isolate !important;
}

html body.csmk-maudcastillan-bridge .featured-image.page-header-image::after,
html body.csmk-maudcastillan-bridge .featured-image.csmk-maud-featured-cover::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.32) 48%,
    rgba(0,0,0,.08) 100%
  ) !important;
}

html body.csmk-maudcastillan-bridge .featured-image.page-header-image img,
html body.csmk-maudcastillan-bridge .featured-image.csmk-maud-featured-cover img{
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

html body.csmk-maudcastillan-bridge .csmk-maud-cover-title{
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(28px, 5vw, 72px) !important;
  pointer-events: none !important;
}

html body.csmk-maudcastillan-bridge .csmk-maud-cover-title h1{
  width: min(900px, 88%) !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(2rem, 4.7vw, 4.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
  text-shadow: 0 3px 20px rgba(0,0,0,.72) !important;
  text-transform: none !important;
  text-wrap: balance;
}

@media (max-width: 700px){
  html body.csmk-maudcastillan-bridge .mc-header img.mc-header__logo{
    height: 48px !important;
    max-height: 48px !important;
    max-width: min(340px, 84vw) !important;
  }

  html body.csmk-maudcastillan-bridge .featured-image.page-header-image,
  html body.csmk-maudcastillan-bridge .featured-image.csmk-maud-featured-cover{
    width: min(100% - 24px, 1040px) !important;
    border-radius: 20px !important;
  }

  html body.csmk-maudcastillan-bridge .csmk-maud-cover-title{
    padding: 22px !important;
  }

  html body.csmk-maudcastillan-bridge .csmk-maud-cover-title h1{
    width: 100% !important;
    font-size: clamp(1.65rem, 8vw, 2.65rem) !important;
  }
}

/* =========================================================
   MAUD CASTILLAN — 1.0.22 — ESPACEMENT H2
   Le H2 est encapsulé dans .heading-flex : sa marge basse propre
   ne crée donc pas d'espace avec le paragraphe suivant.
   L'espacement est porté par le wrapper, sans toucher aux H3/H4.
   ========================================================= */

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2){
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: 2.35em !important;
  margin-bottom: 1.15em !important;
  padding: 0 !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2) > h2{
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Le filet décoratif n'a pas de rôle sur les H2. */
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2) > .special-heading-border{
  display: none !important;
}

/* Évite un double espace lorsque le H2 est le premier élément éditorial. */
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) > .heading-flex:first-child:has(> h2){
  margin-top: 0 !important;
}

@media (max-width: 700px){
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h2){
    margin-top: 2em !important;
    margin-bottom: 1em !important;
  }
}

/* =========================================================
   MAUD CASTILLAN — 1.0.23 — H2 STABLE APRÈS REVEAL / SLIDE-IN
   Des feuilles tardives réappliquent une marge négative au H2
   lorsque .reveal devient .active. Le wrapper reste l'unique
   porteur de l'espacement vertical.
   ========================================================= */

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2.reveal),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2.reveal.active){
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  margin:2.35em 0 1.25em !important;
  padding:0 !important;
  transform:none !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2) > h2,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2) > h2.reveal,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2) > h2.reveal.active{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 0 .34em !important;
  transform:none !important;
  transition:none !important;
  opacity:1 !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h2) > .special-heading-border{
  display:none !important;
}

@media (max-width:700px){
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h2),
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h2.reveal.active){
    margin:2em 0 1.1em !important;
  }
}

/* =========================================================
   MAUD CASTILLAN — 1.0.24 — IMAGES GÉNÉRÉES ALIGNÉES À GAUCHE
   Override volontairement fort des styles inline produits par
   Cocon Designer : text-align:center et marges auto sur l'image.
   ========================================================= */

html body.csmk-maudcastillan-bridge .entry-content .csmk-generated-image-block,
html body.csmk-maudcastillan-bridge article .csmk-generated-image-block,
html body.csmk-maudcastillan-bridge .csmk-bridge-prose .csmk-generated-image-block{
  display:block !important;
  width:100% !important;
  margin:2.2rem 0 !important;
  padding:0 !important;
  text-align:left !important;
}

html body.csmk-maudcastillan-bridge .entry-content .csmk-generated-image-block > figure.csmk-generated-image,
html body.csmk-maudcastillan-bridge article .csmk-generated-image-block > figure.csmk-generated-image,
html body.csmk-maudcastillan-bridge .csmk-bridge-prose .csmk-generated-image-block > figure.csmk-generated-image{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
}

html body.csmk-maudcastillan-bridge .entry-content .csmk-generated-image-block > figure.csmk-generated-image > img,
html body.csmk-maudcastillan-bridge article .csmk-generated-image-block > figure.csmk-generated-image > img,
html body.csmk-maudcastillan-bridge .csmk-bridge-prose .csmk-generated-image-block > figure.csmk-generated-image > img{
  display:block !important;
  width:100% !important;
  max-width:450px !important;
  height:auto !important;
  margin-top:0 !important;
  margin-right:auto !important;
  margin-bottom:0 !important;
  margin-left:0 !important;
  border-radius:14px !important;
}

html body.csmk-maudcastillan-bridge .entry-content .csmk-generated-image-block > figure.csmk-generated-image > figcaption,
html body.csmk-maudcastillan-bridge article .csmk-generated-image-block > figure.csmk-generated-image > figcaption,
html body.csmk-maudcastillan-bridge .csmk-bridge-prose .csmk-generated-image-block > figure.csmk-generated-image > figcaption{
  display:block !important;
  width:100% !important;
  max-width:450px !important;
  margin:.8rem auto 0 0 !important;
  padding:0 !important;
  text-align:left !important;
}

@media (max-width:520px){
  html body.csmk-maudcastillan-bridge .entry-content .csmk-generated-image-block > figure.csmk-generated-image > img,
  html body.csmk-maudcastillan-bridge article .csmk-generated-image-block > figure.csmk-generated-image > img,
  html body.csmk-maudcastillan-bridge .csmk-bridge-prose .csmk-generated-image-block > figure.csmk-generated-image > img,
  html body.csmk-maudcastillan-bridge .entry-content .csmk-generated-image-block > figure.csmk-generated-image > figcaption,
  html body.csmk-maudcastillan-bridge article .csmk-generated-image-block > figure.csmk-generated-image > figcaption,
  html body.csmk-maudcastillan-bridge .csmk-bridge-prose .csmk-generated-image-block > figure.csmk-generated-image > figcaption{
    max-width:100% !important;
  }
}

/* =========================================================
   MAUD CASTILLAN — 1.0.25 — ESPACEMENT H3 / H4 / H5
   Comme pour les H2, les titres sont encapsulés dans .heading-flex.
   Le wrapper porte donc l'espacement vertical, y compris après
   activation tardive des classes .reveal.active.
   ========================================================= */

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h3),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h4),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h5){
  width:100% !important;
  min-width:0 !important;
  margin-top:1.9em !important;
  margin-bottom:.95em !important;
  padding:0 !important;
  transform:none !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h3) > h3,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h4) > h4,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h5) > h5,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h3) > h3.reveal.active,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h4) > h4.reveal.active,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h5) > h5.reveal.active{
  flex:0 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  transition:none !important;
  opacity:1 !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h3) > .special-heading-border,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h4) > .special-heading-border,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h5) > .special-heading-border{
  align-self:center !important;
  min-width:40px !important;
}

/* Sécurité pour les titres non encapsulés dans .heading-flex. */
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) > :is(h3,h4,h5),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) > :is(h3,h4,h5).reveal.active{
  margin-top:1.9em !important;
  margin-bottom:.95em !important;
  transform:none !important;
  transition:none !important;
  opacity:1 !important;
}

@media (max-width:700px){
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h3),
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h4),
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h5){
    margin-top:1.65em !important;
    margin-bottom:.85em !important;
  }
}

/* =========================================================
   MAUD CASTILLAN — 1.0.26 — ALIGNEMENT DU TRAIT DES H3/H4/H5
   Le style global ajoutait margin-top:56px au filet décoratif.
   Le trait est désormais calé sur la première ligne du titre.
   ========================================================= */

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h3),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h4),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h5){
  display:flex !important;
  align-items:flex-start !important;
  gap:18px !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h3) > .special-heading-border,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h4) > .special-heading-border,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex:has(> h5) > .special-heading-border{
  display:block !important;
  flex:1 1 auto !important;
  align-self:flex-start !important;
  min-width:40px !important;
  height:1px !important;
  margin:.82em 0 0 0 !important;
  padding:0 !important;
  opacity:.55 !important;
  transform:none !important;
}

/* Pour les titres multilignes, le trait reste aligné sur la première ligne. */
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex.is-multiline:has(> h3),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex.is-multiline:has(> h4),
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex.is-multiline:has(> h5){
  display:flex !important;
}

html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex.is-multiline:has(> h3) > .special-heading-border,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex.is-multiline:has(> h4) > .special-heading-border,
html body.coconsem.csmk-maudcastillan-bridge :where(
  article.prose,
  .entry-content,
  .content-single-page,
  .csmk-bridge-prose
) .heading-flex.is-multiline:has(> h5) > .special-heading-border{
  display:block !important;
}

@media (max-width:700px){
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h3),
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h4),
  html body.coconsem.csmk-maudcastillan-bridge :where(
    article.prose,
    .entry-content,
    .content-single-page,
    .csmk-bridge-prose
  ) .heading-flex:has(> h5){
    gap:12px !important;
  }
}

