/* Fichier généré par bin/build-css.sh — ne pas modifier à la main. */
/* Source : app/assets/css/*.css */

/* ===== 00-fonts.css ===== */
/*
 * Polices auto-hébergées.
 *
 * Servir les fichiers depuis fonts.gstatic.com transmet l'IP du visiteur à
 * Google, ce que la CNIL considère comme un transfert de données personnelles
 * sans consentement. En local : aucune requête tierce, et un aller-retour
 * DNS/TLS de moins sur le chemin critique du rendu.
 *
 * Ce sont des polices VARIABLES : un seul fichier par famille et par
 * sous-ensemble couvre toute la plage de graisses, d'où la syntaxe
 * `font-weight: 400 600`. Découper par graisse téléchargerait trois fois
 * le même fichier.
 *
 * Sous-ensembles latin + latin-ext seulement (le français n'a besoin de rien
 * d'autre). Pour régénérer, voir doc/DEVELOPPEMENT.md.
 *
 * Les fichiers .woff2 vivent dans assets/fonts/, cette feuille dans
 * assets/css/ : un dossier, un type de contenu. Les URL sont donc
 * relatives (../fonts/) et restent valides depuis le bundle concaténé,
 * qui est écrit dans le même dossier.
 */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-ext.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;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.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;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.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;
}

/* ===== 01-tokens.css ===== */
/*
 * Jetons de design — palette CLAIRE.
 *
 * Ce fichier ne contient que le mode clair, et c'est délibéré : c'est le seul
 * des deux qui est chargé dans l'éditeur de blocs (add_editor_style, voir
 * inc/assets.php).
 *
 * Le mode sombre vit dans 01-tokens-dark.css. Tant que les deux étaient
 * réunis, l'éditeur héritait du bloc `prefers-color-scheme` : WordPress
 * préfixe les sélecteurs des feuilles d'éditeur, si bien que
 * `html:not([data-theme="light"])` devenait
 * `.editor-styles-wrapper:not([data-theme="light"])` — qui correspond, le
 * conteneur ne portant aucun attribut de thème. Résultat : un canevas
 * d'édition sombre dès que le système de l'auteur était en sombre, alors que
 * l'interface de WordPress autour reste claire et que ses repères visuels
 * (contours de blocs, textes indicatifs) supposent un fond clair.
 */
:root {
  --page-bg: oklch(0.985 0.006 80);
  --surface: #ffffff;
  --surface-alt: oklch(0.97 0.006 80);
  --hero-wash: oklch(0.97 0.012 45);
  --border: oklch(0.9 0.008 80);
  --text: oklch(0.24 0.015 80);
  --text-muted: oklch(0.48 0.02 80);
  --text-muted-2: oklch(0.58 0.02 80);
  --search-bg: oklch(0.97 0.006 80);
  --shadow-color: oklch(0.2 0.02 80 / 0.12);
  --accent: #bf5f22;
  --accent-hover: oklch(0.4 0.16 45);
  --accent-contrast: #ffffff;

  --code-bg: oklch(0.96 0.006 80);
  --code-ink: oklch(0.3 0.04 30);
  --code-block-bg: oklch(0.22 0.014 80);
  --code-block-ink: oklch(0.9 0.008 80);

  --test-bg: oklch(0.95 0.035 45);
  --test-ink: oklch(0.42 0.15 45);
  --tuto-bg: oklch(0.95 0.035 150);
  --tuto-ink: oklch(0.4 0.13 150);
  --news-bg: oklch(0.95 0.035 250);
  --news-ink: oklch(0.42 0.13 250);
  --default-bg: oklch(0.94 0.008 80);
  --default-ink: oklch(0.45 0.015 80);

  /*
   * Largeurs fluides : elles suivent la fenêtre entre deux bornes, au lieu
   * d'être figées.
   *
   * Les trois valeurs sont calibrées pour retomber sur les anciennes valeurs
   * fixes autour de 1280 px — la largeur de référence de la maquette — puis
   * gagner de la place au-delà, jusqu'à un plafond.
   *
   * Le plafond n'est pas décoratif : sans lui, un écran 2560 px étirait la
   * grille et l'en-tête sur 2400 px de large.
   */

  /* Conteneur du site : en-tête, zone d'accueil, grille, pied de page. */
  --wrap-max: clamp(1200px, 88vw, 1560px);

  /*
   * Largeur RÉELLE du texte, marges intérieures exclues.
   *
   * Tous les conteneurs de lecture ajoutent la gouttière par-dessus, via
   * calc(var(--prose-max) + var(--gutter) * 2). C'est la correction d'un
   * piège : avec box-sizing: border-box, un max-width assorti d'une marge
   * intérieure ne laissait au texte que la différence des deux.
   *
   * Le plafond est bas et volontairement plus bas que celui du site : la
   * lecture ne gagne rien à s'élargir indéfiniment. Au-delà d'une centaine
   * de caractères par ligne, l'œil perd le début de la ligne suivante. Les
   * grands écrans profitent donc à la grille et aux images, pas au texte.
   */
  --prose-max: clamp(680px, 59vw, 860px);

  /* Blocs qui ont le droit de déborder de la colonne : image d'en-tête,
     articles similaires, .alignwide. */
  --prose-wide: clamp(920px, 76vw, 1240px);

  --gutter: clamp(32px, 4.5vw, 80px);
  --gutter-sm: 16px;

  /*
   * Barre latérale. Elle fait partie du calcul de la colonne principale
   * (site - sidebar - gap) : la laisser en dur dans 06-layout.css obligeait à
   * refaire l'arithmétique de tête pour savoir ce qu'il reste au contenu.
   *
   * Comme le reste, elle suit la fenêtre à partir du plancher de 1280 px.
   */
  --sidebar-w: clamp(280px, 18vw, 340px);
  --sidebar-gap: 48px;

  /* Largeur du champ de recherche, en en-tête comme sur la page 404. */
  --search-w: 380px;

  /*
   * Colonne courte : description d'archive, message de la 404. Un texte de
   * deux ou trois lignes n'a pas besoin de la pleine largeur de lecture, et
   * deux valeurs différentes traînaient pour le même usage (620 et 640).
   */
  --measure-short: 640px;

  /*
   * Contrat avec le plugin Dahoo Contenu.
   *
   * L'en-tête est collant : une ancre visée par le sommaire doit s'arrêter en
   * dessous, sinon le titre atterrit sous l'en-tête et reste invisible. Le
   * plugin ne peut pas connaître cette hauteur — le thème la lui donne.
   */
  --dahoo-header-offset: 110px;

  /* Police de titre, exposée pour que le plugin s'aligne dessus. */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;

  /*
   * Marge d'un bandeau pleine largeur dont le contenu doit rester centré et
   * plafonné à --wrap-max, sans conteneur intermédiaire dans le HTML.
   *
   * La marge vaut la gouttière tant que la fenêtre est étroite, puis grandit
   * pour absorber le surplus dès que la fenêtre dépasse --wrap-max. C'est ce
   * qui permet à l'en-tête, au hero et au pied de page de garder un fond
   * pleine largeur tout en alignant leur contenu sur la grille.
   */
  --bleed: max(var(--gutter), (100% - var(--wrap-max)) / 2);
}

