/* ==========================================================================
   newsframework — template « Édition »
   Média d'information contemporain : titres en Schibsted Grotesk (dessinée pour le groupe
   de presse scandinave Schibsted), texte en Inter, fond blanc, surfaces douces, coins
   arrondis, pastilles, en-tête vitré. La couleur d'accent du site guide l'œil.
   Schibsted Grotesk est déclarée dans le layout (URL versionnées par asset()).
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --accent: #e5484d;
  --accent-text: color-mix(in srgb, var(--accent) 86%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 30%, transparent);
  --bg: #ffffff;
  --surface: #f4f4f6;
  --surface-2: #e9e9ee;
  --elevated: #ffffff;
  --glass: rgba(255, 255, 255, 0.78);
  --text: #0b0b0f;
  --text-2: #3a3a43;
  --muted: #6b6b76;
  --line: #e8e8ed;
  --line-2: #d6d6de;
  --display: 'Schibsted Grotesk', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(12, 12, 20, 0.06);
  --shadow: 0 1px 2px rgba(12, 12, 20, 0.04), 0 12px 32px -14px rgba(12, 12, 20, 0.18);
  --shadow-lg: 0 2px 6px rgba(12, 12, 20, 0.05), 0 32px 80px -24px rgba(12, 12, 20, 0.35);
  --container: 1320px;
  --gutter: 32px;
  --col-gap: 32px;
  --bar-h: 56px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
[data-theme='dark'] {
  --accent-text: color-mix(in srgb, var(--accent) 68%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --bg: #0a0a0c;
  --surface: #141417;
  --surface-2: #222228;
  --elevated: #1d1d22;
  --glass: rgba(10, 10, 12, 0.72);
  --text: #f4f4f6;
  --text-2: #cdcdd5;
  --muted: #9797a3;
  --line: #232329;
  --line-2: #33333b;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 32px 80px -24px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 24px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--bg);
  font: 600 11px/1 var(--sans);
  color: var(--muted);
}
::selection {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.i {
  width: 16px;
  height: 16px;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- Typographie commune ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 650 13px/1.25 var(--sans);
  letter-spacing: -0.005em;
  color: var(--accent-text);
}
a.kicker:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 0;
  font: 400 13px/1.45 var(--sans);
  color: var(--muted);
}
.byline > * {
  white-space: nowrap;
}
.byline > :not(:last-child)::after {
  content: '·';
  margin: 0 7px;
}
.byline strong {
  font-weight: 600;
  color: var(--text-2);
}
.see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  font: 600 13px/1 var(--sans);
  color: var(--text);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.see-all .i {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.see-all:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
.see-all:hover .i {
  transform: translateX(3px);
}
.rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font: 750 18px/1.2 var(--display);
  letter-spacing: -0.015em;
}
.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}
.swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font: 650 14.5px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: color-mix(in srgb, var(--accent) 86%, #000);
}
.btn--dark {
  background: var(--text);
  color: var(--bg);
}
.btn--dark:hover {
  background: color-mix(in srgb, var(--text) 82%, var(--bg));
}
.btn--outline {
  border-color: var(--line-2);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
.btn .i {
  width: 16px;
  height: 16px;
}
.btn.is-loading {
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-color: #fff #fff transparent transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn--outline.is-loading::after,
.btn--dark.is-loading::after {
  border-color: var(--muted) var(--muted) transparent transparent;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.tool {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  transition: background-color 0.2s;
}
.tool:hover {
  background: var(--surface);
}
.tool .i {
  width: 20px;
  height: 20px;
}

/* ---------- Bandeau du haut ---------- */
.topbar {
  background: var(--surface);
  font: 500 12.5px/1 var(--sans);
  color: var(--muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 34px;
}
.topbar__date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-weight: 600;
}
.topbar__date .live-dot {
  width: 6px;
  height: 6px;
}
.topbar__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.topbar__links a {
  transition: color 0.2s;
}
.topbar__links a:hover {
  color: var(--text);
}
.theme-toggle .i-sun,
[data-theme='dark'] .theme-toggle .i-moon {
  display: none;
}
[data-theme='dark'] .theme-toggle .i-sun {
  display: block;
}

/* ---------- Manchette ---------- */
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
}
.masthead__menu {
  margin-left: -8px;
}
.masthead__brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
/* Le nom du site ne se coupe jamais sur grand écran : c'est le slogan qui cède la place */
.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font: 800 clamp(24px, 2.4vw, 32px)/1 var(--display);
  letter-spacing: -0.035em;
  color: var(--text);
}
.brand__name {
  overflow: hidden;
  padding-block: 0.12em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand__mark {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.32em;
  height: 1.32em;
  border-radius: 0.36em;
  background: var(--accent);
  color: #fff;
  font: 800 0.82em/1 var(--display);
  letter-spacing: -0.04em;
}
.masthead__tagline {
  display: -webkit-box;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 340px;
  padding-left: 18px;
  overflow: hidden;
  border-left: 1px solid var(--line-2);
  font: 500 13.5px/1.35 var(--sans);
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.masthead__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: clamp(190px, 18vw, 280px);
  height: 42px;
  padding: 0 8px 0 16px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--surface);
  font: 500 14px/1 var(--sans);
  color: var(--muted);
  text-align: left;
  transition: border-color 0.2s, background-color 0.2s;
}
.search-pill:hover {
  border-color: var(--line-2);
  background: var(--bg);
}
.search-pill__label {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Barre des rubriques (collante, vitrée) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.navbar.is-stuck {
  border-top-color: transparent;
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.45);
}
.navbar__inner {
  display: flex;
  align-items: center;
  height: var(--bar-h);
}
.navbar__brand,
.navbar__search {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.4s var(--ease), opacity 0.25s, margin 0.4s var(--ease);
}
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 4px;
  font: 800 18px/1.25 var(--display);
  letter-spacing: -0.03em;
}
.navbar__brand .brand__mark {
  font-size: 15px;
}
.navbar.is-stuck .navbar__brand {
  max-width: 280px;
  margin-right: 18px;
  opacity: 1;
}
.navbar.is-stuck .navbar__search {
  max-width: 44px;
  margin-left: 8px;
  opacity: 1;
}
.main-nav {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}
.main-nav ul {
  display: flex;
  gap: 2px;
  width: max-content;
}
.main-nav a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  font: 600 14px/1 var(--sans);
  color: var(--text-2);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.main-nav a:hover {
  background: var(--surface);
  color: var(--text);
}
.main-nav a[aria-current='page'] {
  background: var(--text);
  color: var(--bg);
}
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 3px;
  pointer-events: none;
  opacity: 0;
}
.has-progress .read-progress {
  opacity: 1;
}
.read-progress span {
  display: block;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}

/* ---------- Menu latéral ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  transition: visibility 0s 0.35s;
}
.drawer.is-open {
  visibility: visible;
  transition-delay: 0s;
}
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer__panel {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 16px));
  padding: 14px 18px 22px;
  overflow-y: auto;
  border-radius: var(--r-xl);
  background: var(--elevated);
  box-shadow: var(--shadow-lg);
  transform: translateX(calc(-100% - 16px));
  transition: transform 0.4s var(--ease-out);
}
.drawer.is-open .drawer__backdrop {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 10px;
}
.drawer__head .tool {
  margin-right: -6px;
}
.drawer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 22px/1 var(--display);
  letter-spacing: -0.03em;
}
.drawer__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 8px 0 14px;
  padding: 0 16px;
  height: 46px;
  border-radius: var(--pill);
  background: var(--surface);
  font: 500 14.5px/1 var(--sans);
  color: var(--muted);
  text-align: left;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--r-sm);
  font: 650 17px/1.2 var(--display);
  letter-spacing: -0.01em;
  transition: background-color 0.2s;
}
.drawer__nav a:hover {
  background: var(--surface);
}
.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding: 24px 12px 0;
  font: 13px/1.5 var(--sans);
  color: var(--muted);
}
.drawer__foot .theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 40px;
  padding: 0 14px 0 12px;
  border-radius: var(--pill);
  background: var(--surface);
  font: 600 13.5px/1 var(--sans);
  color: var(--text);
  justify-self: start;
  align-self: flex-start;
}
.drawer__foot .theme-toggle .i {
  width: 16px;
  height: 16px;
}
.drawer__foot a:hover {
  color: var(--text);
}

/* ---------- Images ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  background: var(--ph, var(--surface));
  isolation: isolate;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}
.js .media img:not(.is-loaded) {
  opacity: 0;
}
.media__ai {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--pill);
  background: rgba(10, 10, 14, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 650 10.5px/1 var(--sans);
  letter-spacing: 0.02em;
}
.media__ai .i {
  width: 11px;
  height: 11px;
}
.story__media:hover img.is-loaded,
.no-js .story__media:hover img {
  transform: scale(1.035);
}

/* ---------- Articles en liste ---------- */
.story {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.story__media {
  display: block;
  border-radius: var(--r);
}
.story__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}
.story__kickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.story__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--text);
  text-wrap: balance;
}
.story__title a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s;
}
.story__title a:hover {
  text-decoration-color: var(--accent);
}
.story__dek {
  font: 400 15px/1.55 var(--sans);
  color: var(--text-2);
  text-wrap: pretty;
}
.story .byline {
  margin-top: 2px;
}

