/*
 * Romano needs pages — faithful Elementor design system.
 * Loaded on the coded needs templates only.
 */

.postpartum-child-faithful {
  --needs-ink: #171717;
  --needs-muted: #767676;
  --needs-border: #cfcfcf;
  --needs-soft: #f7f7f7;
  --needs-gold: #a38b58;
  --e-global-color-primary: #6ec1e4;
  --e-global-color-secondary: #54595f;
  --e-global-color-text: #7a7a7a;
  --e-global-color-accent: #61ce70;
  --e-global-color-a7cf286: #000;
  --e-global-color-97f9402: #c9f;
  --e-global-color-c87cd99: #f2e5ff;
  --e-global-color-2224c49: #493240;
  --e-global-typography-primary-font-family: "Helvetica";
  --e-global-typography-primary-font-weight: 400;
  --e-global-typography-secondary-font-family: "Helvetica";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "Josefin Sans";
  --e-global-typography-text-font-size: 16px;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "Helvetica";
  --e-global-typography-accent-font-weight: 500;
  color: var(--needs-ink);
  overflow: clip;
}

.postpartum-child-faithful,
.postpartum-child-faithful button,
.postpartum-child-faithful input,
.postpartum-child-faithful textarea,
.postpartum-child-faithful select {
  font-family: "Josefin Sans", Arial, sans-serif !important;
}

.postpartum-child-faithful > .e-con {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 38px 20px !important;
}

.postpartum-child-faithful > .e-con:first-child {
  padding-top: 64px !important;
  padding-bottom: 42px !important;
}

.postpartum-child-faithful > .e-con:last-child {
  padding-bottom: 64px !important;
}

.postpartum-child-faithful > .e-con > .e-con-inner {
  box-sizing: border-box !important;
  width: min(100%, 1080px) !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.postpartum-child-faithful .e-con-inner,
.postpartum-child-faithful .elementor-widget,
.postpartum-child-faithful .elementor-widget-container {
  min-width: 0;
}

.postpartum-child-faithful.elementor.postpartum-child-faithful h1.elementor-heading-title {
  max-width: 820px !important;
  margin: 0 auto !important;
  color: var(--needs-ink) !important;
  font-size: 40px !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-wrap: balance;
}

.postpartum-child-faithful h2.elementor-heading-title,
.postpartum-child-faithful h2 {
  max-width: 100% !important;
  margin: 0 !important;
  color: var(--needs-ink) !important;
  font-size: clamp(25px, 2vw, 31px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.28 !important;
  text-align: left;
  text-wrap: pretty;
}

.postpartum-child-faithful h3,
.postpartum-child-faithful .elementor-heading-title.elementor-size-small {
  margin: 0 0 14px !important;
  color: var(--needs-ink) !important;
  font-size: clamp(20px, 1.6vw, 23px) !important;
  font-weight: 600 !important;
  line-height: 1.32 !important;
  text-wrap: pretty;
}

.postpartum-child-faithful .elementor-widget-text-editor,
.postpartum-child-faithful .elementor-widget-text-editor p,
.postpartum-child-faithful .elementor-widget-text-editor li {
  color: var(--needs-ink) !important;
  font-size: 16px !important;
  line-height: 1.68 !important;
}

.postpartum-child-faithful .elementor-widget-text-editor p {
  margin: 0 0 16px !important;
}

.postpartum-child-faithful .elementor-widget-text-editor p:last-child,
.postpartum-child-faithful .elementor-widget-text-editor ul:last-child,
.postpartum-child-faithful .elementor-widget-text-editor ol:last-child {
  margin-bottom: 0 !important;
}

.postpartum-child-faithful .elementor-widget-text-editor ul,
.postpartum-child-faithful .elementor-widget-text-editor ol {
  margin: 10px 0 18px !important;
  padding-left: 23px !important;
}

.postpartum-child-faithful a {
  text-underline-offset: 3px;
}

/* Intro historique : carte sombre et visuel côte à côte sur ordinateur. */
.rides-child-faithful > .e-con:nth-child(2) > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr) !important;
  gap: 38px !important;
  align-items: stretch !important;
}

