/* ============================================================
   Quartier Libre — main.css  v2
   Média militant de quartier. Noir, rouge, jaune accent.
   Presse populaire, typo forte, hiérarchie claire.
   ============================================================ */

/* ── 1. Tokens ──────────────────────────────────────────────── */
:root {
  /* Palette */
  --ql-ink:        #0f0f0f;        /* noir pur */
  --ql-ink-soft:   #1f1f1f;
  --ql-line:       #e5e3dc;
  --ql-paper:      #ffffff;        /* blanc pur en fond */
  --ql-paper-2:    #f7f5ee;        /* crème chaud, cartes & blocs */
  --ql-paper-3:    #efeadb;        /* crème plus foncé, accent chaleureux */
  --ql-muted:      #4a4a4a;        /* gris AA+ sur blanc */
  --ql-muted-2:    #6b6b6b;

  --ql-accent:       #e02810;      /* rouge militant, saturé */
  --ql-accent-dark:  #a51d08;
  --ql-accent-soft:  #ffe5df;

  --ql-yellow:       #ffcb05;      /* jaune surligneur (emphases) */
  --ql-yellow-dark:  #e6b000;

  --ql-ps-pink:      #e91e63;      /* rose PS — badges et tags liés au Parti Socialiste */
  --ql-ps-pink-dark: #c2185b;

  --ql-focus:        #2563eb;

  /* Typographie */
  --ql-font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ql-font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Mise en page */
  --ql-radius:     3px;
  --ql-radius-lg:  8px;
  --ql-container:  1240px;
  --ql-gap:        clamp(1rem, 2vw, 1.5rem);
  --ql-shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --ql-shadow-md:  0 6px 20px rgba(0,0,0,.08);
  --ql-t:          160ms ease;
}

/* ── 2. Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Permet aux blockquotes full-bleed (100vw) de ne pas générer de
     scroll horizontal parasite, tout en restant scrollable verticalement. */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--ql-font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ql-ink);
  overflow-x: clip;
  background: var(--ql-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a {
  color: var(--ql-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ql-t);
}
a:hover { color: var(--ql-accent); }
:focus-visible { outline: 2px solid var(--ql-focus); outline-offset: 2px; border-radius: 2px; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ql-ink);
}
h1 { font-size: clamp(2.25rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.ql-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ql-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ql-ink); color: #fff; padding: .75rem 1rem; z-index: 1000;
}
.ql-skip:focus { left: 0; }

/* ── 3. Container ───────────────────────────────────────────── */
.ql-container {
  width: 100%;
  max-width: var(--ql-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* ── 4. Top bar (date + baseline) ──────────────────────────── */
.ql-topbar {
  background: var(--ql-ink);
  color: #d8d4c8;
  font-size: .78rem;
  letter-spacing: .05em;
  border-bottom: 3px solid var(--ql-accent);
}
.ql-topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: .5rem 0;
  flex-wrap: wrap;
}
.ql-topbar__date {
  text-transform: uppercase; font-weight: 600;
  color: #e8e4d6;
}
.ql-topbar__tagline {
  font-family: var(--ql-font-serif); font-style: italic;
  font-size: .95rem; color: #fff;
}
.ql-topbar__tagline strong { color: var(--ql-yellow); font-style: normal; font-weight: 800; }
@media (max-width: 700px) {
  .ql-topbar__tagline { display: none; }
}

/* ── 5. Header ──────────────────────────────────────────────── */
.ql-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ql-paper);
  border-bottom: 1px solid var(--ql-line);
}
.ql-header__bar { padding: .9rem 0; }
.ql-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.ql-brand {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; flex: 0 0 auto;
}
.ql-brand__logo { max-height: 60px; width: auto; display: block; }
.ql-brand img { max-height: 60px; width: auto; display: block; }
.ql-brand__wordmark {
  font-family: var(--ql-font-serif); font-weight: 900;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em; color: var(--ql-ink);
  line-height: 1; white-space: nowrap;
}

/* Navigation */
.ql-nav { display: flex; align-items: center; gap: 1.5rem; }
.ql-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.25rem; align-items: center;
  flex-wrap: nowrap;
}
.ql-nav__list > li { position: relative; white-space: nowrap; }
.ql-nav__list a {
  text-decoration: none;
  font-weight: 700; font-size: .88rem;
  color: var(--ql-ink); padding: .6rem 0;
  text-transform: uppercase; letter-spacing: .03em;
  position: relative;
  transition: color var(--ql-t);
  white-space: nowrap;
}

/* Cache les items de compte utilisateur dans le menu principal
   (Mon Profil / Log Out / Log In / S'inscrire / Compte) */
.ql-nav__list > li:has(> a[href*="wp-login.php"]),
.ql-nav__list > li:has(> a[href*="/wp-login"]),
.ql-nav__list > li:has(> a[href*="register"]),
.ql-nav__list > li:has(> a[href*="logout"]),
.ql-nav__list > li:has(> a[href*="/mon-profil"]),
.ql-nav__list > li:has(> a[href*="/mon-compte"]),
.ql-nav__list > li:has(> a[href*="/profil"]),
.ql-nav__list > li:has(> a[href*="/my-account"]),
.ql-nav__list > li:has(> a[href*="/connexion"]),
.ql-nav__list > li:has(> a[href*="/inscription"]),
.ql-nav__list > li:has(> a[href*="s-inscrire"]),
.ql-nav__list > li:has(> a[href*="action=logout"]) {
  display: none !important;
}
/* Idem pour le footer */
.ql-footer__list li:has(> a[href*="wp-login.php"]),
.ql-footer__list li:has(> a[href*="register"]),
.ql-footer__list li:has(> a[href*="logout"]),
.ql-footer__list li:has(> a[href*="/mon-profil"]),
.ql-footer__list li:has(> a[href*="/mon-compte"]) {
  display: none !important;
}
.ql-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--ql-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--ql-t);
}
.ql-nav__list a:hover { color: var(--ql-accent); }
.ql-nav__list a:hover::after,
.ql-nav__list .current-menu-item > a::after,
.ql-nav__list .current_page_item > a::after { transform: scaleX(1); }
.ql-nav__list .current-menu-item > a,
.ql-nav__list .current_page_item > a { color: var(--ql-accent); }

/* ── Sous-menus (dropdown hover) ─────────────────────────── */
.ql-nav__list .sub-menu {
  list-style: none; margin: 0; padding: .5rem 0;
  position: absolute; top: 100%; left: -.8rem;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--ql-line);
  border-top: 3px solid var(--ql-accent);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.ql-nav__list > li.menu-item-has-children:hover > .sub-menu,
.ql-nav__list > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ql-nav__list .sub-menu li { white-space: nowrap; border: 0; }
.ql-nav__list .sub-menu a {
  display: block;
  padding: .55rem 1rem;
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ql-ink);
}
.ql-nav__list .sub-menu a::after { display: none; }
.ql-nav__list .sub-menu a:hover {
  background: var(--ql-paper-2);
  color: var(--ql-accent);
}
/* Indicateur ▾ après les parents qui ont des enfants */
.ql-nav__list > li.menu-item-has-children > a::before {
  content: "";
}
.ql-nav__list > li.menu-item-has-children > a {
  padding-right: .9rem;
  position: relative;
}
.ql-nav__list > li.menu-item-has-children > a::after {
  content: "";
}
.ql-nav__list > li.menu-item-has-children > a {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 1rem;
}

.ql-nav__actions { display: flex; align-items: center; gap: .7rem; }

.ql-search-toggle {
  background: transparent; border: 1px solid var(--ql-line);
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ql-ink); transition: all var(--ql-t);
}
.ql-search-toggle:hover { border-color: var(--ql-ink); background: var(--ql-ink); color: #fff; }

/* Boutons */
.ql-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.25rem; border-radius: var(--ql-radius);
  font-weight: 700; font-size: .88rem;
  text-decoration: none; border: 2px solid transparent;
  text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--ql-t);
  line-height: 1;
}
.ql-btn--accent { background: var(--ql-accent); color: #fff; border-color: var(--ql-accent); }
.ql-btn--accent:hover { background: var(--ql-accent-dark); border-color: var(--ql-accent-dark); color: #fff; transform: translateY(-1px); }
.ql-btn--ghost { background: transparent; color: var(--ql-ink); border-color: var(--ql-ink); }
.ql-btn--ghost:hover { background: var(--ql-ink); color: #fff; }
.ql-btn--lg { padding: 1rem 1.75rem; font-size: .95rem; }
.ql-btn--xl { padding: 1.1rem 2.2rem; font-size: 1rem; }

/* Burger mobile */
.ql-burger {
  display: none; background: transparent; border: 0; padding: .5rem;
  width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.ql-burger span { display: block; width: 24px; height: 2px; background: var(--ql-ink); transition: all var(--ql-t); }
.ql-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ql-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ql-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search panel */
.ql-search-panel {
  border-top: 1px solid var(--ql-line);
  background: var(--ql-paper-2); padding: 1rem 0;
}
.ql-search-panel[hidden] { display: none; }
.ql-search-panel .search-form { display: flex; gap: .5rem; }
.ql-search-panel input[type="search"] {
  flex: 1; padding: .85rem 1rem; border: 1px solid var(--ql-line); border-radius: var(--ql-radius);
  font: inherit; background: #fff;
}

@media (max-width: 999px) {
  .ql-burger { display: inline-flex; order: 3; }
  .ql-brand__tag { display: none; }
  .ql-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ql-paper); border-bottom: 1px solid var(--ql-line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem; max-height: 0; overflow: hidden;
    transition: max-height var(--ql-t);
    box-shadow: var(--ql-shadow-md);
  }
  .ql-nav.is-open { max-height: 85vh; overflow: auto; }
  .ql-nav__list { flex-direction: column; gap: 0; }
  .ql-nav__list li { border-bottom: 1px solid var(--ql-line); }
  .ql-nav__list a { display: block; padding: 1rem 0; }
  .ql-nav__list a::after { display: none; }
  .ql-nav__actions { padding-top: 1rem; justify-content: space-between; }

  /* Sous-menus en mobile : affichés en accordéon (indentés, toujours visibles) */
  .ql-nav__list .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: var(--ql-paper-2);
    border: 0;
    padding: .3rem 0 .6rem 1rem;
    box-shadow: none;
    min-width: 0;
  }
  .ql-nav__list .sub-menu li { border: 0; }
  .ql-nav__list .sub-menu a {
    padding: .5rem 0;
    font-size: .82rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .ql-nav__list > li.menu-item-has-children > a {
    background-image: none;
    padding-right: 0;
  }
}

/* ── 6. Marquee EN DIRECT ───────────────────────────────────── */
.ql-marquee {
  display: flex; align-items: stretch;
  background: var(--ql-ink); color: #fff;
  overflow: hidden; font-size: .88rem;
}
.ql-marquee__label {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ql-accent); color: #fff;
  font-weight: 800; letter-spacing: .1em; font-size: .72rem;
  padding: .6rem 1.5rem .6rem 1rem;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  z-index: 2;
}
.ql-marquee__pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: ql-pulse 1.4s ease-in-out infinite;
}
@keyframes ql-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.7); }
}
.ql-marquee__track-wrap {
  flex: 1 1 auto; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ql-marquee__track {
  display: inline-flex; align-items: center; gap: 2.5rem;
  padding: .6rem 1rem;
  white-space: nowrap;
  animation: ql-marquee 55s linear infinite;
  will-change: transform;
}
.ql-marquee__track:hover { animation-play-state: paused; }
@keyframes ql-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ql-marquee__item { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; }
.ql-marquee__item:hover { color: var(--ql-yellow); }
.ql-marquee__date { color: #a9a595; font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ql-marquee__sep  { color: var(--ql-accent); }
.ql-marquee__title { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .ql-marquee__track { animation: none; }
  .ql-marquee__track-wrap { overflow-x: auto; }
}
@media (max-width: 600px) { .ql-marquee__track { animation-duration: 35s; } }

/* ── 7. Main ────────────────────────────────────────────────── */
.ql-main { padding: 2rem 0 4rem; min-height: 60vh; }

/* ── 7a. Header « À la une » — alias de ql-section__head ─── */
/* Conservé pour compat si le template n'a pas encore été re-synchronisé,
   pointe vers le style unifié défini plus bas. */
.ql-une-header { /* désormais identique à .ql-section__head */ }

/* ── 7b. Hero Carousel (style Contre-Attaque) ───────────────── */
.ql-carousel {
  position: relative;
  width: 100%;
  background: var(--ql-ink);
  margin-bottom: 3rem;
  border-radius: var(--ql-radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.ql-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ql-carousel__track::-webkit-scrollbar { display: none; }
.ql-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  height: clamp(300px, 40vw, 460px);
  overflow: hidden;
  background: var(--ql-ink);
}
/* Fond flou de la même image pour remplir l'espace sans cropper */
.ql-carousel__slide::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(28px) brightness(0.5) saturate(1.2);
  transform: scale(1.15);  /* cache les bords flous */
  z-index: 0;
}
/* Image principale : centrée, taille naturelle, pas de crop */
.ql-carousel__img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 1;
}
.ql-carousel__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(15,15,15,.92) 0%,
    rgba(15,15,15,.55) 40%,
    rgba(15,15,15,.15) 70%,
    rgba(15,15,15,0) 100%);
  z-index: 2;
}
.ql-carousel__link {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  z-index: 3;
  text-decoration: none;
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.ql-carousel__body {
  max-width: 900px;
  width: 100%;
}
.ql-carousel__cat {
  display: inline-block;
  background: var(--ql-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .4rem .85rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.ql-carousel__title {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 .75rem;
  letter-spacing: -0.015em;
  max-width: 28ch;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.ql-carousel__link:hover .ql-carousel__title { color: var(--ql-yellow); }
.ql-carousel__meta {
  font-size: .88rem;
  color: #d8d4c8;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  font-weight: 500;
}

/* Boutons de nav prev/next */
.ql-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.9);
  color: var(--ql-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ql-t), transform var(--ql-t);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.ql-carousel__nav:hover { background: var(--ql-accent); color: #fff; transform: translateY(-50%) scale(1.05); }
.ql-carousel__nav--prev { left: 1rem; }
.ql-carousel__nav--next { right: 1rem; }
@media (max-width: 700px) {
  .ql-carousel__nav { width: 40px; height: 40px; }
  .ql-carousel__nav--prev { left: .5rem; }
  .ql-carousel__nav--next { right: .5rem; }
}

/* Dots pagination */
.ql-carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: .5rem;
  padding: .35rem .75rem;
  background: rgba(15,15,15,.5);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ql-carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  transition: all var(--ql-t);
}
.ql-carousel__dot:hover { background: rgba(255,255,255,.7); }
.ql-carousel__dot.is-active {
  background: var(--ql-accent);
  width: 26px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  .ql-carousel__track { scroll-behavior: auto; }
}

/* ── 8. Hero (1 + 4) ────────────────────────────────────────── */
.ql-hero {
  display: grid; gap: var(--ql-gap);
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 900px) { .ql-hero { grid-template-columns: 1.55fr 1fr; } }

.ql-hero__main {
  position: relative;
  background: var(--ql-ink); color: #fff;
  border-radius: var(--ql-radius-lg); overflow: hidden;
  min-height: 420px;
  display: flex; align-items: flex-end;
}
.ql-hero__main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .6;
}
.ql-hero__main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,.2) 0%, rgba(15,15,15,.85) 80%);
}
.ql-hero__main-body { position: relative; z-index: 2; padding: clamp(1.5rem, 3vw, 2.5rem); max-width: 42rem; }
.ql-hero__main-link { text-decoration: none; }
.ql-hero__main-link h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: .5em;
}
.ql-hero__main-link:hover h2 { color: var(--ql-yellow); }
.ql-hero__main-excerpt { color: #eadfd5; font-size: 1.05rem; max-width: 56ch; }
.ql-hero__main-meta { color: #b8b0a5; font-size: .85rem; display: flex; gap: .5rem; }

.ql-hero__side { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 700px) and (max-width: 899px) { .ql-hero__side { grid-template-columns: 1fr 1fr; } }

.ql-hero__vignette {
  display: grid; grid-template-columns: 110px 1fr; gap: .8rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ql-line);
}
.ql-hero__vignette:last-child { border-bottom: 0; padding-bottom: 0; }
.ql-hero__vignette-media {
  display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--ql-radius); background: var(--ql-paper-2);
}
.ql-hero__vignette-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ql-t); }
.ql-hero__vignette-media:hover img { transform: scale(1.05); }
.ql-hero__vignette-cat {
  display: inline-block; text-decoration: none;
  font-size: .7rem; font-weight: 800;
  color: var(--ql-accent); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .25rem;
}
.ql-hero__vignette-cat:hover { color: var(--ql-accent-dark); }
.ql-hero__vignette-title {
  font-family: var(--ql-font-serif); font-size: 1.05rem; line-height: 1.22;
  margin: 0; font-weight: 800;
}
.ql-hero__vignette-title a { text-decoration: none; color: var(--ql-ink); }
.ql-hero__vignette-title a:hover { color: var(--ql-accent); }