.story--lead {
  gap: 20px;
}
.story--lead .media {
  border-radius: var(--r-lg);
}
.story--lead .story__title {
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.story--lead .story__dek {
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.5;
}
.story--md .story__title {
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.story--md .story__dek {
  font-size: 15.5px;
}
.story--sm .story__title {
  font-size: 18px;
  line-height: 1.22;
}
.story--xs .story__title {
  font-size: 16px;
  line-height: 1.28;
}
/* Rangée : texte à gauche, image à droite */
.story--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.story--row .story__media {
  order: 2;
}
.story--row .story__title {
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.story--row .story__dek {
  font-size: 15.5px;
}

/* ---------- Grilles ---------- */
.cols {
  display: grid;
  column-gap: var(--col-gap);
  row-gap: 40px;
}
.cols--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Sections ---------- */
.section {
  margin-top: 80px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 clamp(24px, 2.2vw, 30px)/1.1 var(--display);
  letter-spacing: -0.03em;
}
.section-title::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------- La une ---------- */
.front {
  padding-top: 32px;
}
.front__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  grid-template-areas: 'left lead live';
  gap: 36px;
}
.front__grid--no-live {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: 'left lead';
}
.front__lead {
  grid-area: lead;
}
.front__left {
  grid-area: left;
  display: flex;
  flex-direction: column;
}
.front__left > .story + .story {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.front__live {
  grid-area: live;
  align-self: start;
  padding: 20px 20px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.front__live .rail-title {
  font-size: 17px;
}
.live-list {
  position: relative;
  margin-top: 10px;
}
.live-list li {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 10px 0 12px 20px;
}
.live-list li::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.live-list li:first-child::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.live-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 31px;
  bottom: -14px;
  left: 4px;
  width: 1px;
  background: var(--line-2);
}
.live-list time {
  font: 700 12px/1.4 var(--sans);
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.live-list a {
  font: 650 15px/1.3 var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
}
.live-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.front__live .see-all {
  margin-top: 10px;
  background: var(--bg);
  border-color: transparent;
}
.front__live .see-all:hover {
  background: var(--text);
}
.front__strip {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ---------- Le meilleur de la semaine + Les plus lus ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  column-gap: 48px;
  row-gap: 72px;
}
.split__rail {
  align-self: start;
  padding: 24px 24px 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.split__rail .section-head {
  margin-bottom: 10px;
}
.split__rail .section-title {
  font-size: 22px;
}
.most-read__list {
  counter-reset: rank;
}
.most-read__list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 14px 0 16px;
  counter-increment: rank;
}
.most-read__list li + li {
  border-top: 1px solid var(--line-2);
}
.most-read__list li::before {
  content: counter(rank);
  font: 800 34px/0.95 var(--display);
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
}
.most-read__list li > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.most-read__title {
  font: 700 17px/1.25 var(--display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.most-read__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- Sources ---------- */
.sources-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.source-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--surface);
  transition: background-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.source-chip:hover {
  background: var(--elevated);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.source-chip__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.source-chip strong {
  overflow: hidden;
  font: 700 15.5px/1.4 var(--display);
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-chip small {
  display: flex;
  align-items: center;
  gap: 5px;
  font: 12.5px/1.3 var(--sans);
  color: var(--muted);
}
.source-chip small .i {
  width: 13px;
  height: 13px;
}

/* ---------- Avatars ---------- */
.avatar {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}
.avatar--initials {
  display: inline-grid;
  place-items: center;
  background: var(--av);
  color: #fff;
  font: 700 9px/1 var(--sans);
}
.avatar--md {
  width: 32px;
  height: 32px;
  font-size: 12px;
}
.avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 15px;
}
.avatar--xl {
  width: 72px;
  height: 72px;
  font-size: 24px;
}
.avatar-stack {
  display: flex;
  flex: none;
}
.avatar-stack .avatar {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid var(--bg);
  font-size: 12px;
}
.avatar-stack .avatar + .avatar {
  margin-left: -10px;
}

/* ---------- Article ---------- */
.article {
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  column-gap: 72px;
  justify-content: center;
  padding-top: 40px;
}
.article-head {
  grid-column: 1;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font: 600 13px/1.3 var(--sans);
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--text);
}
.breadcrumb a + span + a {
  padding: 5px 11px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.breadcrumb a + span + a:hover {
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.article-title {
  font: 800 clamp(34px, 4.4vw, 56px)/1.04 var(--display);
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.article-dek {
  margin-top: 20px;
  font: 400 clamp(18px, 1.7vw, 21px)/1.5 var(--sans);
  letter-spacing: -0.01em;
  color: var(--text-2);
  text-wrap: pretty;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 28px;
}
.article-byline__who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.article-byline__who p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font: 14px/1.35 var(--sans);
}
.article-byline__src {
  color: var(--text-2);
}
.article-byline__src a {
  font-weight: 700;
  color: var(--text);
}
.article-byline__src a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-byline__when {
  font-size: 13px;
  color: var(--muted);
}
.article-byline__when .sep {
  margin: 0 6px;
}
.share {
  display: flex;
  gap: 6px;
}
.share__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.share__btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}
.share__btn.is-copied {
  background: var(--accent);
  color: #fff;
}
.share__btn .i {
  width: 16px;
  height: 16px;
}
.article-cover {
  grid-column: 1 / -1;
  margin: 36px 0 0;
}
.article-cover .media {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
}
.article-cover .media__ai {
  left: 16px;
  bottom: 16px;
  padding: 6px 11px;
  font-size: 11.5px;
}
.article-cover__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 12px 4px 0;
  font: 13px/1.5 var(--sans);
  color: var(--muted);
}
.article-cover__legend {
  color: var(--text-2);
}
.article-cover__credit {
  font-size: 12px;
}
.article-cover__credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-cover__credit a:hover {
  color: var(--text);
}
.article-cover__credit--ai {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 600;
  color: var(--text-2);
}
.article-cover__credit--ai .i {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.article-main {
  grid-column: 1;
  grid-row: 3;
  min-width: 0;
  padding-top: 44px;
}
.article-rail {
  grid-column: 2;
  grid-row: 3;
  padding-top: 44px;
}
.article-rail__sticky {
  position: sticky;
  top: calc(var(--bar-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* L'essentiel */
.key-points {
  margin-bottom: 40px;
  padding: 22px 26px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.key-points h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font: 750 17px/1.2 var(--display);
  letter-spacing: -0.015em;
}
.key-points h2::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}
.key-points li {
  position: relative;
  padding-left: 30px;
  font: 450 16.5px/1.55 var(--sans);
  color: var(--text);
}
.key-points li + li {
  margin-top: 12px;
}
.key-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.key-points li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Corps du texte */
.prose {
  font-family: var(--sans);
  font-size: 18.5px;
  line-height: 1.75;
  letter-spacing: -0.006em;
  color: color-mix(in srgb, var(--text) 90%, var(--bg));
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2em;
  font: 750 28px/1.18 var(--display);
  letter-spacing: -0.028em;
  color: var(--text);
  text-wrap: balance;
}
.prose h3 {
  margin-top: 1.7em;
  font: 700 22px/1.28 var(--display);
  letter-spacing: -0.02em;
  color: var(--text);
}
.prose h4 {
  margin-top: 1.6em;
  font: 700 13px/1.3 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.prose a:hover {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}
.prose strong {
  font-weight: 650;
  color: var(--text);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--accent);
}
.prose blockquote {
  position: relative;
  margin: 1.8em 0;
  padding: 4px 0 4px 26px;
  font: 650 1.2em/1.42 var(--display);
  letter-spacing: -0.018em;
  color: var(--text);
}
.prose blockquote::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}
.prose hr {
  width: 64px;
  height: 4px;
  margin: 2.4em auto;
  border: 0;
  border-radius: 4px;
  background: var(--line-2);
}
.prose code {
  padding: 0.12em 0.4em;
  border-radius: var(--r-xs);
  background: var(--surface);
  font: 0.84em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--surface);
}
.prose pre code {
  padding: 0;
  background: none;
}
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font: 15px/1.45 var(--sans);
}
.prose th,
.prose td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  border-bottom: 1px solid var(--line-2);
  font-weight: 700;
}

/* Mots-clés */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}
.tag,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--surface);
  font: 600 13px/1 var(--sans);
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s;
}
.tag::before {
  content: '#';
  color: var(--muted);
}
.tag:hover,
.chip:hover {
  background: var(--text);
  color: var(--bg);
}
.tag:hover::before {
  color: inherit;
}

/* Sources de l'article */
.citations {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.citations h2 {
  font: 800 26px/1.15 var(--display);
  letter-spacing: -0.03em;
}
.citations__intro {
  margin: 8px 0 20px;
  font: 14px/1.6 var(--sans);
  color: var(--muted);
}
.citations__intro a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.citations__list {
  display: grid;
  gap: 8px;
  counter-reset: cite;
}
.citation {
  display: grid;
  grid-template-columns: 24px 36px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--surface);
  counter-increment: cite;
  transition: background-color 0.2s, box-shadow 0.25s;
}
.citation:hover {
  background: var(--elevated);
  box-shadow: var(--shadow);
}
.citation::before {
  content: counter(cite);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--bg);
  font: 700 11.5px/1 var(--sans);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.citation .avatar--md {
  width: 36px;
  height: 36px;
}
.citation__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.citation__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font: 13.5px/1.4 var(--sans);
}
.citation__source {
  font-weight: 700;
}
.citation__source:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.citation__type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}
.citation__type .i {
  width: 13px;
  height: 13px;
}
.citation__title {
  font: 600 15.5px/1.4 var(--display);
  letter-spacing: -0.01em;
  color: var(--text-2);
}
a.citation__title:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.citation__title .i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  vertical-align: -1px;
}
.citation__ts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 4px 9px;
  border-radius: var(--pill);
  background: var(--bg);
  font: 600 12px/1.3 var(--sans);
  color: var(--text-2);
}
.citation__ts .i {
  width: 11px;
  height: 11px;
}

