/* A single useful content width; backgrounds and site chrome stay full bleed. */
body #main#main{--container:1140px;--romano-content-width:1140px}
body #main#main :is(.container,.legacy-shell,.postpartum-body){width:min(calc(100% - 100px),1140px)!important;max-width:1140px!important;margin-inline:auto!important;box-sizing:border-box}
body #main#main .postpartum-child-faithful > .e-con > .e-con-inner,
body #main#main .romano-home-faithful > .home-container > .home-inner{--content-width:1140px;max-width:1140px!important;width:100%!important;margin-inline:auto!important}

/* Séparateurs sous les titres : rendu fidèle au site historique. */
body #main#main .elementor-widget-divider--view-line{
  --divider-color:#111!important;
  --divider-border-width:5px!important;
}
body #main#main .elementor-widget-divider--view-line .elementor-divider-separator,
body #main#main .home-widget-divider-line .home-divider-separator{
  border-block-start:5px solid #111!important;
  border-top:5px solid #111!important;
}

/* Les séparateurs doivent rester visuellement rattachés à leur titre. */
body #main#main h2{
  margin-bottom:0!important;
}

/* Tarifs : respiration entre les titres et les tableaux, cellules plus lisibles. */
body #main#main .tariff-page .article-content--tarifs h2{
  margin-bottom:20px!important;
  padding-top:0!important;
  border-top:0!important;
}
body #main#main .tariff-page .article-content--tarifs th,
body #main#main .tariff-page .article-content--tarifs td{
  padding:9px 12px!important;
}
body #main#main .postpartum-child-faithful .pp-panels-wrapper{max-width:1140px!important}
body #main#main .men-related{width:min(calc(100% - 100px),1140px)!important;max-width:1140px!important;padding-inline:0!important;margin-inline:auto!important}
/* Nested containers fill their parent rather than losing another 100px. */
body #main#main .container .container{width:100%!important}
@media(max-width:767px){body #main#main :is(.container,.legacy-shell,.postpartum-body,.men-related){width:calc(100% - 44px)!important}body #main#main .container .container{width:100%!important}}

/* Blog : cartes calquées sur la présentation du site historique. */
body #main#main .blog-archive .journal-grid{
  gap:50px 36px!important;
}
body #main#main .blog-archive .journal-card{
  min-height:530px!important;
  padding:0 30px 30px!important;
  border:0!important;
  background:#fff!important;
  box-shadow:0 0 10px -4px rgba(0,0,0,.5)!important;
}