/* ── 9. Cards article ───────────────────────────────────────── */
.ql-card { display: flex; flex-direction: column; gap: .6rem; }
.ql-card__media {
  position: relative; display: block; aspect-ratio: 16 / 10;
  background: var(--ql-paper-2);
  overflow: hidden; border-radius: var(--ql-radius);
}
.ql-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ql-t); }
.ql-card__media:hover img { transform: scale(1.04); }
.ql-card__cat {
  position: absolute; top: .65rem; left: .65rem;
  background: var(--ql-accent); color: #fff;
  font-weight: 800; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .35rem .6rem; border-radius: 2px;
  text-decoration: none;
}
.ql-card__cat:hover { background: var(--ql-ink); color: #fff; }
.ql-card__cat--static { position: static; display: inline-block; margin-bottom: .6rem; }

.ql-card__title {
  font-family: var(--ql-font-serif); font-weight: 900; line-height: 1.18;
  font-size: 1.3rem; margin: .2rem 0;
}
.ql-card__title a { text-decoration: none; color: var(--ql-ink); }
.ql-card__title a:hover { color: var(--ql-accent); }

.ql-card__meta {
  font-size: .8rem; color: var(--ql-muted);
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-weight: 500;
}
.ql-card__excerpt { font-size: .95rem; color: var(--ql-ink-soft); margin: 0; line-height: 1.5; }

.ql-card--compact { flex-direction: row; gap: 1rem; align-items: flex-start; }
.ql-card--compact .ql-card__media { flex: 0 0 40%; max-width: 180px; }
.ql-card--compact .ql-card__title { font-size: 1.05rem; }
.ql-card--compact .ql-card__excerpt { display: none; }

/* ── 10. Grilles & sections ────────────────────────────────── */
.ql-grid { display: grid; gap: var(--ql-gap); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .ql-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ql-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .ql-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .ql-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ql-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.ql-section { margin-block: 3.5rem; }

/* ── Header unifié « À la une » / sections de catégorie ───
   Titre centré serif 900 entouré d'étoiles ★ rouges, rails dégradés
   rouge→transparent de chaque côté. Un lien « Voir tous → » éventuel
   se positionne en absolu à droite sous le header. */
.ql-section__head,
.ql-une-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 1.8rem;
  padding: .5rem .5rem 0;
  position: relative;
  border: 0;
}
.ql-section__head::before,
.ql-section__head::after,
.ql-une-header::before,
.ql-une-header::after {
  content: "";
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--ql-accent) 100%);
}
.ql-section__head::after,
.ql-une-header::after {
  background: linear-gradient(90deg, var(--ql-accent) 0%, transparent 100%);
}

.ql-section__title,
.ql-une-header__title {
  flex: 0 0 auto;
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ql-ink);
  margin: 0;
  white-space: nowrap;
  text-align: center;
}
.ql-section__title::before,
.ql-section__title::after,
.ql-une-header__title::before,
.ql-une-header__title::after {
  content: "★";
  color: var(--ql-accent);
  font-size: .65em;
  margin: 0 .45em;
  vertical-align: .15em;
}

.ql-section__link {
  position: absolute;
  right: .5rem;
  top: calc(100% + .5rem);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ql-muted);
  text-decoration: none;
  padding: .3rem .7rem;
  border: 1px solid var(--ql-line);
  transition: all var(--ql-t);
}
.ql-section__link:hover {
  color: #fff;
  background: var(--ql-accent);
  border-color: var(--ql-accent);
}

/* Titre à ellipsis sur mobile pour éviter débordement */
@media (max-width: 520px) {
  .ql-section__title,
  .ql-une-header__title {
    font-size: 1.15rem;
    max-width: 65vw;
    white-space: normal;
    text-align: center;
  }
  .ql-section__title::before,
  .ql-section__title::after,
  .ql-une-header__title::before,
  .ql-une-header__title::after {
    margin: 0 .3em;
  }
}

/* ── 11. Dossiers ───────────────────────────────────────────── */
.ql-dossiers {
  display: grid; gap: var(--ql-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .ql-dossiers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ql-dossiers { grid-template-columns: repeat(4, 1fr); } }

.ql-dossier {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1.15;
  border-radius: var(--ql-radius-lg);
  background: var(--ql-ink); color: #fff; text-decoration: none;
  display: flex; align-items: flex-end;
  transition: transform var(--ql-t), box-shadow var(--ql-t);
}
.ql-dossier:hover { transform: translateY(-4px); color: #fff; box-shadow: var(--ql-shadow-md); }
.ql-dossier__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .55; transition: all var(--ql-t);
}
.ql-dossier:hover .ql-dossier__bg { opacity: .75; transform: scale(1.05); }
.ql-dossier::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,.92) 0%, rgba(15,15,15,0) 55%);
}
.ql-dossier__content { position: relative; z-index: 2; padding: 1.3rem; width: 100%; }
.ql-dossier__count {
  display: inline-block;
  background: var(--ql-yellow); color: var(--ql-ink);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em;
  padding: .25rem .6rem; border-radius: 2px; text-transform: uppercase;
  margin-bottom: .7rem;
}
.ql-dossier__title {
  font-family: var(--ql-font-serif); font-weight: 900;
  font-size: 1.45rem; line-height: 1.15;
  margin: 0 0 .4rem; color: #fff;
}
.ql-dossier__arrow {
  font-size: 1.5rem; font-weight: 700; color: var(--ql-accent);
  transition: transform var(--ql-t); display: inline-block;
}
.ql-dossier:hover .ql-dossier__arrow { transform: translateX(8px); color: var(--ql-yellow); }

/* ── 11b. Quartiers HLM ─────────────────────────────────────── */
.ql-quartiers__grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 500px) { .ql-quartiers__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .ql-quartiers__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px){ .ql-quartiers__grid { grid-template-columns: repeat(6, 1fr); } }

.ql-quartier {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--ql-radius);
  background: var(--ql-ink);
  color: #fff;
  text-decoration: none;
  display: flex; align-items: flex-end;
  transition: transform var(--ql-t), box-shadow var(--ql-t);
}
.ql-quartier:hover {
  transform: translateY(-3px);
  box-shadow: var(--ql-shadow-md);
  color: #fff;
}
.ql-quartier__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  transition: all var(--ql-t);
}
.ql-quartier:hover .ql-quartier__bg { opacity: .75; transform: scale(1.08); }
.ql-quartier::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,.92) 0%, rgba(15,15,15,.2) 60%);
}
.ql-quartier__content {
  position: relative; z-index: 2;
  padding: .85rem;
  width: 100%;
}
.ql-quartier__name {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.15;
  margin: 0 0 .25rem;
  color: #fff;
}
.ql-quartier__count {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ql-yellow);
}
.ql-quartier--empty { opacity: .6; }
.ql-quartier--empty .ql-quartier__count { color: rgba(255,255,255,.6); }

/* ── 12. Soutenir ──────────────────────────────────────────── */
.ql-soutenir {
  background: var(--ql-accent);
  color: #fff;
  border-radius: var(--ql-radius-lg);
  overflow: hidden;
  position: relative;
}
.ql-soutenir::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.1) 0, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(0,0,0,.1) 0, transparent 35%);
  pointer-events: none;
}
.ql-soutenir__inner {
  position: relative; z-index: 1;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
}
@media (min-width: 800px) { .ql-soutenir__inner { grid-template-columns: auto 1fr auto; } }
.ql-soutenir__icon { color: #fff; opacity: .9; display: none; }
@media (min-width: 800px) { .ql-soutenir__icon { display: block; } }
.ql-soutenir__kicker {
  display: inline-block; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--ql-yellow); color: var(--ql-ink);
  padding: .3rem .7rem; border-radius: 2px;
  margin-bottom: .9rem;
}
.ql-soutenir__title {
  font-family: var(--ql-font-serif); font-weight: 900; color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 .5rem;
  line-height: 1.1;
}
.ql-soutenir__blurb { font-size: 1.02rem; line-height: 1.55; opacity: .95; max-width: 52ch; margin: 0; }
.ql-soutenir__cta { text-align: right; }
@media (max-width: 799px) { .ql-soutenir__cta { text-align: left; } }
.ql-soutenir .ql-btn--accent { background: var(--ql-yellow); color: var(--ql-ink); border-color: var(--ql-yellow); }
.ql-soutenir .ql-btn--accent:hover { background: var(--ql-ink); color: #fff; border-color: var(--ql-ink); }
.ql-soutenir .ql-muted { color: rgba(255,255,255,.8) !important; }


/* ═══════════════════════════════════════════════════════════════
   13. POST (article) v3 — architecture propre, anti-parasites
   ═══════════════════════════════════════════════════════════════ */

.ql-post {
  background: var(--ql-paper);
  position: relative;
  isolation: isolate;
}
.ql-post > * { box-sizing: border-box; }

/* ─── Banner image : proportionnelle, centrée, max 400px
      Placée ENTRE le titre et le chapô dans le header ─── */
.ql-post__banner {
  width: 100% !important;
  background: transparent !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 1.5rem auto !important;
  /* PAS de hauteur fixe → container s'adapte à l'image */
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: block !important;
  position: relative !important;
}
.ql-post__banner-img {
  display: block !important;
  /* Image à sa taille naturelle, centrée, max 400px de haut */
  margin: 0 auto !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 400px !important;
  object-fit: contain !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--ql-radius) !important;
}
.ql-post__banner-caption {
  max-width: 820px; margin: 0 auto;
  padding: .75rem 1rem;
  font-size: .82rem; color: var(--ql-muted);
  font-style: italic; text-align: center;
}