/* Colonne de l'article */
.toc {
  padding: 18px 18px 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.toc__label {
  margin-bottom: 8px;
  font: 750 15px/1.2 var(--display);
  letter-spacing: -0.01em;
}
.toc ol {
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 7px 0 7px 12px;
  font: 13.5px/1.4 var(--sans);
  color: var(--muted);
  transition: color 0.2s;
}
.toc a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--line-2);
  transition: background-color 0.2s;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}
.toc a:hover {
  color: var(--text);
}
.toc a.is-active {
  color: var(--text);
  font-weight: 600;
}
.toc a.is-active::after {
  border-radius: 2px;
  background: var(--accent);
}
.toc a.is-active::before {
  color: var(--accent-text);
}
.rail-facts {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font: 13px/1.55 var(--sans);
  color: var(--text-2);
}
.rail-facts p + p {
  margin-top: 6px;
}
.rail-facts a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rail-facts a:hover {
  color: var(--text);
}
.related {
  margin-top: 88px;
}

/* ---------- Rubriques, sources, recherche ---------- */
.listing-head {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--line);
}
.listing-head__row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.kicker--cat {
  padding: 6px 12px 6px 10px;
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--text-2);
}
.kicker--cat::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--accent));
}
.listing-title {
  margin-top: 14px;
  font: 800 clamp(38px, 5vw, 64px)/1.02 var(--display);
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.listing-head--search .listing-title {
  margin-top: 0;
}
.listing-intro {
  max-width: 720px;
  margin-top: 14px;
  font: 400 18px/1.55 var(--sans);
  color: var(--text-2);
}
.listing-count {
  margin-top: 14px;
  font: 13.5px/1.4 var(--sans);
  color: var(--muted);
}
.listing-count a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.listing-count .i {
  width: 13px;
  height: 13px;
}
.listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  column-gap: 64px;
  padding-top: 36px;
}
.listing--single {
  grid-template-columns: minmax(0, 880px);
}
.listing__feed > .story--lead {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.listing__feed > .story--lead .story__title {
  font-size: clamp(26px, 2.5vw, 36px);
}
.listing__rail-sticky {
  position: sticky;
  top: calc(var(--bar-h) + 24px);
  padding: 20px 14px 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.listing__rail-sticky .rail-title {
  padding: 0 8px;
  font-size: 16px;
}
.rail-nav {
  display: grid;
  gap: 1px;
}
.rail-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font: 550 14px/1.3 var(--sans);
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s;
}
.rail-nav a:hover {
  background: var(--bg);
  color: var(--text);
}
.rail-nav a[aria-current='page'] {
  background: var(--bg);
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.search-page-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin-top: 24px;
  padding: 6px 6px 6px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--surface);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.search-page-form:focus-within {
  border-color: var(--line-2);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.search-page-form > .i {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  outline: none;
  background: none;
  font: 500 19px/1.2 var(--sans);
}
.empty-state {
  max-width: 560px;
  padding: 44px 0;
}
.empty-state h2 {
  font: 800 30px/1.15 var(--display);
  letter-spacing: -0.03em;
}
.empty-state p {
  margin-top: 8px;
  font: 17px/1.55 var(--sans);
  color: var(--text-2);
}
.empty-state .btn {
  margin-top: 22px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.static-page {
  max-width: 720px;
  padding-top: 44px;
}
.static-page .listing-title {
  margin: 0 0 28px;
}
.empty-home {
  max-width: 720px;
  padding: 104px 0 48px;
  text-align: center;
}
.empty-home h1 {
  margin-top: 16px;
  font: 800 clamp(34px, 4.4vw, 52px)/1.06 var(--display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.empty-home p {
  margin-top: 14px;
  font: 18px/1.55 var(--sans);
  color: var(--text-2);
}

/* ---------- 404 ---------- */
.not-found {
  max-width: 680px;
  padding: 72px 0 24px;
}
.not-found__code {
  font: 900 clamp(110px, 18vw, 200px)/0.85 var(--display);
  letter-spacing: -0.06em;
  color: var(--accent);
}
.not-found h1 {
  margin-top: 24px;
  font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--display);
  letter-spacing: -0.035em;
}
.not-found p {
  margin-top: 12px;
  font: 18px/1.55 var(--sans);
  color: var(--text-2);
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  --f-line: rgba(255, 255, 255, 0.1);
  margin-top: 104px;
  padding-top: 8px;
  background: #0b0b0f;
  color: #b9b9c4;
}
[data-theme='dark'] .site-footer {
  background: #050507;
  border-top: 1px solid var(--line);
}
.site-footer :focus-visible {
  outline-color: #fff;
}
.letter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px 64px;
  margin-top: 40px;
  padding: 40px 44px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 60%), #17171d;
}
.kicker--light {
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.letter__title {
  margin: 14px 0 10px;
  font: 800 clamp(26px, 3vw, 38px)/1.08 var(--display);
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.letter__text p {
  font: 16px/1.55 var(--sans);
  color: #c9c9d3;
}
.newsletter {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.2s;
}
.newsletter:focus-within {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.newsletter__field {
  flex: 1;
  min-width: 0;
}
.newsletter__field input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 15px/1 var(--sans);
}
.newsletter__field input::placeholder {
  color: #9a9aa6;
}
.newsletter__field input:focus {
  outline: none;
}
.newsletter .btn {
  height: 46px;
}
.newsletter.is-error {
  box-shadow: inset 0 0 0 1px #ff6b6b;
  animation: shake 0.4s;
}
.newsletter.is-done {
  box-shadow: inset 0 0 0 1px #3ecf8e;
}
@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 40px 72px;
  padding: 56px 0 48px;
}
.footer-brand__name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 800 30px/1 var(--display);
  letter-spacing: -0.035em;
  color: #fff;
}
.footer-brand__tagline {
  margin-top: 12px;
  font: 500 15px/1.4 var(--sans);
  color: #b9b9c4;
}
.footer-brand__method {
  max-width: 420px;
  margin-top: 20px;
  font: 13.5px/1.6 var(--sans);
  color: #8f8f9b;
}
.footer-brand__method a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-cols h3 {
  margin-bottom: 16px;
  font: 700 14px/1 var(--display);
  letter-spacing: -0.01em;
  color: #fff;
}
.footer-cols li + li {
  margin-top: 10px;
}
.footer-cols a {
  font: 14px/1.4 var(--sans);
  color: #a9a9b5;
  transition: color 0.2s;
}
.footer-cols a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--f-line);
  font: 12.5px/1.5 var(--sans);
  color: #80808c;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Recherche instantanée ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  transition: visibility 0s 0.25s;
}
.search-overlay.is-open {
  visibility: visible;
  transition-delay: 0s;
}
.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s;
}
.search-overlay__panel {
  position: relative;
  width: min(100% - 32px, 720px);
  margin: 80px auto 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--elevated);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transition: opacity 0.25s, transform 0.35s var(--ease-out);
}
.search-overlay.is-open .search-overlay__backdrop {
  opacity: 1;
}
.search-overlay.is-open .search-overlay__panel {
  opacity: 1;
  transform: none;
}
.search-overlay__form {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.search-overlay__form > .i {
  width: 22px;
  height: 22px;
  color: var(--muted);
}
.search-overlay__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font: 600 22px/1.3 var(--display);
  letter-spacing: -0.02em;
}
.search-overlay__form input::-webkit-search-cancel-button {
  display: none;
}
.search-overlay__results {
  max-height: min(62vh, 540px);
  overflow-y: auto;
  padding: 8px;
}
.search-overlay__hint {
  padding: 16px 12px;
  font: 14px/1.5 var(--sans);
  color: var(--muted);
}
.search-overlay__hint span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}
.search-result {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--r);
  transition: background-color 0.15s;
}
.search-result.is-active,
.search-result:hover {
  background: var(--surface);
}
.search-result img {
  width: 88px;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--surface-2);
}
.search-result__text {
  min-width: 0;
}
.search-result strong {
  display: block;
  font: 700 16px/1.3 var(--display);
  letter-spacing: -0.012em;
}
.search-result small {
  display: block;
  margin-top: 3px;
  font: 12.5px/1.4 var(--sans);
  color: var(--muted);
}
.search-result mark {
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: inherit;
}
.search-overlay__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 4px 4px;
  padding: 12px;
  border-radius: var(--r);
  background: var(--surface);
  font: 650 13.5px/1 var(--sans);
}
.search-overlay__all:hover {
  background: var(--text);
  color: var(--bg);
}
.skeleton {
  height: 64px;
  margin: 6px 10px;
  border-radius: var(--r);
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
@keyframes shimmer {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

/* ---------- Notifications & retour en haut ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--text);
  color: var(--bg);
  font: 550 14px/1.3 var(--sans);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.35s var(--ease-out);
}
.toast.is-leaving {
  animation: toastOut 0.25s forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.3s var(--ease-out), background-color 0.2s;
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--accent);
  color: #fff;
}

/* Transitions de page (navigateurs compatibles) */
@view-transition {
  navigation: auto;
}
::view-transition-group(cover) {
  animation-duration: 0.4s;
  animation-timing-function: var(--ease);
}

/* Bandeau d'aperçu d'un brouillon (admins) */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: #ffb224;
  color: #1a1a1a;
  font: 600 14px/1.3 var(--sans);
}
.preview-banner a {
  text-decoration: underline;
}

/* ---------- Dossier : surtitre, chiffres clés, dates clés ---------- */
.story__flag,
.article-flag span {
  display: inline-flex;
  align-items: center;
  border-radius: var(--pill);
  font: 750 11px/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.story__flag {
  padding: 5px 9px;
  background: var(--text);
  color: var(--bg);
}
.article-flag {
  margin-bottom: 16px;
}
.article-flag span {
  gap: 8px;
  padding: 7px 13px 7px 11px;
  background: var(--text);
  color: var(--bg);
}
.article-flag span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.dossier-figures {
  margin: -8px 0 44px;
}
.dossier-figures h2,
.dossier-timeline h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 750 17px/1.2 var(--display);
  letter-spacing: -0.015em;
}
.dossier-figures h2::before,
.dossier-timeline h2::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}
.dossier-figures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.figure-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 18px 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.figure-stat dd {
  margin: 0;
  font: 800 clamp(28px, 2.8vw, 36px)/1.02 var(--display);
  letter-spacing: -0.04em;
  color: var(--accent-text);
  font-variant-numeric: lining-nums;
}
.figure-stat dt {
  font: 450 14px/1.45 var(--sans);
  color: var(--text-2);
}
.dossier-timeline {
  margin-top: 56px;
}
.timeline {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 7px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), var(--line-2));
}
.timeline__item {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--r);
  transition: background-color 0.2s;
}
.timeline__item:hover {
  background: var(--surface);
}
.timeline__item::before {
  content: '';
  position: absolute;
  top: 17px;
  left: -29px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-line);
}
.timeline__date {
  font: 700 13px/1.5 var(--sans);
  color: var(--accent-text);
}
.timeline__label {
  font: 450 16.5px/1.5 var(--sans);
  color: var(--text);
}