.rides-child-faithful > .e-con:nth-child(2) > .e-con-inner > .e-con {
  width: 100% !important;
  height: 100% !important;
}

.rides-child-faithful > .e-con:nth-child(2) > .e-con-inner > .e-con:first-child > .e-con-inner > .e-con:first-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 100% !important;
  padding: 30px !important;
  background: var(--e-global-color-secondary) !important;
}

.rides-child-faithful > .e-con:nth-child(2) > .e-con-inner > .e-con:first-child :is(h2, p, li, .elementor-heading-title, .elementor-widget-text-editor) {
  color: #fff !important;
}

.rides-child-faithful > .e-con:nth-child(2) > .e-con-inner > .e-con:last-child > .e-con-inner {
  display: flex !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.rides-child-faithful > .e-con:nth-child(2) .elementor-widget-image img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Short rules: aligned with their heading and followed by 20px of air. */
.postpartum-child-faithful .elementor-widget-divider {
  margin: 0 !important;
  padding: 0 !important;
}

.postpartum-child-faithful .elementor-divider {
  padding: 0 !important;
  text-align: left !important;
}

.postpartum-child-faithful .elementor-divider-separator {
  display: block !important;
  width: 64px !important;
  margin: 12px 0 0 !important;
  border: 0 !important;
  border-top: 4px solid var(--needs-ink) !important;
}

.postpartum-child-faithful > .e-con:first-child .elementor-divider {
  text-align: center !important;
}

.postpartum-child-faithful > .e-con:first-child .elementor-divider-separator {
  width: 86px !important;
  margin: 20px auto 18px !important;
}

.postpartum-child-faithful .romano-h2-align-center,
.postpartum-child-faithful .romano-h2-align-center .elementor-heading-title {
  text-align: center !important;
}

.postpartum-child-faithful .romano-h2-align-center + .elementor-widget-divider .elementor-divider {
  text-align: center !important;
}

.postpartum-child-faithful .romano-h2-align-center + .elementor-widget-divider .elementor-divider-separator {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Rides uses generated H2 pseudo-dividers instead of visible divider widgets. */
.postpartum-child-faithful.elementor-166 h2.elementor-heading-title::after {
  width: 64px !important;
  height: 4px !important;
  margin: 12px 0 0 !important;
  background: var(--needs-ink) !important;
}

.postpartum-child-faithful.elementor-166 h2.elementor-heading-title {
  margin-bottom: 0 !important;
}

.postpartum-child-faithful.elementor-166 .elementor-widget-heading:has(h2) {
  margin-bottom: -4px !important;
}

body #main#main#main .postpartum-child-faithful.elementor-166 h2.elementor-heading-title {
  margin-bottom: 0 !important;
}

body #main#main#main .postpartum-child-faithful.elementor-166 .elementor-widget-heading:has(h2) {
  margin-bottom: -4px !important;
}

.postpartum-child-faithful .elementor-widget-breadcrumbs,
.postpartum-child-faithful #breadcrumbs {
  margin: 0 !important;
  color: var(--needs-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.postpartum-child-faithful #breadcrumbs a {
  color: var(--needs-gold) !important;
  text-decoration: none !important;
}