/* ─── Header (titre + meta) ─── */
.ql-post__header {
  background: var(--ql-paper);
  padding: clamp(2rem, 4vw, 3.5rem) 1rem 1.5rem;
  border-bottom: 2px solid var(--ql-line);
}
.ql-post__header-inner {
  max-width: 820px; margin: 0 auto;
  text-align: center;
}
.ql-post__cat {
  display: inline-block;
  background: var(--ql-accent); color: #fff;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 2px;
  text-decoration: none; margin-bottom: 1.25rem;
}
.ql-post__cat:hover { background: var(--ql-ink); color: #fff; }
.ql-post__title {
  font-family: var(--ql-font-serif);
  font-weight: 900; line-height: 1.1;
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 auto 1rem;
  color: var(--ql-ink);
  text-align: center;
  max-width: 900px;
  position: relative;
  padding: 1.5rem 0;
}
/* Décoration style « À la une » : rail + étoile ★ au-dessus et en dessous */
.ql-post__title::before,
.ql-post__title::after {
  content: "";
  display: block;
  width: 60%;
  max-width: 380px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--ql-accent) 25%, var(--ql-accent) 75%, transparent 100%);
  margin: 0 auto;
  position: relative;
}
.ql-post__title::before { margin-bottom: 1.3rem; }
.ql-post__title::after  { margin-top: 1.3rem; }
/* Étoiles ★ superposées sur les rails */
.ql-post__header-inner .ql-post__title {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><text x='10' y='16' text-anchor='middle' font-size='16' fill='%23e02810' font-family='serif' font-weight='900'>★</text></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><text x='10' y='16' text-anchor='middle' font-size='16' fill='%23e02810' font-family='serif' font-weight='900'>★</text></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center bottom;
  background-size: 20px 20px, 20px 20px;
}
.ql-post__lede {
  font-family: var(--ql-font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--ql-ink-soft);
  max-width: 58ch; margin: 0 auto 1.5rem;
}
.ql-post__meta {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem; align-items: center;
  font-size: .88rem; color: var(--ql-muted); font-weight: 500;
}
.ql-post__meta a { color: var(--ql-ink); text-decoration: none; font-weight: 700; }
.ql-post__meta a:hover { color: var(--ql-accent); }
.ql-post__dot { color: var(--ql-accent); font-weight: 800; }

/* ─── Corps ─── */
.ql-post__body {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.ql-post__content {
  color: var(--ql-ink);
  font-size: 1.15rem;
  line-height: 1.78;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  position: relative;
  z-index: 1;
}

/* ═══ NUCLEAR RESET : casse tout CSS hérité (Gutenberg, vieux thème, plugins) ═══ */

/* Nouveau stacking context isolé — sans 'contain' qui bloquait
   les breakouts pleine largeur des blockquotes. */
.ql-post__content {
  isolation: isolate;
}

/* Tue tout positionnement/transform/float sur tous les descendants
   — SAUF blockquotes (témoignages pleine largeur, besoin de relative). */
.ql-post__content *:not(blockquote):not(blockquote *) {
  position: static !important;
  transform: none !important;
  clip-path: none !important;
  inset: auto !important;
  top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
  z-index: auto !important;
  box-shadow: none !important;
  filter: none !important;
  float: none !important;
}
.ql-post__content *:not(blockquote):not(blockquote *)::before,
.ql-post__content *:not(blockquote):not(blockquote *)::after {
  position: static !important;
  clip-path: none !important;
  transform: none !important;
}

/* OVERRIDE TOTAL DES TITRES : strip tout style hérité (background, margin, text-align) */
.ql-post__content h1,
.ql-post__content h2,
.ql-post__content h3,
.ql-post__content h4,
.ql-post__content h5,
.ql-post__content h6,
.ql-post__content .wp-block-heading {
  display: block !important;
  clear: both !important;
  margin: 2em 0 .6em !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center !important;
  text-indent: 0 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
  color: var(--ql-ink) !important;
  font-family: var(--ql-font-serif) !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: var(--ql-ink) !important;
  width: auto !important;
  max-width: 100% !important;
}
.ql-post__content h2,
.ql-post__content .wp-block-heading[id*="h2"] { font-size: 1.7rem !important; }
.ql-post__content h3 { font-size: 1.35rem !important; }
.ql-post__content h4 { font-size: 1.15rem !important; }

/* OVERRIDE PARAGRAPHES : flux normal, aucune surprise —
   sauf les <p> dans les blockquotes (témoignages, texte blanc centré). */
.ql-post__content p:not(blockquote p) {
  display: block !important;
  clear: none !important;
  margin: 0 0 1.25em !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--ql-ink) !important;
  font-size: 1.15rem !important;
  line-height: 1.78 !important;
  font-weight: 400 !important;
  text-align: left !important;
  text-indent: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Tous les enfants directs : flux normal forcé — SAUF blockquote
   (témoignages full-bleed avec margins négatifs -50vw). */
.ql-post__content > *:not(blockquote) {
  display: block !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  clear: both !important;
}

/* Exceptions : floats légitimes pour alignleft/alignright (après nuclear reset) */
.ql-post__content .alignleft,
.ql-post__content .wp-block-image.alignleft { float: left !important; }
.ql-post__content .alignright,
.ql-post__content .wp-block-image.alignright { float: right !important; }
.ql-post__content > * {
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 1.25em;
  clear: both;
}
.ql-post__content > *:last-child { margin-bottom: 0; }

.ql-post__content p { margin: 0 0 1.25em; font-weight: 400; }
.ql-post__content p:last-child { margin-bottom: 0; }

/* ── Premier paragraphe : drop cap + plus grand ───────────── */
.ql-post__content > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ql-ink);
}
.ql-post__content > p:first-of-type::first-letter {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: 4.2em;
  line-height: .88;
  float: left;
  padding: .1em .12em 0 0;
  color: var(--ql-accent);
  margin-bottom: -.1em;
}

/* ── Titres de section : H2 avec filet rouge, H3 avec pastille ── */
.ql-post__content h2, .ql-post__content h3, .ql-post__content h4 {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  line-height: 1.18;
  margin: 2.2em 0 .8em;
  color: var(--ql-ink);
  position: relative;
}
.ql-post__content h2 {
  font-size: 1.85rem;
  padding-top: 2.5rem;
  margin-top: 3em;
  text-align: center;
}
/* Étoile rouge centrée au-dessus du H2, encadrée par deux rails
   dégradés — rôle de transition entre sections. */
.ql-post__content h2::before {
  content: "★";
  display: block;
  color: var(--ql-accent);
  font-size: 1.2rem;
  letter-spacing: .5em;
  margin-bottom: 1rem;
  position: static;
  background: none;
  width: auto; height: auto;
  text-align: center;
}
.ql-post__content h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--ql-accent) 50%, transparent 100%);
  margin: .7rem auto 0;
}
.ql-post__content h3 {
  font-size: 1.4rem;
  padding-left: 1rem;
  border-left: 4px solid var(--ql-accent);
}
.ql-post__content h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ql-accent);
  margin-bottom: .4em;
}

/* (Ancienne alternance de fond supprimée : remplacée par le séparateur
   ★ + rail rouge au-dessus de chaque H2 dans les règles précédentes.) */

/* ── Paragraphe "lead" ou statistique (marqué avec **gras** en début) ── */
.ql-post__content p strong {
  background: linear-gradient(transparent 65%, rgba(255,203,5,.55) 65%);
  padding: 0 .1em;
}

.ql-post__content a {
  color: var(--ql-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}
.ql-post__content a:hover { color: var(--ql-accent-dark); }

/* Distinction lien interne / externe dans les articles */
.ql-post__content a[target="_blank"],
.ql-post__content a.ql-external {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23e02810' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7'/><polyline points='7 7 17 7 17 17'/></svg>");
  background-repeat: no-repeat;
  background-position: right .15em center;
  padding-right: .85em;
}
.ql-post__content a[target="_blank"]:hover,
.ql-post__content a.ql-external:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a31b06' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7'/><polyline points='7 7 17 7 17 17'/></svg>");
}
/* Les liens internes (même domaine, pas de target) gardent leur style sobre */

.ql-post__content strong, .ql-post__content b { font-weight: 700; color: var(--ql-ink); }
.ql-post__content em, .ql-post__content i { font-style: italic; }

.ql-post__content ul, .ql-post__content ol {
  padding-left: 1.5em; margin: 0 0 1.25em;
}
.ql-post__content li { margin-bottom: .4em; }

/* Blockquote = témoignage pleine largeur viewport + fond fixe.
   Image neutre depuis assets/img/ (Unsplash libre, concrete urbain
   sombre, zéro texte) pour garantir la lisibilité du texte blanc
   superposé. Overlay dégradé 135° noir 90% → rouge 65%. */
.ql-post__content blockquote {
  /* Full-bleed : s'étendre jusqu'aux bords du viewport. La technique
     la plus fiable = position: relative + left/right négatifs à 50vw. */
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-top: 3.5em !important;
  margin-bottom: 3.5em !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding: 5rem clamp(1rem, 5vw, 4rem) !important;
  box-sizing: border-box !important;
  font-family: var(--ql-font-serif);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-style: italic;
  line-height: 1.55;
  color: #fff !important;
  text-align: center;
  background-color: #0f0f0f;
  /* --ql-bq-bg est injecté par wp_head par article (meta _ql_bq_bg ou
     featured_image raster). Fallback sur l'image partagée du thème. */
  background-image:
    linear-gradient(135deg, rgba(15,15,15,.90) 0%, rgba(224,40,16,.65) 100%),
    var(--ql-bq-bg, url("../img/blockquote-bg.jpg"));
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  border: 0 !important;
  border-radius: 0 !important;
  isolation: isolate;
  overflow: hidden;
}
.ql-post__content blockquote::before {
  content: "\201C";
  display: block;
  font-size: 6rem;
  line-height: .8;
  color: var(--ql-yellow);
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-style: normal;
  margin-bottom: .3em;
  text-align: center;
}
.ql-post__content blockquote p {
  max-width: 860px;
  margin: 0 auto 1em !important;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.ql-post__content blockquote p:last-child { margin-bottom: 0 !important; }
.ql-post__content blockquote strong {
  background: transparent !important;
  color: var(--ql-yellow) !important;
  padding: 0;
}
.ql-post__content blockquote a { color: var(--ql-yellow) !important; }

/* Mobile : background-attachment:fixed cassé sur iOS → scroll normal.
   Padding réduit pour éviter hauteur excessive sur petits écrans. */
@media (max-width: 768px) {
  .ql-post__content blockquote {
    padding: 3rem 1.2rem;
    background-attachment: scroll, scroll;
  }
  .ql-post__content blockquote::before { font-size: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ql-post__content blockquote { background-attachment: scroll, scroll; }
}

/* ── Listes : puces rouges stylées ───────────────────────── */
.ql-post__content ul {
  padding-left: 0;
  list-style: none;
}
.ql-post__content ul li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: .55em;
}
.ql-post__content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .65em; height: 3px;
  background: var(--ql-accent);
}
.ql-post__content ol {
  padding-left: 1.3em;
  counter-reset: ql-list;
  list-style: none;
}
.ql-post__content ol li {
  counter-increment: ql-list;
  position: relative;
  padding-left: 2em;
  margin-bottom: .55em;
}
.ql-post__content ol li::before {
  content: counter(ql-list);
  position: absolute;
  left: 0; top: 0;
  width: 1.5em; height: 1.5em;
  display: flex; align-items: center; justify-content: center;
  background: var(--ql-ink);
  color: #fff;
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: .85em;
  border-radius: 50%;
}

/* ── Séparateur horizontal (--- en Markdown) avec dégradé ── */
.ql-post__content hr {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--ql-accent) 50%, transparent 100%);
  margin: 3em auto;
  max-width: 200px;
}

/* Images : simple, safe, centré */
.ql-post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: var(--ql-radius);
}
.ql-post__content figure {
  margin: 1.75em 0;
  max-width: 100%;
}
.ql-post__content figure img { margin: 0; }
.ql-post__content figure figcaption,
.ql-post__content .wp-caption-text {
  font-size: .85rem; font-style: italic;
  color: var(--ql-muted);
  padding: .6rem .25rem 0;
  line-height: 1.5; text-align: center;
}