/* ---------- Ce qu'en disent les partis ---------- */
.perspectives {
  margin-top: 64px;
  padding: 28px 28px 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.perspectives__kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  font: 700 12px/1 var(--sans);
  color: var(--accent-text);
}
.perspectives__head h2 {
  margin-top: 12px;
  font: 800 clamp(26px, 2.8vw, 34px)/1.08 var(--display);
  letter-spacing: -0.035em;
}
.perspectives__question {
  margin-top: 8px;
  font: 500 18px/1.45 var(--sans);
  color: var(--text-2);
}
.perspectives__spectrum {
  display: flex;
  gap: 4px;
  height: 6px;
  margin-top: 20px;
}
.perspectives__spectrum span {
  flex: 1;
  border-radius: var(--pill);
  background: var(--party-ui, var(--party));
}
[data-theme='dark'] .stance,
[data-theme='dark'] .perspectives__spectrum span {
  --party-ui: color-mix(in srgb, var(--party) 72%, #fff);
}
.perspectives__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.stance {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--elevated);
  box-shadow: var(--shadow-sm);
}
.stance::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--party-ui, var(--party, var(--line-2)));
}
.stance__who {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 750 15px/1.25 var(--display);
  letter-spacing: -0.012em;
}
.stance__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--party-ui, var(--party));
}
.stance__type {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: var(--pill);
  background: var(--surface);
  font: 650 11px/1 var(--sans);
  text-decoration: none;
  color: var(--muted);
}
.stance__text {
  font: 400 15px/1.6 var(--sans);
  color: var(--text-2);
}
.stance__quote {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
}
.stance__quote p {
  font: 650 15px/1.45 var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
}
.stance__quote footer {
  margin-top: 4px;
  font: 12.5px/1.4 var(--sans);
  color: var(--muted);
}
.stance__source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 2px;
  width: fit-content;
  font: 550 12.5px/1.4 var(--sans);
  color: var(--muted);
}
.stance__source .i {
  width: 12px;
  height: 12px;
}
.stance__source:hover {
  color: var(--accent-text);
}
.perspectives__sub {
  margin-top: 28px;
  font: 750 15px/1.2 var(--display);
  letter-spacing: -0.01em;
  color: var(--text-2);
}
.perspectives__sub + .perspectives__grid {
  margin-top: 12px;
}
.perspectives__note {
  margin-top: 18px;
  font: 13px/1.55 var(--sans);
  color: var(--muted);
}