.postpartum-child-faithful .postpartum-modified {
  display: block !important;
  margin-top: 8px !important;
  color: #8a8a8a !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

/* Information and treatment panels. */
.postpartum-child-faithful .pp-panels-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.postpartum-child-faithful .pp-panels-row > .pp-content-panel {
  box-sizing: border-box !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 26px !important;
  border: 1px solid var(--needs-border) !important;
  background: #fff !important;
}

.postpartum-child-faithful .pp-panels-row > .pp-content-panel > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.postpartum-child-faithful .pp-panels-row > .pp-content-panel:has(> .e-con-inner > .pp-panels-row) {
  grid-column: 1 / -1;
  padding: 0 !important;
  border: 0 !important;
}

/* Image navigation grids faithful to the legacy Elementor cards. */
.postpartum-child-faithful .e-grid > .e-con-inner {
  gap: 16px !important;
  align-items: stretch !important;
}

.postpartum-child-faithful .e-grid:has(.pp-topic-card) {
  --width: 100% !important;
  --content-width: 1080px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  display: block !important;
  grid-template-columns: none !important;
}

.postpartum-child-faithful .e-grid:has(.pp-topic-card) > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: 1080px !important;
}

.postpartum-child-faithful .pp-topic-card {
  position: relative !important;
  display: block !important;
  height: 100% !important;
  min-height: 190px;
  overflow: hidden !important;
  background: #ececec !important;
  color: #fff !important;
  text-decoration: none !important;
}

.postpartum-child-faithful .pp-topic-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 190px;
  aspect-ratio: 1.42 / 1 !important;
  object-fit: cover !important;
  transition: transform .3s ease !important;
}

.postpartum-child-faithful .pp-topic-card span {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: flex !important;
  min-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  background: rgb(20 20 20 / 62%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.postpartum-child-faithful .pp-topic-card:hover img,
.postpartum-child-faithful .pp-topic-card:focus-visible img {
  transform: scale(1.035) !important;
}

.postpartum-child-faithful .pp-topic-card:focus-visible {
  outline: 3px solid var(--needs-gold) !important;
  outline-offset: 3px !important;
}

/* Validated full-width clickable table of contents. */
.postpartum-child-faithful .postpartum-toc {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d2d2d2 !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgb(0 0 0 / 4%) !important;
}

.postpartum-child-faithful .postpartum-toc summary {
  position: relative !important;
  display: flex !important;
  min-height: 62px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 18px 50px 18px 25px !important;
  background: #fafafa !important;
  color: var(--needs-ink) !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  line-height: 1.35 !important;
  list-style: none !important;
  text-transform: uppercase !important;
}

.postpartum-child-faithful .postpartum-toc summary::-webkit-details-marker {
  display: none !important;
}

.postpartum-child-faithful .postpartum-toc summary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--needs-ink);
  content: "";
}

.postpartum-child-faithful .postpartum-toc summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--needs-ink);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-52%);
}

.postpartum-child-faithful .postpartum-toc[open] summary::after {
  content: "−";
}

.postpartum-child-faithful .postpartum-toc ol {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 22px !important;
  margin: 0 !important;
  padding: 22px 28px 26px 48px !important;
  counter-reset: needs-toc !important;
  list-style: none !important;
}

.postpartum-child-faithful .postpartum-toc li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #ececec !important;
  counter-increment: needs-toc !important;
}

.postpartum-child-faithful .postpartum-toc li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--needs-gold);
  content: counter(needs-toc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 600;
}

