/* ESAP 0.1.2 - Shared accessibility preferences. No remote resources. */
:root {
  --esap-a11y-night-bg: #091c29;
  --esap-a11y-night-surface: #133244;
  --esap-a11y-night-raised: #1b4256;
  --esap-a11y-night-text: #f8fbfe;
  --esap-a11y-night-muted: #dbe9f1;
  --esap-a11y-night-link: #b7ebff;
  --esap-a11y-night-border: #a1c0d0;
  --esap-a11y-focus: #ffda65;
}
#esap-global-a11y {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  pointer-events: none;
  isolation: isolate;
}
body.esap-interview-layout #esap-global-a11y {
  left: max(16px, env(safe-area-inset-left));
  right: auto;
}
#esap-global-a11y button { cursor: pointer; }
#esap-global-a11y .esap-global-a11y-trigger {
  display: grid;
  pointer-events: auto;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #104668;
  box-shadow: 0 4px 18px rgba(5,24,43,.34);
  line-height: 1;
  transition: transform .15s, box-shadow .15s;
}
#esap-global-a11y .esap-global-a11y-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(5,24,43,.4);
}
#esap-global-a11y .esap-global-a11y-trigger:focus-visible,
#esap-global-a11y-dialog :focus-visible { outline: 3px solid #edac32 !important; outline-offset: 3px !important; }
#esap-global-a11y-dialog {
  pointer-events: auto;
  position: fixed;
  inset: 0;
  display: none;
  width: min(540px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  margin: auto;
  padding: 22px clamp(18px,4vw,26px);
  border: 2px solid #a4bcc9;
  border-radius: 18px;
  color: #132c3d;
  background: #fff;
  box-shadow: 0 28px 80px rgba(5,31,48,.3);
  font: 16px/1.45 system-ui, Arial, sans-serif;
  letter-spacing: normal;
  box-sizing: border-box;
  color-scheme: light;
}
#esap-global-a11y-dialog[open] { display: block; }
#esap-global-a11y-dialog::backdrop { background: rgba(3,18,29,.66); }
#esap-global-a11y-dialog * { box-sizing: border-box; }
#esap-global-a11y-dialog .esap-global-a11y-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
#esap-global-a11y-dialog .esap-global-a11y-eyebrow { margin: 0; font-size: .75em; letter-spacing: .11em; font-weight: 800; color: #31576c; }
#esap-global-a11y-dialog h2 { margin: .15em 0 .35em; color: inherit; font: 800 clamp(26px,4vw,34px)/1.16 system-ui, sans-serif; letter-spacing: -.02em; }
#esap-global-a11y-dialog .esap-global-a11y-close { flex: none; border: 2px solid #8daabc; background: #f2f7f9; color: #103a52; border-radius: 10px; min-width: 46px; min-height: 46px; padding: 4px; font: 26px/1 system-ui, sans-serif; }
#esap-global-a11y-dialog .esap-global-a11y-desc { color: #3b5768; font-size: .94em; margin: 0 0 12px; }
#esap-global-a11y-dialog fieldset { min-width: 0; border: 0; border-top: 1px solid #b7c9d4; padding: 12px 0 11px; margin: 0; }
#esap-global-a11y-dialog legend { float: left; padding: 0; width: 100%; margin: 0 0 9px; color: #14344a; font-weight: 800; }
#esap-global-a11y-dialog .esap-global-a11y-choice { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
#esap-global-a11y-dialog .esap-global-a11y-choice button {
  flex: 1 1 auto;
  padding: 9px 12px;
  border: 2px solid #8caabd;
  background: #f4f8fb;
  color: #11374d;
  border-radius: 9px;
  min-width: 60px;
  min-height: 46px;
  font: 700 .91em/1.25 system-ui, sans-serif;
}
#esap-global-a11y-dialog .esap-global-a11y-choice button[aria-pressed='true'] { color: #fff; background: #115074; border-color: #115074; box-shadow: inset 0 0 0 1px #115074; }
#esap-global-a11y-dialog fieldset p { margin: 9px 0 0; color: #3a5767; font-size: .86em; }
#esap-global-a11y-dialog .esap-global-a11y-foot { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #bbccd5; color: #3a5767; font-size: .86em; }
#esap-global-a11y-dialog .esap-global-a11y-reset { margin: 10px 0 0; padding: 10px 16px; min-height: 46px; border: 2px solid #7295aa; border-radius: 9px; color: #123a53; background: #f1f7fb; font: 700 .94em/1.2 system-ui, sans-serif; }
#esap-global-a11y-dialog .esap-global-a11y-status { min-height: 1.25em; color: #284e63; font-size: .84em; }
#esap-global-a11y-dialog [data-esap-a11y-audio] { display: none; }
body.page-id-142 #esap-global-a11y-dialog [data-esap-a11y-audio] { display: inline-flex; align-items: center; }
/* Keep one global accessibility entry point, without changing the legacy home audio buttons. */
body.page-id-142 #esap-settings { display: none !important; }
/* Keep the actual site chrome on the interview, not the V4 internal masthead. */
body.esap-interview-layout .esap-v4 header.masthead { display: none !important; }
body.esap-interview-layout .esap-v4 :is(.headlinks-label,#smaller,#larger,#contrast) { display: none !important; }

/* ESAP 0.1.3 — editorial reading presets. Never invert pictures, videos, logos or maps. */
:root {
  --esap-a11y-focus: #faaf29;
  --esap-a11y-page: #f5f9fc;
  --esap-a11y-surface: #ffffff;
  --esap-a11y-raised: #ebf5fb;
  --esap-a11y-text: #123445;
  --esap-a11y-secondary: #3d5d6d;
  --esap-a11y-link: #075f83;
  --esap-a11y-border: #89a7b6;
  --esap-a11y-emphasis: #b37009;
  --esap-a11y-action: #075778;
  --esap-a11y-action-text: #ffffff;
}
html[data-esap-theme='night'] {
  color-scheme: dark;
  --esap-a11y-page: #091625;
  --esap-a11y-surface: #152c40;
  --esap-a11y-raised: #214158;
  --esap-a11y-text: #fbfbf5;
  --esap-a11y-secondary: #d5e2ee;
  --esap-a11y-link: #a3e9ff;
  --esap-a11y-border: #92b4c7;
  --esap-a11y-emphasis: #f8d377;
  --esap-a11y-action: #f4d27b;
  --esap-a11y-action-text: #10283b;
  --esap-a11y-focus: #ffdf7e;
}
html[data-esap-theme='sepia'] {
  color-scheme: light;
  --esap-a11y-page: #f5ecd8;
  --esap-a11y-surface: #fff7e7;
  --esap-a11y-raised: #eadbbd;
  --esap-a11y-text: #34281d;
  --esap-a11y-secondary: #574534;
  --esap-a11y-link: #215d70;
  --esap-a11y-border: #8e7758;
  --esap-a11y-emphasis: #874b13;
  --esap-a11y-action: #124f62;
  --esap-a11y-action-text: #ffffff;
  --esap-a11y-focus: #a26310;
}
/* Background and navigation must agree at the full viewport width, not only inside the
   centered header. The accent stripe remains untouched. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body,
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(#page-container,#et-main-area,#main-content,#left-area,#content-area) {
  background-color: var(--esap-a11y-page) !important;
  color: var(--esap-a11y-text) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(#main-header,#top-header,.et-l--header,.esap-cadre-header,.esap-site-header,.site-top,.site-head,[class*='esap-header'],.esap-global-header) {
  background-color: var(--esap-a11y-surface) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(#main-header,#top-header,.et-l--header,.esap-cadre-header,.esap-site-header,.site-head) :is(a,button,span,strong,small,label) {
  color: var(--esap-a11y-text) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(.site-notice,.esap-site-notice,.esap-cadre-notice) {
  background-color: var(--esap-a11y-raised) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
/* CTA pairs explicitly specify both the foreground and background to avoid white-on-white. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(#main-header,.et-l--header,.esap-cadre-header,.esap-site-header,.site-head,[class*='esap-header']) :is(
  a[class*='safety'],a[class*='report'],a[class*='signal'],button[class*='safety'],button[class*='report'],
  a[data-open-safety],a[href*='signaler'],a[href*='signalement'],a[title*='abus'],
  [class*='nav'] a:last-child,nav a:last-child
) {
  color: var(--esap-a11y-action-text) !important;
  background: var(--esap-a11y-action) !important;
  border: 2px solid var(--esap-a11y-action) !important;
  text-shadow: none !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(#main-header,.et-l--header,.esap-cadre-header,.esap-site-header,.site-head,[class*='esap-header']) :is(
  a[class*='safety'],a[class*='report'],a[class*='signal'],a[data-open-safety],
  a[href*='signaler'],a[href*='signalement'],a[title*='abus'],[class*='nav'] a:last-child,nav a:last-child
) :is(span,strong,small,svg) { color: var(--esap-a11y-action-text) !important; }

/* A little visual depth: alternating Bento surfaces and restrained gold/cyan accents,
   rather than turning every panel into the same flat rectangle. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 {
  --ink: var(--esap-a11y-text);
  --ink2: var(--esap-a11y-secondary);
  --muted: var(--esap-a11y-secondary);
  --paper: var(--esap-a11y-page);
  --paper2: var(--esap-a11y-surface);
  --border: var(--esap-a11y-border);
  --blue: var(--esap-a11y-link);
  --light: var(--esap-a11y-raised);
  --panel: var(--esap-a11y-surface);
  --surface: var(--esap-a11y-surface);
  background-color: var(--esap-a11y-page) !important;
  color: var(--esap-a11y-text) !important;
  color-scheme: inherit;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.intro-section,.hero,.interview-section,.reading-bar,.chapter-nav,.interactive-timeline,.video-finale,.editorial-interlude,.audio-mini,.audio-dialog) {
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.intro-section,.hero,.intro-grid,.interview-section,.question-answer,.answer,.video-finale,.video-text,.editorial-interlude) {
  background-color: var(--esap-a11y-page) !important;
  color: var(--esap-a11y-text) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.question,.aside,.bento-quote,.bento-words,.bento-dates,.timeline-layout,.timeline-rail,.interactive-timeline,.video-spotlight,.video-media,.video-stage,.video-transcript,.capsule-teaser,.audio-mini,.audio-dialog,.reading-bar,.esap-story-coda,.aside-note,.note-panel) {
  background: var(--esap-a11y-surface) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.chapter-link,.timeline-step,.timeline-detail,.aside-stack,.bento-words,.capsule-teaser,.video-transcript-rows,.audio-mini-header,.audio-mini-footer,.video-legend) {
  background: var(--esap-a11y-raised) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.intro-section,.question-answer,.timeline-layout,.hero-copy) :is(p,li,blockquote,small,em,strong,span,time) {
  color: inherit;
  text-shadow: none !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(h1,h2,h3,h4,h5,h6,p,blockquote,li,.hero-subtitle,.eyebrow,.intro-label,.chapter-kicker,.question,.aside-label,.chapter-number,.reader-id,.video-legend,.audio-credit) {
  color: var(--esap-a11y-text) !important;
  text-shadow: none !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 a:not(.chapter-link):not(.teaser-button) {
  color: var(--esap-a11y-link) !important;
  text-decoration-color: currentColor;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.esap-key-point,.esap-coda-focus,.bento-quote strong) {
  color: var(--esap-a11y-emphasis) !important;
  text-decoration-color: currentColor;
  text-shadow: none !important;
}
html[data-esap-theme='night'] body .esap-v4 :is(.intro-section,.question,.timeline-layout,.video-spotlight) {
  box-shadow: inset 4px 0 0 #dbb968;
}
html[data-esap-theme='night'] body .esap-v4 :is(.aside,.bento-quote,.bento-words) {
  border-left: 4px solid #7dcfe6 !important;
}
html[data-esap-theme='sepia'] body .esap-v4 :is(.intro-section,.question,.timeline-layout,.video-spotlight) {
  box-shadow: inset 4px 0 0 #997342;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(button,[role='button'],.chapter-link,.teaser-button,.head-home) {
  background: var(--esap-a11y-raised) !important;
  color: var(--esap-a11y-text) !important;
  border: 2px solid var(--esap-a11y-border) !important;
  text-shadow: none !important;
  box-shadow: none;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(button,[role='button'],.chapter-link,.teaser-button,.head-home) :is(span,strong,small,time,svg) {
  color: inherit !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(button,[role='button'],.chapter-link,.teaser-button):hover {
  background: var(--esap-a11y-surface) !important;
  box-shadow: 0 0 0 1px var(--esap-a11y-emphasis);
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.primary-action,.timeline-step[aria-pressed='true'],.chapter-link[aria-current='true'],.chapter-link.active) {
  background: var(--esap-a11y-action) !important;
  color: var(--esap-a11y-action-text) !important;
  border-color: var(--esap-a11y-action) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.primary-action,.timeline-step[aria-pressed='true'],.chapter-link[aria-current='true'],.chapter-link.active) :is(span,strong,small,time,svg) {
  color: var(--esap-a11y-action-text) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(input,textarea,select,dialog) {
  background-color: var(--esap-a11y-surface) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.audio-dialog,.audio-mini,.video-transcript) :is(button,input,select,textarea) {
  color: var(--esap-a11y-text) !important;
  background: var(--esap-a11y-raised) !important;
  border: 2px solid var(--esap-a11y-border) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(.entry-content,.et_pb_text,.wp-block-group) :is(p,h1,h2,h3,h4,h5,h6,li,small,blockquote) {
  color: var(--esap-a11y-text) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(.entry-content,.et_pb_text,.wp-block-group) a {
  color: var(--esap-a11y-link) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(.et_pb_section,.et_pb_row,.et_pb_column,.entry-content,.wp-block-group) {
  border-color: var(--esap-a11y-border);
}
/* Full background for normal Divi pages, without clobbering image backgrounds or illustrations. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(.et_pb_section,.et_pb_text,.et_pb_text_inner,.wp-block-group) {
  color: var(--esap-a11y-text) !important;
}
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(.et_pb_button,.wp-block-button__link) {
  background-color: var(--esap-a11y-action) !important;
  color: var(--esap-a11y-action-text) !important;
  border-color: var(--esap-a11y-action) !important;
}
/* Existing images/audio/video retain their own colors; preserve organizational stripe. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body :is(img,svg,video,audio,canvas) {
  filter: none !important;
}
/* The settings panel is deliberately legible in every theme. */
#esap-global-a11y-dialog {
  color: var(--esap-a11y-text);
  background: var(--esap-a11y-surface);
  border-color: var(--esap-a11y-border);
  color-scheme: inherit;
  width: min(660px, calc(100vw - 26px));
  max-height: min(92dvh, 850px);
}
#esap-global-a11y-dialog :is(.esap-global-a11y-eyebrow,.esap-global-a11y-desc,fieldset p,.esap-global-a11y-foot,.esap-global-a11y-status,legend) {
  color: var(--esap-a11y-secondary) !important;
}
#esap-global-a11y-dialog legend { color: var(--esap-a11y-text) !important; }
#esap-global-a11y-dialog fieldset,
#esap-global-a11y-dialog .esap-global-a11y-foot { border-color: var(--esap-a11y-border); }
#esap-global-a11y-dialog :is(.esap-global-a11y-choice button,.esap-global-a11y-reset,.esap-global-a11y-close,.esap-global-a11y-profile) {
  color: var(--esap-a11y-text) !important;
  background-color: var(--esap-a11y-raised) !important;
  border-color: var(--esap-a11y-border) !important;
}
#esap-global-a11y-dialog :is(.esap-global-a11y-choice button[aria-pressed='true'],.esap-global-a11y-profile[aria-pressed='true']) {
  background-color: var(--esap-a11y-action) !important;
  color: var(--esap-a11y-action-text) !important;
  border-color: var(--esap-a11y-action) !important;
}
#esap-global-a11y-dialog .esap-global-a11y-profile {
  display: block; width: 100%; margin: 10px 0 4px; padding: 12px 16px;
  min-height: 46px; border-radius: 11px; border: 2px solid;
  font: 750 1rem/1.35 system-ui, sans-serif; cursor: pointer;
}
#esap-global-a11y-dialog .esap-global-a11y-section-title {
  margin: 18px 0 3px; font-size: 1.04rem; color: var(--esap-a11y-text); font-weight: 800;
}
#esap-global-a11y-dialog .esap-global-a11y-section-desc {
  color: var(--esap-a11y-secondary); margin: 0 0 10px; font-size: .88rem;
}
#esap-global-a11y-dialog .esap-global-a11y-stack {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 20px;
}
#esap-global-a11y-dialog .esap-global-a11y-stack fieldset {min-width: 0;}
#esap-global-a11y-dialog .esap-global-a11y-choice button {overflow-wrap: anywhere;}
#esap-global-a11y-dialog .esap-global-a11y-preview {
  padding: 12px 14px; margin: 12px 0; border-left: 4px solid var(--esap-a11y-emphasis);
  background: var(--esap-a11y-raised); color: var(--esap-a11y-text);
  font-size: 1.05rem; line-height: 1.5;
}
#esap-global-a11y-dialog .esap-global-a11y-preview span {display:block; font-size:.87em; margin-top: 4px;}
#esap-global-a11y-dialog .esap-global-a11y-preview p {color:inherit; margin:0;}
#esap-global-a11y-dialog [data-esap-a11y-interview-audio] {display:none;}
body.esap-interview-layout #esap-global-a11y-dialog [data-esap-a11y-interview-audio] {display:inline-flex; align-items:center;}
html[data-esap-size='large'] { font-size: 112.5%; }
html[data-esap-size='xl'] { font-size: 125%; }
/* Scale reading content rather than making entire section typography recursively grow. */
html[data-esap-size='large'] body :is(.esap-v4,.entry-content,#esap-stage) :is(p,li,blockquote,dd,dt) {font-size: max(1rem,1.06em) !important;}
html[data-esap-size='xl'] body :is(.esap-v4,.entry-content,#esap-stage) :is(p,li,blockquote,dd,dt) {font-size: max(1rem,1.12em) !important;}
html[data-esap-size='xl'] body .esap-v4 :is(.question,.question h2,h2.question) {
  font-size: clamp(1.45rem, 2.9vw, 2.8rem) !important;
  line-height: 1.25 !important;
}
/* Fonts are independent from spacing and reading layout. OpenDyslexic downloads only
   on the server and is optional; Verdana is always available as a safe fallback. */
html[data-esap-font='sans'] body :is(.esap-v4,.entry-content,#esap-stage,#main-header,.et-l--header) :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,a,button,label,small,summary,figcaption),
html[data-esap-font='sans'] body .esap-v4 :is(.question,.answer,.intro-copy) {
  font-family: Verdana, 'Trebuchet MS', Tahoma, Arial, sans-serif !important;
  font-variant-ligatures: none;
}
html[data-esap-font='open'] body :is(.esap-v4,.entry-content,#esap-stage,#main-header,.et-l--header) :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,a,button,label,small,summary,figcaption),
html[data-esap-font='open'] body .esap-v4 :is(.question,.answer,.intro-copy) {
  font-family: 'ESAP OpenDyslexic','OpenDyslexic',Verdana,Arial,sans-serif !important;
  font-variant-ligatures: none;
}
/* Keep site logos and pictograms as graphics, not letters in specialized typefaces. */
html:is([data-esap-font='sans'],[data-esap-font='open']) :is(.et-pb-icon,.dashicons,[class*='fa-']) {font-family:inherit;}
/* Reading profile: 65ch maximum, align left, no hard justification or automatic
   hyphenation. The underlying WCAG 1.4.12 maximum spacing is provided separately. */
html:is([data-esap-dys='on'],[data-esap-reader='on']) body :is(.esap-v4,.entry-content,#esap-stage) :is(p,li,blockquote,dd,dt) {
  text-align: left !important;
  hyphens: none !important;
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
}
html[data-esap-spacing='comfortable'] body :is(.esap-v4,.entry-content,#esap-stage) :is(p,li,blockquote,dd,dt) {
  line-height: 1.7 !important;
  letter-spacing: .05em !important;
  word-spacing: .1em !important;
  margin-block-end: 1.4em !important;
}
html[data-esap-spacing='maximum'] body :is(.esap-v4,.entry-content,#esap-stage) :is(p,li,blockquote,dd,dt) {
  line-height: 1.8 !important;
  letter-spacing: .12em !important;
  word-spacing: .16em !important;
  margin-block-end: 2em !important;
}
html[data-esap-spacing='comfortable'] body :is(.esap-v4,.entry-content,#esap-stage) :is(h1,h2,h3,h4,h5,h6) {line-height: 1.3 !important;}
html[data-esap-spacing='maximum'] body :is(.esap-v4,.entry-content,#esap-stage) :is(h1,h2,h3,h4,h5,h6) {line-height: 1.38 !important;letter-spacing:0 !important;}
html[data-esap-width='comfortable'] body :is(.esap-v4,.entry-content,#esap-stage) :is(.answer p,.intro-copy p,.et_pb_text p,.wp-block-paragraph,p) {max-inline-size: min(100%, 68ch) !important;}
html[data-esap-width='narrow'] body :is(.esap-v4,.entry-content,#esap-stage) :is(.answer p,.intro-copy p,.et_pb_text p,.wp-block-paragraph,p) {max-inline-size: min(100%, 54ch) !important;}
/* Reading-focused mode: one column with secondary cards below the content. Nothing is hidden. */
html[data-esap-reader='on'] body .esap-v4 :is(.intro-grid,.interview-grid,.timeline-layout,.hero-grid,.video-spotlight,.intro-section,.interview-section) {
  grid-template-columns: minmax(0,1fr) !important;
  min-width: 0 !important;
}
html[data-esap-reader='on'] body .esap-v4 :is(.intro-label,.intro-copy,.question,.answer,.aside,.aside-stack,.bento-dates,.timeline-rail,.timeline-detail,.hero-copy) {
  max-width: 100% !important; min-width: 0 !important; width: 100% !important;
  margin-inline: 0 !important;
  inset-inline: auto !important;
  transform: none !important;
}
html[data-esap-reader='on'] body .esap-v4 :is(.intro-grid,.interview-grid,.timeline-layout,.hero-grid) > * {grid-column:auto !important;grid-row:auto !important;}
html[data-esap-reader='on'] body .esap-v4 :is(.question,.question h2,h2.question) {
  font-size: clamp(1.35rem, 2.3vw + .5rem, 2.55rem) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}
html[data-esap-reader='on'] body .esap-v4 :is(.intro-copy,.answer) {max-inline-size: 76ch !important;}
html[data-esap-reader='on'] body .esap-v4 :is(.intro-label,.chapter-kicker,.intro-first,.chapter-number) {padding-inline: 0 !important;}
html[data-esap-reader='on'] body .esap-v4 .chapter-nav {position: static !important;}
html[data-esap-reader='on'] body .esap-v4 :is(.reveal-on-scroll,.question-answer,.answer) {opacity: 1 !important; visibility: visible !important; translate: none !important;}
/* Explicitly keep the reading profile from introducing faux lower-case into proper nouns. */
html[data-esap-reader='on'] body .esap-v4 :is(.chapter-kicker,.eyebrow) {text-transform: none !important;letter-spacing:.025em !important;}
/* Distraction-free reading guide, enabled only on request. */
html[data-esap-guide='on'] :is(.esap-v4,.entry-content,#esap-stage) p.esap-a11y-reading-current {
  background: color-mix(in srgb, var(--esap-a11y-emphasis) 17%, transparent) !important;
  outline: 2px solid var(--esap-a11y-emphasis) !important;
  outline-offset: 5px !important;
  border-radius: 3px;
}
/* Make links visibly identifiable beyond color alone when personalization is active. */
html:is([data-esap-dys='on'],[data-esap-contrast='on']) body :is(.esap-v4,.entry-content,#esap-stage) a:not(.chapter-link):not(.teaser-button) {
  text-decoration: underline !important;
  text-decoration-thickness: max(2px,.08em) !important;
  text-underline-offset: .18em !important;
}
html[data-esap-contrast='on'] {
  --esap-a11y-page: #000e17;
  --esap-a11y-surface: #071c2b;
  --esap-a11y-raised: #0d2b3d;
  --esap-a11y-text: #ffffff;
  --esap-a11y-secondary: #eaf2f7;
  --esap-a11y-link: #b7efff;
  --esap-a11y-border: #eef7fa;
  --esap-a11y-emphasis: #ffdf78;
  --esap-a11y-action: #ffdc75;
  --esap-a11y-action-text: #061826;
}
html[data-esap-contrast='on'][data-esap-theme='day'],html[data-esap-contrast='on'][data-esap-theme='sepia'] {
  --esap-a11y-page: #ffffff;--esap-a11y-surface: #ffffff;--esap-a11y-raised: #e9f5fb;
  --esap-a11y-text: #051b29;--esap-a11y-secondary: #203c49;--esap-a11y-link: #00577a;
  --esap-a11y-border: #315368;--esap-a11y-emphasis: #875000;--esap-a11y-action: #063e5c;--esap-a11y-action-text: #ffffff;
}
html[data-esap-contrast='on'] body :is(a,button,input,select,textarea,summary):focus-visible,
html body :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid var(--esap-a11y-focus) !important; outline-offset: 3px !important;
}
html[data-esap-contrast='on'] body :is(button,input,select,textarea) {border-width: 2px !important;}
/* Settings panel uses normal system typography even if large OpenDyslexic body text is enabled,
   preventing a modal from becoming impossible to operate. The preview mirrors typography. */
#esap-global-a11y-dialog :is(h2,legend,button,p,small) {font-family: system-ui,Arial,sans-serif !important;}
html[data-esap-font='sans'] #esap-global-a11y-dialog .esap-global-a11y-preview p {font-family: Verdana,Tahoma,Arial,sans-serif !important;}
html[data-esap-font='open'] #esap-global-a11y-dialog .esap-global-a11y-preview p {font-family:'ESAP OpenDyslexic','OpenDyslexic',Verdana,Arial,sans-serif !important;}
html[data-esap-spacing='comfortable'] #esap-global-a11y-dialog .esap-global-a11y-preview p {line-height:1.7!important;letter-spacing:.05em!important;word-spacing:.1em!important;}
html[data-esap-spacing='maximum'] #esap-global-a11y-dialog .esap-global-a11y-preview p {line-height:1.8!important;letter-spacing:.12em!important;word-spacing:.16em!important;}
html[data-esap-motion='off'] *,html[data-esap-motion='off'] *::before,html[data-esap-motion='off'] *::after {
  animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;
}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
@media(forced-colors:active) {#esap-global-a11y .esap-global-a11y-trigger,#esap-global-a11y-dialog button {forced-color-adjust:auto;color:ButtonText!important;background:Canvas!important;border:2px solid ButtonText!important;}}
@media(max-width: 720px) {
  #esap-global-a11y-dialog .esap-global-a11y-stack {grid-template-columns:minmax(0,1fr);}
  html[data-esap-reader='on'] body .esap-v4 :is(.question,.question h2,h2.question) {font-size: clamp(1.35rem,5.3vw,2.15rem) !important;}
  html[data-esap-reader='on'] body .esap-v4 .intro-grid {padding-inline:clamp(14px,4vw,24px) !important;}
}
@media(max-width: 560px) {
  #esap-global-a11y .esap-global-a11y-trigger {width:48px;height:48px;}
  #esap-global-a11y-dialog {width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:17px 15px;border-radius:13px;}
  #esap-global-a11y-dialog .esap-global-a11y-choice button {min-width:68px;}
}
@media print {#esap-global-a11y {display:none!important;} html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body {background:white!important;color:black!important;}}
/* Do not leave a pale chapter/navigation ribbon on the dark editorial canvas. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.chapter-nav,.chapters,.timeline-steps,.video-transcript-head,.reader-tools,.video-extra-tools) {
  background: var(--esap-a11y-surface) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
/* Preserve active chapter markers and timelines after foreground inheritance. */
html:is([data-esap-theme='night'],[data-esap-theme='sepia']) body .esap-v4 :is(.timeline-step[aria-pressed='true'],.chapter-link[aria-current='true']) :is(time,span,strong,small) {
  color: var(--esap-a11y-action-text) !important;
}
/* High contrast on the DAY theme must be more than a toggle on the panel. */
html[data-esap-contrast='on'][data-esap-theme='day'] body,
html[data-esap-contrast='on'][data-esap-theme='day'] body :is(#page-container,#main-content,#et-main-area) {
  background-color: var(--esap-a11y-page) !important;
  color: var(--esap-a11y-text) !important;
}
html[data-esap-contrast='on'][data-esap-theme='day'] body :is(#main-header,.et-l--header,.esap-cadre-header,.esap-site-header,.site-head,.site-top) {
  background: var(--esap-a11y-surface) !important;
  color: var(--esap-a11y-text) !important;
  border-color: var(--esap-a11y-border) !important;
}
html[data-esap-contrast='on'][data-esap-theme='day'] body :is(#main-header,.et-l--header,.esap-cadre-header,.esap-site-header,.site-head) :is(a,span,strong,small) {color:var(--esap-a11y-text)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 {
  --ink:var(--esap-a11y-text);--muted:var(--esap-a11y-secondary);--paper:var(--esap-a11y-page);--paper2:var(--esap-a11y-surface);--border:var(--esap-a11y-border);
  background:var(--esap-a11y-page)!important;color:var(--esap-a11y-text)!important;
}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(.hero,.intro-grid,.intro-section,.interview-section,.question-answer,.answer) {background:var(--esap-a11y-page)!important;color:var(--esap-a11y-text)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(.question,.aside,.timeline-layout,.interactive-timeline,.bento-quote,.chapter-nav,.audio-dialog,.video-transcript) {background:var(--esap-a11y-raised)!important;color:var(--esap-a11y-text)!important;border-color:var(--esap-a11y-border)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(h1,h2,h3,p,li,span,strong,small,blockquote) {color:var(--esap-a11y-text)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(.chapter-link,button,.timeline-step) {background:var(--esap-a11y-surface)!important;color:var(--esap-a11y-text)!important;border:2px solid var(--esap-a11y-border)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(.primary-action,.timeline-step[aria-pressed='true'],.chapter-link[aria-current='true']) {background:var(--esap-a11y-action)!important;color:var(--esap-a11y-action-text)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(.primary-action,.timeline-step[aria-pressed='true'],.chapter-link[aria-current='true']) :is(span,time,small,strong) {color:inherit!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(a:not(.chapter-link),.esap-key-point) {color:var(--esap-a11y-link)!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body .esap-v4 :is(button,a,input,select,textarea):focus-visible {outline-color:#875000!important;}
html[data-esap-contrast='on'][data-esap-theme='day'] body :is(#main-header,.et-l--header,.esap-cadre-header,.esap-site-header) :is(a[class*='safety'],a[class*='report'],a[class*='signal'],a[href*='signaler'],nav a:last-child) {background:var(--esap-a11y-action)!important;color:var(--esap-a11y-action-text)!important;}