/* ---------- Sources : recherche web complémentaire ---------- */
.web-sources {
  margin-top: 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.web-sources summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 18px;
  font: 700 15px/1.4 var(--display);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.web-sources summary::-webkit-details-marker {
  display: none;
}
.web-sources summary::after {
  content: '';
  align-self: center;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}
.web-sources[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.web-sources summary span {
  font: 400 13.5px/1.4 var(--sans);
  color: var(--muted);
}
.web-sources__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px 16px;
  padding: 0 10px 12px;
  counter-reset: web;
}
.web-sources__list li {
  counter-increment: web;
}
.web-sources__list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 8px;
  border-radius: var(--r-sm);
  font: 13px/1.4 var(--sans);
  transition: background-color 0.15s;
}
.web-sources__list a:hover {
  background: var(--bg);
}
.web-sources__list a::before {
  content: 'W' counter(web);
  grid-row: span 2;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.web-sources__site {
  font-weight: 700;
}
.web-sources__title {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root {
    --col-gap: 28px;
  }
  .front__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas:
      'lead live'
      'left live';
    gap: 28px;
  }
  .front__grid--no-live {
    grid-template-areas:
      'lead lead'
      'left left';
  }
  .front__left {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .front__left > .story + .story {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .front__left > .story--md {
    grid-row: span 3;
  }
  .masthead__tagline {
    display: none;
  }
  .brand {
    flex: 0 1 auto;
  }
  .article {
    grid-template-columns: minmax(0, 700px) 230px;
    column-gap: 48px;
  }
  .listing {
    column-gap: 48px;
  }
}

@media (max-width: 1024px) {
  .cols--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .sources-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-pill {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .search-pill__label,
  .search-pill kbd {
    display: none;
  }
  .article {
    grid-template-columns: minmax(0, 720px);
  }
  .article-rail {
    display: none;
  }
  .listing {
    grid-template-columns: minmax(0, 1fr);
  }
  .listing__rail {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 18px;
    --bar-h: 52px;
  }
  .topbar,
  .masthead__cta,
  .masthead__actions .theme-toggle {
    display: none;
  }
  /* Sur mobile, c'est la manchette compacte qui reste en haut ; les rubriques défilent avec la page */
  .masthead {
    position: sticky;
    top: 0;
    z-index: 41;
    border-bottom: 1px solid var(--line);
    background: var(--glass);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
  }
  .masthead__inner {
    gap: 6px;
    padding: 8px 0;
  }
  .brand {
    flex: 0 1 auto;
    font-size: 22px;
  }
  .search-pill {
    width: 40px;
    height: 40px;
    background: none;
  }
  .search-pill .i {
    width: 20px;
    height: 20px;
  }
  .masthead__actions {
    margin-right: -6px;
  }
  .navbar {
    position: static;
    border-top: 0;
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .navbar.is-stuck {
    box-shadow: none;
  }
  .navbar__brand,
  .navbar__search {
    display: none;
  }
  .main-nav {
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .main-nav ul {
    margin: 0;
  }
  .main-nav a {
    height: 34px;
    font-size: 13.5px;
    background: var(--surface);
  }
  .main-nav ul {
    gap: 6px;
  }
  .front {
    padding-top: 20px;
  }
  .front__grid,
  .front__grid--no-live {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'lead'
      'left'
      'live';
    gap: 0;
  }
  .front__left {
    padding-top: 22px;
    margin-top: 24px;
  }
  .front__live {
    margin-top: 32px;
  }
  .article {
    padding-top: 24px;
  }
  .article-cover {
    margin: 24px 0 0;
  }
  .article-cover .media {
    border-radius: var(--r-lg);
  }
  .article-main {
    padding-top: 32px;
  }
  .prose {
    font-size: 17.5px;
    line-height: 1.72;
  }
  .prose h2 {
    font-size: 24px;
  }
  .letter,
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .letter {
    padding: 30px 24px;
  }
}

@media (max-width: 720px) {
  .section {
    margin-top: 56px;
  }
  .section-title {
    font-size: 23px;
  }
  .see-all {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  .cols {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 0;
  }
  .cols > * + * {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .front__left {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .front__left > .story + .story {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  /* Petites cartes : vignette carrée à droite, comme sur les applis d'info */
  .story--sm.story--img,
  .story--md.story--img:not(.front__left > .story),
  .story--row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    align-items: start;
    gap: 16px;
  }
  .story--sm.story--img .story__media,
  .story--md.story--img:not(.front__left > .story) .story__media {
    order: 2;
  }
  .story--sm .media__ai,
  .story--md:not(.front__left > .story) .media__ai,
  .story--row .media__ai {
    left: 5px;
    bottom: 5px;
    padding: 3px 6px;
    font-size: 8.5px;
    letter-spacing: 0.02em;
  }
  .story--sm .media__ai .i,
  .story--md .media__ai .i,
  .story--row .media__ai .i {
    display: none;
  }
  .story--sm.story--img .media,
  .story--md.story--img:not(.front__left > .story) .media,
  .story--row .media {
    aspect-ratio: 1;
    border-radius: var(--r-sm);
  }
  .story--md .story__title,
  .story--row .story__title {
    font-size: 19px;
    line-height: 1.2;
  }
  .story--sm .story__dek,
  .story--md .story__dek,
  .story--row .story__dek {
    display: none;
  }
  .front__left > .story--md .story__dek {
    display: block;
  }
  .story--lead .media {
    border-radius: var(--r);
  }
  .story--row {
    padding: 18px 0;
  }
  .listing__feed > .story--lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .sources-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .split__rail {
    margin: 0 calc(var(--gutter) * -0.5);
    padding: 20px 16px 8px;
  }
  .listing-head {
    padding-top: 28px;
  }
  .listing-head__row {
    align-items: flex-start;
    gap: 16px;
  }
  .avatar--xl {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }
  .article-byline {
    align-items: flex-start;
  }
  .share {
    width: 100%;
  }
  .key-points {
    padding: 18px 18px 20px;
  }
  .citation {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 12px 14px;
  }
  .citation::before {
    display: none;
  }
  .perspectives {
    margin-inline: calc(var(--gutter) * -0.5);
    padding: 22px 16px 18px;
  }
  .perspectives__grid,
  .web-sources__list {
    grid-template-columns: 1fr;
  }
  .dossier-figures__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-cols > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-cols > div:first-child ul {
    columns: 2;
    column-gap: 32px;
  }
  .footer-cols > div:first-child li {
    break-inside: avoid;
  }
  .search-overlay__panel {
    width: calc(100% - 16px);
    margin-top: 8px;
  }
  .search-overlay__form input {
    font-size: 19px;
  }
  .search-result {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .search-result img {
    width: 72px;
  }
}

@media (max-width: 380px) {
  .story--sm.story--img,
  .story--md.story--img:not(.front__left > .story),
  .story--row {
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .newsletter {
    flex-direction: column;
    border-radius: var(--r-lg);
  }
}

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

@media print {
  .topbar,
  .masthead__menu,
  .masthead__actions,
  .navbar,
  .read-progress,
  .site-footer,
  .article-rail,
  .share,
  .to-top,
  .related {
    display: none !important;
  }
  .article {
    display: block;
  }
  .perspectives,
  .key-points,
  .figure-stat {
    background: none;
    border: 1px solid #ccc;
  }
}

/* ==========================================================================
   Rubrique « Aberrations » : blocs des pièces, page de la rubrique, bloc d’accueil
   (balisage commun : src/templates/_shared/aberration/*)
   ========================================================================== */
:root {
  --ab: #d62828;
  --ab-display: var(--display);
  --ab-sans: var(--sans);
  --ab-r: var(--r-sm);
  --ab-r-lg: var(--r);
  --ab-r-xl: var(--r-xl);
  --ab-btn-r: var(--pill);
  --ab-badge-r: var(--pill);
  --ab-elev: var(--elevated);
  --ab-line-2: var(--line-2);
  --ab-ok: #2f855a;
  --ab-ok-ink: #24704b;
  --ab-warn: #c77700;
  --ab-warn-ink: #955800;
  --ab-eu: #1d4ed8;
}
[data-theme='dark'] {
  --ab-ok: #3c9f6c;
  --ab-ok-ink: #63d197;
  --ab-warn: #d98a1a;
  --ab-warn-ink: #f1b45a;
  --ab-eu: #6d8ff0;
}
/* Couleur d'encre lisible dérivée de la couleur de la rubrique, recalculée là où --ab change */
:where([class*='ab-']) {
  --ab-ink: color-mix(in srgb, var(--ab) 80%, var(--text));
}

/* ---------- Étiquettes ---------- */
.ab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--ab-badge-r);
  background: var(--ab);
  color: #fff;
  font: 800 10.5px/1.25 var(--ab-sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}
.ab-badge--dossier {
  background: var(--text);
  color: var(--bg);
}
.ab-badge--dossier::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ab);
}
.ab-verdict-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  color: color-mix(in srgb, var(--v, var(--ab)) 82%, var(--text));
  font: 900 10px/1.25 var(--ab-sans);
  letter-spacing: 0.08em;
  white-space: nowrap;
  vertical-align: middle;
  transform: rotate(-4deg);
}

/* ---------- Tampon et chiffre clé ---------- */
.ab-stamp {
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 6px;
  border: 4px solid currentColor;
  border-radius: 12px;
  color: var(--v, var(--ab));
  font: 900 46px/1 var(--ab-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  user-select: none;
}
.ab-stamp span {
  display: block;
  padding: 8px 14px 6px;
  border: 2px solid currentColor;
  border-radius: 7px;
}
.ab-stamp--sm {
  padding: 3px;
  border-width: 3px;
  border-radius: 8px;
  font-size: 22px;
  transform: rotate(-6deg);
}
.ab-stamp--sm span {
  padding: 5px 9px 4px;
  border-width: 1.5px;
  border-radius: 5px;
}
@media (prefers-reduced-motion: no-preference) {
  .ab-verdict .ab-stamp {
    animation: ab-stamp-in 0.55s var(--ease-out) 0.2s both;
  }
}
@keyframes ab-stamp-in {
  from {
    opacity: 0;
    transform: scale(1.9) rotate(-2deg);
  }
  70% {
    opacity: 1;
  }
}
.ab-keyfig {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--ab);
}
.ab-keyfig strong {
  font: 850 clamp(26px, 3vw, 36px)/1.05 var(--ab-display);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.ab-keyfig span {
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}
.ab-keyfig--sm {
  padding-left: 12px;
  border-left-width: 2px;
}
.ab-keyfig--sm strong {
  font-size: 21px;
}
.ab-keyfig--sm span {
  font-size: 12.5px;
}

/* ---------- En tête de la pièce : affirmation et verdict ---------- */
.ab-verdict {
  position: relative;
  margin: 0 0 36px;
  padding: 26px 28px 28px;
  border: 1px solid color-mix(in srgb, var(--v, var(--ab)) 24%, transparent);
  border-radius: var(--ab-r-xl);
  background: color-mix(in srgb, var(--v, var(--ab)) 6%, var(--surface));
  overflow: hidden;
}
.ab-verdict__kicker {
  margin: 0;
  font: 800 12.5px/1.2 var(--ab-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--v, var(--ab)) 80%, var(--text));
}
.ab-verdict__claim {
  margin: 10px 0 0;
  font: 750 clamp(20px, 2.4vw, 27px)/1.3 var(--ab-display);
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}
.ab-verdict__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 36px;
  margin-top: 24px;
}
.ab-verdict--fiche .ab-stamp {
  margin-left: 4px;
}
.ab-verdict__ours {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 320px;
}
.ab-verdict__note {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.ab-verdict__note strong {
  color: var(--text);
}

/* ---------- Blocs ---------- */
.ab-block {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
:where(.ab-block, .ab-check) :where(p, li) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}
:where(.ab-block) p {
  margin: 0;
}
:where(.ab-block) p + p,
:where(.ab-block) .ab-sources-line {
  margin-top: 0.8em;
}
.ab-block__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 750 clamp(20px, 2vw, 23px)/1.25 var(--ab-display);
  letter-spacing: -0.015em;
  color: var(--text);
}
.ab-block__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ab) 12%, transparent);
  color: var(--ab-ink);
  font: 850 17px/1 var(--ab-display);
}
.ab-block__sub {
  margin: 24px 0 10px;
  font: 800 12.5px/1.3 var(--ab-sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.ab-note {
  margin-top: 12px !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
}
.ab-note--paywall {
  padding: 10px 14px;
  border-radius: var(--ab-r);
  background: color-mix(in srgb, var(--ab-warn) 11%, transparent);
  color: var(--text-2) !important;
}
.ab-note--paywall strong {
  color: var(--ab-warn-ink);
}
.ab-sources-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13.5px !important;
  color: var(--muted) !important;
}
.ab-muted {
  color: var(--muted);
  font-style: italic;
}
.ab-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-list li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-left: 20px;
}
.ab-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ab);
}
.ab-list strong {
  color: var(--text);
}

