/* Yabio editorial components — coral sampled from the current logo (#f77f62).
   Shared by posts and pages. Navigation and shared typography stay with the theme. */
.yabio-editorial, .editor-styles-wrapper {
  --yb-coral: #f77f62;
  --yb-ink: #422d26;
  --yb-rust: #953f2a;
  --yb-line: #efd8ce;
  --yb-soft: #fff5f0;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) :is(aside.reader-callout, aside[aria-label="L’essentiel en bref"]) {
  box-sizing: border-box;
  max-width: 100%;
  margin: 2em 0 !important;
  padding: clamp(20px, 3vw, 28px) !important;
  border: 1px solid var(--yb-line) !important;
  border-left: 4px solid var(--yb-coral) !important;
  border-radius: 16px !important;
  background: #fffbf8 !important;
  color: var(--yb-ink) !important;
  box-shadow: 0 5px 18px rgb(93 49 31 / 5%);
  font-family: inherit;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout > p:first-child {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 15px !important;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--yb-line);
  color: var(--yb-rust);
  line-height: 1.45;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout > p:first-child > strong {
  flex: 1;
  min-width: 0;
  padding-top: 3px;
  font-size: 1.02em;
  font-weight: 700;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-callout-icon {
  display: inline-flex !important;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #ffe4da;
  color: var(--yb-rust) !important;
  font: 700 17px/1 system-ui, sans-serif;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout-warning {
  background: #fff2e9 !important;
  border-left-color: #b45334 !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout-warning .reader-callout-icon {
  background: #fbd9c9;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout :is(p,ul,ol):last-child {
  margin-bottom: 0 !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout > p:not(:first-child) {
  margin-bottom: .85em;
}
/* The short summary has its own hierarchy, rather than another identical callout. */
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside[aria-label="L’essentiel en bref"] {
  background: linear-gradient(125deg, #fff1e8 0%, #fffaf6 80%) !important;
  border-left-width: 1px !important;
  border-top: 4px solid var(--yb-coral) !important;
  border-radius: 18px !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside[aria-label="L’essentiel en bref"] > p:first-child {
  margin: 0 0 8px !important;
  color: var(--yb-rust);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside[aria-label="L’essentiel en bref"] > p:nth-child(2) {
  margin: 0 0 19px !important;
  color: var(--yb-ink);
  font-size: clamp(22px, 2.5vw, 26px) !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
/* Native plugin navigation is excluded from all list styling. */
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) ul:not(:where(nav ul, #ez-toc-container ul, .ez-toc-list, .wp-block-gallery)) {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.1em 0 1.5em;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) ul:not(:where(nav ul, #ez-toc-container ul, .ez-toc-list, .wp-block-gallery)) > li {
  position: relative;
  list-style: none !important;
  padding-left: 25px;
  margin: 0 0 .8em !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) ul:not(:where(nav ul, #ez-toc-container ul, .ez-toc-list, .wp-block-gallery)) > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .64em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yb-coral);
  box-shadow: 0 0 0 4px #fff0e9;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside[aria-label="L’essentiel en bref"] > ul > li {
  padding-left: 32px;
  margin-bottom: 12px !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside[aria-label="L’essentiel en bref"] > ul > li::before {
  content: "✓";
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  top: .27em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: none;
  background: #ffe1d4;
  color: var(--yb-rust);
  font: 700 12px/1 system-ui, sans-serif;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) ol {
  list-style-position: outside !important;
  padding-left: 1.75em !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) ol > li {
  padding-left: .3em;
  margin-bottom: 1.1em;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) ol > li::marker {
  color: var(--yb-rust);
  font-weight: 700;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) li > p:first-child { margin-top: 0; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) li > p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) :is(aside.reader-callout, aside[aria-label="L’essentiel en bref"]) {
    margin: 1.6em 0 !important;
    padding: 19px 18px !important;
    border-radius: 13px !important;
  }
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout > p:first-child { gap: 9px; }
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-callout-icon { flex-basis: 27px; width: 27px; height: 27px; }
}
@media print {
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside { box-shadow: none !important; break-inside: avoid; }
}
/* Compact reading aids and section-specific visuals, pilot v9. */
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout {
  padding: 16px 20px !important;
  margin: 1.6em 0 !important;
  border-radius: 12px !important;
  box-shadow: none;
  line-height: 1.6;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout > p:first-child {
  padding-bottom: 9px;
  margin-bottom: 10px !important;
  gap: 9px;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul {
  margin: 0 !important;
  padding: 12px 14px !important;
  background: #fff;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  min-width: 0;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul > li {
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul > li::before { display: none; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid strong { color: var(--yb-rust); }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) figure.reader-section-visual { margin: 1.6em 0 2em; max-width: 100%; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-section-visual img { display: block; width: 100%; height: auto; border-radius: 12px; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-section-visual figcaption {
  margin: 12px 0 0; padding: 0 0 0 13px; border-left: 3px solid var(--yb-coral);
  color: var(--yb-ink); font-size: .9em; font-style: normal; line-height: 1.5; text-align: left;
}
@media (max-width: 480px) {
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) aside.reader-callout { padding: 14px 15px !important; }
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
}
/* The pilot diagram has an alternate portrait source on small screens. */
@media (max-width: 600px) {
  :is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-section-visual img.wp-image-11398 {
    aspect-ratio: 600 / 890 !important;
    height: auto !important;
    object-fit: contain;
  }
}

/* Clear polarity within the existing advantages/limits component. */
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul::before {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--yb-line);
  color: var(--yb-rust);
  font-weight: 700;
  line-height: 1.4;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul:first-child::before { content: "Les plus"; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul:nth-child(2)::before { content: "Les limites"; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul > li {
  padding-left: 30px !important;
  margin-bottom: 12px !important;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul > li:last-child { margin-bottom: 0 !important; }
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul > li::before {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: .18em;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #ffe4da;
  color: var(--yb-rust);
  box-shadow: none;
  font: 700 17px/1 system-ui, sans-serif;
}
:is(.yabio-editorial .entry-content, .editor-styles-wrapper) .reader-comparison-grid > ul:nth-child(2) > li::before {
  content: "−";
  background: #f5eeea;
  color: var(--yb-ink);
}
