:root {
  --ee8-color-primary: #eb2634;
  --ee8-color-accent: #b53c55;
  --ee8-color-text: #0c111d;
  --ee8-color-text-soft: #475467;
  --ee8-color-bg: #f9fafb;
  --ee8-color-surface: #ffffff;
  --ee8-color-line: #f1f1f1;
  --ee8-color-oracle: #4A1A50;
  --ee8-color-gold: #F5C342;
  --ee8-font-heading: "Yeseva One", Georgia, serif;
  --ee8-font-body: "Karla", Arial, sans-serif;
  --ee8-shadow-soft: 0 18px 45px rgba(12, 17, 29, .10);
  --ee8-shadow-card: 0 12px 32px rgba(12, 17, 29, .08);
  --ee8-radius: 8px;
}
html { scroll-behavior: smooth; }
body.ee8-body {
  margin: 0;
  color: var(--ee8-color-text);
  background: var(--ee8-color-bg);
  font-family: var(--ee8-font-body);
  line-height: 1.65;
}
main, .ee8-main { padding-top: 0 !important; margin-top: 0 !important; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.ee8-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ee8-section { padding: 72px 0; }
.ee8-section-kicker, .ee8-hero-kicker {
  margin: 0 0 12px;
  color: var(--ee8-color-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ee8-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ee8-color-line);
  backdrop-filter: blur(14px);
}
.ee8-header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ee8-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  flex-shrink: 0;
}
.ee8-brand-logo { width: auto; }
.ee8-brand-name {
  font-family: var(--ee8-font-heading);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ee8-color-oracle);
}
.ee8-nav-desktop { display: none; }
.ee8-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ee8-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #182230;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.ee8-nav-desktop-list a:hover, .ee8-nav-desktop-list a:focus {
  color: var(--ee8-color-primary);
  border-bottom-color: var(--ee8-color-primary);
}
.ee8-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ee8-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  background: #fff;
  border: 1.5px solid rgba(12,17,29,.18);
  border-radius: 8px;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
}
.ee8-burger-bars, .ee8-burger > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.ee8-burger-bars span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.ee8-nav-mobile { display: none; }
.ee8-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(12,17,29,.48);
}
.ee8-drawer-overlay[hidden] { display: none; }
.ee8-drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ee8-color-line);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 1.4rem;
}
.ee8-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.ee8-nav-mobile-list a {
  display: block;
  padding: 1rem 0;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
}
.ee8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.15rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ee8-btn--cta {
  position: relative;
  overflow: hidden;
  background: var(--ee8-color-primary);
  color: #fff;
  box-shadow: 0 10px 25px rgba(235,38,52,.25);
}
.ee8-btn--cta::after {
  content: "→";
  margin-left: .55rem;
  transform: translateX(-4px);
  opacity: .75;
  transition: transform .2s ease, opacity .2s ease;
}
.ee8-btn--cta:hover::after { transform: translateX(2px); opacity: 1; }
.ee8-btn--ghost {
  background: rgba(255,255,255,.88);
  color: #111827;
  border-color: rgba(12,17,29,.12);
}
.ee8-drawer-cta {
  display: block !important;
  margin: 2rem 0 0 !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--ee8-color-accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
.ee8-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: grid;
  align-items: end;
  background: #fff;
}
.ee8-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ee8-hero-video-wrap { position: absolute; inset: 0; pointer-events: none; }
.ee8-hero-video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%); border: 0;
}
.ee8-hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
}
.ee8-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 7vh;
  padding: 34px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  box-shadow: var(--ee8-shadow-soft);
}
.ee8-hero--has-video .ee8-hero-inner { background: transparent; box-shadow: none; border: 0; color: #fff; }
.ee8-hero--has-video .ee8-hero-title, .ee8-hero--has-video .ee8-hero-subtitle { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.ee8-hero-title {
  max-width: 860px;
  margin: 0;
  font-family: var(--ee8-font-heading);
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: 0;
  color: var(--ee8-color-oracle);
}
.ee8-hero-subtitle {
  max-width: 660px;
  margin: 1.3rem 0 0;
  color: #263241;
  font-size: 1.18rem;
}
.ee8-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.ee8-editorial {
  background: var(--ee8-color-bg);
  border-top: 1px solid var(--ee8-color-line);
}
.ee8-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 34px;
  align-items: start;
}
.ee8-editorial h2, .ee8-by-category h2, .ee8-tool-home h2 {
  margin: 0 0 18px;
  font-family: var(--ee8-font-heading);
  color: var(--ee8-color-oracle);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.ee8-editorial p { color: #253143; font-size: 1.05rem; }
.ee8-editorial-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ee8-color-line);
  border-radius: 8px;
  box-shadow: var(--ee8-shadow-card);
}
.ee8-editorial-card h3, .ee8-editorial-teasers h3 {
  margin: 0 0 10px;
  font-family: var(--ee8-font-heading);
  color: var(--ee8-color-accent);
  letter-spacing: 0;
}
.ee8-editorial-card a, .ee8-inline-link {
  color: var(--ee8-color-primary);
  font-weight: 800;
  text-decoration: underline;
}
.ee8-editorial-teasers {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ee8-editorial-teasers article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ee8-color-line);
  border-radius: 8px;
}
.ee8-by-category { background: #fff; }
.ee8-category-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--ee8-color-line);
}
.ee8-category-row:first-of-type { border-top: 0; }
.ee8-category-row-media {
  display: block;
  min-height: 175px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3e8ef;
}
.ee8-category-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 175px;
  object-fit: cover;
}
.ee8-category-row h3 {
  margin: 0 0 16px;
  font-family: var(--ee8-font-heading);
  font-size: 2rem;
  letter-spacing: 0;
}
.ee8-category-row h3 a { color: var(--ee8-color-oracle); text-decoration: none; }
.ee8-mini-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ee8-mini-post {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--ee8-color-line);
  border-radius: 8px;
  background: #fff;
}
.ee8-mini-thumb {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 6px;
  background: #f3f4f6;
}
.ee8-mini-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ee8-mini-post h4 { margin: 0 0 6px; font-size: .98rem; line-height: 1.25; }
.ee8-mini-post h4 a { color: #111827; text-decoration: none; }
.ee8-mini-post time { color: #667085; font-size: .86rem; }
.ee8-empty-row { color: var(--ee8-color-text-soft); }
.ee8-tool-home {
  background: #4A1A50;
  color: #fff;
}
.ee8-tool-home .ee8-section-kicker, .ee8-tool-home h2 { color: #F5C342; }
.ee8-tool-intro { max-width: 760px; color: #fff7df; }
.ee8-tool-size-converter {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  color: #111827;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
}
.ee8-tool-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ee8-tool-controls label {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 800;
}
.ee8-tool-controls select {
  min-height: 46px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
}
.ee8-tool-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #fff4c7;
  color: #4A1A50;
  font-weight: 900;
}
.ee8-footer {
  background: #0c111d;
  color: #f9fafb;
  padding: 56px 0 24px;
}
.ee8-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr .9fr;
  gap: 32px;
}
.ee8-footer-logo { max-width: 120px; width: auto; }
.ee8-footer-title {
  margin: 0 0 14px;
  font-family: var(--ee8-font-heading);
  color: #F5C342;
  letter-spacing: 0;
}
.ee8-footer-brand-pitch, .ee8-footer p { color: #eef2f6; }
.ee8-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ee8-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ee8-footer-brand-cta {
  display: inline-flex;
  margin-top: 10px;
  color: #F5C342 !important;
  font-weight: 800;
}
.ee8-footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #eef2f6;
}
.ee8-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
}
.ee8-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.ee8-cat-hero .ee8-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.ee8-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
@media (min-width: 1024px) {
  .ee8-nav-desktop { display: flex; flex: 1; justify-content: flex-end; }
  .ee8-burger, .ee8-burger-wrap { display: none !important; }
  .ee8-drawer-cta { display: none !important; }
}
@media (max-width: 1023px) {
  .ee8-header-inner { min-height: 66px; justify-content: space-between; }
  .ee8-brand-name { font-size: 1.1rem; }
  .ee8-header-cta-desktop, [class*="-header"] [class*="-btn--cta"]:not([class*="-drawer-"]) { display: none !important; }
  .ee8-header-cta-wrap, .ee8-header-actions, .ee8-burger-wrap,
  .ee8-header > div:has(> .ee8-burger),
  .ee8-header [class*="cta"], .ee8-header [class*="actions"] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .ee8-burger {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    background: rgba(255,255,255,0.92) !important;
    border: 1.5px solid rgba(0,0,0,0.18) !important;
    color: #1a1a1a !important;
    position: relative !important;
  }
  .ee8-burger-bars, .ee8-burger > span {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 24px !important;
    height: 16px !important;
  }
  .ee8-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .ee8-editorial-grid, .ee8-footer-inner { grid-template-columns: 1fr; }
  .ee8-editorial-teasers, .ee8-mini-posts { grid-template-columns: 1fr; }
  .ee8-category-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ee8-container, .ee8-footer-inner, .ee8-footer-bottom, .ee8-header-inner, .ee8-hero-inner { width: min(100% - 28px, 1180px); }
  .ee8-hero-inner { padding: 24px; margin-bottom: 24px; }
  .ee8-section { padding: 52px 0; }
  .ee8-tool-controls { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .ee8-btn:hover { transform: none; }
}
@keyframes ee8-reading-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes ee8-oracle-slide {
  0% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.ee8-card, .ee8-editorial-card, .ee8-category-row { animation: ee8-oracle-slide .45s ease both; }


/* Site overrides */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body, body, body [class*="ee8-main"], body #content {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 360px !important;
  object-fit: cover !important; z-index: 0 !important;
  border: none !important;
}
body [class*="cat-hero"]::before, body [class*="cat-hero"]::after {
  content: none !important; display: none !important;
}
/* Overlay : absolute par-dessus l'image, juste pour le gradient sombre */
body [class*="cat-hero-overlay"], body [class*="cat-hero"] > [class*="overlay"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  max-width: none !important;
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%) !important;
  pointer-events: none !important;
  border: none !important;
}
/* Container / inner du titre : centré au-dessus de l'overlay (z-index 2) */
body [class*="cat-hero"] > [class*="container"],
body [class*="cat-hero"] > [class*="cat-hero-inner"],
body [class*="cat-hero"] > [class*="hero-inner"]:not([class*="overlay"]),
body [class*="cat-hero"] > div:not([class*="overlay"]):not([class*="-bg"]) {
  position: relative !important; z-index: 2 !important;
  text-align: center !important;
  max-width: 900px !important; margin: 0 auto !important;
  padding: 1.5rem 2rem !important;
  border: none !important; background: transparent !important;
}
body [class*="cat-hero"] h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  text-align: center !important;
  margin: 0 !important; font-weight: 800 !important;
  text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important;
  border: none !important; display: block !important;
}
body [class*="cat-hero"] [class*="breadcrumb"],
body [class*="cat-hero"] nav[aria-label*="riane"],
body [class*="cat-hero"] nav[aria-label*="readcrumb"] {
  display: none !important;
}