/* Lien vers une source */
.ab-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ab-elev);
  font: 600 12.5px/1.4 var(--ab-sans);
  color: var(--text-2);
  text-decoration: none;
  vertical-align: middle;
  transition: border-color 0.2s, color 0.2s;
}
.ab-src span {
  min-width: 0;
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ab-src em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--ab-ok-ink);
  white-space: nowrap;
}
.ab-src .i {
  flex: none;
  width: 12px;
  height: 12px;
  opacity: 0.6;
}
.ab-src--official {
  border-color: color-mix(in srgb, var(--ab-ok) 35%, var(--line));
}
.ab-src:hover {
  border-color: var(--text);
  color: var(--text);
}

/* La règle */
.ab-rule {
  margin: 0 0 40px;
  padding: 24px 26px 26px;
  border: 0;
  border-radius: var(--ab-r-xl);
  background: var(--surface);
}
.ab-rule__ref {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 14.5px !important;
}
.ab-rule__ref strong {
  color: var(--text);
}
.ab-rule__since {
  display: inline-flex;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ab-elev);
  font-size: 12px;
  color: var(--muted);
}
.ab-rule__text {
  margin: 16px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--ab);
}
.ab-rule__text p {
  font: italic 400 17.5px/1.65 Georgia, 'Times New Roman', serif !important;
  color: var(--text) !important;
}
.ab-rule__text--summary {
  border-left-color: var(--ab-line-2);
}
.ab-rule__text--summary p {
  font: 400 16.5px/1.65 var(--ab-sans) !important;
}
.ab-callout {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--ab-eu) 25%, transparent);
  border-radius: var(--ab-r);
  background: color-mix(in srgb, var(--ab-eu) 7%, transparent);
}
.ab-callout strong {
  color: color-mix(in srgb, var(--ab-eu) 80%, var(--text));
}

/* Pourquoi / coût */
.ab-why__origin p {
  font-size: 16.5px;
}
.ab-proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px !important;
  font-weight: 600;
}
.ab-proof span {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  font: 800 10.5px/1 var(--ab-sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}
.ab-proof--officiel span {
  background: color-mix(in srgb, var(--ab-ok) 15%, transparent);
  color: var(--ab-ok-ink);
}
.ab-proof--estimation span {
  background: color-mix(in srgb, var(--ab-warn) 16%, transparent);
  color: var(--ab-warn-ink);
}
.ab-figure {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: var(--ab-r-lg);
  background: var(--surface);
}
.ab-figure--official {
  border-left: 4px solid var(--ab-ok);
}
.ab-figure--estimate {
  border: 1px dashed color-mix(in srgb, var(--ab-warn) 60%, var(--line));
  background: color-mix(in srgb, var(--ab-warn) 5%, var(--surface));
}
.ab-figure__badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ab-warn);
  color: #fff !important;
  font: 800 10.5px/1.2 var(--ab-sans) !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ab-figure__value {
  margin-top: 8px !important;
  font: 850 clamp(30px, 4vw, 44px)/1.05 var(--ab-display) !important;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text) !important;
}
.ab-figure__value small {
  font: 600 15px/1 var(--ab-sans);
  letter-spacing: 0;
  color: var(--muted);
}
.ab-figure__label {
  margin-top: 6px !important;
  font-size: 15px !important;
}
.ab-method {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.ab-method summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.ab-method summary::-webkit-details-marker {
  display: none;
}
.ab-method summary::before {
  content: '+';
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--surface-2);
  font-weight: 800;
}
.ab-method[open] summary::before {
  content: '−';
}
.ab-method__formula {
  margin-top: 12px !important;
}
.ab-method__formula code,
.ab-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ab-method__formula code {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ab-elev);
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
}
.ab-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.ab-table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ab-line-2);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
}
.ab-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.ab-table td code {
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-2);
  font-size: 11.5px;
  color: var(--muted);
}
.ab-num {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text) !important;
}
.ab-cost__other {
  margin-top: 6px;
}

/* Ailleurs en Europe */
.ab-countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-country {
  --cmp: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--cmp);
  border-radius: var(--ab-r-lg);
  background: var(--ab-elev);
}
.ab-country--plus_simple {
  --cmp: var(--ab-ok);
}
.ab-country--plus_strict {
  --cmp: var(--ab);
}
.ab-country--comparable {
  --cmp: var(--ab-warn);
}
.ab-country__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: var(--text) !important;
}
/* Code pays plutôt qu'un drapeau emoji (carrés vides sans police emoji, lettres sous Windows) */
.ab-country__code {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--text);
  font: 800 11px/1 var(--ab-sans);
  letter-spacing: 0.06em;
  color: var(--bg);
}
.ab-country__name em {
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cmp) 14%, transparent);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  color: color-mix(in srgb, var(--cmp) 75%, var(--text));
}
.ab-country > p:not(.ab-country__name) {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

/* Parcours du combattant */
.ab-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ab-step;
}
.ab-steps li {
  position: relative;
  padding: 0 0 22px 50px;
  counter-increment: ab-step;
}
.ab-steps li::before {
  content: counter(ab-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font: 800 14px/1 var(--ab-display);
}
.ab-steps li::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.ab-steps li:last-child {
  padding-bottom: 0;
}
.ab-steps li:last-child::after {
  display: none;
}
.ab-steps__what {
  padding-top: 5px;
  font-weight: 650;
  color: var(--text) !important;
}
.ab-steps__meta {
  margin: 2px 0 6px !important;
  font-size: 13.5px !important;
  color: var(--muted) !important;
}

/* Fiche organisme */
.ab-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
  margin: 0;
}
.ab-facts div {
  padding: 12px 14px;
  border-radius: var(--ab-r);
  background: var(--surface);
}
.ab-facts dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ab-facts dd {
  margin: 4px 0 0;
  font: 750 16px/1.3 var(--ab-display);
  color: var(--text);
}

