/* Herbier 1.0.2 — feuille du thème de Floribelle (versionnée par son nom : voir HRB_VERSION).
   Univers : planches botaniques, étiquettes d'herbier, étiquettes de pépiniériste, registre.
   Une seule couleur d'accent (pollen) + vert herbier de marque + neutres. Images à angles droits partout. */

@font-face { font-family: "Castoro"; src: url(../polices/castoro.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Castoro"; src: url(../polices/castoro-italique.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(../polices/funnel-sans.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url(../polices/fragment-mono.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --hrb-olive: #3A4A2B;        /* vert herbier : en-tête, boutons, liens */
    --hrb-nuit: #2A3620;         /* pied de page */
    --hrb-pollen: #C2902F;       /* SEULE couleur d'accent : filets, numéros, étiquettes d'herbier */
    --hrb-pollen-texte: #87600F; /* accent en petit texte sur fond clair (5:1) */
    --hrb-pollen-clair: #E3BE6B; /* accent en petit texte sur fond sombre */
    --hrb-papier: #F7F3EA;       /* papier aquarelle */
    --hrb-sauge: #E9EDE1;        /* sauge pâle */
    --hrb-blanc: #FFFFFF;
    --hrb-etiquette: #FBF8F1;
    --hrb-encre: #1F2618;
    --hrb-texte: #363D30;
    --hrb-gris: #656B5C;
    --hrb-trait: #D8D2C2;
    --hrb-tete-h: 76px;
    --hrb-titres: "Castoro", "Iowan Old Style", Georgia, serif;
    --hrb-corps: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
    --hrb-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --hrb-large: 1280px;
}

/* ---------- Base ---------- */
.hrb *, .hrb *::before, .hrb *::after { box-sizing: border-box; }
body.hrb { margin: 0; background: var(--hrb-blanc); color: var(--hrb-texte); font: 400 17px/1.65 var(--hrb-corps); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.hrb img { max-width: 100%; height: auto; }
.hrb a { color: inherit; }
.hrb h1, .hrb h2, .hrb h3 { font-family: var(--hrb-titres); font-weight: 400; color: var(--hrb-encre); margin: 0; letter-spacing: -0.005em; }
.hrb p { margin: 0; }
.hrb :focus-visible { outline: 2px solid var(--hrb-pollen); outline-offset: 3px; }
.hrb .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hrb-evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--hrb-blanc); color: var(--hrb-encre); padding: 10px 14px; }
.hrb-evitement:focus { left: 8px; }
.hrb-cadre { width: 100%; max-width: var(--hrb-large); margin: 0 auto; padding: 0 32px; }
.hrb-cadre--texte { max-width: 860px; }
html { scroll-padding-top: calc(var(--hrb-tete-h) + 24px); }