/* Gutenberg alignements — neutralisés (pas de breakout) */
.ql-post__content .alignleft,
.ql-post__content .wp-block-image.alignleft {
  float: left; max-width: 45%;
  margin: .3em 1.25em .5em 0;
}
.ql-post__content .alignright,
.ql-post__content .wp-block-image.alignright {
  float: right; max-width: 45%;
  margin: .3em 0 .5em 1.25em;
}
.ql-post__content .aligncenter,
.ql-post__content .wp-block-image.aligncenter {
  margin-left: auto; margin-right: auto; display: block;
}
.ql-post__content .alignwide,
.ql-post__content .alignfull,
.ql-post__content .wp-block-image.alignwide,
.ql-post__content .wp-block-image.alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: auto !important;
}

.ql-post__content .wp-block-image { margin: 1.75em 0; }
.ql-post__content .wp-block-quote {
  border-left: 4px solid var(--ql-accent);
  padding-left: 1.25rem;
  font-family: var(--ql-font-serif);
  font-style: italic; font-size: 1.15rem;
}
.ql-post__content .wp-block-pullquote {
  margin: 2.5em 0;
  padding: 1.5em 1em;
  border-top: 3px solid var(--ql-accent);
  border-bottom: 3px solid var(--ql-accent);
  text-align: center;
  font-family: var(--ql-font-serif);
  font-size: 1.4rem; font-weight: 700; font-style: italic;
  line-height: 1.3;
}
.ql-post__content .wp-block-pullquote cite {
  display: block; margin-top: .75rem;
  font-size: .82rem; font-style: normal; font-weight: 700;
  color: var(--ql-muted); letter-spacing: .04em; text-transform: uppercase;
}

/* ═══ ANTI-PARASITES radicaux ═══ */

/* 0. Masquer TOUS les widgets Kadence / Blockspare décoratifs
      (le cleaner PHP ne touche pas aux <div>, on masque en CSS) */
.ql-post__content [class*="wp-block-kadence-countdown"],
.ql-post__content [class*="wp-block-kadence-progressbar"],
.ql-post__content [class*="wp-block-kadence-form"],
.ql-post__content [class*="wp-block-kadence-spacer"],
.ql-post__content [class*="wp-block-kadence-googlemaps"],
.ql-post__content [class*="wp-block-kadence-lottie"],
.ql-post__content [class*="wp-block-kadence-iconlist"],
.ql-post__content [class*="wp-block-blockspare-shape-divider"],
.ql-post__content [class*="wp-block-blockspare-slider"],
.ql-post__content [class*="blockspare-shape"],
.ql-post__content [class*="shape-divider"],
.ql-post__content [class*="shape_divider"] {
  display: none !important;
}

/* Les rowlayout/section/column Kadence restent visibles mais sans background/padding agressif */
.ql-post__content .wp-block-kadence-rowlayout,
.ql-post__content .wp-block-kadence-column,
.ql-post__content .wp-block-kadence-section,
.ql-post__content [class*="wp-block-kadence-row"],
.ql-post__content [class*="wp-block-kadence-column"] {
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 1em 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 0 !important;
}

/* Kadence advancedheading : strip backgrounds/borders */
.ql-post__content [class*="wp-block-kadence-advancedheading"],
.ql-post__content [class*="kb-advanced-heading"] {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 2em 0 .6em !important;
  text-align: left !important;
  color: var(--ql-ink) !important;
  box-shadow: none !important;
}


/* 1. Tuer les vagues / shape dividers / SVG décoratifs embarqués dans le contenu */
.ql-post__content > svg,
.ql-post__content > figure > svg:only-child,
.ql-post__content .wp-block-separator,
.ql-post__content .wp-block-separator.is-style-wide,
.ql-post__content .wp-block-separator.is-style-dots,
.ql-post__content hr,
.ql-post__content .wp-block-group > svg:only-child,
.ql-post__content figure.wp-block-image > svg,
.ql-post__content .separator,
.ql-post__content [class*="shape-divider"],
.ql-post__content [class*="wave-divider"] {
  display: none !important;
}

/* 2. Forcer TOUTES les colonnes à stacker verticalement dans un article */
.ql-post__content .wp-block-columns,
.ql-post__content [class*="wp-container-core-columns"] {
  display: block !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 1.5em 0 !important;
  background: none !important;
  border: 0 !important;
}
.ql-post__content .wp-block-column,
.ql-post__content [class*="wp-block-column"] {
  width: 100% !important;
  flex: 1 1 100% !important;
  margin: 0 0 1.5em !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* 3. Cacher login/register/forms WP-login embarqués dans le contenu d'un article */
.ql-post__content #loginform,
.ql-post__content #registerform,
.ql-post__content .login,
.ql-post__content [class*="loginpress"],
.ql-post__content [id*="loginpress"],
.ql-post__content [class*="um-"],
.ql-post__content [class*="um_"],
.ql-post__content [id*="um-"],
.ql-post__content [id*="um_"],
.ql-post__content .login-form,
.ql-post__content .register-form,
.ql-post__content form[action*="wp-login"],
.ql-post__content form[action*="register"] {
  display: none !important;
}

/* 4. Masquer les colonnes entières qui contiennent uniquement un formulaire de login */
.ql-post__content .wp-block-column:has(> #loginform),
.ql-post__content .wp-block-column:has(> .login),
.ql-post__content .wp-block-column:has([class*="loginpress"]),
.ql-post__content .wp-block-column:has([class*="um-"]) {
  display: none !important;
}

/* 5. Groupes/Cover maîtrisés (pas de 100vw breakout, pas de clip-path) */
.ql-post__content .wp-block-cover,
.ql-post__content .wp-block-group {
  margin: 1.75em 0 !important;
  padding: 1.25em !important;
  max-width: 100% !important;
  width: auto !important;
  border-radius: var(--ql-radius-lg);
  overflow: hidden !important;
  clip-path: none !important;
  transform: none !important;
  box-shadow: none !important;
}
.ql-post__content .wp-block-cover { padding: 2em 1.5em !important; color: #fff; }
.ql-post__content .wp-block-cover__inner-container { max-width: 100%; }
.ql-post__content [class*="has-background"] { padding: 1em 1.25em; border-radius: var(--ql-radius); }

/* Embeds responsives */
.ql-post__content iframe,
.ql-post__content .wp-block-embed__wrapper,
.ql-post__content video {
  max-width: 100%; width: 100%; border: 0;
}
.ql-post__content .wp-block-embed { margin: 1.75em 0; }

/* Drop cap */
.ql-post__content > p:first-child::first-letter {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  float: left;
  font-size: 4.25rem;
  line-height: .85;
  padding: .08em .1em 0 0;
  color: var(--ql-accent);
}

.ql-post__content mark { background: var(--ql-yellow); padding: 0 .25em; color: var(--ql-ink); }
.ql-post__content::after { content: ""; display: block; clear: both; }

/* ─── Encart SOURCE externe ─── */
.ql-post__source {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  background: var(--ql-paper-2);
  border-left: 4px solid var(--ql-accent);
  border-radius: 0 var(--ql-radius) var(--ql-radius) 0;
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  align-items: baseline; font-size: .95rem;
}
.ql-post__source-label {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ql-accent);
  background: #fff; padding: .3rem .6rem; border-radius: 2px;
}
.ql-post__source a {
  color: var(--ql-ink); text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--ql-accent);
}
.ql-post__source a:hover { color: var(--ql-accent); }

/* ─── Tags ─── */
.ql-post__tags {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--ql-line);
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.ql-post__tags a {
  font-size: .8rem; background: var(--ql-paper-2); color: var(--ql-ink);
  padding: .35rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--ql-line);
}
.ql-post__tags a:hover { background: var(--ql-ink); color: #fff; border-color: var(--ql-ink); }

/* ─── Share ─── */
.ql-post__share {
  display: flex; gap: .5rem; align-items: center;
  margin-top: 1.75rem;
  font-size: .85rem; color: var(--ql-muted); font-weight: 600;
}
.ql-post__share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ql-ink); color: #fff; text-decoration: none;
  transition: all var(--ql-t);
}
.ql-post__share a:hover { background: var(--ql-accent); transform: translateY(-2px); }

/* ─── Auteur ─── */
.ql-post__author {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  margin-top: 2.5rem; padding: 1.5rem;
  background: var(--ql-paper-2);
  border-left: 4px solid var(--ql-accent);
  border-radius: 0 var(--ql-radius-lg) var(--ql-radius-lg) 0;
}
.ql-post__author-avatar img { border-radius: 50%; width: 72px; height: 72px; display: block; }
.ql-post__author-kicker {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--ql-muted); margin: 0;
}
.ql-post__author-name { font-family: var(--ql-font-serif); font-size: 1.3rem; margin: .15rem 0 .5rem; }
.ql-post__author-name a { text-decoration: none; color: var(--ql-ink); }
.ql-post__author-name a:hover { color: var(--ql-accent); }
.ql-post__author-bio { margin: 0; color: var(--ql-ink-soft); font-size: .95rem; line-height: 1.55; }
.ql-post__author-bio p { margin: 0 0 .5em; }
.ql-post__author-bio p:last-child { margin-bottom: 0; }

/* ─── À lire aussi ─── */
.ql-post__related {
  background: var(--ql-paper-2);
  padding: 3rem 0;
  margin-top: 2rem;
}

/* Reading progress */
.ql-reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 100; pointer-events: none;
}
.ql-reading-progress span {
  display: block; height: 100%; width: 0;
  background: var(--ql-accent); transition: width 60ms linear;
}
body:not(.ql-single) .ql-reading-progress { display: none; }

/* ── 14. Archives & catégorie ──────────────────────────────── */
.ql-archive-header {
  text-align: center; padding: 2.5rem 0 2rem;
  border-bottom: 3px solid var(--ql-ink);
  margin-bottom: 2.5rem;
  position: relative;
}
.ql-archive-header::after {
  content: ""; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background: var(--ql-accent);
}
.ql-archive-header__kicker {
  display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase;
  color: var(--ql-accent); letter-spacing: .12em; margin-bottom: .5rem;
}
.ql-archive-header h1 { margin: 0; }
.ql-archive-header__desc { color: var(--ql-muted); margin-top: .5rem; max-width: 62ch; margin-inline: auto; }

.ql-cat-header { text-align: center; padding: 2.5rem 0 2rem; border-bottom: 3px solid var(--ql-ink); margin-bottom: 2rem; position: relative; }
.ql-cat-header::after { content: ""; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--ql-accent); }
.ql-cat-header__title { font-size: clamp(2rem, 5.5vw, 3.5rem); margin: 0 0 .5rem; }
.ql-cat-header__desc { color: var(--ql-muted); max-width: 60ch; margin: 0 auto 1rem; font-size: 1.05rem; }
.ql-cat-header__count {
  display: inline-block; background: var(--ql-yellow);
  color: var(--ql-ink); font-size: .82rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 999px; margin: 0;
}

.ql-cat-featured {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
  margin-bottom: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ql-line);
}
@media (min-width: 800px) { .ql-cat-featured { grid-template-columns: 1.35fr 1fr; align-items: center; } }
.ql-cat-featured__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ql-radius-lg); background: var(--ql-paper-2); }
.ql-cat-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ql-t); }
.ql-cat-featured__media:hover img { transform: scale(1.03); }
.ql-cat-featured__body h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: .75rem 0 .75rem; }
.ql-cat-featured__body h2 a { text-decoration: none; color: var(--ql-ink); }
.ql-cat-featured__body h2 a:hover { color: var(--ql-accent); }
.ql-cat-featured__excerpt { font-size: 1.05rem; color: var(--ql-ink-soft); margin: 0 0 1rem; }