/* ===== 01-tokens-dark.css ===== */
/*
 * Jetons de design — palette SOMBRE.
 *
 * Séparée de la palette claire pour ne pas être chargée dans l'éditeur de
 * blocs (voir l'en-tête de 01-tokens.css).
 *
 * Le bloc est écrit deux fois volontairement :
 *   - html[data-theme="dark"]  choix explicite du visiteur, via le bouton
 *   - prefers-color-scheme     préférence système, tant qu'aucun choix
 *                              explicite n'a été fait
 *
 * Le `:not([data-theme="light"])` du second est ce qui permet à un visiteur en
 * sombre système de forcer le clair : sans lui, la préférence système
 * gagnerait toujours et le bouton n'aurait aucun effet dans ce sens.
 */

html[data-theme="dark"] {
  --page-bg: oklch(0.18 0.012 80);
  --surface: oklch(0.23 0.013 80);
  --surface-alt: oklch(0.26 0.013 80);
  --hero-wash: oklch(0.26 0.03 45);
  --border: oklch(0.34 0.016 80);
  --text: oklch(0.93 0.006 80);
  --text-muted: oklch(0.7 0.012 80);
  --text-muted-2: oklch(0.6 0.01 80);
  --search-bg: oklch(0.27 0.014 80);
  --shadow-color: oklch(0 0 0 / 0.45);
  --accent-hover: oklch(0.72 0.16 45);

  --code-bg: oklch(0.28 0.014 80);
  --code-ink: oklch(0.86 0.05 45);
  --code-block-bg: oklch(0.14 0.01 80);
  --code-block-ink: oklch(0.88 0.008 80);

  --test-bg: oklch(0.32 0.05 45);
  --test-ink: oklch(0.86 0.08 45);
  --tuto-bg: oklch(0.3 0.05 150);
  --tuto-ink: oklch(0.84 0.1 150);
  --news-bg: oklch(0.3 0.05 250);
  --news-ink: oklch(0.85 0.1 250);
  --default-bg: oklch(0.28 0.01 80);
  --default-ink: oklch(0.8 0.012 80);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --page-bg: oklch(0.18 0.012 80);
    --surface: oklch(0.23 0.013 80);
    --surface-alt: oklch(0.26 0.013 80);
    --hero-wash: oklch(0.26 0.03 45);
    --border: oklch(0.34 0.016 80);
    --text: oklch(0.93 0.006 80);
    --text-muted: oklch(0.7 0.012 80);
    --text-muted-2: oklch(0.6 0.01 80);
    --search-bg: oklch(0.27 0.014 80);
    --shadow-color: oklch(0 0 0 / 0.45);
    --accent-hover: oklch(0.72 0.16 45);

    --code-bg: oklch(0.28 0.014 80);
    --code-ink: oklch(0.86 0.05 45);
    --code-block-bg: oklch(0.14 0.01 80);
    --code-block-ink: oklch(0.88 0.008 80);

    --test-bg: oklch(0.32 0.05 45);
    --test-ink: oklch(0.86 0.08 45);
    --tuto-bg: oklch(0.3 0.05 150);
    --tuto-ink: oklch(0.84 0.1 150);
    --news-bg: oklch(0.3 0.05 250);
    --news-ink: oklch(0.85 0.1 250);
    --default-bg: oklch(0.28 0.01 80);
    --default-ink: oklch(0.8 0.012 80);
  }
}

/* ===== 02-base.css ===== */
/* Reset léger, typographie de base et utilitaires d'accessibilité. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6, .brand-word {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/*
 * Anneau de focus visible au clavier uniquement. Sans ça, les boutons du
 * thème (partage, menu, bascule clair/sombre) n'ont aucun retour visuel à la
 * tabulation, ce qui rend la navigation au clavier impraticable.
 */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@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;
  }
}

/* --------------------------------------------------------------------------
 * Utilitaires d'accessibilité
 *
 * .screen-reader-text n'est pas décoratif : WordPress l'utilise dans ses
 * propres sorties (pagination, formulaire de commentaire, libellés de
 * recherche). Sans cette règle, ces textes destinés aux lecteurs d'écran
 * s'affichent en clair au milieu de la page.
 * ------------------------------------------------------------------------ */

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip-path: none;
  background: var(--surface);
  color: var(--accent);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 16px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 16px;
  width: auto;
  z-index: 100000;
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--shadow-color);
}

.skip-link:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== 03-components.css ===== */
/* Briques réutilisées par plusieurs gabarits : cartes, pastilles, boutons,
   pagination, en-têtes de section. */

.card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card.is-hoverable:hover { box-shadow: 0 8px 24px var(--shadow-color); transform: translateY(-2px); }

/* Le titre de carte hérite de la couleur du texte plutôt que de la couleur de
   lien : la carte entière fait office de zone cliquable, un titre orange
   partout créerait un mur de couleur. */
.card-title-link { color: inherit; }
.card-title-link:hover { color: var(--accent); }

/* Pastille de catégorie, produite par dahoo_category_badge(). */
.cat-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cat-tests { background: var(--test-bg); color: var(--test-ink); }
.cat-tutos { background: var(--tuto-bg); color: var(--tuto-ink); }
.cat-news  { background: var(--news-bg); color: var(--news-ink); }
.cat-default { background: var(--default-bg); color: var(--default-ink); }

/* Vignette de repli quand un article n'a pas d'image mise en avant. */
.thumb-tests { background: var(--test-bg); color: var(--test-ink); }
.thumb-tutos { background: var(--tuto-bg); color: var(--tuto-ink); }
.thumb-news  { background: var(--news-bg); color: var(--news-ink); }
.thumb-default { background: var(--default-bg); color: var(--default-ink); }

.thumb-image { width: 100%; height: 100%; object-fit: cover; }