/* Pistes de solution */
/* Les éléments de liste ne s'élargissent jamais pour un contenu insécable (adresse de source longue, badges) */
.ab-pistes__list > li,
.ab-steps > li,
.ab-home__grid > *,
.ab-home__list > li,
.ab-week__card > * {
  min-width: 0;
}
.ab-pistes__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-piste {
  --st: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--st);
  border-radius: var(--ab-r-lg);
  background: var(--ab-elev);
}
.ab-piste--adoptee {
  --st: var(--ab-ok);
}
.ab-piste--en_discussion,
.ab-piste--proposee {
  --st: var(--ab-eu);
}
.ab-piste--rejetee,
.ab-piste--abandonnee {
  --st: var(--ab);
}
.ab-piste > p:first-child {
  font-weight: 550;
  color: var(--text) !important;
}
.ab-piste__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 13.5px !important;
  color: var(--muted) !important;
}
.ab-piste__status {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--st) 14%, transparent);
  font-size: 11.5px;
  font-weight: 700;
  color: color-mix(in srgb, var(--st) 78%, var(--text));
}

/* Notre vérification, crédit, carte */
.ab-check {
  margin-top: 48px;
  padding: 24px 26px;
  border: 1px solid color-mix(in srgb, var(--ab-ok) 26%, transparent);
  border-radius: var(--ab-r-xl);
  background: color-mix(in srgb, var(--ab-ok) 6%, var(--surface));
}
.ab-check__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 750 19px/1.2 var(--ab-display);
  color: var(--text);
}
.ab-check__title::before {
  content: '✓';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ab-ok);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.ab-check__facts {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.ab-check__facts li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}
.ab-check__facts li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ab-ok);
}
.ab-check strong {
  color: var(--text);
}
.ab-check__summary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--ab-ok) 22%, transparent);
}
.ab-check__summary p {
  margin: 0;
  font-size: 15px;
}
.ab-check__summary p + p {
  margin-top: 0.7em;
}
.ab-check__sub {
  margin: 16px 0 0;
  font-size: 12.5px !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.ab-check__unc {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.ab-check__unc li {
  font-size: 14.5px;
}
.ab-check__unc li + li {
  margin-top: 4px;
}
.ab-check__more {
  margin: 16px 0 0;
  font-size: 13.5px !important;
}
.ab-check__more a,
.ab-report__legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ab-credit {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: var(--ab-r);
  background: var(--surface);
  font-size: 14.5px;
  color: var(--text-2);
}
.ab-credit strong {
  color: var(--text);
}
.ab-card-dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.ab-card-dl a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ab-line-2);
  border-radius: var(--ab-btn-r);
  font-weight: 650;
  color: var(--text);
  transition: border-color 0.2s;
}
.ab-card-dl a:hover {
  border-color: var(--text);
}
.ab-card-dl .i {
  width: 16px;
  height: 16px;
}

/* ---------- Vote ---------- */
.ab-vote {
  margin-top: 32px;
  padding: 30px 28px;
  border-radius: var(--ab-r-xl);
  background: var(--text);
  color: var(--bg);
  text-align: center;
}
.ab-vote [hidden] {
  display: none !important;
}
.ab-vote__title {
  margin: 0;
  font: 850 clamp(22px, 2.6vw, 28px)/1.15 var(--ab-display);
  letter-spacing: -0.02em;
  color: inherit;
}
.ab-vote__q {
  margin: 6px 0 0;
  font-size: 15.5px;
  opacity: 0.75;
}
.ab-vote__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.ab-vote__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 176px;
  height: 54px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--ab-btn-r);
  font: 750 16.5px/1 var(--ab-display);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.ab-vote__btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}
.ab-vote__btn:active {
  transform: scale(0.97);
}
.ab-vote__btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ab) 65%, transparent);
  outline-offset: 3px;
}
.ab-vote__btn--aberrant {
  background: var(--ab);
  color: #fff;
}
.ab-vote__btn--aberrant:hover {
  background: color-mix(in srgb, var(--ab) 85%, #000);
}
.ab-vote__btn--justifie {
  border-color: color-mix(in srgb, var(--bg) 40%, transparent);
  background: transparent;
  color: inherit;
}
.ab-vote__btn--justifie:hover {
  border-color: var(--bg);
}
.ab-vote.is-busy .ab-vote__btn {
  opacity: 0.55;
  pointer-events: none;
}
.ab-vote__hint {
  margin: 14px 0 0;
  font-size: 12.5px;
  opacity: 0.6;
}
.ab-vote.is-voted .ab-vote__hint {
  display: none;
}
.ab-vote__result {
  max-width: 460px;
  margin: 18px auto 0;
  text-align: left;
}
.ab-vote__thanks,
.ab-vote__count,
.ab-vote__error {
  margin: 0;
  text-align: center;
}
.ab-vote__thanks {
  font-size: 15.5px;
}
.ab-vote__bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.ab-vote__bar {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 14px;
}
.ab-vote__bar-track {
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  overflow: hidden;
}
.ab-vote__bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
}
.ab-vote__bar--aberrant .ab-vote__bar-track i {
  background: var(--ab);
}
@media (prefers-reduced-motion: no-preference) {
  .ab-vote__bar-track i {
    animation: ab-grow 0.8s var(--ease-out);
  }
}
@keyframes ab-grow {
  from {
    width: 0;
  }
}
.ab-vote__bar strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ab-vote__bar.is-mine .ab-vote__bar-label {
  font-weight: 800;
}
.ab-vote__count {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.65;
}
.ab-vote__error {
  margin-top: 14px;
  font-size: 14px;
  color: color-mix(in srgb, var(--ab) 55%, var(--bg));
}

/* ---------- Signalement ---------- */
.ab-report {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px 48px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--ab-r-xl);
  background: var(--surface);
}
.ab-report__kicker {
  margin: 0;
  font: 800 12.5px/1 var(--ab-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-ink);
}
.ab-report__title {
  margin: 10px 0 0;
  font: 850 clamp(26px, 3vw, 36px)/1.1 var(--ab-display);
  letter-spacing: -0.025em;
  color: var(--text);
}
.ab-report__intro > p:last-child {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.ab-report__form {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
}
.ab-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
}
.ab-field em {
  margin-left: 4px;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.ab-field input,
.ab-field textarea,
.ab-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ab-line-2);
  border-radius: var(--ab-r);
  background: var(--ab-elev);
  font: 400 15px/1.4 var(--ab-sans);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ab-field textarea {
  min-height: 110px;
  resize: vertical;
}
.ab-field input:focus,
.ab-field textarea:focus,
.ab-field select:focus {
  outline: none;
  border-color: var(--ab);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ab) 14%, transparent);
}
.ab-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
}
.ab-check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}
.ab-check-line input,
.newsletter__ab input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ab);
}
.ab-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ab-report__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
}
.ab-report__legal {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--ab-btn-r);
  background: var(--ab);
  color: #fff;
  font: 700 14.5px/1 var(--ab-sans);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.ab-btn:hover {
  background: color-mix(in srgb, var(--ab) 86%, #000);
}
.ab-btn:active {
  transform: scale(0.97);
}
.ab-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.ab-report__status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--ab-r);
  font-size: 14.5px;
}
.ab-report__status.is-success {
  background: color-mix(in srgb, var(--ab-ok) 13%, transparent);
  color: var(--ab-ok-ink);
}
.ab-report__status.is-error {
  background: color-mix(in srgb, var(--ab) 11%, transparent);
  color: var(--ab-ink);
}