/* ── 15. Pagination ────────────────────────────────────────── */
.ql-pagination { margin: 3rem 0 1rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.ql-pagination a, .ql-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 .85rem;
  border-radius: var(--ql-radius);
  background: var(--ql-paper-2); color: var(--ql-ink);
  text-decoration: none; font-weight: 700;
  border: 1px solid var(--ql-line);
}
.ql-pagination .current { background: var(--ql-ink); color: #fff; border-color: var(--ql-ink); }
.ql-pagination a:hover { background: var(--ql-accent); color: #fff; border-color: var(--ql-accent); }

/* ── 16. Footer ────────────────────────────────────────────── */
.ql-footer {
  background: var(--ql-ink); color: #d8d4c8;
  margin-top: 4rem; padding-top: 3.5rem;
  border-top: 5px solid var(--ql-accent);
}
.ql-footer__grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 700px) { .ql-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.ql-footer__wordmark { font-family: var(--ql-font-serif); font-weight: 900; font-size: 1.6rem; color: #fff; margin: 0 0 .35em; }
.ql-footer__wordmark a { color: inherit; text-decoration: none; }
.ql-footer__wordmark a:hover { color: var(--ql-yellow); }

/* Logo image dans le footer */
.ql-footer__brand-link { display: inline-block; margin-bottom: .5rem; }
.ql-footer__logo {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  /* le logo a besoin d'un fond sombre — le footer est déjà noir, parfait */
}

/* Helper .ql-logo générique (utilisé par ql_logo() partout) */
.ql-logo { display: block; max-width: 100%; height: auto; }
.ql-logo--wordmark {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-weight: 900;
  font-size: 1.4rem;
}
.ql-footer__tag { color: #a9a595; font-size: .92rem; max-width: 28ch; line-height: 1.5; }
.ql-footer__title {
  color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800;
  margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 1px solid #2a2a2a;
  position: relative;
}
.ql-footer__title::before { content: ""; position: absolute; bottom: -1px; left: 0; width: 32px; height: 1px; background: var(--ql-accent); }
.ql-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.ql-footer__list a { color: #d8d4c8; text-decoration: none; font-size: .92rem; transition: color var(--ql-t); }
.ql-footer__list a:hover { color: var(--ql-yellow); }
.ql-footer__blurb { font-size: .9rem; color: #a9a595; margin-bottom: .9rem; line-height: 1.5; }
.ql-newsletter { display: flex; gap: .4rem; flex-wrap: wrap; }
.ql-newsletter input {
  flex: 1 1 180px; padding: .7rem .9rem;
  border: 1px solid #2a2a2a; background: #1a1a1a;
  color: #fff; border-radius: var(--ql-radius); font: inherit;
}
.ql-newsletter input::placeholder { color: #777; }
.ql-footer__meta { border-top: 1px solid #2a2a2a; padding: 1.25rem 0; font-size: .82rem; color: #a9a595; }
.ql-footer__meta-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.ql-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ql-footer__legal a { color: #a9a595; text-decoration: none; }
.ql-footer__legal a:hover { color: #fff; }

/* ── 17. Bureau des Plaintes ──────────────────────────────── */
.ql-plainte-hero {
  position: relative;
  min-height: 380px;
  display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(15,15,15,.9) 0%, rgba(165,29,8,.7) 100%),
    var(--hero-img, linear-gradient(135deg, var(--ql-ink) 0%, var(--ql-accent-dark) 100%))
    center / cover;
  color: #fff;
  margin-bottom: 3rem;
  overflow: hidden;
}
.ql-plainte-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,203,5,.04) 20px 22px);
  pointer-events: none;
}
.ql-plainte-hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 100%, rgba(224,40,16,.4) 0%, transparent 50%);
}
.ql-plainte-hero__inner {
  position: relative; z-index: 2;
  padding: clamp(2rem, 5vw, 4rem) 0;
  max-width: 780px;
  text-align: center; margin-inline: auto;
}
.ql-plainte-hero__kicker {
  display: inline-block;
  background: var(--ql-yellow); color: var(--ql-ink);
  padding: .35rem .85rem; border-radius: 2px;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ql-plainte-hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1;
}
.ql-plainte-hero__subtitle {
  font-family: var(--ql-font-serif); font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #f0e8dc; max-width: 58ch; margin: 0 auto 2rem;
  line-height: 1.5;
}
.ql-plainte-hero__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2);
}
.ql-plainte-hero__stats > div { display: flex; flex-direction: column; align-items: center; }
.ql-plainte-hero__stats strong {
  font-family: var(--ql-font-serif); font-weight: 900;
  font-size: 2rem; color: var(--ql-yellow); line-height: 1;
}
.ql-plainte-hero__stats span {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: #e0d8cc; margin-top: .35rem; font-weight: 600;
}

.ql-plainte-wrap { margin-top: -2rem; position: relative; z-index: 3; }
.ql-plainte {
  max-width: 820px; margin: 0 auto;
  background: #fff;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--ql-radius-lg);
  border: 1px solid var(--ql-line);
  box-shadow: var(--ql-shadow-md);
}
.ql-plainte__intro {
  font-size: 1.02rem; color: var(--ql-ink-soft);
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ql-line);
}
.ql-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.ql-field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ql-field-row { grid-template-columns: 1fr 1fr; } }
.ql-field label { font-weight: 700; font-size: .9rem; color: var(--ql-ink); }
.ql-req { color: var(--ql-accent); }
.ql-field input, .ql-field select, .ql-field textarea {
  padding: .8rem .95rem;
  border: 2px solid var(--ql-line); border-radius: var(--ql-radius);
  font: inherit; background: #fff;
  transition: border-color var(--ql-t), box-shadow var(--ql-t);
}
.ql-field input:focus, .ql-field select:focus, .ql-field textarea:focus {
  outline: none; border-color: var(--ql-accent);
  box-shadow: 0 0 0 3px var(--ql-accent-soft);
}
.ql-field textarea { min-height: 180px; resize: vertical; }
.ql-field--hint { font-size: .82rem; color: var(--ql-muted); }

.ql-plainte__submit {
  margin-top: 2rem; padding-top: 1.75rem;
  border-top: 1px solid var(--ql-line);
  display: grid; gap: 1rem;
}
@media (min-width: 600px) {
  .ql-plainte__submit { grid-template-columns: auto 1fr; align-items: center; }
  .ql-plainte__submit .ql-field--hint { margin: 0; }
}

.ql-alert { padding: 1rem 1.25rem; border-radius: var(--ql-radius); margin-bottom: 1.5rem; font-size: .95rem; }
.ql-alert--ok { background: #d9f5dd; color: #135a20; border-left: 4px solid #2e8a3d; }
.ql-alert--ko { background: var(--ql-accent-soft); color: var(--ql-accent-dark); border-left: 4px solid var(--ql-accent); }

/* ── 18. Commentaires ─────────────────────────────────────── */
.ql-comments { max-width: 720px; margin: 3rem auto 0; padding-top: 2rem; border-top: 2px solid var(--ql-line); }
.ql-comments h2 { font-size: 1.4rem; }
.ql-comments .comment-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.ql-comments .comment-body { background: var(--ql-paper-2); padding: 1.1rem 1.3rem; border-radius: var(--ql-radius); }
.ql-comments .comment-author { font-weight: 700; }
.ql-comments .comment-metadata { font-size: .8rem; color: var(--ql-muted); margin-bottom: .5rem; }

/* ── 18b. Popup Bureau des Plaintes (bouton fixe + modal) ──── */
.ql-plainte-trigger {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 90;
  background: var(--ql-accent);
  color: #fff;
  border: 0;
  padding: 1.1rem .8rem;
  border-radius: var(--ql-radius) 0 0 var(--ql-radius);
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ql-font-sans);
  font-weight: 800;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  box-shadow: -4px 2px 12px rgba(0,0,0,.25);
  transition: background var(--ql-t), transform var(--ql-t);
}
.ql-plainte-trigger:hover {
  background: var(--ql-accent-dark);
  transform: translateY(-50%) translateX(-4px);
}
.ql-plainte-trigger__icon {
  writing-mode: horizontal-tb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ql-plainte-trigger__label { white-space: nowrap; }

@media (max-width: 700px) {
  /* Sur mobile : un petit bouton rond en bas à droite, pas vertical */
  .ql-plainte-trigger {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    transform: none;
    writing-mode: horizontal-tb;
    border-radius: 50px;
    padding: .85rem 1.2rem;
    font-size: .78rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
  }
  .ql-plainte-trigger:hover { transform: none; background: var(--ql-accent-dark); }
  .ql-plainte-trigger__label { display: none; }
}

/* Modal */
.ql-plainte-modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ql-plainte-modal[hidden] { display: none !important; }
.ql-plainte-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15,15,15,.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.ql-plainte-modal__panel {
  position: relative;
  background: #fff;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--ql-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
  border: 2px solid var(--ql-accent);
  animation: ql-modal-in .25s ease-out;
}
@keyframes ql-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ql-plainte-modal__close {
  position: absolute;
  top: .75rem; right: .75rem;
  background: var(--ql-paper-2);
  border: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ql-ink);
  transition: background var(--ql-t);
}
.ql-plainte-modal__close:hover { background: var(--ql-accent); color: #fff; }

.ql-plainte-modal__header { margin-bottom: 1.5rem; padding-right: 3rem; }
.ql-plainte-modal__kicker {
  display: inline-block;
  background: var(--ql-yellow);
  color: var(--ql-ink);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem .7rem;
  border-radius: 2px;
  margin-bottom: .75rem;
}
.ql-plainte-modal__panel h2 {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 .5rem;
  color: var(--ql-ink);
  line-height: 1.1;
}
.ql-plainte-modal__subtitle {
  color: var(--ql-muted);
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
}

/* Footer credit Alliance Groupe */
.ql-footer__credit {
  display: block;
  margin-top: .3rem;
  font-size: .78rem;
  color: #a9a595;
  font-style: italic;
}
.ql-footer__credit a {
  color: var(--ql-yellow);
  text-decoration: none;
  font-weight: 600;
  font-style: normal;
  border-bottom: 1px dashed rgba(255,203,5,.5);
}
.ql-footer__credit a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ── 18c. Page Soutenir — formulaire de dons ─────────────── */
.ql-soutenir-page { background: var(--ql-paper); }

.ql-soutenir-hero {
  background: linear-gradient(135deg, var(--ql-ink) 0%, #1a0a08 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.ql-soutenir-hero__kicker {
  display: inline-block;
  background: var(--ql-accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  margin-bottom: 1rem;
}
.ql-soutenir-hero__title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 900px;
  margin-inline: auto;
}
.ql-soutenir-hero__lede {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #ddd;
}
.ql-soutenir-hero__lede strong { color: var(--ql-yellow); }

/* Bloc tiered */
.ql-donation-block { padding: 3.5rem 0 3rem; background: var(--ql-paper-2); }
.ql-donation-block__head { text-align: center; margin-bottom: 2rem; }
.ql-donation-block__head h2 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 2rem; font-weight: 900; margin: 0 0 .5rem;
}
.ql-donation-block__head p { color: var(--ql-muted); margin: 0; }

.ql-donation-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.ql-donation-tier {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--ql-line);
  padding: 1.8rem 1rem 1.5rem;
  text-decoration: none;
  color: var(--ql-ink);
  transition: all var(--ql-t);
  position: relative;
  min-height: 140px;
}
.ql-donation-tier:hover {
  border-color: var(--ql-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(224, 40, 16, .15);
}
.ql-donation-tier__amount {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 2.2rem; font-weight: 900; color: var(--ql-ink);
  line-height: 1;
}
.ql-donation-tier__desc {
  font-size: .85rem; color: var(--ql-muted); margin-top: .5rem;
}
.ql-donation-tier--highlight {
  border-color: var(--ql-accent);
  background: var(--ql-accent);
  color: #fff;
}
.ql-donation-tier--highlight .ql-donation-tier__amount,
.ql-donation-tier--highlight .ql-donation-tier__desc { color: #fff; }
.ql-donation-tier--highlight:hover {
  background: #c71f05;
  border-color: #c71f05;
}
.ql-donation-tier__badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ql-yellow);
  color: var(--ql-ink);
  font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .6rem;
  white-space: nowrap;
}

.ql-donation-block__custom {
  text-align: center;
  margin-bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.ql-donation-block__recurring {
  font-size: .88rem; color: var(--ql-muted);
}
.ql-donation-block__recurring a {
  color: var(--ql-accent); text-decoration: underline;
}

/* Sélecteur de montant — état ACTIF (cliqué) */
.ql-donation-tier.is-active {
  border-color: var(--ql-accent);
  background: var(--ql-accent);
  color: #fff;
}
.ql-donation-tier.is-active .ql-donation-tier__amount,
.ql-donation-tier.is-active .ql-donation-tier__desc { color: #fff; }
.ql-donation-tier[type="button"] {
  font: inherit; cursor: pointer;
  text-align: center;
}
.ql-donation-tier[type="button"]:focus-visible {
  outline: 3px solid var(--ql-yellow);
  outline-offset: 3px;
}

/* Champ « montant libre » */
.ql-donation-custom {
  max-width: 460px;
  margin: 0 auto 2rem;
  text-align: center;
}
.ql-donation-custom label {
  display: block;
  font-size: .88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--ql-muted);
  margin-bottom: .5rem;
}
.ql-donation-custom__wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--ql-line);
  transition: border-color var(--ql-t);
}
.ql-donation-custom__wrap:focus-within {
  border-color: var(--ql-accent);
  box-shadow: 0 0 0 3px rgba(224,40,16,.15);
}
.ql-donation-custom__wrap input {
  border: 0; background: transparent;
  padding: .8rem 0 .8rem 1rem;
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.6rem; font-weight: 900;
  color: var(--ql-ink);
  width: 140px;
  text-align: center;
}
.ql-donation-custom__wrap input:focus { outline: 0; }
.ql-donation-custom__wrap input::-webkit-outer-spin-button,
.ql-donation-custom__wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.ql-donation-custom__wrap input[type=number] { -moz-appearance: textfield; }
.ql-donation-custom__currency {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--ql-accent);
  padding-right: 1rem;
}

/* Container PayPal SDK */
.ql-paypal-button {
  max-width: 520px;
  margin: 0 auto 2rem;
  min-height: 52px;
}