body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
  max-width: 280px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
}
@media (min-width: 768px) {
  body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
    max-width: 320px !important;
  }
}


@media (max-width: 1023px) {
  /* FIX width:auto -> ne plus l'imposer (laisse child theme définir width).
     Sinon écrase le child et le burger devient 0 de large -> invisible. */
  body [class*="burger"], body button[class*="burger"] {
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 100 !important;
  }
}
@media (min-width: 1024px) {
  body [class*="burger"], body button[class*="burger"] {
    display: none !important;
  }
}



body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}


body footer ul li a, body footer ol li a,
body [class*="footer"] ul li a:not([class*="btn"]):not([class*="cta"]),
body footer [class*="link"]:not([class*="brand"]):not([class*="btn"]) {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  opacity: 0.85 !important;
  transition: opacity .2s ease !important;
}
body footer ul li a:hover, body footer ol li a:hover,
body [class*="footer"] ul li a:hover {
  opacity: 1 !important;
  text-decoration-thickness: 2px !important;
}


body [class*="burger"] {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer !important;
  padding: 8px;
  color: inherit;
  transition: background .2s ease, border-color .2s ease !important;
}
body [class*="burger"]:hover, body [class*="burger"]:focus-visible {
  background: rgba(0,0,0,0.06);
  border-color: var(--ee8-accent, currentColor);
}
/* Container des 3 barres (peut s'appeler "bars", "lines", etc.) */
body [class*="burger"] > [class*="bar"],
body [class*="burger"] > [class*="line"],
body [class*="burger"] > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 16px;
  gap: 0;
}
/* Les 3 barres elles-mêmes */
body [class*="burger"] [class*="bar"] > span,
body [class*="burger"] [class*="line"] > span,
body [class*="burger"] > span > span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  margin: 2px 0;
  transition: transform .25s ease, opacity .25s ease !important;
}
/* Etat ouvert : transforme en X */
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(2) {
  opacity: 0 !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}