.postpartum-child-faithful .postpartum-toc a {
  display: block !important;
  min-height: 48px !important;
  padding: 11px 8px 10px 30px !important;
  color: #292929 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

.postpartum-child-faithful .postpartum-toc a:hover,
.postpartum-child-faithful .postpartum-toc a:focus-visible {
  color: #846c3f !important;
  text-decoration: underline !important;
}

/* Validated FAQ: left question, right control, padded answer, no overlap. */
.postpartum-child-faithful .postpartum-faq {
  width: 100% !important;
  overflow: hidden !important;
  border: 1px solid var(--needs-border) !important;
  background: #fff !important;
  color: var(--needs-ink) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.postpartum-child-faithful .postpartum-faq details {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.postpartum-child-faithful .postpartum-faq details + details {
  border-top: 1px solid var(--needs-border) !important;
}

.postpartum-child-faithful .postpartum-faq summary {
  position: relative !important;
  display: flex !important;
  min-height: 64px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 18px 58px 18px 22px !important;
  color: var(--needs-ink) !important;
  cursor: pointer !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  list-style: none !important;
  text-align: left !important;
}

.postpartum-child-faithful .postpartum-faq summary::-webkit-details-marker {
  display: none !important;
}

.postpartum-child-faithful .postpartum-faq summary::after {
  position: absolute !important;
  top: 50% !important;
  right: 22px !important;
  color: var(--needs-gold) !important;
  content: "+" !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
}

.postpartum-child-faithful .postpartum-faq details[open] > summary {
  border-bottom: 1px solid var(--needs-border) !important;
}

.postpartum-child-faithful .postpartum-faq details[open] > summary::after {
  content: "−" !important;
}

.postpartum-child-faithful.elementor.postpartum-child-faithful .postpartum-faq details > div {
  position: static !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px 22px 22px !important;
  overflow: visible !important;
  border: 0 !important;
}

.postpartum-child-faithful .postpartum-faq details > div p:first-child {
  margin-top: 0 !important;
}

/* The theme's legacy `#main#main` rule removed the answer's top padding. */
body #main#main#main .postpartum-child-faithful .postpartum-faq details > div {
  padding: 20px 24px 22px !important;
}

.postpartum-child-faithful img {
  max-width: 100% !important;
  height: auto;
}

@media (max-width: 1024px) {
  .postpartum-child-faithful > .e-con {
    padding: 32px 24px !important;
  }

  .postpartum-child-faithful > .e-con:first-child {
    padding-top: 52px !important;
  }

  .postpartum-child-faithful .postpartum-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .postpartum-child-faithful .e-grid:has(.pp-topic-card) > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .rides-child-faithful > .e-con:nth-child(2) > .e-con-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .postpartum-child-faithful > .e-con,
  .postpartum-child-faithful > .e-con:nth-child(n) {
    padding: 28px 20px !important;
  }

  .postpartum-child-faithful > .e-con:first-child {
    padding-top: 42px !important;
    padding-bottom: 30px !important;
  }

  .postpartum-child-faithful > .e-con:last-child {
    padding-bottom: 44px !important;
  }

  .postpartum-child-faithful.elementor.postpartum-child-faithful h1.elementor-heading-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .postpartum-child-faithful h2.elementor-heading-title,
  .postpartum-child-faithful h2 {
    font-size: 25px !important;
    line-height: 1.3 !important;
  }

  .postpartum-child-faithful .elementor-widget-text-editor,
  .postpartum-child-faithful .elementor-widget-text-editor p,
  .postpartum-child-faithful .elementor-widget-text-editor li {
    font-size: 16px !important;
    line-height: 1.62 !important;
  }

  .postpartum-child-faithful .pp-panels-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .postpartum-child-faithful .pp-panels-row > .pp-content-panel {
    grid-column: auto !important;
    padding: 22px !important;
  }

  .postpartum-child-faithful .e-grid > .e-con-inner {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .postpartum-child-faithful .pp-topic-card,
  .postpartum-child-faithful .pp-topic-card img {
    min-height: 210px;
  }

  .postpartum-child-faithful .postpartum-toc ol {
    grid-template-columns: 1fr !important;
    padding: 18px 22px 22px 43px !important;
  }

  .postpartum-child-faithful .postpartum-faq summary {
    min-height: 60px !important;
    padding: 16px 50px 16px 17px !important;
    font-size: 16px !important;
  }

  .postpartum-child-faithful .postpartum-faq summary::after {
    right: 17px !important;
  }

  .postpartum-child-faithful.elementor.postpartum-child-faithful .postpartum-faq details > div {
    padding: 18px 17px 20px !important;
  }

  body #main#main#main .postpartum-child-faithful .postpartum-faq details > div {
    padding: 18px 17px 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .postpartum-child-faithful *,
  .postpartum-child-faithful *::before,
  .postpartum-child-faithful *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