/* ---------- En-tête : une seule barre collante, couleur de marque ---------- */
.hrb .hrb-tete { position: sticky; top: 0; z-index: 60; background: var(--hrb-olive); color: var(--hrb-blanc); box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.hrb-tete__ligne { max-width: var(--hrb-large); margin: 0 auto; padding: 0 32px; height: var(--hrb-tete-h); display: flex; align-items: center; gap: 28px; }
.hrb .hrb-marque { display: block; flex: none; line-height: 0; }
.hrb .hrb-marque img { height: 56px; width: auto; }
.hrb .hrb-nav { margin-left: auto; display: flex; gap: 6px; }
.hrb .hrb-nav a { color: var(--hrb-blanc); text-decoration: none; font: 500 15.5px/1 var(--hrb-corps); letter-spacing: .01em; padding: 10px 14px; border-bottom: 2px solid transparent; }
.hrb .hrb-nav a:hover { border-bottom-color: rgba(255, 255, 255, .45); }
.hrb .hrb-nav a[aria-current] { border-bottom-color: var(--hrb-pollen); }
.hrb .hrb-loupe, .hrb .hrb-burger { background: transparent; color: var(--hrb-blanc); border: 1px solid rgba(255, 255, 255, .35); width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.hrb .hrb-loupe:hover, .hrb .hrb-burger:hover { border-color: var(--hrb-pollen); }
.hrb .hrb-burger { display: none; flex-direction: column; gap: 5px; }
.hrb .hrb-burger span { display: block; width: 18px; height: 1.5px; background: currentColor; }
.hrb .hrb-fouille { background: var(--hrb-nuit); padding: 16px 0; }
.hrb-fouille__forme { max-width: 720px; margin: 0 auto; padding: 0 32px; display: flex; gap: 0; }
.hrb .hrb-fouille__forme input { flex: 1; min-width: 0; font: 400 17px var(--hrb-corps); padding: 13px 16px; border: 1px solid var(--hrb-trait); border-right: 0; border-radius: 0; background: var(--hrb-blanc); color: var(--hrb-encre); }
.hrb .hrb-fouille__forme button { font: 600 15px var(--hrb-corps); padding: 0 22px; border: 1px solid var(--hrb-pollen); background: var(--hrb-pollen); color: var(--hrb-encre); border-radius: 0; cursor: pointer; }
.hrb .hrb-fouille__forme--page { margin: 22px 0 0; padding: 0; }

/* ---------- Boutons, liens, petites capitales ---------- */
.hrb .hrb-bouton { display: inline-flex; align-items: center; white-space: nowrap; background: var(--hrb-olive); color: var(--hrb-blanc); border: 1px solid var(--hrb-olive); font: 600 15px/1 var(--hrb-corps); letter-spacing: .01em; padding: 15px 22px; text-decoration: none; border-radius: 0; transition: background .2s, color .2s; }
.hrb .hrb-bouton:hover { background: var(--hrb-nuit); border-color: var(--hrb-nuit); }
.hrb .hrb-bouton--trait { background: transparent; color: var(--hrb-olive); }
.hrb .hrb-bouton--trait:hover { background: var(--hrb-olive); color: var(--hrb-blanc); }
.hrb .hrb-lien { display: inline-block; color: var(--hrb-olive); font: 600 15px/1.3 var(--hrb-corps); text-decoration: none; border-bottom: 2px solid var(--hrb-pollen); padding-bottom: 3px; }
.hrb .hrb-lien::after { content: " →"; }
.hrb .hrb-lien:hover { color: var(--hrb-encre); }
.hrb-surtitre, .hrb-tete-bloc__pl, .hrb-rub-tete__pl, .hrb-note__sur, .hrb-rail__titre, .hrb h2.hrb-tete-bloc__pl, .hrb h2.hrb-rail__titre, .hrb h2.hrb-pied__titre { font: 400 12.5px/1.4 var(--hrb-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--hrb-pollen-texte); }
.hrb-tete-bloc__pl, .hrb-surtitre { display: inline-flex; align-items: center; gap: 12px; }
.hrb-tete-bloc__pl::before, .hrb-surtitre::before { content: ""; width: 30px; height: 2px; background: var(--hrb-pollen); flex: none; }
.hrb .hrb-titre { font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.08; margin-top: 10px; }
.hrb .hrb-titre em, .hrb .hrb-ouverture__titre em { font-style: italic; color: var(--hrb-olive); }
.hrb .hrb-titre--moyen { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
.hrb-tete-bloc { margin-bottom: 36px; }
.hrb-tete-bloc--ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Étiquette neutre (rubrique, numéro de figure) */
.hrb .hrb-etiq { font: 400 11.5px/1.3 var(--hrb-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--hrb-gris); margin: 0 0 8px; }
.hrb-etiq__num { color: var(--hrb-pollen-texte); margin-right: 10px; }

/* Étiquette de pépiniériste à œillet (neutre : crème et encre) */
.hrb .hrb-tuteur { position: relative; display: inline-flex; align-items: center; gap: 10px; background: var(--hrb-etiquette); color: var(--hrb-encre); font: 600 15px/1.2 var(--hrb-corps); padding: 9px 18px 9px 30px; text-decoration: none;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.hrb .hrb-tuteur::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border: 1.5px solid var(--hrb-gris); border-radius: 50%; background: var(--hrb-papier); }
.hrb .hrb-tuteur__pl { font: 400 11px/1 var(--hrb-mono); letter-spacing: .1em; color: var(--hrb-pollen-texte); }
.hrb .hrb-tuteur--clair { background: var(--hrb-blanc); }
.hrb .hrb-tuteur--lien { border: 0; background: var(--hrb-blanc); }
.hrb .hrb-tuteur--lien:hover { background: var(--hrb-sauge); }
.hrb .hrb-tuteur--lien[aria-current] { background: var(--hrb-olive); color: var(--hrb-blanc); }
.hrb .hrb-tuteur--lien[aria-current] .hrb-tuteur__pl { color: var(--hrb-pollen-clair); }

/* Étiquette d'herbier (cartouche du spécimen) */
.hrb .hrb-herbier { position: absolute; display: flex; flex-direction: column; gap: 4px; background: var(--hrb-etiquette); color: var(--hrb-encre); padding: 10px 14px 11px; width: 236px; border: 1px solid var(--hrb-encre); outline: 1px solid var(--hrb-encre); outline-offset: -5px; box-shadow: 0 2px 0 rgba(31, 38, 24, .12); }
.hrb-herbier__tete { font: 400 10px/1.3 var(--hrb-mono); text-transform: uppercase; letter-spacing: .18em; color: var(--hrb-pollen-texte); border-bottom: 1px solid var(--hrb-trait); padding: 2px 4px 6px; }
.hrb-herbier__nom { font: italic 400 21px/1.15 var(--hrb-titres); padding: 2px 4px 0; }
.hrb-herbier__ligne { font: 400 11px/1.3 var(--hrb-mono); color: var(--hrb-gris); padding: 0 4px 2px; }
@media (max-width: 600px) { .hrb-herbier__ligne { font-size: 10px; letter-spacing: -.01em; } }

/* ---------- Fonds pâles alternés ---------- */
.hrb-bloc { padding-block: clamp(56px, 7vw, 96px); }
.hrb-bloc--serre { padding-block: 44px 72px; }
.hrb-bloc--blanc { background: var(--hrb-blanc); }
.hrb-bloc--papier { background: var(--hrb-papier); }
.hrb-bloc--sauge { background: var(--hrb-sauge); }

/* ---------- Ouverture (hero) : texte large + planche de trois figures ---------- */
.hrb-ouverture { background: var(--hrb-papier); padding-block: 38px 46px; border-bottom: 1px solid var(--hrb-trait); }
.hrb-ouverture__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hrb .hrb-ouverture__titre { font-size: clamp(2.6rem, 4.3vw, 4.15rem); line-height: 1.03; margin: 18px 0 20px; }
.hrb .hrb-ouverture__titre em { display: block; }
.hrb .hrb-ouverture__chapo { font-size: 18.5px; line-height: 1.6; color: var(--hrb-texte); max-width: 36em; }
.hrb .hrb-ouverture__boutons { display: flex; flex-wrap: nowrap; gap: 12px; margin-top: 30px; }
.hrb .hrb-planche { position: relative; height: clamp(400px, calc(100vh - 262px), 660px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1.75fr 1fr; gap: 12px; background: var(--hrb-blanc); padding: 14px; border: 1px solid var(--hrb-trait); box-shadow: 12px 12px 0 -1px var(--hrb-sauge), 12px 12px 0 0 var(--hrb-trait); }
.hrb .hrb-planche--1 { grid-template-rows: 1fr; }
.hrb .hrb-planche--2 { grid-template-rows: 1fr; }
.hrb .hrb-planche__fig { position: relative; display: block; min-height: 0; overflow: hidden; text-decoration: none; }
.hrb .hrb-planche--3 .hrb-planche__fig--1 { grid-column: 1 / 3; }
.hrb .hrb-planche__vue { display: block; width: 100%; height: 100%; }
.hrb .hrb-planche__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-planche__legende { position: absolute; left: 10px; bottom: 10px; background: var(--hrb-etiquette); color: var(--hrb-encre); font: 400 11px/1 var(--hrb-mono); text-transform: uppercase; letter-spacing: .1em; padding: 7px 9px; }
.hrb .hrb-planche__legende span { color: var(--hrb-pollen-texte); margin-right: 6px; }
.hrb .hrb-planche__legende span.hrb-planche__rub { color: var(--hrb-encre); margin: 0; }
.hrb .hrb-planche__fig--1 .hrb-planche__legende { display: none; }
.hrb .hrb-planche .hrb-herbier { right: 14px; bottom: 14px; }

/* ---------- Note de la rédaction (article épinglé) ---------- */
.hrb-note { background: var(--hrb-blanc); border-bottom: 1px solid var(--hrb-trait); }
.hrb-note__ligne { display: flex; align-items: center; gap: 28px; padding-block: 18px; flex-wrap: wrap; }
.hrb-note__sur span { color: var(--hrb-gris); margin-left: 10px; }
.hrb .hrb-note__titre { font-size: 21px; line-height: 1.25; flex: 1 1 320px; }
.hrb .hrb-note__titre a { text-decoration: none; }
.hrb .hrb-note__titre a:hover { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); }

/* ---------- Quatre carrés (rubriques) ---------- */
.hrb-carres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hrb .hrb-carre { display: flex; flex-direction: column; background: var(--hrb-blanc); border: 1px solid var(--hrb-trait); text-decoration: none; color: var(--hrb-texte); transition: border-color .2s; }
.hrb .hrb-carre:hover { border-color: var(--hrb-olive); }
.hrb .hrb-carre__vue { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hrb-sauge); }
.hrb .hrb-carre__vue img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hrb .hrb-carre:hover .hrb-carre__vue img { transform: scale(1.04); }
.hrb .hrb-carre .hrb-tuteur { align-self: flex-start; margin: -21px 0 0 14px; }
.hrb-carre__intro { display: block; padding: 14px 18px 18px; font-size: 15px; line-height: 1.55; color: var(--hrb-gris); flex: 1; }
.hrb-carre__nb { display: block; margin: 0 18px; padding: 12px 0 14px; border-top: 1px solid var(--hrb-trait); font: 400 12px/1 var(--hrb-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--hrb-olive); }

/* ---------- Cartes ---------- */
.hrb-grille { display: grid; gap: 40px 28px; }
.hrb-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hrb-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hrb .hrb-carte { display: flex; flex-direction: column; }
.hrb .hrb-carte__vue { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hrb-sauge); margin-bottom: 14px; }
.hrb .hrb-carte__vue img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hrb .hrb-carte:hover .hrb-carte__vue img { transform: scale(1.04); }
.hrb .hrb-carte__titre { font-size: 21px; line-height: 1.22; }
.hrb .hrb-carte__titre a, .hrb .hrb-ligne__titre a, .hrb .hrb-une__titre a { text-decoration: none; }
.hrb .hrb-carte__titre a:hover, .hrb .hrb-ligne__titre a:hover, .hrb .hrb-une__titre a:hover { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); text-underline-offset: 3px; }
.hrb .hrb-carte__chapo { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--hrb-gris); }
.hrb .hrb-carte--mini .hrb-carte__vue { aspect-ratio: 4 / 3; margin-bottom: 10px; }
.hrb .hrb-carte--mini .hrb-carte__titre { font-size: 17px; }
.hrb .hrb-carte--mini .hrb-etiq { display: none; }