.kicker {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.kicker.is-featured { color: var(--accent); }
.kicker svg { flex-shrink: 0; }

/*
 * Ligne de métadonnées : date, temps de lecture, auteur…
 *
 * Les icônes remplacent les séparateurs « · » qui traînaient auparavant entre
 * chaque valeur. Elles sont décoratives — le texte porte l'information — d'où
 * le aria-hidden posé côté PHP, et l'opacité qui les fait passer derrière lui.
 */
.meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--text-muted-2);
}

.meta-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.meta-item svg { flex-shrink: 0; opacity: 0.7; }

.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-heading h1, .section-heading h2, .section-heading h3 { font-size: 20px; font-weight: 700; }

.filter-pills { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.filter-pill {
  padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); color: var(--text-muted);
}
.filter-pill.is-active { background: var(--accent); color: var(--accent-contrast); border-color: transparent; font-weight: 600; }
.filter-pill:hover { opacity: 0.85; }

.pagination-wrap, .nav-links {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 32px;
}
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.current { background: var(--accent); color: var(--accent-contrast); border-color: transparent; font-weight: 600; }
.page-numbers.dots { border-color: transparent; color: var(--text-muted-2); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px;
  background: var(--accent); color: var(--accent-contrast);
  border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-contrast); }

/* Bulle de confirmation après « copier le lien ». */
.copy-feedback {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: var(--text); color: var(--page-bg);
  padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 8px 24px var(--shadow-color); z-index: 200;
}

/* ===== 04-header.css ===== */
/*
 * En-tête du site.
 *
 * La navigation principale n'existe qu'une seule fois dans le DOM : le même
 * <nav class="primary-nav"> devient un panneau plein écran sous 900 px (voir
 * 99-responsive.css). Le rendre deux fois — une version desktop et une version
 * mobile — dupliquerait les identifiants `menu-item-<ID>` que WordPress pose
 * sur chaque <li>, ce qui produit un HTML invalide et perd les lecteurs
 * d'écran.
 */

.site-header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 var(--bleed);
  height: 92px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.site-logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-contrast); font-weight: 700; font-size: 19px;
  font-family: 'Space Grotesk', sans-serif;
}
.site-logo-image { height: 38px; width: auto; max-width: 200px; border-radius: 4px; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-logo-text .brand-word { font-size: 22px; font-weight: 700; color: var(--text); }
.site-logo-tagline { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }

.site-search { flex: 1; display: flex; justify-content: center; }
.site-search-inner { position: relative; width: 100%; max-width: var(--search-w); }
.site-search-inner svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-muted); }
.site-search-input {
  width: 100%; padding: 9px 14px 9px 38px; border-radius: 8px; font-size: 14px;
  font-family: inherit; border: 1px solid var(--border); background: var(--search-bg); color: var(--text);
}
.site-search-input::placeholder { color: var(--text-muted); }
.site-search-input:focus { outline: none; border-color: var(--accent); background: var(--surface); }

/*
 * `margin-left: auto` maintient la navigation collee a droite meme quand la
 * recherche de l'en-tete est desactivee (Personnaliser -> Options du theme).
 * Avec la recherche affichee, celle-ci occupe deja l'espace libre en flex: 1,
 * donc la marge automatique ne change rien.
 */