/* Bouton HelloAsso sous PayPal (wrap pour séparateur « — ou — ») */
.ql-helloasso-wrap {
  max-width: 520px;
  margin: 1rem auto 2rem;
  text-align: center;
}
.ql-helloasso-or {
  display: block;
  color: var(--ql-muted);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 1rem;
}
.ql-btn--helloasso {
  background: #156dfa; /* bleu HelloAsso */
  color: #fff;
  border: 2px solid #156dfa;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3rem;
  padding: .8rem 1.4rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background var(--ql-t);
}
.ql-btn--helloasso:hover:not(:disabled) {
  background: #0a4fc7;
  border-color: #0a4fc7;
  color: #fff;
}
.ql-btn--helloasso:disabled {
  opacity: .6;
  cursor: wait;
}
.ql-helloasso-btn__sub {
  display: block; width: 100%;
  font-size: .75rem; font-weight: 500;
  opacity: .9;
  letter-spacing: .02em;
}
.ql-helloasso-err {
  margin-top: 1rem;
  padding: .8rem 1.2rem;
  background: #fff5f3;
  border-left: 4px solid var(--ql-accent);
  font-size: .9rem;
  color: var(--ql-accent);
  text-align: left;
}

/* Bloc « merci » après un don */
.ql-donation-thanks {
  padding: 1.5rem 0 0;
}
.ql-donation-thanks__box {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.4rem;
  background: #f0f9ee;
  border-left: 4px solid #2d8a2d;
  color: #1a4a1a;
  font-size: 1rem;
  line-height: 1.5;
}
.ql-donation-thanks__box strong {
  display: block;
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: .3rem;
  color: #2d8a2d;
}

.ql-btn--outline {
  background: transparent;
  color: var(--ql-ink);
  border: 2px solid var(--ql-ink);
}
.ql-btn--outline:hover {
  background: var(--ql-ink);
  color: #fff;
}

.ql-donation-block__tax {
  text-align: center;
  color: var(--ql-muted);
  font-size: .88rem;
  max-width: 520px;
  margin: 0 auto;
}
.ql-donation-block__tax strong { color: var(--ql-ink); }

/* FAQ accordion (<details>/<summary>) — remplace le bloc fiscal */
.ql-donation-faq {
  max-width: 720px;
  margin: 2rem auto 0;
}
.ql-donation-faq__title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 1.2rem;
  color: var(--ql-ink);
}
.ql-faq-item {
  background: #fff;
  border-left: 3px solid var(--ql-accent);
  margin-bottom: .6rem;
  transition: box-shadow var(--ql-t);
}
.ql-faq-item[open] {
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  border-left-width: 5px;
}
.ql-faq-item summary {
  cursor: pointer;
  padding: 1rem 1.3rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ql-ink);
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  transition: color var(--ql-t);
}
.ql-faq-item summary::-webkit-details-marker { display: none; }
.ql-faq-item summary:hover { color: var(--ql-accent); }
.ql-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ql-accent);
  transition: transform var(--ql-t);
}
.ql-faq-item[open] summary::after {
  content: "−";
}
.ql-faq-item__content {
  padding: 0 1.3rem 1.2rem;
  color: #333;
  font-size: .95rem;
  line-height: 1.6;
}
.ql-faq-item__content p { margin: 0 0 .8em; }
.ql-faq-item__content p:last-child { margin-bottom: 0; }
.ql-faq-item__content strong { color: var(--ql-accent); }
.ql-faq-item__content a { color: var(--ql-accent); font-weight: 600; }

/* Bloc alternatives */
.ql-donation-alt { padding: 3rem 0; background: var(--ql-paper); }
.ql-donation-alt h2 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.6rem; font-weight: 900;
  text-align: center; margin: 0 0 2rem;
}
.ql-donation-alt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  max-width: 1100px; margin: 0 auto;
}
.ql-donation-alt__card {
  background: var(--ql-paper-2);
  padding: 1.6rem 1.3rem;
  border-top: 3px solid var(--ql-accent);
}
.ql-donation-alt__card h3 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.15rem; font-weight: 900;
  margin: .7rem 0 .5rem;
}
.ql-donation-alt__card p { font-size: .92rem; line-height: 1.5; color: #333; }
.ql-donation-alt__icon {
  width: 44px; height: 44px;
  background: var(--ql-ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.ql-donation-alt__card a { color: var(--ql-accent); font-weight: 600; }
.ql-rib {
  display: block;
  background: #fff;
  padding: .7rem 1rem;
  font-family: monospace;
  font-size: .85rem;
  border: 1px dashed var(--ql-line);
  margin-top: .5rem;
  word-break: break-all;
}

.ql-soutenir-page__extra { padding: 2.5rem 0 4rem; }
.ql-soutenir-page__extra .ql-post__content { max-width: 720px; margin: 0 auto; }

/* ── 18d. Page Connexion / Inscription ───────────────────── */
.ql-connexion-page { background: var(--ql-paper); }

.ql-connexion-hero {
  background:
    linear-gradient(135deg, var(--ql-ink) 0%, #1a0a08 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='2' cy='2' r='1' fill='%23ffffff' opacity='.08'/></svg>");
  color: #fff;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.ql-connexion-hero__kicker {
  display: inline-block;
  background: var(--ql-accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  margin-bottom: 1rem;
}
.ql-connexion-hero__title {
  font-family: var(--ql-font-serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 .8rem;
}
.ql-connexion-hero__lede {
  max-width: 560px;
  margin: 0 auto;
  color: #ddd;
  font-size: 1.02rem;
  line-height: 1.55;
}
.ql-connexion-hero__lede strong { color: var(--ql-yellow); }

/* Messages (erreur / succès) */
.ql-connexion-notice {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--ql-accent);
  background: #fff5f3;
  color: var(--ql-ink);
  font-size: .95rem;
}
.ql-connexion-notice--success {
  background: #f0f9ee;
  border-left-color: #2d8a2d;
}
.ql-connexion-notice a { color: var(--ql-accent); font-weight: 600; }

/* Grille 2 colonnes */
.ql-connexion-forms { padding: 2.5rem 0 4rem; }
.ql-connexion-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 2.5rem auto 0;
}
@media (min-width: 780px) {
  .ql-connexion-grid { grid-template-columns: 1fr 1fr; }
}

.ql-connexion-card {
  background: #fff;
  border: 1px solid var(--ql-line);
  border-top: 4px solid var(--ql-ink);
  padding: 2rem 1.8rem 2.2rem;
  position: relative;
  transition: transform var(--ql-t), box-shadow var(--ql-t);
}
.ql-connexion-card--register { border-top-color: var(--ql-accent); }
.ql-connexion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.ql-connexion-card__badge {
  position: absolute;
  top: -14px; left: 1.8rem;
  background: var(--ql-ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .7rem;
}
.ql-connexion-card__badge--accent { background: var(--ql-accent); }
.ql-connexion-card__title {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: 1.6rem;
  margin: .4rem 0 1.5rem;
  color: var(--ql-ink);
}

/* Formulaires */
.ql-connexion-form .ql-field { margin-bottom: 1.1rem; }
.ql-connexion-form label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  color: var(--ql-ink);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ql-connexion-form input[type="text"],
.ql-connexion-form input[type="email"],
.ql-connexion-form input[type="password"] {
  width: 100%;
  padding: .75rem .9rem;
  font: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--ql-line);
  background: #fff;
  color: var(--ql-ink);
  transition: border-color var(--ql-t), box-shadow var(--ql-t);
}
.ql-connexion-form input:focus {
  outline: 0;
  border-color: var(--ql-accent);
  box-shadow: 0 0 0 3px rgba(224,40,16,.15);
}
.ql-connexion-form .ql-field--hint {
  display: block;
  font-size: .78rem;
  color: var(--ql-muted);
  margin-top: .3rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.ql-connexion-form .ql-field--check label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 400;
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  color: #333;
  line-height: 1.4;
  cursor: pointer;
}
.ql-connexion-form .ql-field--check input {
  margin-top: .15rem;
  accent-color: var(--ql-accent);
}
.ql-connexion-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.ql-connexion-form__remember {
  display: flex !important;
  align-items: center;
  gap: .4rem;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}
.ql-connexion-form__remember input { accent-color: var(--ql-accent); }
.ql-connexion-form__forgot {
  color: var(--ql-accent);
  text-decoration: underline;
  font-weight: 600;
}
.ql-connexion-form__submit { width: 100%; }
.ql-connexion-form__note {
  background: var(--ql-paper-2);
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--ql-muted);
  font-size: .92rem;
  color: #444;
}
.ql-connexion-form__note a {
  color: var(--ql-accent);
  font-weight: 600;
}

.ql-btn--ink {
  background: var(--ql-ink);
  color: #fff;
  border: 2px solid var(--ql-ink);
}
.ql-btn--ink:hover {
  background: #fff;
  color: var(--ql-ink);
}

.ql-connexion-page__footer {
  text-align: center;
  margin-top: 2rem;
  color: var(--ql-muted);
  font-size: .92rem;
}
.ql-connexion-page__footer a {
  color: var(--ql-accent);
  font-weight: 600;
}

/* ── 18e. Commentaires sous article ──────────────────────── */
.ql-comments-wrap { margin-top: 2.5rem; margin-bottom: 2rem; }
.ql-comments {
  background: var(--ql-paper-2);
  padding: 2rem clamp(1.2rem, 3vw, 2.5rem);
  border-top: 4px solid var(--ql-accent);
}
.ql-comments .comments-title,
.ql-comments h2 {
  font-family: var(--ql-font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  padding-top: 1rem;
  text-align: center;
  position: relative;
}
.ql-comments .comments-title::before,
.ql-comments h2::before {
  content: "★";
  display: block;
  color: var(--ql-accent);
  font-size: 1rem;
  margin-bottom: .6rem;
}
.ql-comments .comments-title::after,
.ql-comments h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--ql-accent) 50%, transparent 100%);
  margin: .6rem auto 0;
}
.ql-comments ol.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.ql-comments .comment {
  background: #fff;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--ql-accent);
}
.ql-comments .comment-author { font-weight: 700; }
.ql-comments .comment-meta {
  font-size: .8rem;
  color: var(--ql-muted);
  margin-bottom: .6rem;
}
.ql-comments form#commentform {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid var(--ql-line);
}
.ql-comments form#commentform textarea,
.ql-comments form#commentform input[type="text"],
.ql-comments form#commentform input[type="email"],
.ql-comments form#commentform input[type="url"] {
  width: 100%;
  padding: .65rem .8rem;
  border: 1.5px solid var(--ql-line);
  font: inherit;
  background: #fff;
}
.ql-comments form#commentform textarea:focus,
.ql-comments form#commentform input:focus {
  outline: 0;
  border-color: var(--ql-accent);
  box-shadow: 0 0 0 3px rgba(224,40,16,.15);
}
.ql-comments form#commentform label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ql-comments form#commentform .comment-form-comment,
.ql-comments form#commentform .comment-form-author,
.ql-comments form#commentform .comment-form-email,
.ql-comments form#commentform .comment-form-url {
  margin-bottom: 1rem;
}
.ql-comments form#commentform .form-submit input[type="submit"] {
  background: var(--ql-accent);
  color: #fff;
  border: 0;
  padding: .8rem 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background var(--ql-t);
}
.ql-comments form#commentform .form-submit input[type="submit"]:hover {
  background: #c71f05;
}
.ql-comments .logged-in-as,
.ql-comments .comment-notes {
  font-size: .85rem;
  color: var(--ql-muted);
  margin-bottom: 1rem;
}
.ql-comments .logged-in-as a { color: var(--ql-accent); }

/* ── 18f. Page « À propos » — style Contre-Attaque ───────── */
.ql-apropos-page { background: var(--ql-paper); }

/* Hero : photo banderole CA (les-banderoles-du-mouvement, 2019).
   Image affichée en cover naturel, position centrée verticalement
   pour maximiser la visibilité de la banderole. Overlay léger. */
.ql-apropos-hero {
  background-color: var(--ql-ink);
  background-image:
    linear-gradient(135deg, rgba(15,15,15,.60) 0%, rgba(224,40,16,.45) 100%),
    url("../img/hero-apropos.jpg");
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, scroll;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 560px;            /* hero plus grand → plus d'image visible */
  display: flex;
  align-items: center;
}
.ql-apropos-hero > .ql-container { width: 100%; }
@media (min-width: 1024px) {
  .ql-apropos-hero { background-attachment: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  .ql-apropos-hero { background-attachment: scroll; }
}
.ql-apropos-hero__kicker {
  display: inline-block;
  background: var(--ql-accent); color: #fff;
  font-size: .78rem; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem 1rem;
  margin-bottom: 1.4rem;
  position: relative;
}
.ql-apropos-hero__title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 1.5rem;
  position: relative;
}
.ql-apropos-hero__accent { color: var(--ql-yellow); }
.ql-apropos-hero__lede {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #ddd;
  position: relative;
}
.ql-apropos-hero__lede strong { color: var(--ql-yellow); }