/* Grille de rubrique : la première fiche en grand, à droite */
.hrb .hrb-grille--vedette { grid-auto-flow: dense; }
.hrb .hrb-grille--vedette .hrb-carte--vedette { grid-column: 2 / span 2; grid-row: 1 / span 2; background: var(--hrb-papier); padding: 14px 14px 24px; border: 1px solid var(--hrb-trait); }
.hrb .hrb-carte--vedette .hrb-carte__vue { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.hrb .hrb-carte--vedette .hrb-carte__texte { padding: 0 10px; }
.hrb .hrb-carte--vedette .hrb-carte__titre { font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.12; }

/* ---------- À la une ---------- */
.hrb-une { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.hrb .hrb-une__vue { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 22px; }
.hrb .hrb-une__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-une__titre { font-size: clamp(1.7rem, 2.5vw, 2.25rem); line-height: 1.12; }
.hrb .hrb-une__chapo { margin: 14px 0 18px; color: var(--hrb-gris); font-size: 16.5px; max-width: 40em; }
.hrb .hrb-une__suite { display: flex; flex-direction: column; border-top: 2px solid var(--hrb-encre); }
.hrb .hrb-ligne { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--hrb-trait); align-items: center; }
.hrb .hrb-ligne__vue { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.hrb .hrb-ligne__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-ligne__titre { font-size: 19.5px; line-height: 1.25; }

/* ---------- Abécédaire ---------- */
.hrb-abc { column-count: 5; column-gap: 40px; column-rule: 1px solid var(--hrb-trait); }
.hrb-abc__groupe { break-inside: avoid; margin-bottom: 22px; }
.hrb .hrb-abc__lettre { font: italic 400 40px/1 var(--hrb-titres); color: var(--hrb-olive); border-bottom: 1px solid var(--hrb-pollen); padding-bottom: 6px; margin-bottom: 8px; }
.hrb .hrb-abc ul { list-style: none; margin: 0; padding: 0; }
.hrb .hrb-abc li { font-size: 15.5px; line-height: 1.75; }
.hrb .hrb-abc a { text-decoration: none; color: var(--hrb-encre); }
.hrb .hrb-abc a:hover { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); text-underline-offset: 3px; }

/* ---------- Arbustes ---------- */
.hrb-arbustes { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.hrb .hrb-arbustes__texte p:not(.hrb-tete-bloc__pl) { margin: 18px 0 26px; color: var(--hrb-texte); }
.hrb .hrb-arbustes__vue { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; }
.hrb .hrb-arbustes__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-arbustes__grand .hrb-carte__titre { font-size: 24px; }
.hrb-arbustes__petits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 20px; }

/* ---------- Carnet de culture (jardinage) ---------- */
.hrb-gestes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.hrb-gestes__cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hrb .hrb-carnet { margin: 0; border-top: 2px solid var(--hrb-encre); }
.hrb .hrb-carnet__ligne { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--hrb-trait); }
.hrb .hrb-carnet dt { font: 400 19px/1.25 var(--hrb-titres); color: var(--hrb-encre); }
.hrb .hrb-carnet dt span { display: block; font: 400 11px/1.6 var(--hrb-mono); color: var(--hrb-pollen-texte); letter-spacing: .1em; }
.hrb .hrb-carnet dt span::after { content: " fiches"; }
.hrb .hrb-carnet dd { margin: 0; font-size: 15.5px; line-height: 1.6; }
.hrb .hrb-carnet dd a { color: var(--hrb-texte); text-decoration: underline; text-decoration-color: var(--hrb-trait); text-underline-offset: 3px; }
.hrb .hrb-carnet dd a:hover { color: var(--hrb-olive); text-decoration-color: var(--hrb-pollen); }
.hrb .hrb-carnet dd a + a::before { content: "·"; display: inline-block; color: var(--hrb-gris); margin: 0 9px 0 4px; text-decoration: none; }