/* ---------- Compteur ---------- */
.ab-counter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ab-counter__card {
  --c: var(--ab);
  padding: 22px 22px 20px;
  border-top: 4px solid var(--c);
  border-radius: var(--ab-r-lg);
  background: var(--surface);
}
.ab-counter__card--official {
  --c: var(--ab-ok);
}
.ab-counter__card--estimate {
  --c: var(--ab-warn);
}
.ab-counter__label {
  margin: 0;
  font: 800 12px/1.2 var(--ab-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 75%, var(--text));
}
.ab-counter__value {
  margin: 10px 0 0;
  font: 850 clamp(30px, 3.6vw, 44px)/1 var(--ab-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.ab-counter__hint {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}
.ab-counter__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Page de la rubrique ---------- */
.ab-hero__head {
  position: relative;
  margin-top: 22px;
  padding: clamp(24px, 4.4vw, 52px);
  border-radius: var(--ab-r-xl);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ab) 13%, var(--surface)) 0%, var(--surface) 62%);
  overflow: hidden;
  isolation: isolate;
}
.ab-hero__head::after {
  content: 'VRAI';
  position: absolute;
  z-index: -1;
  right: clamp(-40px, -2vw, -10px);
  top: 50%;
  padding: 0 0.12em;
  border: 0.04em solid color-mix(in srgb, var(--ab) 16%, transparent);
  border-radius: 0.1em;
  font: 900 clamp(90px, 15vw, 200px)/1 var(--ab-display);
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--ab) 18%, transparent);
  transform: translateY(-50%) rotate(-12deg);
  pointer-events: none;
}
.ab-hero__title {
  max-width: 18ch;
  margin: 12px 0 0;
  font: 850 clamp(34px, 5.4vw, 64px)/1.02 var(--ab-display);
  letter-spacing: -0.035em;
  color: var(--text);
}
.ab-hero__filter {
  font-size: 0.55em;
  letter-spacing: -0.02em;
  color: var(--ab-ink);
}
.ab-hero__tagline {
  max-width: 60ch;
  margin: 14px 0 0;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 550;
  line-height: 1.4;
  color: var(--text);
}
.ab-hero__intro {
  max-width: 68ch;
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.ab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}
.ab-hero__actions .i {
  width: 16px;
  height: 16px;
}
.ab-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 28px;
  margin-top: 22px;
}
.ab-filters__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.ab-filters__label {
  font: 800 11.5px/1 var(--ab-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ab-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--ab-line-2);
  border-radius: 999px;
  background: var(--ab-elev);
  font: 600 13.5px/1 var(--ab-sans);
  color: var(--text-2);
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.ab-chip:hover {
  border-color: var(--text);
  color: var(--text);
}
.ab-chip.is-on {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}
.ab-filters__reset {
  align-self: center;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ab-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* L'aberration de la semaine */
.ab-week__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--ab-r-xl);
  background: var(--ab-elev);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Carte générée dans n'importe quel emplacement d'image (cartes, listes, « À lire aussi ») : elle porte du texte,
   elle n'est donc jamais rognée ; l'emplacement garde sa taille et le fond de la carte comble l'écart */
img[src*='/media/aberration/'] {
  object-fit: contain !important;
  background: #0d0e11;
}

/* Carte générée en couverture d'une pièce : cadre au format de la carte (16:10), le texte n'est jamais rogné */
.article-cover--ab .media {
  aspect-ratio: 16 / 10;
}
/* La carte porte du texte : jamais rognée ; si la colonne est plus haute, le fond prolonge le bas de la carte */
.ab-week__media {
  display: flex;
  align-items: flex-start;
  background: #0d0e11;
}
.ab-week__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.ab-week__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(22px, 3vw, 38px);
}
.ab-week__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 800 12px/1 var(--ab-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-ink);
}
.ab-week__label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ab);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ab) 18%, transparent);
}
.ab-week__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.ab-week__theme,
.ab-home__theme {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.ab-week__title {
  margin: 0;
  font: 800 clamp(22px, 2.6vw, 32px)/1.15 var(--ab-display);
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}
.ab-week__title a:hover,
.ab-home__h a:hover,
.ab-top__title:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ab-week__dek {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.ab-week__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin: 6px 0 4px 4px;
}
.ab-week__cta {
  margin-top: 6px;
}

/* Les plus aberrants */
.ab-top__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-top__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas: 'rank title' 'rank votes';
  align-items: start;
  column-gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ab-top__rank {
  grid-area: rank;
  font: 850 30px/1 var(--ab-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ab);
}
.ab-top__title {
  grid-area: title;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}
.ab-top__votes {
  grid-area: votes;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.ab-top__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Bloc de l'accueil ---------- */
.ab-home {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--ab-r-xl);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ab) 11%, var(--surface)) 0%, var(--surface) 58%);
}
.ab-home__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.ab-home__kicker {
  margin: 0;
  font: 800 12px/1 var(--ab-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-ink);
}
.ab-home__title {
  margin: 8px 0 0;
  font: 850 clamp(26px, 3.2vw, 38px)/1.05 var(--ab-display);
  letter-spacing: -0.03em;
}
.ab-home__title a,
.ab-home__h a {
  color: var(--text);
}
.ab-home__tagline {
  max-width: 60ch;
  margin: 8px 0 0;
  font-size: 15.5px;
  color: var(--text-2);
}
.ab-home__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ab-ink);
  white-space: nowrap;
}
.ab-home__all .i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}
.ab-home__all:hover .i {
  transform: translateX(4px);
}
.ab-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 22px;
}
.ab-home__featured {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--ab-r-lg);
  background: var(--ab-elev);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ab-home__card {
  display: block;
  background: var(--surface-2);
}
.ab-home__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.ab-home__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px 24px;
}
.ab-home__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  font: 800 12px/1.2 var(--ab-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ab-ink);
}
.ab-home__h {
  margin: 0;
  font: 800 clamp(19px, 2vw, 24px)/1.2 var(--ab-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ab-home__dek {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.ab-home__list {
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-home__list a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--ab-r-lg);
  background: var(--ab-elev);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
.ab-home__list a:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.ab-home__list strong {
  font: 700 16px/1.35 var(--ab-display);
  color: var(--text);
}
.ab-home__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.ab-home__fig {
  font: 800 17px/1.2 var(--ab-display);
  color: var(--ab-ink);
}
.ab-home__fig small {
  font: 500 12.5px/1.3 var(--ab-sans);
  color: var(--muted);
}

/* ---------- Petits écrans ---------- */
@media (max-width: 860px) {
  .ab-week__card,
  .ab-home__grid,
  .ab-report {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-counter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-counter__card--pieces {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .ab-filters {
    flex-direction: column;
    gap: 12px;
  }
  .ab-filters__group {
    display: grid;
    gap: 6px;
    width: 100%;
  }
  .ab-filters ul {
    flex-wrap: nowrap;
    margin-right: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 2px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ab-filters ul::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 560px) {
  .ab-counter,
  .ab-field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-verdict,
  .ab-rule,
  .ab-check,
  .ab-vote {
    padding: 22px 18px;
  }
  .ab-stamp {
    font-size: 36px;
  }
  .ab-verdict__ours {
    flex-direction: column;
    align-items: flex-start;
  }
  .ab-vote__btn {
    flex: 1 1 100%;
    min-width: 0;
  }
  .ab-vote__bar {
    grid-template-columns: 66px minmax(0, 1fr) 44px;
    gap: 8px;
  }
  .ab-table th:nth-child(3),
  .ab-table td:nth-child(3) {
    display: none;
  }
}

/* ---------- Spécifique Édition ---------- */
.article-flag--ab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.article-flag--ab .ab-badge {
  gap: 8px;
  padding: 7px 13px 7px 11px;
  font-size: 11px;
}
.article-flag--ab .ab-badge--fiche {
  background: var(--ab);
  color: #fff;
}
.article-flag--ab .ab-badge--fiche::before,
.article-flag--ab .ab-verdict-pill::before {
  content: none;
}
.article-flag--ab .ab-verdict-pill {
  padding: 5px 9px;
  border-radius: 6px;
  background: none;
  color: color-mix(in srgb, var(--v, var(--ab)) 82%, var(--text));
  font-size: 11px;
}
.story__kickers .ab-badge {
  font-size: 10px;
}
.ab-hero.listing-head {
  padding-bottom: 0;
  border-bottom: 0;
}
.ab-top.split__rail .ab-top__item {
  grid-template-columns: 38px minmax(0, 1fr);
}
.ab-top.split__rail .ab-top__rank {
  font-size: 26px;
}
.ab-rail {
  display: grid;
  gap: 14px;
}
.ab-letter {
  padding: 22px;
  border-radius: var(--ab-r-xl);
  background: #0b0b0f;
  color: #b9b9c4;
}
[data-theme='dark'] .ab-letter {
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.ab-letter .rail-title {
  color: #fff;
}
.ab-letter p {
  margin: 4px 0 16px;
  font-size: 14px;
  line-height: 1.5;
}
.ab-letter .newsletter {
  flex-wrap: wrap;
  border-radius: 24px;
}
.ab-letter .newsletter__field {
  flex: 1 1 100%;
}
.ab-letter .newsletter .btn {
  flex: 1 1 100%;
}
.ab-rail__report a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--ab-r-lg);
  background: var(--surface);
  font-weight: 650;
  color: var(--text);
}
.ab-rail__report .i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}
.ab-rail__report a:hover .i {
  transform: translateX(4px);
}
.newsletter:has(.newsletter__ab) {
  flex-wrap: wrap;
  border-radius: 26px;
}
.newsletter__ab {
  display: flex;
  flex: 1 0 100%;
  align-items: center;
  gap: 8px;
  padding: 2px 14px 8px;
  font-size: 13px;
  color: #b9b9c4;
  cursor: pointer;
}
.newsletter__ab input {
  margin: 0;
}