/* Blocs de texte paragraph */
.ql-apropos-block { padding: 4rem 0; background: var(--ql-paper); }
.ql-apropos-block--dark {
  background: var(--ql-ink);
  color: #fff;
}
.ql-apropos-block--dark .ql-apropos-text p,
.ql-apropos-block--dark .ql-apropos-text strong,
.ql-apropos-block--dark .ql-apropos-text em { color: #fff; }
.ql-apropos-block--alt { background: var(--ql-paper-2); }
.ql-apropos-block__inner { max-width: 820px; margin: 0 auto; }

.ql-section__head--light { /* titre blanc sur fond sombre */ }
.ql-apropos-block--dark .ql-section__title { color: #fff !important; }

.ql-apropos-text {
  font-size: 1.12rem;
  line-height: 1.78;
  color: var(--ql-ink);
}
.ql-apropos-text p { margin: 0 0 1.25em; }
.ql-apropos-lead {
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.55;
  border-left: 4px solid var(--ql-accent);
  padding-left: 1.2rem;
  margin-bottom: 1.8rem !important;
}

/* Image featured de la page À propos */
.ql-apropos-image {
  margin: 0 0 2rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--ql-radius-lg, 4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
/* Sur fond sombre (--dark), shadow plus prononcée */
.ql-apropos-block--dark .ql-apropos-image {
  box-shadow: 0 10px 32px rgba(224, 40, 16, .25);
}
.ql-apropos-image__img,
.ql-apropos-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}
.ql-apropos-image figcaption {
  padding: .5rem 1rem;
  font-size: .82rem;
  color: var(--ql-muted);
  background: var(--ql-paper-2);
  border-top: 1px solid var(--ql-line);
}

/* ── Frise verticale « Nos racines » (style Contre-Attaque) ── */
.ql-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
}
/* Ligne verticale rouge au centre (desktop) ou à gauche (mobile) */
.ql-timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 2rem;
  width: 3px;
  background: linear-gradient(180deg, var(--ql-accent) 0%, var(--ql-accent) 90%, transparent 100%);
}
@media (min-width: 720px) {
  /* La ligne verticale est DANS le gap entre colonne année (140px) et body.
     Position : 140px (fin de colonne année) + ~20px (milieu du gap). */
  .ql-timeline::before { left: 160px; }
}

.ql-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3.5rem;
  padding-left: 4rem;
}
@media (min-width: 720px) {
  .ql-timeline__item {
    grid-template-columns: 140px 1fr;
    gap: 2.5rem;
    padding-left: 0;
    align-items: start;
  }
}
.ql-timeline__item:last-child { margin-bottom: 0; }
.ql-timeline__item::before {
  /* pastille rouge ronde — centrée sur la ligne verticale */
  content: "";
  position: absolute;
  left: calc(2rem - 11px);
  top: .3rem;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--ql-accent);
  border: 4px solid var(--ql-paper-2);
  box-shadow: 0 0 0 2px var(--ql-accent);
  z-index: 1;
}
@media (min-width: 720px) {
  /* Centrée sur la ligne à 160px : 160 - (25/2) = 147.5 ≈ 148 */
  .ql-timeline__item::before { left: 148px; }
}

/* Highlight : fondation QL — pastille jaune plus grosse */
.ql-timeline__item--highlight::before {
  background: var(--ql-yellow);
  box-shadow: 0 0 0 3px var(--ql-accent);
  width: 30px; height: 30px;
  left: calc(2rem - 14px);
  top: 0;
}
@media (min-width: 720px) {
  /* Centrée sur la ligne à 160px : 160 - (30/2) = 145 */
  .ql-timeline__item--highlight::before { left: 145px; }
}

.ql-timeline__year {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.1;        /* évite que les 2 chiffres d'une année multi-ligne se touchent */
  color: var(--ql-accent);
  letter-spacing: -.02em;
  display: block;
  white-space: nowrap;
}
.ql-timeline__year--range {
  font-size: 1.4rem;       /* plage d'années plus discrète qu'un millésime seul */
  white-space: nowrap;
}
@media (min-width: 720px) {
  .ql-timeline__year {
    text-align: right;
    padding-right: 0;
  }
}

.ql-timeline__body {
  background: #fff;
  padding: 1.3rem 1.5rem 1.1rem;
  border-left: 3px solid var(--ql-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.ql-timeline__item--highlight .ql-timeline__body {
  border-left-color: var(--ql-yellow);
  border-left-width: 5px;
  background: linear-gradient(180deg, #fff 0%, #fffef5 100%);
}
.ql-timeline__body h3 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 .5rem;
  color: var(--ql-ink);
  line-height: 1.3;
}
.ql-timeline__body h3 em {
  font-style: italic;
  color: var(--ql-accent);
}
.ql-timeline__body p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.6;
  color: #333;
}
.ql-timeline__body p strong { color: var(--ql-accent); font-weight: 700; }
.ql-apropos-text strong { color: var(--ql-accent); font-weight: 800; }
.ql-apropos-block--dark .ql-apropos-text strong { color: var(--ql-yellow); }

/* Bloc chiffres */
.ql-apropos-stats {
  padding: 3rem 0;
  background: linear-gradient(135deg, #1a0a08 0%, var(--ql-accent) 150%);
  color: #fff;
}
.ql-apropos-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ql-apropos-stat { text-align: center; }
.ql-apropos-stat__number {
  display: block;
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
  color: #fff;
  margin-bottom: .5rem;
}
.ql-apropos-stat--accent .ql-apropos-stat__number { color: var(--ql-yellow); }
.ql-apropos-stat__label {
  display: block;
  font-size: .88rem;
  color: #ddd;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Layout 2 colonnes : rédaction (gauche) + qui sommes-nous (sidebar droite) */
.ql-apropos-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .ql-apropos-layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 3rem; }
}
.ql-apropos-layout__main { min-width: 0; }
.ql-apropos-layout__intro {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.ql-apropos-layout__intro strong { color: var(--ql-yellow); }

.ql-apropos-layout__side {
  background: rgba(255, 255, 255, .06);
  border-left: 3px solid var(--ql-accent);
  padding: 1.5rem 1.4rem;
  color: #ddd;
}
.ql-apropos-layout__side-title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ql-yellow);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(255, 255, 255, .15);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ql-apropos-layout__side .ql-apropos-image {
  margin: 0 0 1rem;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.ql-apropos-layout__side .ql-apropos-image__img { max-height: 220px; }
.ql-apropos-layout__side p {
  font-size: .92rem;
  line-height: 1.55;
  color: #ddd;
  margin: 0 0 .8em;
}
.ql-apropos-layout__side p strong { color: var(--ql-yellow); font-weight: 700; }
.ql-apropos-layout__side p em { color: #fff; font-style: italic; }
.ql-apropos-layout__side .ql-apropos-lead {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  border-left: 0;
  padding-left: 0;
  margin-bottom: 1rem !important;
}

/* Roster (2 colonnes noms dans la colonne principale) */
.ql-apropos-roster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 620px) { .ql-apropos-roster { grid-template-columns: 1.6fr 1fr; } }
.ql-apropos-roster h3 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.3rem; font-weight: 900; margin: 0 0 .8rem;
  color: var(--ql-yellow);
  text-transform: uppercase; letter-spacing: .04em;
}
.ql-apropos-roster ul {
  list-style: none; padding: 0; margin: 0;
}
.ql-apropos-roster li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .98rem;
  line-height: 1.45;
}
.ql-apropos-roster li:last-child { border-bottom: 0; }
.ql-apropos-roster li strong { color: #fff; font-weight: 700; }
.ql-apropos-roster li small { color: #aaa; font-size: .82rem; }

/* ── Layout La rédaction : 2 colonnes ─────────────────────── */
.ql-redac-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 880px) {
  .ql-redac-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
  }
}
.ql-redac-layout__left { min-width: 0; }
.ql-redac-layout__right { min-width: 0; }

/* Listes de la rédaction (Quartiers populaires + Correspondant·es stackés) */
.ql-redac-list { margin-bottom: 2rem; }
.ql-redac-list:last-child { margin-bottom: 0; }
.ql-redac-list h3 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 0 .8rem;
  color: var(--ql-yellow);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-bottom: .4rem;
  border-bottom: 2px solid rgba(255, 255, 255, .12);
}
.ql-redac-list ul {
  list-style: none; padding: 0; margin: 0;
}
.ql-redac-list li {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .98rem;
  line-height: 1.45;
  color: #ddd;
}
.ql-redac-list li:last-child { border-bottom: 0; }
.ql-redac-list li strong { color: #fff; font-weight: 700; }
.ql-redac-list li small { color: #aaa; font-size: .82rem; }
.ql-redac-list--correspondents li {
  padding: .7rem 0;
}

/* Carte fondateur (Khalid) — portrait + récit */
.ql-founder-card {
  background: linear-gradient(180deg, rgba(224, 40, 16, .10) 0%, rgba(255, 255, 255, .04) 100%);
  border-left: 4px solid var(--ql-accent);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.ql-founder-card__portrait {
  margin: 0;
  padding: 0;
  background: var(--ql-ink);
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.ql-founder-card__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ql-founder-card__avatar {
  display: block;
  width: 100%;
  height: 100%;
}
.ql-founder-card__body {
  padding: 1.5rem 1.6rem 1.8rem;
}
.ql-founder-card__tag {
  display: inline-block;
  background: var(--ql-yellow);
  color: var(--ql-ink);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  margin-bottom: .7rem;
}
.ql-founder-card__name {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 .3rem;
  line-height: 1;
}
.ql-founder-card__role {
  color: var(--ql-yellow);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ql-founder-card__story p {
  color: #ddd;
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1em;
}
.ql-founder-card__story p:last-child { margin-bottom: 0; }
.ql-founder-card__story p strong { color: var(--ql-yellow); font-weight: 700; }
.ql-founder-card__motto {
  margin-top: 1.2rem !important;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, .3);
  border-left: 3px solid var(--ql-yellow);
  color: #fff !important;
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}
.ql-founder-card__motto em { color: var(--ql-yellow); font-style: italic; }

/* Bloc « Qui sommes-nous » placé sous les correspondants (colonne droite) */
.ql-apropos-side-block {
  margin-top: 2.5rem;
  padding: 1.4rem 1.3rem;
  background: rgba(255, 255, 255, .05);
  border-left: 3px solid var(--ql-accent);
  color: #ddd;
}
.ql-apropos-side-block h3 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ql-yellow);
  margin: 0 0 1rem;
  padding: 0 0 .5rem;
  border-bottom: 2px solid rgba(255, 255, 255, .12);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ql-apropos-side-block p {
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 .8em;
  color: #ddd;
}
.ql-apropos-side-block p:last-child { margin-bottom: 0; }
.ql-apropos-side-block p strong { color: var(--ql-yellow); font-weight: 700; }
.ql-apropos-side-block p em { color: #fff; font-style: italic; }
.ql-apropos-side-block__lead {
  font-size: 1rem !important;
  font-weight: 700;
  color: #fff !important;
}
.ql-apropos-side-image {
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(224, 40, 16, .25);
}
.ql-apropos-side-image__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
}

/* Fondateur (Khalid) — distinction visuelle */
.ql-apropos-roster__founder {
  background: rgba(224, 40, 16, .15);
  border-left: 4px solid var(--ql-accent);
  padding-left: 1rem !important;
  padding-right: 1rem;
  margin-left: -.3rem;
  margin-bottom: .6rem;
}
.ql-apropos-roster__founder strong {
  color: var(--ql-yellow) !important;
}
.ql-apropos-roster__founder small {
  color: #ddd !important;
  font-style: italic;
}

/* Citation */
.ql-apropos-quote {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
  max-width: 720px;
  margin: 1.5rem auto 2.5rem !important;
  padding: 2rem 2.5rem;
  border-top: 4px solid var(--ql-accent);
  border-bottom: 4px solid var(--ql-accent);
  color: var(--ql-ink);
  background: none !important;
}

/* Appel à soutien */
.ql-apropos-cta {
  background: var(--ql-accent);
  color: #fff;
  padding: 4rem 0;
}
.ql-apropos-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.ql-apropos-cta h2 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 1rem;
  color: #fff;
}
.ql-apropos-cta p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffecec;
  margin-bottom: 2rem;
}
.ql-apropos-cta strong { color: var(--ql-yellow); }
.ql-apropos-cta__buttons {
  display: flex; flex-wrap: wrap;
  gap: 1rem; justify-content: center;
}
.ql-apropos-cta .ql-btn--accent {
  background: #fff; color: var(--ql-accent);
  border: 2px solid #fff;
}
.ql-apropos-cta .ql-btn--accent:hover {
  background: var(--ql-yellow); color: var(--ql-ink);
  border-color: var(--ql-yellow);
}
.ql-apropos-cta .ql-btn--ghost {
  background: transparent; color: #fff;
  border: 2px solid #fff;
}
.ql-apropos-cta .ql-btn--ghost:hover {
  background: #fff; color: var(--ql-accent);
}

/* Mini embed don inline (sur fond rouge de la CTA) */
.ql-apropos-don-embed {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, .97);
  border-radius: 4px;
  padding: 2rem clamp(1rem, 3vw, 2rem);
  color: var(--ql-ink);
  text-align: left;
  max-width: 580px;
  margin-inline: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.ql-apropos-don-embed .ql-donation-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-bottom: 1rem;
}
@media (min-width: 500px) {
  .ql-apropos-don-embed .ql-donation-tiers { grid-template-columns: repeat(4, 1fr); }
}
.ql-apropos-don-embed .ql-donation-tier {
  padding: .9rem .3rem;
  min-height: 95px;
}
.ql-apropos-don-embed .ql-donation-tier__amount { font-size: 1.5rem; }
.ql-apropos-don-embed .ql-donation-tier__desc { font-size: .72rem; line-height: 1.2; }
.ql-apropos-don-embed .ql-donation-tier__badge { font-size: .6rem; top: -9px; }
.ql-apropos-don-embed .ql-donation-custom {
  margin: 0 auto 1rem;
  max-width: 300px;
}
.ql-apropos-don-embed .ql-donation-custom label {
  text-align: center;
}
.ql-apropos-don-embed .ql-paypal-button {
  margin: 0 0 1rem;
  max-width: 100%;
}
.ql-apropos-don-embed__more {
  margin: 1rem 0 0 !important;
  text-align: center;
  font-size: .82rem;
  color: var(--ql-muted);
  line-height: 1.6;
}
.ql-apropos-don-embed__more a { color: var(--ql-accent); font-weight: 600; }
.ql-apropos-don-embed__more .ql-btn {
  display: inline-flex;
  border-color: var(--ql-accent);
  color: var(--ql-accent);
  padding: .3rem .8rem;
  font-size: .82rem;
  margin: 0 .3rem;
}
.ql-apropos-don-embed__more .ql-btn:hover {
  background: var(--ql-accent);
  color: #fff;
}