/* ---------- Carnet d'adresses ---------- */
.hrb-adresses { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: center; }
.hrb .hrb-adresses__vue { display: block; aspect-ratio: 5 / 4; overflow: hidden; outline: 1px solid var(--hrb-trait); outline-offset: 10px; }
.hrb .hrb-adresses__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-adresses__liste { list-style: none; margin: 24px 0 30px; padding: 0; counter-reset: hrb-adr; border-top: 1px solid var(--hrb-trait); }
.hrb .hrb-adresses__liste li { counter-increment: hrb-adr; display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hrb-trait); }
.hrb .hrb-adresses__liste li::before { content: counter(hrb-adr, decimal-leading-zero); font: 400 11.5px/1 var(--hrb-mono); color: var(--hrb-pollen-texte); flex: none; width: 24px; }
.hrb .hrb-adresses__liste a { font: 400 19px/1.3 var(--hrb-titres); color: var(--hrb-encre); text-decoration: none; }
.hrb .hrb-adresses__liste a:hover { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); }
.hrb .hrb-adresses__type { margin-left: auto; font: 400 11px/1.3 var(--hrb-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--hrb-gris); text-align: right; white-space: nowrap; }

/* ---------- Registre de l'herbier ---------- */
.hrb .hrb-registre { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--hrb-encre); }
.hrb .hrb-registre__ligne { display: grid; grid-template-columns: 110px 130px minmax(0, 1fr) 190px; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--hrb-trait); }
.hrb-registre__num, .hrb-registre__date, .hrb-registre__rub { font: 400 12px/1.4 var(--hrb-mono); letter-spacing: .06em; color: var(--hrb-gris); }
.hrb-registre__num { color: var(--hrb-pollen-texte); }
.hrb-registre__rub { text-transform: uppercase; text-align: right; }
.hrb .hrb-registre__titre { font: 400 19px/1.3 var(--hrb-titres); color: var(--hrb-encre); text-decoration: none; }
.hrb .hrb-registre__titre:hover { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); }

/* ---------- La rédaction ---------- */
.hrb-redaction { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hrb .hrb-redaction__phrase { font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.3 var(--hrb-titres); color: var(--hrb-encre); margin: 16px 0 26px; }
.hrb .hrb-redaction__phrase em { color: var(--hrb-olive); }
.hrb .hrb-redaction__noms { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.hrb .hrb-redaction__noms li { display: flex; align-items: center; gap: 12px; }
.hrb .hrb-redaction__noms a { font: 600 16px/1.3 var(--hrb-corps); color: var(--hrb-olive); text-decoration: none; display: block; }
.hrb .hrb-redaction__noms small { display: block; font: 400 11.5px/1.4 var(--hrb-mono); color: var(--hrb-gris); letter-spacing: .06em; }
.hrb .hrb-redaction__portrait img { display: block; width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--hrb-trait); padding: 3px; background: var(--hrb-blanc); border-radius: 0; }
.hrb .hrb-chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--hrb-trait); border-left: 1px solid var(--hrb-trait); }
.hrb .hrb-chiffres li { padding: 20px 22px; border-right: 1px solid var(--hrb-trait); border-bottom: 1px solid var(--hrb-trait); font: 400 12px/1.4 var(--hrb-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--hrb-gris); background: rgba(255, 255, 255, .55); }
.hrb .hrb-chiffres strong { display: block; font: 400 48px/1 var(--hrb-titres); color: var(--hrb-olive); letter-spacing: 0; text-transform: none; margin-bottom: 6px; }

/* ---------- Texte de fond + questions ---------- */
.hrb-fond { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hrb .hrb-panneau { background: var(--hrb-blanc); border: 1px solid var(--hrb-trait); outline: 1px solid var(--hrb-trait); outline-offset: -8px; padding: 38px 40px; }
.hrb .hrb-panneau p { margin-top: 14px; font-size: 16.5px; }
.hrb .hrb-faq details { border-bottom: 1px solid var(--hrb-trait); padding: 16px 0; }
.hrb .hrb-faq details:first-of-type { margin-top: 18px; border-top: 1px solid var(--hrb-trait); }
.hrb .hrb-faq summary { cursor: pointer; list-style: none; font: 400 19px/1.3 var(--hrb-titres); color: var(--hrb-encre); display: flex; justify-content: space-between; gap: 16px; }
.hrb .hrb-faq summary::-webkit-details-marker { display: none; }
.hrb .hrb-faq summary::after { content: "+"; font: 400 20px/1 var(--hrb-mono); color: var(--hrb-pollen-texte); }
.hrb .hrb-faq details[open] summary::after { content: "–"; }
.hrb .hrb-faq details p { margin-top: 10px; font-size: 16px; color: var(--hrb-texte); }

/* ---------- Têtes de rubrique, pages, recherche ---------- */
.hrb-rub-tete { background: var(--hrb-papier); padding-block: 26px 40px; border-bottom: 1px solid var(--hrb-trait); }
.hrb .hrb-ariane { font: 400 12px/1.4 var(--hrb-mono); letter-spacing: .06em; color: var(--hrb-gris); margin-bottom: 26px; }
.hrb .hrb-ariane a { color: var(--hrb-olive); text-decoration: none; }
.hrb .hrb-ariane a:hover { text-decoration: underline; }
.hrb .hrb-ariane span { margin: 0 8px; color: var(--hrb-pollen-texte); }
.hrb-rub-tete__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hrb .hrb-rub-tete__titre { font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: .98; margin-top: 10px; }
.hrb .hrb-rub-tete__titre--page { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.06; }
.hrb .hrb-rub-tete__intro { font-size: 18px; line-height: 1.6; color: var(--hrb-texte); max-width: 36em; }
.hrb .hrb-rub-tete__nb { margin-top: 12px; font: 400 12px/1.4 var(--hrb-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--hrb-olive); }
.hrb .hrb-rub-tete__tuteurs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hrb .hrb-rub-tete--simple .hrb-rub-tete__intro { margin-top: 14px; }
.hrb .hrb-rub-tete--egaree { padding-block: 56px 72px; }
.hrb .hrb-auteur { display: flex; gap: 28px; align-items: center; }
.hrb .hrb-auteur__portrait img { display: block; width: 120px; height: 120px; object-fit: cover; border: 1px solid var(--hrb-trait); padding: 5px; background: var(--hrb-blanc); border-radius: 0; }
.hrb .hrb-auteur .hrb-rub-tete__intro { margin-top: 12px; }
.hrb .hrb-vide { font-size: 18px; margin-bottom: 8px; }

.hrb .hrb-pagination { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.hrb .hrb-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hrb-trait); font: 400 14px/1 var(--hrb-mono); color: var(--hrb-encre); text-decoration: none; background: var(--hrb-blanc); }
.hrb .hrb-pagination a.page-numbers:hover { border-color: var(--hrb-olive); color: var(--hrb-olive); }
.hrb .hrb-pagination .page-numbers.current { background: var(--hrb-olive); border-color: var(--hrb-olive); color: var(--hrb-blanc); }
.hrb .hrb-pagination .dots { border: 0; background: transparent; }