/* Finitions desktop globales : lignes lisibles, cartes aérées et CTA constants. */
@media(min-width:901px){
  body #main#main .postpartum-child-faithful .romano-reading-measure{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }
}
body #main#main .postpartum-child-faithful .romano-info-card{
  padding:22px!important;
  border-color:#d5d0c9!important;
  box-sizing:border-box!important;
}
body #main#main .postpartum-child-faithful .romano-info-card>.e-con-inner{
  width:100%!important;
  max-width:none!important;
}
body #main#main .postpartum-child-faithful .elementor-widget-button .elementor-button{
  display:inline-flex!important;
  min-height:44px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px 22px!important;
  border:1px solid #111!important;
  background:#111!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:.06em!important;
  text-align:center!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  transition:background .2s ease,color .2s ease,border-color .2s ease!important;
}
body #main#main .postpartum-child-faithful .elementor-widget-button .elementor-button:hover{
  border-color:#c1a25d!important;
  background:#c1a25d!important;
  color:#111!important;
}
body #main#main .postpartum-child-faithful .elementor-widget-button .elementor-button:focus-visible{
  outline:3px solid #c1a25d!important;
  outline-offset:3px!important;
}
@media(max-width:900px){
  body #main#main .postpartum-child-faithful .romano-info-card{padding:18px!important}
}
body #main#main .blog-archive .journal-card .media{
  width:calc(100% + 30px)!important;
  height:200px!important;
  flex:0 0 200px!important;
  aspect-ratio:auto!important;
  margin:0 0 30px -30px!important;
  overflow:visible!important;
}
body #main#main .blog-archive .journal-card .media::after{
  top:10%!important;
  right:-30px!important;
  bottom:-15px!important;
  width:34%!important;
  background:#493240!important;
}
body #main#main .blog-archive .journal-card .media img{
  width:82%!important;
  height:100%!important;
  object-fit:cover!important;
}
body #main#main .blog-archive .journal-card-meta{
  margin-bottom:22px!important;
}
body #main#main .blog-archive .journal-card time{
  color:#111!important;
  font-size:13px!important;
  line-height:1.4!important;
}
body #main#main .blog-archive .journal-card time::before{
  margin-right:9px!important;
  color:#c58ae0!important;
  font-size:16px!important;
}
body #main#main .blog-archive .journal-card h2{
  margin:0 0 16px!important;
  color:#090909!important;
  font-size:21px!important;
  font-weight:700!important;
  line-height:1.3!important;
}
body #main#main .blog-archive .journal-card p{
  margin:0 0 24px!important;
  color:#686868!important;
  font-size:14px!important;
  line-height:1.6!important;
}
body #main#main .blog-archive .journal-card-link{
  margin-top:auto!important;
  padding:10px 24px!important;
  border-top:1px solid #c58ae0!important;
  border-bottom:1px solid #c58ae0!important;
  color:#111!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1!important;
}
@media(max-width:767px){
  body #main#main .blog-archive .journal-grid{gap:42px!important}
  body #main#main .blog-archive .journal-card{min-height:540px!important;padding-inline:24px!important}
  body #main#main .blog-archive .journal-card .media{width:calc(100% + 24px)!important;height:190px!important;flex-basis:190px!important;margin-left:-24px!important}
  body #main#main .blog-archive .journal-card .media::after{right:-24px!important}
}

/* Infographie : exception pleine largeur fidèle à la maquette fournie. */
body #main#main .page-hero--archive.faq-hero{
  padding:42px 0 96px!important;
  background:#fff!important;
}
body #main#main .page-hero--archive.faq-hero h1{
  font-size:40px!important;
  text-transform:uppercase!important;
}
body #main#main .page-hero--archive.faq-hero h1::after{
  width:136px!important;
  height:5px!important;
  margin-top:28px!important;
}
body #main#main .page-hero--archive.faq-hero :is(.archive-updated,.romano-staging-demo-date){display:none!important}
body #main#main .faq-archive.container{
  width:calc(100% - 80px)!important;
  max-width:none!important;
  padding-top:0!important;
}
@media(max-width:767px){
  body #main#main .page-hero--archive.faq-hero{padding:36px 0 60px!important}
  body #main#main .page-hero--archive.faq-hero h1{font-size:30px!important}
  body #main#main .page-hero--archive.faq-hero h1::after{width:82px!important;height:4px!important;margin-top:20px!important}
  body #main#main .faq-archive.container{width:calc(100% - 36px)!important}
}

/* Blog, presse et FAQ : même hero que la page Tarifs. */
body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference){
  padding:100px 0!important;
  text-align:center!important;
}
body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference)>.container{
  display:flex!important;
  width:min(calc(100% - 100px),820px)!important;
  max-width:820px!important;
  align-items:center!important;
  flex-direction:column!important;
}
body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference) h1{
  order:1!important;
  max-width:680px!important;
  margin:0 auto!important;
  font-family:var(--body)!important;
  font-size:40px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  line-height:1.18!important;
  text-transform:none!important;
}
body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference) h1::after{
  display:block!important;
  width:115px!important;
  height:2px!important;
  margin:1.1rem auto 0!important;
  background:#111!important;
  content:""!important;
}
body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference) .breadcrumbs{
  order:2!important;
  justify-content:center!important;
  margin:1.25rem 0 .35rem!important;
}
body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference) :is(.archive-updated,.page-updated,.romano-staging-demo-date){
  order:3!important;
  margin:0!important;
  color:#777!important;
  font-size:.7rem!important;
  line-height:1.5!important;
}
@media(max-width:767px){
  body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference){padding:50px 0!important}
  body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference)>.container{width:calc(100% - 44px)!important}
  body #main#main :is(.page-hero--archive,.page-hero--press-reference,.page-hero--agressions-reference) h1{font-size:40px!important}
}