.primary-nav { display: flex; align-items: center; gap: 32px; flex-shrink: 0; margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.primary-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.primary-nav a:hover { color: var(--accent); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a { color: var(--accent); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

.theme-toggle, .mobile-menu-toggle, .mobile-search-toggle {
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text);
  border-radius: 8px;
}
.theme-toggle:hover, .mobile-menu-toggle:hover, .mobile-search-toggle:hover { background: var(--hero-wash); }

/*
 * Icône affichée selon le thème réellement appliqué — y compris quand il vient
 * de la préférence système et non d'un clic, d'où la variante media query.
 */
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  html:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.mobile-menu-toggle, .mobile-search-toggle, .mobile-search-bar { display: none; }

/* ===== 05-hero.css ===== */
/* Zone d'accueil : article principal + trois sélections de découverte. */

.hero-section {
  padding: 36px var(--bleed);
  background: var(--hero-wash);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

.hero-main { overflow: hidden; display: flex; flex-direction: column; }
.hero-main-thumb { width: 100%; height: 210px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-main-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.hero-main-body h2 { font-size: 22px; font-weight: 700; line-height: 1.25; }
.hero-main-body p.excerpt {
  margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hero-main-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--text-muted-2); }
.hero-main-meta .read-more { color: var(--accent); font-weight: 600; font-size: 14px; }
.hero-main-meta .read-more:hover { color: var(--accent-hover); }

.hero-side { display: flex; flex-direction: column; gap: 18px; }
.hero-side-card { padding: 16px; display: flex; gap: 16px; }
.hero-side-thumb { width: 88px; height: 88px; flex-shrink: 0; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-side-body { display: flex; flex-direction: column; gap: 5px; justify-content: center; min-width: 0; }
.hero-side-body h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }


/* ===== 06-layout.css ===== */
/* Gabarit deux colonnes (contenu + barre latérale) et grille d'articles. */

.content-wrap { padding: 40px var(--bleed) 56px; display: flex; gap: var(--sidebar-gap); }
.main-col { flex: 1; min-width: 0; order: 0; }
/* Modificateur disponible pour un gabarit sans barre latérale. */
.main-col.is-full { flex: 1 1 100%; }
.sidebar { flex: 0 0 var(--sidebar-w); display: flex; flex-direction: column; gap: 24px; order: 1; }

/* Inversion pilotée par le réglage « Position de la barre latérale »
   (Personnaliser → Options du thème Dahoo), via une classe sur <body>. */
body.sidebar-left .main-col { order: 1; }
body.sidebar-left .sidebar { order: 0; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* Modificateur disponible pour une grille plus large (page sans sidebar). */
.article-grid.is-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.article-card { overflow: hidden; display: flex; flex-direction: column; }
.article-card-thumb { width: 100%; height: 148px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.article-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card-body h2, .article-card-body h3, .article-card-body h4 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.article-card-body p.excerpt {
  margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.article-card-body .meta-line { margin-top: auto; }

.no-results { padding: 32px 0; color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ===== 07-sidebar.css ===== */
/*
 * Barre latérale.
 *
 * La colonne est entièrement composée de widgets (voir inc/widgets.php), donc
 * ce module doit habiller aussi bien les widgets du thème que ceux de
 * WordPress — que l'utilisateur peut déposer à tout moment sans prévenir.
 *
 * Chaque famille est stylée dans ses deux variantes : les widgets classiques
 * (`.widget_search`, `.widget_nav_menu`…) et leurs équivalents en blocs
 * (`.wp-block-search`, `.wp-block-page-list`…). Depuis WordPress 5.8, les deux
 * cohabitent selon la façon dont le widget a été ajouté, et rien n'indique
 * laquelle sera utilisée.
 */

.sidebar-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px -24px var(--shadow-color);
}

.sidebar-block.rss-block,
.sidebar-block.widget-dahoo-rss { background: var(--hero-wash); gap: 10px; }

.sidebar-block h2,
.sidebar-block h3,
.sidebar-block h4,
.sidebar-block .widget-title,
.sidebar-block .wp-block-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-block .widget-title::before,
.sidebar-block .wp-block-heading::before {
  content: '';
  width: 3px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
}

.sidebar-block p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
.sidebar-block > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
 * Catégories mises en avant (widget « Dahoo — Catégories »)
 * ------------------------------------------------------------------------ */

.category-list { display: flex; flex-direction: column; gap: 3px; }

.category-list a {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 9px;
}
.category-list a:hover { filter: saturate(1.08) brightness(0.98); }

/*
 * La pastille emprunte la couleur du lien, elle-même donnée par la classe
 * .cat-<slug>. C'était un style en ligne jusqu'ici — mauvaise idée : il rendait
 * la couleur impossible à surcharger et bloquait toute politique CSP stricte.
 */
.category-list .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  background: currentColor;
}

.category-list .count {
  min-width: 26px;
  height: 21px;
  margin-left: auto;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface);
  color: currentColor;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/*
 * Le widget Catégories natif écrit le compteur comme un simple nœud texte :
 * `<li><a>Nom</a> (12)</li>`. Le lien était en display:block, ce qui rejetait
 * systématiquement « (12) » à la ligne suivante. La grille garde les deux sur
 * une seule ligne, même sans span autour du compteur, et compacte une longue
 * liste sans sacrifier la zone cliquable. Les sélecteurs portent sur tous les
 * `li`, pas seulement ceux du premier `ul` : WordPress imbrique les enfants
 * dans une nouvelle liste pour les catégories hiérarchiques.
 */
.sidebar-block.widget_categories li,
.sidebar-block .wp-block-categories-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 36px;
  padding: 0 9px;
  border-radius: 9px;
  color: var(--text-muted-2);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  transition: background-color 160ms ease, color 160ms ease;
}

.sidebar-block.widget_categories li:hover,
.sidebar-block .wp-block-categories-list li:hover {
  background: var(--surface-alt);
  color: var(--text-muted);
}

.sidebar-block.widget_categories li > a,
.sidebar-block .wp-block-categories-list li > a {
  min-width: 0;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.35;
}

.sidebar-block.widget_categories > ul > li > a::before,
.sidebar-block.widget_categories > nav > ul > li > a::before,
.sidebar-block .wp-block-categories-list > li > a::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

.sidebar-block.widget_categories li > ul,
.sidebar-block .wp-block-categories-list li > ul {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 6px;
}

.sidebar-block.widget_categories .current-cat,
.sidebar-block .wp-block-categories-list .current-cat {
  background: var(--default-bg);
}

.sidebar-block .wp-block-categories__post-count,
.sidebar-block .cat-item-count {
  min-width: 26px;
  height: 21px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--default-bg);
  color: var(--default-ink);
  font-size: 11.5px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
 * Encart RSS
 * ------------------------------------------------------------------------ */

.rss-link { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14px; }
.rss-link svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
 * Listes de liens — la forme que prennent la plupart des widgets natifs
 * (Menu, Articles récents, Catégories, Archives, Pages, Commentaires)
 * ------------------------------------------------------------------------ */

.sidebar-block ul,
.sidebar-block ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-block li { font-size: 14px; line-height: 1.5; }

.sidebar-block li a {
  color: var(--text);
  display: block;
  padding: 6px 0;
}
.sidebar-block li a:hover { color: var(--accent); }

/* Sous-menus et hiérarchies de pages ou de catégories. */
.sidebar-block ul ul,
.sidebar-block ol ol {
  padding-left: 14px;
  margin-top: 2px;
  border-left: 1px solid var(--border);
}

/* Compteurs affichés par les widgets Catégories et Archives. */
.sidebar-block .post-count,
.sidebar-block li > .count { color: var(--text-muted-2); font-size: 12.5px; }

/* Élément courant, marqué par WordPress sur les widgets de navigation. */
.sidebar-block .current-menu-item > a,
.sidebar-block .current_page_item > a,
.sidebar-block .current-cat > a { color: var(--accent); font-weight: 600; }

/* --------------------------------------------------------------------------
 * Articles récents et commentaires récents
 * ------------------------------------------------------------------------ */

.sidebar-block .post-date,
.sidebar-block .wp-block-latest-posts__post-date,
.sidebar-block .wp-block-latest-comments__comment-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted-2);
  margin-top: 2px;
}

.sidebar-block .wp-block-latest-posts__list li { padding: 6px 0; }
.sidebar-block .wp-block-latest-posts__featured-image img { border-radius: 4px; margin-bottom: 6px; }

.sidebar-block .wp-block-latest-comments__comment { padding: 6px 0; font-size: 13.5px; line-height: 1.5; }
.sidebar-block .wp-block-latest-comments__comment-excerpt p { font-size: 13px; }

/* --------------------------------------------------------------------------
 * Recherche
 * ------------------------------------------------------------------------ */

.sidebar-block .search-form,
.sidebar-block .wp-block-search__inside-wrapper { display: flex; gap: 8px; }

.sidebar-block .search-field,
.sidebar-block .wp-block-search__input,
.sidebar-block input[type="search"],
.sidebar-block input[type="text"],
.sidebar-block input[type="email"] {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--search-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.sidebar-block input:focus { outline: none; border-color: var(--accent); background: var(--surface); }

.sidebar-block .search-submit,
.sidebar-block .wp-block-search__button,
.sidebar-block input[type="submit"],
.sidebar-block button[type="submit"] {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
}
.sidebar-block .search-submit:hover,
.sidebar-block .wp-block-search__button:hover { background: var(--accent-hover); }

/* --------------------------------------------------------------------------
 * Listes déroulantes (Catégories et Archives en mode « menu déroulant »)
 * ------------------------------------------------------------------------ */

.sidebar-block select {
  width: 100%;
  max-width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--search-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
 * Nuage d'étiquettes
 * ------------------------------------------------------------------------ */

.sidebar-block .tagcloud,
.sidebar-block .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.sidebar-block .tag-cloud-link {
  /*
   * WordPress calcule une taille par popularité et la pose en style en ligne.
   * On la neutralise : dans une colonne de 280 px, l'écart de taille produit
   * un pavé illisible.
   */
  font-size: 12.5px !important;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.sidebar-block .tag-cloud-link:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
 * Calendrier
 * ------------------------------------------------------------------------ */

.sidebar-block .wp-calendar-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sidebar-block .wp-calendar-table caption { font-size: 12.5px; color: var(--text-muted); padding-bottom: 8px; }
.sidebar-block .wp-calendar-table th,
.sidebar-block .wp-calendar-table td { padding: 4px; text-align: center; border: 1px solid var(--border); }
.sidebar-block .wp-calendar-table th { font-weight: 600; background: var(--surface-alt); }
.sidebar-block .wp-calendar-nav { display: flex; justify-content: space-between; font-size: 12.5px; padding-top: 8px; }

/* --------------------------------------------------------------------------
 * Widgets Texte / HTML et blocs libres
 * ------------------------------------------------------------------------ */

.sidebar-block .textwidget p { margin-bottom: 10px; }
.sidebar-block .textwidget p:last-child { margin-bottom: 0; }
.sidebar-block img { border-radius: 6px; }

.sidebar-block .wp-block-group { display: flex; flex-direction: column; gap: 12px; }
.sidebar-block .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-block .wp-block-button__link {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.sidebar-block .wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 4px 0; width: 100%; }

/* ===== 08-single.css ===== */
/* Habillage de la page d'article : fil d'Ariane, en-tête, partage, similaires. */

/* Aligne sur la colonne de lecture : sans max-width, le fil d'Ariane
   commencait a 64 px du bord alors que le titre commence a 220 px. */
.breadcrumb {
  max-width: calc(var(--prose-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 20px var(--gutter) 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted-2); flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { user-select: none; }

.article-header { max-width: calc(var(--prose-max) + var(--gutter) * 2); margin: 0 auto; padding: 24px var(--gutter) 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.article-header h1 { font-size: 38px; font-weight: 700; line-height: 1.18; }
.article-byline { display: flex; align-items: center; gap: 8px 18px; font-size: 13.5px; color: var(--text-muted-2); flex-wrap: wrap; }
.article-byline .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-byline .meta-item svg { flex-shrink: 0; opacity: 0.7; }

.article-featured-image { max-width: calc(var(--prose-wide) + var(--gutter) * 2); margin: 28px auto 0; padding: 0 var(--gutter); }
.article-featured-image .thumb-frame { width: 100%; height: 460px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; font-size: 13px; }
.article-tags .tag-link {
  padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 12.5px;
}
.article-tags .tag-link:hover { border-color: var(--accent); color: var(--accent); }

.article-share { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 44px; }
.article-share .label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
 * Article en deux colonnes
 *
 * L'en-tête et l'image d'en-tête restent pleine largeur ; seule la zone de
 * lecture partage la place avec la barre latérale. Le gabarit est le même avec
 * ou sans barre — sans elle, .main-col prend is-full et la colonne se recentre.
 * ------------------------------------------------------------------------ */

.article-wrap { padding-top: 32px; align-items: flex-start; }

.article-column { max-width: var(--prose-max); }
.main-col.is-full .article-column { margin-left: auto; margin-right: auto; }

/*
 * Barre latérale collante sur un article : le texte est long, une colonne qui
 * défile jusqu'au vide laisserait la moitié de la page blanche. `flex-start`
 * est nécessaire — un élément étiré sur toute la hauteur du conteneur, ce que
 * fait flex par défaut, n'a jamais rien à coller.
 */
.article-wrap .sidebar {
  position: sticky;
  top: calc(var(--dahoo-header-offset) + 16px);
  align-self: flex-start;
}

/* Navigation article précédent / suivant. */
.post-navigation { max-width: calc(var(--prose-max) + var(--gutter) * 2); margin: 0 auto 48px; padding: 0 var(--gutter); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.post-navigation .nav-previous a, .post-navigation .nav-next a {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface);
  padding: 14px 18px; color: var(--text); height: 100%;
}
.post-navigation .nav-links a:hover { border-color: var(--accent); }
.post-navigation .nav-next { text-align: right; }
.post-navigation .nav-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted-2); }
.post-navigation .nav-title { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.35; }

/*
 * Ici, pas de calc : c'est la CARTE qui doit mesurer --prose-max, pas son
 * conteneur. Avec la gouttiere ajoutee, le cadre debordait de 42 px de chaque
 * cote de la colonne de texte -- assez pour se voir, pas assez pour passer
 * pour un choix.
 */
.author-box {
  max-width: var(--prose-max); margin: 0 auto 48px; padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 6px; background: var(--surface);
}
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box .author-name { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 15px; font-weight: 700; }
.author-box .author-bio { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/*
 * Les trois cartes ont besoin de plus de place que la colonne de lecture. Au
 * lieu de laisser la section deborder en silence -- ce qui se lisait comme un
 * defaut d'alignement -- on assume la rupture : bandeau pleine largeur, fond
 * distinct, contenu cale sur --prose-wide comme l'image d'en-tete. Le lecteur
 * comprend qu'il change de section, pas que la mise en page derape.
 */
.related-articles {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding: 48px 0 56px;
}
.related-inner {
  max-width: calc(var(--prose-wide) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.related-articles h2 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }

/* ===== 09-content.css ===== */
/*
 * Typographie du corps d'article + classes produites par WordPress et par
 * l'éditeur de blocs.
 *
 * Deux classes cohabitent sur le même élément :
 *   .article-body   -> la mise en page (largeur de lecture, marges)
 *   .entry-content  -> la typographie de tout ce que l'éditeur produit à
 *                      l'intérieur
 *
 * Tout ce qui est stylé ici est du balisage que WordPress génère seul :
 * légendes d'images, alignements, galeries, blocs Gutenberg. Sans ces règles,
 * un article rédigé normalement dans l'admin s'affiche cassé côté public.
 */

/* La gouttière s'ajoute à la largeur de texte : sans le calc, elle se
   soustrairait de --prose-max (box-sizing: border-box). */
.article-body { max-width: calc(var(--prose-max) + var(--gutter) * 2); margin: 0 auto; padding: 40px var(--gutter) 0; }

/* --- Blocs de texte --------------------------------------------------- */

.entry-content > * { margin-top: 0; margin-bottom: 20px; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content p { font-size: 17px; line-height: 1.75; color: var(--text); }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }

.entry-content h2 { font-size: 26px; font-weight: 700; line-height: 1.25; margin: 40px 0 16px; }
.entry-content h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 32px 0 14px; }
.entry-content h4 { font-size: 18px; font-weight: 600; line-height: 1.35; margin: 28px 0 12px; }
.entry-content h5, .entry-content h6 { font-size: 16px; font-weight: 600; margin: 24px 0 10px; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }

/*
 * Chapô. Aucun gabarit ne la produit : c'est une classe à poser soi-même sur
 * le premier paragraphe depuis l'éditeur (bloc Paragraphe → Avancé → Classe
 * CSS additionnelle), pour lui donner le traitement d'accroche.
 */
.article-lead { font-size: 19px; line-height: 1.65; color: var(--text-muted); }

.entry-content strong, .entry-content b { font-weight: 600; }
.entry-content small { font-size: 13.5px; color: var(--text-muted-2); }
.entry-content mark { background: var(--test-bg); color: var(--test-ink); padding: 0 3px; border-radius: 3px; }
.entry-content abbr[title] { text-decoration: underline dotted; cursor: help; }

/* --- Listes ------------------------------------------------------------ */

.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.entry-content li::marker { color: var(--accent); }
.entry-content ol li::marker { font-weight: 600; }
.entry-content li > ul, .entry-content li > ol { margin-top: 8px; margin-bottom: 0; }

/* --- Citations --------------------------------------------------------- */

.entry-content blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-size: 18px; line-height: 1.65; color: var(--text-muted);
}
.entry-content blockquote p { font-size: inherit; color: inherit; }
.entry-content blockquote cite,
.entry-content .wp-block-quote__citation {
  display: block; margin-top: 10px; font-size: 13.5px; font-style: normal;
  color: var(--text-muted-2);
}
.entry-content .wp-block-pullquote {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 0; margin: 36px 0; text-align: center;
}
.entry-content .wp-block-pullquote blockquote { border: none; padding: 0; }
.entry-content .wp-block-pullquote p { font-size: 22px; font-family: 'Space Grotesk', system-ui, sans-serif; }

/* --- Code -------------------------------------------------------------- */

.entry-content code,
.entry-content kbd,
.entry-content samp {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--code-bg);
  color: var(--code-ink);
  padding: 2px 6px;
  border-radius: 4px;
}
.entry-content kbd { border: 1px solid var(--border); box-shadow: 0 1px 0 var(--border); }

.entry-content pre,
.entry-content .wp-block-code,
.entry-content .wp-block-preformatted {
  background: var(--code-block-bg);
  color: var(--code-block-ink);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 28px 0;
  overflow-x: auto;
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  tab-size: 2;
}

/* Dans un bloc de code, le <code> ne doit pas reprendre le fond du code
   inline : il hérite de celui du <pre> qui l'entoure. */
.entry-content pre code,
.entry-content .wp-block-code code {
  background: none; color: inherit; padding: 0; border-radius: 0; font-size: inherit;
}

/* --- Tableaux ---------------------------------------------------------- */

.entry-content table,
.entry-content .wp-block-table table {
  width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 28px 0;
}

/* Un tableau large déborde de la colonne de lecture : on le fait défiler dans
   son propre conteneur plutôt que d'imposer un scroll horizontal à toute la
   page. */
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th,
.entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--surface-alt); font-weight: 600; font-family: 'Space Grotesk', system-ui, sans-serif; }
.entry-content tbody tr:nth-child(even) { background: var(--surface-alt); }
.entry-content .wp-block-table figcaption { font-size: 13px; color: var(--text-muted-2); text-align: center; margin-top: 8px; }

/* --- Médias, figures et légendes -------------------------------------- */

.entry-content figure { margin: 28px 0; }
.entry-content figcaption,
.entry-content .wp-caption-text,
.entry-content .wp-element-caption {
  font-size: 13px; line-height: 1.5; color: var(--text-muted-2);
  margin-top: 8px; text-align: center;
}
.entry-content img, .entry-content video { border-radius: 6px; }
.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100%; border-radius: 6px; }

.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-embed-responsive .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.entry-content .wp-embed-responsive .wp-block-embed__wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.entry-content .wp-block-gallery, .entry-content .blocks-gallery-grid { margin: 28px 0; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.entry-content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.entry-content .gallery-item { margin: 0; }
.entry-content .gallery img { width: 100%; }

/* --- Alignements (classes historiques de WordPress) -------------------- */

.entry-content .alignleft { float: left; margin: 6px 28px 20px 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: 6px 0 20px 28px; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .alignnone { margin-left: 0; margin-right: 0; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption img { margin: 0 auto; }

/*
 * Alignements Gutenberg. La colonne de lecture fait --prose-max ; un bloc
 * « large » s'étend jusqu'à --prose-wide en compensant la différence des deux
 * côtés. Le calcul suit les jetons : changer une largeur dans 01-tokens.css
 * suffit, il n'y a pas de décalage codé en dur à maintenir en parallèle.
 */
.entry-content .alignwide {
  width: var(--prose-wide);
  max-width: calc(100vw - var(--gutter) * 2);
  margin-left: calc((var(--prose-max) - var(--prose-wide)) / 2);
  margin-right: calc((var(--prose-max) - var(--prose-wide)) / 2);
}
.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}
.entry-content .alignfull img { border-radius: 0; width: 100%; }

/* --- Séparateurs, boutons et blocs divers ------------------------------ */

.entry-content hr,
.entry-content .wp-block-separator {
  border: none; border-top: 1px solid var(--border); margin: 40px auto; max-width: 160px;
}
.entry-content .wp-block-separator.is-style-wide { max-width: 100%; }

.entry-content .wp-block-button__link {
  display: inline-block; background: var(--accent); color: var(--accent-contrast);
  padding: 11px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none;
}
.entry-content .wp-block-button__link:hover { background: var(--accent-hover); color: var(--accent-contrast); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: none; color: var(--accent); border: 1px solid var(--accent);
}

.entry-content .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.entry-content .wp-block-column { flex: 1; min-width: 220px; }
.entry-content .wp-block-group.has-background { padding: 22px; border-radius: 8px; }

/* --- Encart « À retenir » ---------------------------------------------- */

/*
 * Disponible de deux façons : le bloc Groupe de Gutenberg auquel on applique
 * le style « Encart Dahoo » (déclaré dans inc/blocks.php), ou la classe
 * .callout posée à la main depuis l'éditeur de code.
 */
.entry-content .callout,
.entry-content .is-style-dahoo-callout {
  background: var(--hero-wash);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.entry-content .callout p,
.entry-content .is-style-dahoo-callout p { font-size: inherit; margin-bottom: 0; }
.entry-content .callout p + p,
.entry-content .is-style-dahoo-callout p + p { margin-top: 10px; }
.entry-content .callout svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* --- Article protégé par mot de passe / épinglé ------------------------ */

.post-password-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.post-password-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-muted); }
.post-password-form input[type="password"] {
  padding: 9px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--search-bg); color: var(--text); font-family: inherit; font-size: 14px;
}
.post-password-form input[type="submit"] {
  padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer;
  background: var(--accent); color: var(--accent-contrast); font-family: inherit; font-weight: 600; font-size: 14px;
}

/* ===== 10-comments.css ===== */
/*
 * Commentaires.
 *
 * Ces règles remplacent les styles en ligne qui étaient dispersés dans
 * comments.php : elles couvrent aussi le formulaire généré par comment_form(),
 * dont on ne maîtrise pas le balisage.
 */

.comments-area {
  /* Déjà imbriqué dans .article-body, qui borne la largeur : une contrainte
     de plus ici rétrécirait les commentaires par rapport au texte. */
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-list .children {
  list-style: none;
  margin: 20px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-body { padding: 16px 18px; }

.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.comment-meta img { border-radius: 50%; flex-shrink: 0; }
.comment-author-name { font-size: 14px; font-weight: 600; }
.comment-date { font-size: 12px; color: var(--text-muted-2); }
.comment-date a { color: inherit; }

.comment-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--test-bg);
  color: var(--test-ink);
}

.comment-content { font-size: 14.5px; line-height: 1.6; }
.comment-content p { margin: 0 0 10px; }
.comment-content p:last-child { margin-bottom: 0; }

.comment-actions { margin-top: 10px; display: flex; gap: 14px; font-size: 13px; }
.comment-actions a { color: var(--text-muted); font-weight: 500; }
.comment-actions a:hover { color: var(--accent); }

.comment-awaiting-moderation {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted-2);
}

/* --- Formulaire ---------------------------------------------------------
 * Le balisage vient de comment_form() : on stylise par élément plutôt que par
 * classe, sinon une mise à jour de WordPress qui renomme un wrapper casserait
 * l'affichage.
 * ---------------------------------------------------------------------- */

.comment-respond {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  padding: 24px;
}

.comment-reply-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.comment-reply-title small { font-size: 13px; font-weight: 400; margin-left: 10px; }

.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-form label { font-size: 13px; font-weight: 600; color: var(--text-muted); }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--search-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
}
.comment-form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }

.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; font-size: 13px; }

.comment-form .form-submit { margin: 0; }
.comment-form input[type="submit"] {
  align-self: flex-start;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
}
.comment-form input[type="submit"]:hover { background: var(--accent-hover); }

.comment-notes, .form-allowed-tags { font-size: 12.5px; color: var(--text-muted-2); }

.no-comments {
  font-size: 14px;
  color: var(--text-muted-2);
  padding: 12px 0;
}

/* ===== 11-footer.css ===== */
/* Pied de page : marque, navigation secondaire, réseaux sociaux. */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px var(--bleed);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.site-footer-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.site-footer-brand .mark {
  width: 26px; height: 26px; border-radius: 6px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-contrast); font-weight: 700; font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
}
.footer-logo-image { height: 26px; width: auto; max-width: 120px; border-radius: 4px; }

.site-footer-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer-nav a { font-size: 13px; color: var(--text); }
.site-footer-nav a:hover { color: var(--accent); }

.footer-social-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.footer-social-link {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: none;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social-link:hover { border-color: var(--accent); color: var(--accent); }

.site-footer-copy { font-size: 12px; color: var(--text-muted-2); }

/* ===== 12-pages.css ===== */
/* Gabarits secondaires : archives, page statique, 404, résultats de recherche. */

/* --- Page statique ----------------------------------------------------- */

.page-header {
  max-width: calc(var(--prose-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-header h1 { font-size: 34px; font-weight: 700; line-height: 1.2; }

.page-featured-image { max-width: calc(var(--prose-wide) + var(--gutter) * 2); margin: 24px auto 0; padding: 0 var(--gutter); }
.page-featured-image img { width: 100%; border-radius: 8px; }

.page-body { padding-bottom: 64px; }

/* Pagination interne d'une page découpée avec <!--nextpage--> */
.page-links {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 32px; font-size: 14px; color: var(--text-muted);
}
.page-links a .page-links-number,
.page-links > .page-links-number {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: 8px;
}

/* --- 404 --------------------------------------------------------------- */

.error-404 {
  max-width: var(--measure-short);
  margin: 0 auto;
  padding: 80px var(--gutter) 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.error-404 .error-code {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.error-404 h1 { font-size: 26px; font-weight: 700; }
.error-404 p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }
.error-404 .search-form { width: 100%; max-width: var(--search-w); margin-top: 4px; }
.error-404 .error-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.error-suggestions {
  margin: 0 auto;
  padding: 0 var(--bleed) 72px;
}
.error-suggestions h2 { font-size: 20px; font-weight: 700; margin-bottom: 22px; text-align: center; }

/* --- Recherche --------------------------------------------------------- */

.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; display: block; }
.search-form .search-field {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--search-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
}
.search-form .search-field:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.search-form .search-submit {
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
}
.search-form .search-submit:hover { background: var(--accent-hover); }

.search-summary { font-size: 14px; color: var(--text-muted); margin: 0 0 20px; }

/* --- En-tête d'archive -------------------------------------------------
 *
 * Bandeau pleine largeur teinté à la couleur de la catégorie consultée : les
 * mêmes jetons que les pastilles et les vignettes, pour qu'une archive « News »
 * se reconnaisse au premier coup d'œil. Étiquettes, auteurs et dates retombent
 * sur le fond neutre.
 *
 * Seul le sur-titre prend la couleur d'encre. Le titre et la description
 * gardent les couleurs de texte du thème : sur un aplat teinté, elles restent
 * lisibles en clair comme en sombre, ce qu'une teinte saturée ne garantirait
 * pas.
 * --------------------------------------------------------------------- */

.archive-hero {
  background: var(--hero-wash);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 40px;
}

.archive-hero-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-left: var(--bleed);
  padding-right: var(--bleed);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.archive-kicker {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.archive-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.15; }

.archive-description {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: var(--measure-short);
}
.archive-description p { margin: 0; }

.archive-count { font-size: 13px; color: var(--text-muted-2); }

.archive-news    { background: var(--news-bg); }
.archive-news    .archive-kicker { color: var(--news-ink); }
.archive-tutos   { background: var(--tuto-bg); }
.archive-tutos   .archive-kicker { color: var(--tuto-ink); }
.archive-tests   { background: var(--test-bg); }
.archive-tests   .archive-kicker { color: var(--test-ink); }

/* La grille suit immédiatement le bandeau : la marge haute du contenu peut
   être réduite, le bandeau assure déjà la respiration. */
.archive-hero + .content-wrap { padding-top: 32px; }

/* ===== 99-responsive.css ===== */
/*
 * Adaptations mobile / tablette.
 *
 * À charger en dernier : ces règles surchargent les modules précédents.
 */

/*
 * Palier tablette / petit portable.
 *
 * Trois colonnes dans une colonne principale de 600 px donnent des cartes de
 * 185 px : la vignette devient une bande et le titre passe sur quatre lignes.
 * Deux colonnes tiennent mieux jusqu'a ce que la place revienne.
 */
@media (max-width: 1200px) and (min-width: 901px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-articles .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sidebar { flex: 0 0 240px; } /* Plus étroite que --sidebar-w : la place manque. */
  .content-wrap { gap: 32px; }
}

@media (max-width: 900px) {
  /*
   * Sous 900 px, la gouttière redevient fixe et --bleed se réduit à elle :
   * la fenêtre est toujours plus étroite que --wrap-max, donc le terme de
   * centrage serait négatif — max() le neutralise, mais autant l'écrire.
   */
  :root {
    --gutter: var(--gutter-sm);
    --bleed: var(--gutter-sm);
    /* L'en-tête passe de 92 à 64 px : le décalage d'ancre suit. */
    --dahoo-header-offset: 80px;
  }

  .site-header { padding: 0 16px; gap: 10px; height: 64px; }
  .site-logo-tagline { display: none; }
  .site-logo-image { height: 30px; }
  .site-search { display: none; }
  .mobile-menu-toggle, .mobile-search-toggle { display: flex; }

  /*
   * Panneaux déroulants en position fixe (et non statique) pour qu'ils
   * apparaissent toujours sous l'en-tête. En simples frères d'un en-tête
   * `sticky`, ils resteraient à leur position d'origine dans le document et
   * s'ouvriraient hors écran dès que la page a été défilée.
   */
  .mobile-search-bar {
    display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 49;
    padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface);
  }
  .mobile-search-bar.is-open { display: block; }
  .mobile-search-bar .site-search-input { width: 100%; }

  /*
   * Le même <nav class="primary-nav"> qu'en desktop, repositionné en panneau
   * plein écran. C'est ce qui permet de n'avoir qu'un seul menu dans le DOM.
   */
  .primary-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 49;
    margin-left: 0;
    max-height: calc(100vh - 64px); overflow-y: auto;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    box-shadow: 0 8px 24px var(--shadow-color);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 12px 0; font-size: 15px; display: block; border-bottom: 1px solid var(--border); }
  .primary-nav li:last-child a { border-bottom: none; }
  .primary-nav .sub-menu { padding-left: 16px; }

  .hero-section { padding: 18px 16px 24px; grid-template-columns: 1fr; }
  .hero-main-thumb { height: 150px; }
  .hero-main-body { padding: 14px; gap: 8px; }
  .hero-main-body h2 { font-size: 18px; }
  .hero-side { gap: 14px; }
  .hero-side-thumb { width: 64px; height: 64px; }

  .content-wrap { padding: 24px 16px 32px; flex-direction: column; }
  .sidebar { order: 2 !important; flex: none; }
  .main-col { order: 1 !important; }

  .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-pill { flex-shrink: 0; }

  .article-grid, .article-grid.is-two-col { grid-template-columns: 1fr; }
  .article-card-thumb { height: 120px; }
  .pagination-wrap, .nav-links { margin-top: 20px; }
  .page-numbers { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }

  .site-footer { padding: 24px 16px; align-items: center; text-align: center; }
  .site-footer-top { flex-direction: column; }
  .site-footer-right { justify-content: center; }

  .breadcrumb, .article-header, .article-featured-image, .article-body,
  .related-inner, .page-header, .page-featured-image, .post-navigation {
    padding-left: 16px; padding-right: 16px;
  }
  /* La carte auteur garde ses 22 px internes ; c'est sa marge externe qui
     l'aligne sur le reste du contenu. */
  .author-box { margin-left: 16px; margin-right: 16px; }

  /* Une barre collante n'a aucun sens quand elle passe sous le contenu. */
  .article-wrap .sidebar { position: static; }
  .article-column { max-width: 100%; }
  .related-articles { padding: 32px 0 40px; }
  .article-header h1 { font-size: 26px; }
  .article-featured-image .thumb-frame { height: 220px; }
  .related-articles .article-grid { grid-template-columns: 1fr; }

  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }

  .entry-content h2 { font-size: 22px; }
  .entry-content h3 { font-size: 19px; }
  .entry-content p, .entry-content li { font-size: 16px; }

  /*
   * Sur mobile la colonne de lecture occupe déjà toute la largeur : laisser
   * .alignwide déborder de 110 px de chaque côté provoquerait un défilement
   * horizontal de la page entière.
   */
  .entry-content .alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 20px auto; max-width: 100%; }
  .entry-content .wp-block-columns { flex-direction: column; }
  .entry-content .gallery { grid-template-columns: repeat(2, 1fr); }

  .comment-list .children { padding-left: 14px; }
  .comment-respond { padding: 18px; }

  .archive-hero { padding: 28px 0 24px; }
  .archive-hero-inner { padding: 0 16px; gap: 8px; }
  .archive-hero h1 { font-size: 26px; }
  .archive-hero + .content-wrap { padding-top: 20px; }

  .error-404 { padding: 56px 16px 64px; }
  .error-404 .error-code { font-size: 64px; }
  .page-header h1 { font-size: 26px; }
}

@media (max-width: 560px) {
  .search-form { flex-direction: column; }
  .search-form .search-submit { width: 100%; }
  .entry-content .gallery { grid-template-columns: 1fr; }
}