/* ---------- Fiche (article) ---------- */
.hrb-fiche__tete { background: var(--hrb-papier); padding-block: 24px 64px; border-bottom: 1px solid var(--hrb-trait); }
.hrb-fiche__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 60px; align-items: center; }
.hrb-fiche__grille--seule { grid-template-columns: minmax(0, 860px); }
.hrb .hrb-fiche__titre { font-size: clamp(2.2rem, 3.7vw, 3.35rem); line-height: 1.07; margin: 22px 0 26px; }
.hrb .hrb-signature { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--hrb-trait); }
.hrb .hrb-signature__portrait img { display: block; width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--hrb-trait); padding: 3px; background: var(--hrb-blanc); border-radius: 0; }
.hrb .hrb-signature p { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--hrb-gris); }
.hrb .hrb-signature a { color: var(--hrb-olive); font-weight: 600; text-decoration: none; }
.hrb .hrb-signature a:hover { text-decoration: underline; text-decoration-color: var(--hrb-pollen); }
.hrb .hrb-fiche__planche { position: relative; margin: 0; background: var(--hrb-blanc); padding: 14px; border: 1px solid var(--hrb-trait); box-shadow: 12px 12px 0 -1px var(--hrb-sauge), 12px 12px 0 0 var(--hrb-trait); }
.hrb .hrb-fiche__vue { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.hrb .hrb-fiche__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-fiche__planche .hrb-herbier { right: 26px; bottom: -26px; }

.hrb-fiche__corps { display: grid; grid-template-columns: 268px minmax(0, 740px); gap: 64px; justify-content: center; padding-block: 64px 80px; }
.hrb-fiche__corps--seul { grid-template-columns: minmax(0, 760px); }
.hrb .hrb-rail { position: sticky; top: calc(var(--hrb-tete-h) + 24px); align-self: start; }
.hrb .hrb-rail__titre { display: block; padding-bottom: 10px; border-bottom: 2px solid var(--hrb-encre); margin-bottom: 4px; font-family: var(--hrb-mono); font-size: 12px; }
.hrb .hrb-rail__liste { list-style: none; margin: 0 0 22px; padding: 0; }
.hrb .hrb-rail__liste a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hrb-trait); text-decoration: none; font-size: 14.5px; line-height: 1.35; color: var(--hrb-encre); }
.hrb .hrb-rail__liste a:hover { color: var(--hrb-olive); }
.hrb .hrb-rail__vue { display: block; width: 64px; height: 64px; overflow: hidden; }
.hrb .hrb-rail__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hrb .hrb-rail__rubs { display: flex; flex-wrap: wrap; gap: 6px; }
.hrb .hrb-rail__rubs a { font: 400 11px/1 var(--hrb-mono); text-transform: uppercase; letter-spacing: .08em; padding: 7px 9px; border: 1px solid var(--hrb-trait); text-decoration: none; color: var(--hrb-gris); }
.hrb .hrb-rail__rubs a:hover, .hrb .hrb-rail__rubs a[aria-current] { border-color: var(--hrb-olive); color: var(--hrb-olive); }

/* ---------- Texte des articles et des pages (contenu jamais modifié : seulement habillé) ---------- */
.hrb .hrb-texte { font-size: 18px; line-height: 1.75; color: var(--hrb-texte); min-width: 0; }
.hrb .hrb-texte > * + * { margin-top: 1.1em; }
.hrb .hrb-texte p { margin: 0; }
.hrb .hrb-texte > * + p, .hrb .hrb-texte > p + * { margin-top: 1.1em; }
.hrb .hrb-texte h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.15; margin-top: 2.1em; }
.hrb .hrb-texte h2::before { content: ""; display: block; width: 40px; height: 2px; background: var(--hrb-pollen); margin-bottom: 16px; }
.hrb .hrb-texte h3 { font-size: 1.4rem; line-height: 1.25; margin-top: 1.7em; }
.hrb .hrb-texte h4 { font: 600 1.05rem/1.4 var(--hrb-corps); color: var(--hrb-encre); margin-top: 1.5em; }
.hrb .hrb-texte a { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hrb .hrb-texte a:hover { color: var(--hrb-encre); }
.hrb .hrb-texte ul, .hrb .hrb-texte ol { padding-left: 1.3em; }
.hrb .hrb-texte li + li { margin-top: .4em; }
.hrb .hrb-texte ul li::marker { color: var(--hrb-pollen); }
.hrb .hrb-texte strong { color: var(--hrb-encre); font-weight: 650; }
.hrb .hrb-texte img { height: auto; border-radius: 0; }
.hrb .hrb-texte figure { margin-left: 0; margin-right: 0; }
.hrb .hrb-texte figcaption { font: 400 12.5px/1.5 var(--hrb-mono); color: var(--hrb-gris); margin-top: 8px; }
.hrb .hrb-texte blockquote { margin-left: 0; margin-right: 0; }
.hrb .hrb-texte table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; display: block; overflow-x: auto; }
.hrb .hrb-texte th, .hrb .hrb-texte td { border: 1px solid var(--hrb-trait); padding: 10px 12px; text-align: left; vertical-align: top; }
.hrb .hrb-texte th, .hrb .hrb-texte thead td { background: var(--hrb-sauge); font: 400 12px/1.4 var(--hrb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--hrb-encre); }
.hrb .hrb-texte iframe { max-width: 100%; }
.hrb .hrb-texte hr { border: 0; border-top: 1px solid var(--hrb-trait); margin: 2.4em 0; }