@media (max-width: 1023px) {
  body header [class*="cta-wrap"]:has([class*="burger"]),
  body header > div:has([class*="burger"]),
  body [class*="header"] [class*="-wrap"]:has([class*="burger"]),
  body [class*="header-inner"] > div:has([class*="burger"]) {
    display: flex;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* Mobile : 1 SEUL CTA visible (dans le burger).
   Sur mobile le CTA original du header est masque ; sur desktop le clone est hidden. */
@media (max-width: 1023px) {
  body [class*="header-cta"] [class*="btn--cta"],
  body [class*="header__cta"] [class*="btn--cta"],
  body [class*="header-cta"] > [class*="cta"],
  body [class*="header__cta"] > a {
    display: none !important;
  }
}


/* ============================================================
   Section 'On parle de nous' (media press)
   Logos grayscale par defaut, couleur au hover.
   Grid responsive 2-6 colonnes, gap auto.
============================================================ */
.ee8-media-press {
  padding: 2.5rem 0;
  background: var(--ee8-bg-soft, var(--ee8-color-surface, #f9fafb));
  margin: 2rem 0;
}
.ee8-media-press > .ee8-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.ee8-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ee8-color-text-soft, var(--ee8-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.ee8-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.ee8-media-press-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 160px;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  opacity: .65;
  filter: grayscale(100%);
}
.ee8-media-press-item:hover,
.ee8-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.ee8-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .ee8-media-press { padding: 1.8rem 0; }
  .ee8-media-press-grid { gap: 1.4rem; }
  .ee8-media-press-item { max-width: 110px; min-height: 36px; }
  .ee8-media-press-item img { max-height: 36px; }
}


/* FIX gap header->hero (parent theme override) + media-press compact centre */
body main, body.home main, body.archive main, body.single main,
body, body, body main[class*="-main"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* MEDIA PRESS : layout horizontal compact CENTRE (titre + logos cote a cote au centre) */
.ee8-media-press section[class*="media-press"] {
  padding: 24px 0 !important;
  margin: 0 !important;
  background: #fafafa;
  border-block: 1px solid rgba(0,0,0,0.06);
}
.ee8-media-press .ee8-container,
section[class*="media-press"] [class*="container"] {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  text-align: center;
}
.ee8-media-press-title,
section[class*="media-press"] [class*="title"] {
  margin: 0 !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ee8-muted, #666);
  flex: 0 0 auto;
}
.ee8-media-press-grid,
section[class*="media-press"] [class*="grid"] {
  display: flex !important;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  flex: 0 1 auto;
  justify-content: center;
}
.ee8-media-press-item,
section[class*="media-press"] [class*="item"] {
  display: inline-flex !important;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.ee8-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.ee8-media-press imgimg,
section[class*="media-press"] img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}
.ee8-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .ee8-media-press .ee8-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.ee8-cat-hero--align-left .ee8-cat-hero-inner
section[class*="cat-hero--align-left"] [class*="cat-hero-inner"] {
  text-align: left !important;
  align-items: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 24px;
}
.ee8-cat-hero--align-center .ee8-cat-hero-inner
section[class*="cat-hero--align-center"] [class*="cat-hero-inner"] {
  text-align: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}


@media (max-width: 1023.98px) {  [class*="-header-cta-wrap"],
  [class*="-header-actions"],
  [class*="-burger-wrap"],
  [class*="-header-right"],
  [class*="-header-actions-mobile"] {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    z-index: 9999;
    pointer-events: auto !important;
    cursor: pointer !important;
  }  [class*="-burger"] > span,
  [class*="-burger-bars"] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 24px !important;
    min-height: 16px !important;
  }  [class*="-burger-bars"] > *,
  [class*="-burger"] > span > * {
    display: block !important;
    min-width: 24px !important;
    min-height: 2px !important;
  }  [class*="-header-cta-desktop"] {
    display: none !important;
  }  [class*="-burger-label"] {
    display: none !important;
  }
}
@media (min-width: 1024px) {  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: none !important;
  }
}


/* Burger style */
@media (max-width: 1023.98px) {
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    width: 42px !important; height: 42px !important;
    border-radius: 4px !important; padding: 8px !important;
     
  }
  [class*="-burger"] > span, [class*="-burger-bars"] {
    gap: 5px !important; width: 24px !important; height: 16px !important;
    align-items: center !important;
  }
  [class*="-burger-bars"] > *, [class*="-burger"] > span > * {
    height: 2px !important; border-radius: 1px !important;
  }
  [class*="-burger-bars"] > *:nth-child(1), [class*="-burger"] > span > *:nth-child(1) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(2), [class*="-burger"] > span > *:nth-child(2) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !important; }
}