/* 3 colonnes contact/rejoindre/diffuser */
.ql-apropos-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 800px) { .ql-apropos-columns { grid-template-columns: repeat(3, 1fr); } }
.ql-apropos-column {
  background: #fff;
  padding: 1.8rem 1.5rem;
  border-top: 4px solid var(--ql-accent);
}
.ql-apropos-column h3 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: 1.25rem; font-weight: 900;
  margin: 0 0 .8rem;
  color: var(--ql-ink);
}
.ql-apropos-column p {
  font-size: .95rem; line-height: 1.55;
  color: #333; margin: 0 0 .9em;
}
.ql-apropos-column a { color: var(--ql-accent); font-weight: 600; }

.ql-apropos-page__extra { padding: 2.5rem 0 4rem; }
.ql-apropos-page__extra .ql-post__content { max-width: 720px; margin: 0 auto; }

/* ── Modal don (ouvert depuis /a-propos/ CTA 'Faire un don') ── */
.ql-don-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.ql-don-modal[hidden] { display: none; }
.ql-don-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.ql-don-modal__panel {
  position: relative;
  background: #fff;
  max-width: 620px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  border-top: 4px solid var(--ql-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  animation: ql-modal-slide-in .3s ease-out;
}
@keyframes ql-modal-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ql-don-modal__close {
  position: absolute;
  top: .8rem; right: .8rem;
  width: 40px; height: 40px;
  background: var(--ql-paper-2);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ql-ink);
  transition: background var(--ql-t);
  z-index: 2;
}
.ql-don-modal__close:hover { background: var(--ql-accent); color: #fff; }
.ql-don-modal__header {
  padding: 2.2rem 2rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--ql-line);
}
.ql-don-modal__kicker {
  display: inline-block;
  background: var(--ql-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  margin-bottom: .8rem;
}
.ql-don-modal__header h2 {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--ql-ink);
  margin: 0 0 .5rem;
  line-height: 1.2;
}
.ql-don-modal__subtitle {
  font-size: .95rem;
  color: var(--ql-muted);
  line-height: 1.5;
  margin: 0;
}
.ql-don-modal__body {
  padding: 1.5rem 1.8rem 2rem;
}
.ql-don-modal__body .ql-donation-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  margin-bottom: 1.2rem;
}
@media (min-width: 520px) {
  .ql-don-modal__body .ql-donation-tiers { grid-template-columns: repeat(4, 1fr); }
}
.ql-don-modal__body .ql-donation-tier {
  padding: 1rem .4rem;
  min-height: 100px;
}
.ql-don-modal__body .ql-donation-tier__amount { font-size: 1.5rem; }
.ql-don-modal__body .ql-donation-tier__desc { font-size: .72rem; }
.ql-don-modal__body .ql-donation-tier__badge {
  font-size: .6rem;
  top: -10px;
}
.ql-don-modal__body .ql-donation-custom {
  margin: 0 auto 1.2rem;
  max-width: 280px;
}
.ql-don-modal__body .ql-paypal-button {
  margin: 0 auto 1rem;
  max-width: 100%;
}
.ql-don-modal__footer-link {
  text-align: center;
  margin: 1rem 0 0;
  font-size: .82rem;
  color: var(--ql-muted);
}
.ql-don-modal__footer-link a {
  color: var(--ql-accent);
  font-weight: 600;
  text-decoration: none;
}
.ql-don-modal__footer-link a:hover { text-decoration: underline; }

/* Sur mobile : panel full-width */
@media (max-width: 520px) {
  .ql-don-modal { padding: 0; }
  .ql-don-modal__panel { max-height: 100vh; min-height: 100vh; }
  .ql-don-modal__header { padding: 3rem 1.2rem 1rem; }
  .ql-don-modal__body { padding: 1.2rem 1rem 2rem; }
}

/* ── 18g. Page « Tous les articles » ─────────────────────── */
.ql-ta-page { background: var(--ql-paper); }

.ql-ta-hero {
  background: linear-gradient(135deg, var(--ql-ink) 0%, #1a0a08 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.ql-ta-hero__kicker {
  display: inline-block;
  background: var(--ql-accent);
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  margin-bottom: 1rem;
}
.ql-ta-hero__title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  margin: 0 0 .6rem;
  line-height: 1.1;
}
.ql-ta-hero__lede {
  max-width: 620px;
  margin: 0 auto;
  color: #ddd;
  font-size: 1rem;
  line-height: 1.55;
}
.ql-ta-hero__lede strong { color: var(--ql-yellow); }

.ql-ta-container { padding: 2.5rem 0 4rem; }

.ql-ta-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ql-line);
}
.ql-ta-filter {
  display: inline-block;
  padding: .55rem 1.1rem;
  background: transparent;
  color: var(--ql-ink);
  border: 2px solid var(--ql-line);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  transition: all var(--ql-t);
}
.ql-ta-filter:hover {
  border-color: var(--ql-accent);
  color: var(--ql-accent);
}
.ql-ta-filter.is-active {
  background: var(--ql-accent);
  color: #fff;
  border-color: var(--ql-accent);
}

.ql-ta-grid { margin-bottom: 3rem; }

.ql-ta-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: 2rem;
}
.ql-ta-pagination .page-numbers {
  display: inline-block;
  padding: .5rem .9rem;
  background: #fff;
  border: 1.5px solid var(--ql-line);
  color: var(--ql-ink);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--ql-t);
}
.ql-ta-pagination .page-numbers:hover {
  border-color: var(--ql-accent);
  color: var(--ql-accent);
}
.ql-ta-pagination .page-numbers.current {
  background: var(--ql-accent);
  color: #fff;
  border-color: var(--ql-accent);
}
.ql-ta-pagination .page-numbers.dots {
  border: 0;
  background: transparent;
  padding: .5rem .2rem;
}

.ql-ta-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ql-muted);
}
.ql-ta-empty p { margin-bottom: 1.5rem; font-size: 1.05rem; }

.ql-ta-page__extra { padding: 1rem 0 2rem; }
.ql-ta-page__extra .ql-post__content { max-width: 720px; margin: 0 auto; }

/* ── 18h. Page « Nos rubriques » — style Contre-Attaque ──── */
.ql-rubriques-page { background: var(--ql-paper); }

.ql-rubriques-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: var(--ql-paper);
  border-bottom: 1px solid var(--ql-line);
}
.ql-rubriques-hero__title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--ql-accent);
  line-height: 1;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
  /* Effet "3D relief" comme CA */
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, .15),
    4px 4px 0 rgba(0, 0, 0, .08);
}
.ql-rubriques-hero__lede {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ql-ink);
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
}
.ql-rubriques-hero__lede strong { color: var(--ql-accent); font-style: normal; }

/* Liste des rubriques */
.ql-rubriques-list {
  padding: 3rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 720px) {
  .ql-rubriques-list { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
}

/* Chaque rubrique = gros titre coloré + description en dessous */
.ql-rubrique-block {
  display: block;
  text-decoration: none;
  color: var(--ql-ink);
  padding: 1.5rem 0;
  border-top: 2px solid var(--ql-line);
  border-bottom: 2px solid var(--ql-line);
  transition: transform var(--ql-t);
  position: relative;
}
.ql-rubrique-block:hover {
  transform: translateX(6px);
}
.ql-rubrique-block__title {
  font-family: var(--ql-font-serif, 'Fraunces', serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--rubrique-color);
  margin: 0 0 1rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
  /* Effet 3D relief style CA */
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, .18),
    4px 4px 0 rgba(0, 0, 0, .08);
  transition: text-shadow var(--ql-t);
}
.ql-rubrique-block:hover .ql-rubrique-block__title {
  text-shadow:
    3px 3px 0 rgba(0, 0, 0, .25),
    6px 6px 0 rgba(0, 0, 0, .12);
}
.ql-rubrique-block__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ql-rubrique-block__desc {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: #333;
}
.ql-rubrique-block__meta {
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--rubrique-color);
}
.ql-rubrique-block__arrow {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--ql-t);
}
.ql-rubrique-block:hover .ql-rubrique-block__arrow {
  transform: translateX(4px);
}

.ql-rubriques-page__extra { padding: 1rem 0 3rem; }
.ql-rubriques-page__extra .ql-post__content { max-width: 720px; margin: 0 auto; }

/* ── 18i. Convention couleur : PS / Johanna Rolland = rose ─
   Partout où un tag/catégorie référence le Parti Socialiste,
   l'élément prend la couleur --ql-ps-pink. */

/* Tags pointant vers les slugs PS-liés (bas d'article) */
.ql-post__tags a[href*="/tag/ps/"],
.ql-post__tags a[href*="/tag/parti-socialiste/"],
.ql-post__tags a[href*="/tag/johanna-rolland/"],
.ql-post__tags a[href*="/tag/mairie-ps/"],
.ql-post__tags a[href*="/tag/johanna_rolland/"] {
  color: #fff;
  background: var(--ql-ps-pink);
  border-color: var(--ql-ps-pink);
}
.ql-post__tags a[href*="/tag/ps/"]:hover,
.ql-post__tags a[href*="/tag/parti-socialiste/"]:hover,
.ql-post__tags a[href*="/tag/johanna-rolland/"]:hover,
.ql-post__tags a[href*="/tag/mairie-ps/"]:hover {
  background: var(--ql-ps-pink-dark);
  border-color: var(--ql-ps-pink-dark);
}

/* Body class (WP tag archive) : ajoute un liseré rose sur le header de l'archive */
body.tag-ps .ql-archive-header,
body.tag-parti-socialiste .ql-archive-header,
body.tag-johanna-rolland .ql-archive-header,
body.tag-mairie-ps .ql-archive-header {
  border-left: 6px solid var(--ql-ps-pink);
  padding-left: 1.2rem;
}

/* Badge inline utilitaire .ql-ps (pour futurs usages dans les articles
   ou sur les cartes : on peut écrire <span class="ql-ps">PS</span>) */
.ql-ps {
  display: inline-block;
  background: var(--ql-ps-pink);
  color: #fff;
  font-weight: 800;
  font-size: .72em;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .1em .5em;
  margin: 0 .15em;
  vertical-align: .1em;
  border-radius: 2px;
}

/* ── 18j. Bouton « retour en haut » (fixe bas-gauche) ───── */
.ql-back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9998;  /* sous le bureau-plaintes trigger mais au-dessus du reste */
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ql-ink);
  border-radius: 50%;
  background: #fff;
  color: var(--ql-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  transition: all var(--ql-t);

  /* Transition d'apparition (piloté par .is-visible) */
  opacity: 0;
  transform: translateY(20px) scale(.9);
  pointer-events: none;
}
.ql-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ql-back-to-top[hidden] { display: none; }
.ql-back-to-top:hover {
  background: var(--ql-accent);
  border-color: var(--ql-accent);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px rgba(224, 40, 16, .35);
}
.ql-back-to-top:focus-visible {
  outline: 3px solid var(--ql-yellow);
  outline-offset: 3px;
}
.ql-back-to-top:active { transform: translateY(0) scale(.95); }

/* Mobile : plus compact, collé un peu moins du bord */
@media (max-width: 600px) {
  .ql-back-to-top {
    width: 42px;
    height: 42px;
    bottom: 1rem;
    left: 1rem;
  }
}

/* Respect de prefers-reduced-motion : fade simple, pas de translateY */
@media (prefers-reduced-motion: reduce) {
  .ql-back-to-top { transition: opacity .15s; }
  .ql-back-to-top:hover { transform: none; }
}

/* ── 19. Utilitaires & motion ─────────────────────────────── */
.ql-muted { color: var(--ql-muted); }
.ql-accent { color: var(--ql-accent); }
.ql-highlight { background: var(--ql-yellow); padding: 0 .2em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