/* Encadrés écrits en ligne dans les articles (filet rouge, coins arrondis) : ramenés à la charte, sans toucher au contenu */
.hrb .hrb-texte [style*="border-left"]:not(blockquote) { background: var(--hrb-papier) !important; border: 1px solid var(--hrb-trait) !important; border-radius: 0 !important; padding: 18px 22px !important; }
.hrb .hrb-texte blockquote[style*="border-left"] { background: var(--hrb-papier) !important; border: 0 !important; border-left: 3px solid var(--hrb-pollen) !important; border-radius: 0 !important; padding: 18px 22px !important; }
.hrb .hrb-texte [style*="border-left"] p[style*="font-weight:700"] { font: 400 12px/1.4 var(--hrb-mono) !important; text-transform: uppercase; letter-spacing: .12em; color: var(--hrb-pollen-texte) !important; margin-bottom: 8px !important; }
.hrb .hrb-texte [style*="border-left"] p { font-size: 16.5px !important; }
.hrb .hrb-texte [style*="padding-bottom:56.25%"] { border-radius: 0 !important; background: var(--hrb-sauge); }
.hrb .hrb-texte #tool-interactive-area { background: var(--hrb-sauge) !important; border: 1px solid var(--hrb-trait) !important; border-radius: 0 !important; box-shadow: none !important; padding: 26px !important; }
.hrb .hrb-texte #tool-interactive-area h3, .hrb .hrb-texte #tool-interactive-area h2 { font-family: var(--hrb-titres) !important; color: var(--hrb-encre) !important; }
.hrb .hrb-texte #tool-interactive-area h2::before { display: none; }
.hrb .hrb-texte #tool-interactive-area input, .hrb .hrb-texte #tool-interactive-area select { border-radius: 0 !important; border-color: var(--hrb-trait) !important; font-family: var(--hrb-corps) !important; }
.hrb .hrb-texte [style*="background-color:#dc2626"], .hrb .hrb-texte [style*="background-color: #dc2626"] { background: var(--hrb-olive) !important; color: var(--hrb-blanc) !important; border-radius: 0 !important; border: 0 !important; font-family: var(--hrb-corps) !important; }
.hrb .hrb-texte #result { border-radius: 0 !important; border-color: var(--hrb-trait) !important; color: var(--hrb-olive) !important; }
.hrb .hrb-texte [style*="color:#10b981"] { color: var(--hrb-olive) !important; }

/* Encadrés « A lire » de l'extension de liens internes (styles en ligne avec !important) : seulement habillés */
.hrb .hrb-texte a:has(> div > .ctaText) { background: var(--hrb-papier) !important; border: 1px solid var(--hrb-trait) !important; text-decoration: none !important; padding-block: 14px !important; }
.hrb .hrb-texte a:has(> div > .ctaText) .ctaText { font: 400 11.5px/1.4 var(--hrb-mono) !important; text-transform: uppercase; letter-spacing: .12em; color: var(--hrb-pollen-texte) !important; }
.hrb .hrb-texte a:has(> div > .ctaText) .postTitle { font: 400 18px/1.35 var(--hrb-titres) !important; color: var(--hrb-encre) !important; text-decoration: underline !important; text-decoration-color: var(--hrb-pollen) !important; text-underline-offset: 3px; }

/* Sommaire Easy TOC */
.hrb .hrb-texte #ez-toc-container { background: var(--hrb-papier); border: 1px solid var(--hrb-trait); border-radius: 0; box-shadow: none; padding: 18px 24px 20px; width: 100%; margin: 1.8em 0; display: block; }
.hrb .hrb-texte #ez-toc-container .ez-toc-title { font: 400 12px/1.4 var(--hrb-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--hrb-pollen-texte); }
.hrb .hrb-texte #ez-toc-container nav ul { padding-left: 0; margin-top: 10px; list-style: none; }
.hrb .hrb-texte #ez-toc-container nav ul ul { padding-left: 1.1em; margin-top: 4px; }
.hrb .hrb-texte #ez-toc-container li { font-size: 15.5px; line-height: 1.45; margin: 6px 0; }
.hrb .hrb-texte #ez-toc-container a { color: var(--hrb-encre); text-decoration: none; }
.hrb .hrb-texte #ez-toc-container a:hover { color: var(--hrb-olive); text-decoration: underline; }
.hrb .hrb-texte #ez-toc-container .ez-toc-btn { border-radius: 0; background: transparent; border-color: var(--hrb-trait); }

/* Signature éditoriale en fin d'article et boîte d'auteur */
.hrb .hrb-texte .sr-identite-editoriale { margin-top: 2.6em; background: var(--hrb-sauge); border: 1px solid var(--hrb-trait); padding: 18px 22px; opacity: 1; font-size: 1em; }
.hrb .hrb-texte .sr-identite-editoriale p { font-size: 15.5px; line-height: 1.55; margin: 0; }
.hrb .hrb-texte .sr-identite-editoriale p + p { margin-top: 6px; }
.hrb .hrb-texte .sr-ie-label, .hrb .hrb-texte .sr-ie-maj { font: 400 11.5px/1.5 var(--hrb-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--hrb-gris); }
.hrb .hrb-texte .sr-ie-maj { margin-top: 10px !important; }
.hrb .hrb-texte .saboxplugin-wrap { border: 1px solid var(--hrb-trait) !important; background: var(--hrb-blanc); border-radius: 0 !important; margin-top: 1.6em; box-shadow: none; }
.hrb .hrb-texte .saboxplugin-wrap img { border-radius: 0 !important; }
.hrb .hrb-texte .saboxplugin-wrap .saboxplugin-authorname a { font-family: var(--hrb-titres); color: var(--hrb-encre); text-decoration: none; }
.hrb .hrb-texte .saboxplugin-wrap .saboxplugin-desc p { font-size: 15.5px; }
.hrb .hrb-texte ul.sr-ie-repris { list-style: none; padding: 0; border-top: 1px solid var(--hrb-trait); }
.hrb .hrb-texte ul.sr-ie-repris li { padding: 10px 0; border-bottom: 1px solid var(--hrb-trait); margin: 0; font-size: 16px; }
.hrb .hrb-texte .sr-ie-meta { display: block; font: 400 11.5px/1.5 var(--hrb-mono); color: var(--hrb-gris); letter-spacing: .04em; }