/* Sommaires : une seule colonne sur toutes les pages et tous les ecrans. */
body #main#main :is(.postpartum-toc,.medicine-toc,.blog-single-toc,.aggressions-toc,.tariff-summary) > ol,
body #main#main .elementor-toc__list-wrapper,
body #main#main nav[aria-label*="Sommaire"] > ol,
body.page-id-464 #main#main .content-layout > .toc ol{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  column-count:1!important;
  columns:1!important;
}

body #main#main :is(.postpartum-toc,.medicine-toc,.blog-single-toc,.aggressions-toc,.tariff-summary) > ol > li,
body #main#main .elementor-toc__list-wrapper > li,
body #main#main nav[aria-label*="Sommaire"] > ol > li,
body.page-id-464 #main#main .content-layout > .toc ol > li{
  grid-column:1 / -1!important;
  width:100%!important;
}

/* Le CSS additionnel historique force le logo à 280 px dès 1025 px.
   On le recadre après cette règle afin que logo et navigation ne se
   chevauchent jamais sur les ordinateurs compacts. */
@media(min-width:1181px) and (max-width:1439px){
  html body .site-header--modern .header-inner > a.brand{
    width:220px!important;
    min-width:0!important;
    max-width:220px!important;
    flex:0 0 220px!important;
  }
  html body .site-header--modern .header-inner > a.brand > .brand-logo{
    width:220px!important;
    max-width:100%!important;
  }
}
@media(max-width:1180px){
  html body .site-header--modern .header-inner > a.brand{
    width:auto!important;
    min-width:0!important;
    max-width:min(270px,calc(100vw - 108px))!important;
    flex:initial!important;
  }
  html body .site-header--modern .header-inner > a.brand > .brand-logo{
    width:100%!important;
    max-width:100%!important;
  }
}

/* Panneaux éditoriaux partagés : mêmes axes que le contenu courant.
 * Le wrapper principal ne doit pas perdre 50 px supplémentaires de chaque
 * côté, les paires restent espacées de 20 px et commencent toutes en haut. */
body #main#main .postpartum-child-faithful > .e-con.e-parent.pp-panels-wrapper{
  width:min(calc(100% - 100px),1140px)!important;
  max-width:1140px!important;
  margin-inline:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
body #main#main .postpartum-child-faithful .pp-panels-row{
  gap:20px!important;
  align-items:stretch!important;
}
body #main#main .postpartum-child-faithful .pp-panels-row > .pp-content-panel:not(.pp-panels-wrapper){
  min-width:0!important;
  height:100%!important;
  align-self:stretch!important;
  align-content:flex-start!important;
  --justify-content:flex-start!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
}
body #main#main .postpartum-child-faithful > .e-con.e-parent.pp-panels-wrapper > .e-con-inner > .pp-content-panel.pp-panels-wrapper{
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 20px!important;
  padding:0!important;
  border:0!important;
  box-sizing:border-box!important;
}
body #main#main .postpartum-child-faithful > .e-con.e-parent.pp-panels-wrapper > .e-con-inner > .pp-content-panel.pp-panels-wrapper:last-child{
  margin-bottom:0!important;
}
body #main#main .postpartum-child-faithful .pp-content-panel.pp-panels-wrapper > .pp-panels-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  justify-items:stretch!important;
}
@media(max-width:767px){
  body #main#main .postpartum-child-faithful > .e-con.e-parent.pp-panels-wrapper{
    width:calc(100% - 44px)!important;
  }
  body #main#main .postpartum-child-faithful .pp-content-panel.pp-panels-wrapper > .pp-panels-row{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