/* ---------- Pied de page : couleur de marque, liens seulement ---------- */
.hrb .hrb-pied { background: var(--hrb-nuit); color: #E6E9DE; padding-top: 64px; }
.hrb-pied__grille { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.hrb .hrb-marque--pied img { height: 70px; }
.hrb .hrb-pied__marque p { margin-top: 18px; font-size: 15px; line-height: 1.6; color: #CDD3C2; max-width: 30em; }
.hrb h2.hrb-pied__titre { color: var(--hrb-pollen-clair); margin: 4px 0 14px; font-size: 12px; }
.hrb .hrb-pied ul { list-style: none; margin: 0; padding: 0; }
.hrb .hrb-pied li { margin: 0 0 9px; }
.hrb .hrb-pied li a { color: var(--hrb-blanc); text-decoration: none; font-size: 15px; }
.hrb .hrb-pied li a:hover { text-decoration: underline; text-decoration-color: var(--hrb-pollen); text-underline-offset: 3px; }
.hrb .hrb-pied__bas { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 20px 26px; font: 400 12px/1.4 var(--hrb-mono); letter-spacing: .06em; color: #CDD3C2; }
.hrb .hrb-pied__haut { color: #CDD3C2; text-decoration: none; }
.hrb .hrb-pied__haut:hover { color: var(--hrb-blanc); }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1180px) {
    .hrb-abc { column-count: 4; }
    .hrb-carres { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .hrb-arbustes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hrb-arbustes__petits { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hrb-gestes { grid-template-columns: minmax(0, 1fr); }
    .hrb-grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hrb-pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hrb .hrb-registre__ligne { grid-template-columns: 90px 120px minmax(0, 1fr); }
    .hrb-registre__rub { display: none; }
}

/* ---------- Tablette et mobile : menu en tiroir, ouverture empilée ---------- */
@media (max-width: 900px) {
    :root { --hrb-tete-h: 64px; }
    .hrb-cadre, .hrb-tete__ligne { padding: 0 18px; }
    .hrb-tete__ligne { gap: 10px; }
    .hrb .hrb-marque img { height: 46px; }
    .hrb .hrb-loupe { margin-left: auto; }
    .hrb .hrb-burger { display: inline-flex; }
    .hrb .hrb-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--hrb-nuit); padding: 8px 18px 18px; margin: 0; }
    .hrb .hrb-nav.hrb-nav--ouverte { display: flex; }
    .hrb .hrb-nav a { padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 17px; }
    .hrb .hrb-nav a[aria-current] { border-bottom-color: var(--hrb-pollen); }
    .hrb-fouille__forme { padding: 0 18px; }

    /* Ouverture sur mobile : surtitre, H1, chapô, IMAGES, boutons (règle de Jordan, tous les sites) */
    .hrb-ouverture { padding-block: 22px 34px; }
    .hrb-ouverture__grille { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .hrb-ouverture__texte { display: contents; }
    .hrb .hrb-surtitre { order: 1; }
    .hrb .hrb-ouverture__titre { order: 2; margin: 14px 0 14px; }
    .hrb .hrb-ouverture__chapo { order: 3; font-size: 17px; }
    .hrb .hrb-planche { order: 4; margin: 22px 12px 0 0; }
    .hrb .hrb-ouverture__boutons { order: 5; margin-top: 30px; }
    .hrb .hrb-planche { height: auto; grid-template-rows: auto auto; padding: 10px; gap: 8px; box-shadow: 8px 8px 0 -1px var(--hrb-sauge), 8px 8px 0 0 var(--hrb-trait); }
    .hrb .hrb-planche__fig { aspect-ratio: 4 / 3; }
    .hrb .hrb-planche--3 .hrb-planche__fig--1 { aspect-ratio: 3 / 2; }
    .hrb .hrb-planche .hrb-herbier { right: 8px; bottom: 8px; width: 186px; padding: 7px 10px 8px; }
    .hrb .hrb-herbier__nom { font-size: 17px; }
    .hrb .hrb-planche__legende { font-size: 10px; padding: 5px 7px; left: 6px; bottom: 6px; }

    .hrb-une, .hrb-adresses, .hrb-redaction, .hrb-fond, .hrb-rub-tete__grille, .hrb-fiche__grille { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .hrb-rub-tete__grille { gap: 16px; }
    .hrb-grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hrb .hrb-grille--vedette .hrb-carte--vedette { grid-column: 1 / -1; grid-row: auto; }
    .hrb-abc { column-count: 3; }
    .hrb-gestes__cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hrb-fiche__corps { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 48px 64px; }
    .hrb .hrb-rail { position: static; order: 2; }
    .hrb .hrb-fiche__planche { margin-right: 12px; }
    .hrb .hrb-fiche__planche .hrb-herbier { right: 14px; bottom: -22px; width: 200px; }
    .hrb-fiche__tete { padding-bottom: 52px; }
}

@media (max-width: 600px) {
    body.hrb { font-size: 16.5px; }
    .hrb .hrb-ouverture__titre { font-size: 2.35rem; }
    .hrb .hrb-ouverture__boutons { gap: 8px; }
    .hrb .hrb-bouton { font-size: 14px; padding: 13px 14px; }
    .hrb-carres { grid-template-columns: minmax(0, 1fr); }
    .hrb-grille--3, .hrb-grille--4, .hrb-gestes__cartes { grid-template-columns: minmax(0, 1fr); }
    .hrb-arbustes { grid-template-columns: minmax(0, 1fr); }
    .hrb-arbustes__petits { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hrb .hrb-arbustes__vue { aspect-ratio: 4 / 3; }
    .hrb-abc { column-count: 1; column-rule: 0; }
    .hrb-abc__groupe { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; margin-bottom: 0; padding: 9px 0; border-bottom: 1px solid var(--hrb-trait); }
    .hrb .hrb-abc__lettre { font-size: 26px; border-bottom: 0; padding: 0; margin: 0; }
    .hrb .hrb-abc ul { display: flex; flex-wrap: wrap; gap: 2px 0; }
    .hrb .hrb-abc li { font-size: 15px; line-height: 1.6; }
    .hrb .hrb-abc li + li::before { content: "·"; color: var(--hrb-gris); margin: 0 7px; }
    .hrb .hrb-carre__vue { aspect-ratio: 2 / 1; }
    .hrb .hrb-planche__rub { display: none; }
    .hrb .hrb-ligne { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
    .hrb .hrb-ligne__titre { font-size: 17px; }
    .hrb .hrb-carnet__ligne { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .hrb .hrb-registre__ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
    .hrb .hrb-registre__titre { grid-column: 1 / -1; grid-row: 2; }
    .hrb .hrb-adresses__type { display: none; }
    .hrb .hrb-chiffres strong { font-size: 38px; }
    .hrb .hrb-panneau { padding: 26px 22px; }
    .hrb-pied__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hrb .hrb-texte { font-size: 17px; }
    .hrb .hrb-auteur { flex-direction: column; align-items: flex-start; }
    .hrb .hrb-note__ligne { gap: 10px; }
}

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

/* 1.0.1 : fiche sans image à la une (carte de rubrique, recherche, auteur) : étiquette d'herbier sur papier au lieu d'un cadre vide */
.hrb .hrb-carte__vue--herbier { display: flex; align-items: center; justify-content: center; background: var(--hrb-papier); border: 1px solid var(--hrb-trait); text-decoration: none; padding: 16px; }
.hrb .hrb-carte__vue--herbier .hrb-herbier { position: static; max-width: 100%; }
.hrb .hrb-carte__vue--herbier .hrb-herbier__nom { overflow-wrap: anywhere; }

/* 1.0.1 : page d'auteur — fiche d'identité éditoriale écrite par l'extension du site (captée avant la grille
   par index.php), habillée aux couleurs du thème ; la liste des mises à jour passe sous la grille */
.hrb .hrb-auteur:has(.sr-ie-carte) { align-items: flex-start; }
.hrb .hrb-auteur__texte { min-width: 0; }
.hrb .hrb-auteur .sr-ie-enveloppe { max-width: 860px; margin: 0; }
.hrb .hrb-auteur .sr-ie-carte { border: 0; border-radius: 0; background: none; padding: 0; }
.hrb .hrb-auteur .sr-ie-nom-auteur { font: 400 clamp(2.3rem, 4.2vw, 3.6rem)/1.06 var(--hrb-titres); color: var(--hrb-encre); margin: 0 0 10px; }
.hrb .hrb-auteur .sr-ie-fonction { font: 400 12.5px/1.4 var(--hrb-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hrb-pollen-texte); opacity: 1; margin: 0 0 18px; }
.hrb .hrb-auteur .sr-ie-carte p:not(.sr-ie-fonction) { font-size: 17px; line-height: 1.65; color: var(--hrb-texte); margin: 0 0 12px; max-width: 46em; }
.hrb .hrb-auteur .sr-ie-rubriques { margin-top: 16px; gap: 8px; }
.hrb .hrb-auteur .sr-ie-etiquette { font: 400 11.5px/1.4 var(--hrb-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--hrb-gris); opacity: 1; }
.hrb .hrb-auteur .sr-ie-puce { border: 1px solid var(--hrb-trait); border-radius: 0; background: var(--hrb-blanc); font: 600 14px/1.3 var(--hrb-corps); color: var(--hrb-encre); padding: 6px 12px; }
.hrb .hrb-auteur .sr-ie-supervision { border-top: 1px solid var(--hrb-trait); opacity: 1; font-size: 15.5px; color: var(--hrb-gris); }
.hrb .hrb-auteur .sr-ie-supervision a { color: var(--hrb-olive); font-weight: 600; text-decoration: underline; text-decoration-color: var(--hrb-pollen); text-underline-offset: 3px; }
.hrb .hrb-auteur__maj .sr-ie-maj-liste { margin: 0; }
.hrb .hrb-auteur__maj .sr-ie-maj-liste h2 { font: 400 clamp(1.6rem, 2.3vw, 2.1rem)/1.1 var(--hrb-titres); color: var(--hrb-encre); margin: 0 0 22px; }
.hrb .hrb-auteur__maj .sr-ie-maj-liste ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--hrb-encre); }
.hrb .hrb-auteur__maj .sr-ie-maj-liste li { border-bottom: 1px solid var(--hrb-trait); padding: 12px 0; }
.hrb .hrb-auteur__maj .sr-ie-maj-liste li a { font: 400 18px/1.3 var(--hrb-titres); color: var(--hrb-encre); text-decoration: none; }
.hrb .hrb-auteur__maj .sr-ie-maj-liste li a:hover { color: var(--hrb-olive); text-decoration: underline; text-decoration-color: var(--hrb-pollen); }
.hrb .hrb-auteur__maj .sr-ie-date { font: 400 11.5px/1.4 var(--hrb-mono); color: var(--hrb-gris); opacity: 1; }
@media (max-width: 900px) { .hrb .hrb-auteur__maj .sr-ie-maj-liste ul { grid-template-columns: minmax(0, 1fr); } }

/* 1.0.1 : sommaire Easy TOC — son script cale le repère du titre juste sous l'en-tête collant (décalage = hauteur
   de l'en-tête seulement) : le repère est remonté pour laisser voir le filet du titre et un peu d'air */
.hrb .hrb-texte .ez-toc-section { position: relative; top: -42px; }

/* 1.0.2 : images de l'ouverture FIXES (accueil/hero-*.webp, embarquées dans le thème) : plus de lien vers un article,
   donc plus d'effet de survol sur la planche */
