/*
Theme Name: LEO Habitat
Theme URI: https://leo-ecomateriaux.fr
Description: Thème enfant Astra pour un magazine de l'habitat écologique : matériaux biosourcés, rénovation, énergie et financement des travaux.
Author: François Le Goff
Template: astra
Version: 0.1.0
Text Domain: ecobatisseur
Tags: featured-images, blog, threaded-comments, wide-blocks
*/

@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/bitter-500-700-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/bitter-500-700-latin.woff2') format('woff2');
  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: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/libre-franklin-italic-400-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/libre-franklin-italic-400-latin.woff2') format('woff2');
  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: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/libre-franklin-400-700-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/libre-franklin-400-700-latin.woff2') format('woff2');
  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;
}

:root {
  
  --fond: #ffffff;
  --pierre: #f1f2ee;
  --tanin: #1c211e;
  --tanin-2: #4a524c;
  --feuille: #1a5c34;
  --feuille-fonce: #12442a;
  --calfeutre: #d8dcd5;
  --calfeutre-fort: #9aa39b;

  
  --m-bois: #c9a26b;
  --m-chanvre: #a9ad7e;
  --m-chaux: #e4e0d5;
  --m-terre: #9a6b4d;

  
  --f-titre: "Bitter", Georgia, "Times New Roman", serif;
  --f-texte: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  
  --tap: 44px;

  
  --marge: clamp(16px, 4vw, 48px);
  --cadre: 1240px;
  --lecture: 44rem;
  --article: 1060px;
}

:where(html) { -webkit-text-size-adjust: 100%; box-sizing: border-box; }

:where(html) *,
:where(html) ::before,
:where(html) ::after {
  box-sizing: inherit;
}
body.eb {
  margin: 0;
  font-family: var(--f-texte);
}
:where(body.eb) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.eb) :where(img, video) { height: auto; }
:where(body.eb) :where(figure) { margin: 0; }
:where(body.eb) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.eb) :where(textarea) { width: 100%; }
:where(body.eb) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.eb) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.eb) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.eb) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.eb) .aligncenter { display: block; margin-inline: auto; }
.eb-container {
  max-width: var(--cadre);
  margin: 0 auto;
  padding: 0 var(--marge);
}
.eb-main { min-height: 60vh; }

:where(input[type="button"], input[type="submit"], button, input[type="reset"], .button) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.eb-searchform {
  display: flex;
  align-items: stretch;
}
.eb-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.eb-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.eb-drawer__close,
.eb-search-overlay__close,
.eb-header__hamburger {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eb-header__search {
  min-height: var(--tap);
  padding: 0 1rem;
}
:where(body.eb) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.eb-header__nav > li {
  position: relative;
}
.eb-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
}
.eb-header__nav > li:hover > .sub-menu,
.eb-header__nav > li.is-open > .sub-menu {
  visibility: visible;
  opacity: 1;
}
.eb-submenu-toggle {
  min-height: var(--tap);
}
.eb-drawer .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(body.eb) .eb-menu-label {
  cursor: default;
}

.eb-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.eb-crumbs > * {
  flex: none;
}
.eb-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.eb) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.eb) :where(a) { text-decoration-color: currentColor; }

body.eb {
  background: var(--fond);
  color: var(--tanin);
  font-size: 1rem;
  line-height: 1.6;
}
.eb-container { max-width: var(--cadre); padding-inline: var(--marge); }
.eb-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
:where(body.eb) :focus-visible { outline: 2px solid var(--feuille); outline-offset: 2px; }

.eb-mat-bois {
  background-color: var(--m-bois);
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .2) 0 1px, transparent 1px 5px);
}
.eb-mat-chanvre {
  background-color: var(--m-chanvre);
  background-image: radial-gradient(rgba(52, 56, 26, .28) 1px, transparent 1.5px);
  background-size: 6px 6px;
}
.eb-mat-chaux {
  background-color: var(--m-chaux);
  background-image: radial-gradient(rgba(28, 33, 30, .13) .8px, transparent 1.2px);
  background-size: 4px 4px;
}
.eb-mat-terre {
  background-color: var(--m-terre);
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.6px);
  background-size: 7px 9px;
}
.eb-strates {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  height: 6px;
}
.eb-ech {
  display: inline-block;
  flex: none;
  width: .72em;
  height: .72em;
  margin-right: .45em;
  box-shadow: inset 0 0 0 1px rgba(28, 33, 30, .28);
}
.eb-ech--grand { width: .8em; height: .8em; margin-right: .5em; }

.eb-header {
  position: relative;
  z-index: 50;
  background: var(--fond);
}
.eb-header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--cadre);
  margin: 0 auto;
  padding: 12px var(--marge);
}
.eb-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.eb-header__picto { width: auto; height: 46px; }
.eb-header__wordmark {
  font-family: var(--f-titre);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.eb-header__nav-wrap { flex: 1; min-width: 0; }
.eb-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.eb-header__nav a {
  display: block;
  padding: 12px 11px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.eb-header__nav a:hover { color: var(--feuille); }
.eb-header__nav .current-menu-item > a,
.eb-header__nav .current-category-ancestor > a { box-shadow: inset 0 -3px 0 var(--feuille); }
.eb-header__nav .sub-menu {
  min-width: 220px;
  padding: 6px 0;
  background: var(--fond);
  border: 1px solid var(--calfeutre);
}
.eb-header__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.eb-header__search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid var(--calfeutre-fort);
  border-radius: 3px;
}
.eb-header__search:hover,
.eb-header__search[aria-expanded="true"] { border-color: var(--feuille); color: var(--feuille); }
.eb-header__hamburger { display: none; flex-direction: column; gap: 5px; }
.eb-header__hamburger span { display: block; width: 22px; height: 2px; background: currentColor; }

.eb-search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--pierre);
  border-bottom: 1px solid var(--calfeutre);
  box-shadow: 0 12px 24px rgba(28, 33, 30, .08);
}
body.search-open .eb-search-overlay { display: block; }
.eb-search-overlay__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px var(--marge);
}
.eb-search-overlay .eb-searchform { flex: 1; min-width: 0; gap: 8px; }
.eb-searchform__input {
  padding: 0 14px;
  background: var(--fond);
  border: 1px solid var(--calfeutre-fort);
  border-radius: 3px;
  color: var(--tanin);
}
.eb-searchform__submit {
  background: var(--feuille);
  color: #fff;
  font-weight: 600;
  border-radius: 3px;
}
.eb-searchform__submit:hover { background: var(--feuille-fonce); }
.eb-search-overlay__close { flex: none; font-size: 1.6rem; line-height: 1; }

.eb-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.eb-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  background: var(--fond);
  transform: translateX(-100%);
  overflow-y: auto;
}
.eb-drawer__voile { position: absolute; inset: 0; z-index: -1; background: rgba(28, 33, 30, .45); opacity: 0; }
body.nav-open .eb-drawer { visibility: visible; }
body.nav-open .eb-drawer__panel { transform: none; }
body.nav-open .eb-drawer__voile { opacity: 1; }
.eb-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 10px 20px;
  border-bottom: 1px solid var(--calfeutre);
}
.eb-drawer__title { font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; }
.eb-drawer__close { font-size: 1.7rem; line-height: 1; }
.eb-drawer__nav { flex: 1; margin: 0; padding: 0; list-style: none; }
.eb-drawer__nav a {
  display: block;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--calfeutre);
}
.eb-drawer__nav .current-menu-item > a { color: var(--feuille); box-shadow: inset 4px 0 0 var(--feuille); }
.eb-drawer__nav .sub-menu a { padding-left: 36px; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .eb-drawer { transition: visibility .25s; }
  .eb-drawer__panel { transition: transform .25s ease; }
  .eb-drawer__voile { transition: opacity .25s; }
}

.eb-ouverture { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); }
.eb-ouverture__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.eb-ouverture__titre {
  margin: 0 0 18px;
  font-family: var(--f-titre);
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 15em;
}
.eb-ouverture__chapo { margin: 0; max-width: 34rem; font-size: 1.15rem; color: var(--tanin-2); }

.eb-coupe { margin: 0; }
.eb-coupe__couches {
  display: flex;
  flex-direction: column;
  height: 340px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.eb-coupe__couche { flex: var(--ep) 1 0; min-height: 52px; display: flex; }
.eb-coupe__lien {
  display: grid;
  grid-template-columns: minmax(110px, 40%) minmax(0, 1fr);
  width: 100%;
  text-decoration: none;
}
.eb-coupe__mat {
  border-inline: 2px solid var(--tanin);
  border-top: 1px solid rgba(28, 33, 30, .45);
}
.eb-coupe__couche:first-child .eb-coupe__mat { border-top: 2px solid var(--tanin); }
.eb-coupe__couche:last-child .eb-coupe__mat { border-bottom: 2px solid var(--tanin); }
.eb-coupe__repere { display: flex; align-items: center; min-width: 0; }
.eb-coupe__repere::before {
  content: "";
  flex: none;
  width: 44px;
  height: 8px;
  margin-left: -5px;
  margin-right: 12px;
  background:
    radial-gradient(circle at 4px 50%, var(--tanin) 3px, transparent 3.5px),
    linear-gradient(var(--tanin), var(--tanin)) 4px 50% / 100% 1px no-repeat;
}
.eb-coupe__nom {
  display: block;
  font-family: var(--f-titre);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
}
.eb-coupe__nb { display: block; font-size: .85rem; color: var(--tanin-2); font-variant-numeric: tabular-nums; }
.eb-coupe__txt { display: block; min-width: 0; padding-right: 4px; }
.eb-coupe__lien:hover .eb-coupe__nom { color: var(--feuille); text-decoration: underline; text-underline-offset: 3px; }
.eb-coupe__lien:hover .eb-coupe__mat { filter: saturate(1.25) brightness(.96); }
.eb-coupe__legende { margin-top: 12px; font-size: .85rem; font-style: italic; color: var(--tanin-2); }

.eb-bloc { margin-top: clamp(48px, 6vw, 72px); }
.eb-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--calfeutre);
}
.eb-tete__titre {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--f-titre);
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
}
.eb-tete__lien { font-weight: 600; font-size: .95rem; color: var(--feuille); text-decoration: none; white-space: nowrap; }
.eb-tete__lien:hover { text-decoration: underline; text-underline-offset: 3px; }

.eb-grille { display: grid; gap: 34px 28px; }
.eb-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eb-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.eb-grille--lignes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin-top: 28px;
  border-top: 1px solid var(--calfeutre);
}
.eb-card__lien { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.eb-card__visuel { display: block; padding-bottom: 5px; }
.eb-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.eb-photo__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eb-card__texte { display: flex; flex-direction: column; flex: 1; }
.eb-card__title {
  display: block;
  margin-top: 14px;
  font-family: var(--f-titre);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}
.eb-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: .85rem;
  color: var(--tanin-2);
}
.eb-card__cat { display: inline-flex; align-items: baseline; font-weight: 600; color: var(--tanin); }
.eb-card__cat + span::before { content: "\00b7"; margin-right: 8px; color: var(--calfeutre-fort); }
.eb-card__lien:hover .eb-card__title { color: var(--feuille); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.eb-card--ligne .eb-card__lien {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--calfeutre);
}
.eb-card--ligne .eb-card__visuel { padding: 0 0 0 5px; align-self: start; }
.eb-card--ligne .eb-photo { aspect-ratio: 4 / 3; }
.eb-card--ligne .eb-card__title { margin-top: 0; font-size: 1rem; }
.eb-card--ligne .eb-card__meta { padding-top: 6px; }

@media (prefers-reduced-motion: no-preference) {
  [data-pose] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  [data-pose].est-pose { opacity: 1; transform: none; }
}

.eb-single__cover {
  width: min(100% - 2 * var(--marge), var(--cadre) - 2 * var(--marge));
  margin: 24px auto 0;
  padding-bottom: 6px;
}
.eb-single__img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.eb-single__header,
.eb-single__corps {
  max-width: var(--article);
  margin-inline: auto;
  padding-inline: var(--marge);
}
.eb-single__header { padding-top: 26px; }
.eb-single__header--nu { padding-top: 36px; }
.eb-single__header::after {
  content: "";
  display: block;
  margin-top: 26px;
  border-bottom: 1px solid var(--calfeutre);
}
.eb-crumbs { font-size: .85rem; color: var(--tanin-2); }
.eb-crumbs a { text-decoration: none; }
.eb-crumbs a:hover { text-decoration: underline; }
.eb-single__cat { margin: 18px 0 10px; font-size: .92rem; font-weight: 600; }
.eb-single__cat a { display: inline-flex; align-items: baseline; color: var(--feuille); text-decoration: none; }
.eb-single__cat a:hover { text-decoration: underline; }
.eb-single__title {
  margin: 0;
  max-width: 23em;
  font-family: var(--f-titre);
  font-size: clamp(1.85rem, 1.35rem + 2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.eb-single__chapo { margin: 16px 0 0; max-width: 40rem; font-size: 1.18rem; color: var(--tanin-2); }
.eb-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 18px 0 0;
  font-size: .9rem;
  color: var(--tanin-2);
}
.eb-single__meta > span + span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--calfeutre-fort); }
.eb-single__meta a { color: var(--tanin); font-weight: 600; text-decoration: none; }
.eb-single__meta a:hover { text-decoration: underline; }

.eb-single__corps { display: grid; grid-template-columns: minmax(0, var(--lecture)); margin-top: 36px; }
.eb-sommaire { display: none; }

.eb-single__body { font-size: 1.075rem; line-height: 1.72; min-width: 0; }
.eb-single__body > * { margin-top: 0; }
.eb-single__body p { margin-bottom: 1.2em; }
.eb-single__body a { color: var(--feuille); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.eb-single__body a:hover { color: var(--feuille-fonce); text-decoration-thickness: 2px; }
.eb-single__body h2 {
  margin: 2.2em 0 .7em;
  padding-top: 18px;
  font-family: var(--f-titre);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1.25;
  scroll-margin-top: 24px;
  background:
    linear-gradient(90deg, var(--m-bois) 0 24px, var(--m-chanvre) 24px 34px, var(--m-chaux) 34px 44px, var(--m-terre) 44px 54px)
    0 0 / 54px 5px no-repeat;
}
.eb-single__body h3 {
  margin: 1.8em 0 .55em;
  font-family: var(--f-titre);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.3;
  scroll-margin-top: 24px;
}
.eb-single__body ul,
.eb-single__body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.eb-single__body li { margin-bottom: .4em; }
.eb-single__body li::marker { color: var(--feuille); }
.eb-single__body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--m-bois);
  font-style: italic;
}
.eb-single__body .wp-block-table { margin: 1.8em 0; overflow-x: auto; }
.eb-single__body table {
  font-size: .92rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.eb-single__body th,
.eb-single__body td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--calfeutre); }
.eb-single__body thead th,
.eb-single__body thead td { background: var(--pierre); font-weight: 600; border-bottom: 2px solid var(--tanin); }
.eb-single__body tbody tr:hover { background: rgba(26, 92, 52, .04); }
.eb-single__body figcaption { margin-top: 8px; font-size: .85rem; color: var(--tanin-2); }
.eb-single__body img { display: block; }

.eb-single__body #ez-toc-container .ez-toc-js-icon-con { left: 0; }

.eb-auteur {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 22px 24px 24px;
  background: var(--pierre);
  border-top: 5px solid var(--m-bois);
  font-size: .98rem;
  line-height: 1.6;
}
.eb-auteur__avatar { border-radius: 50%; }
.eb-auteur__nom { margin: 0 0 6px; font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; }
.eb-auteur__nom span { display: block; font-family: var(--f-texte); font-weight: 400; font-size: .82rem; color: var(--tanin-2); }
.eb-auteur__bio { margin: 0 0 10px; color: var(--tanin-2); }
.eb-auteur__lien { font-weight: 600; color: var(--feuille); text-decoration: none; }
.eb-auteur__lien:hover { text-decoration: underline; }
.eb-lies { margin-bottom: 24px; }

@media (min-width: 1100px) {
  .eb-single__corps--sommaire {
    grid-template-columns: 240px minmax(0, var(--lecture));
    gap: 56px;
  }
  .eb-single__corps--sommaire .eb-sommaire {
    display: block;
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
  .eb-single__corps--sommaire #ez-toc-container { display: none; }
  body.admin-bar .eb-sommaire { top: 56px; }
}
.eb-sommaire__titre { margin: 0 0 12px; font-family: var(--f-titre); font-weight: 700; font-size: 1rem; }
.eb-sommaire__couches { margin: 0; padding: 0; list-style: none; border-block: 2px solid var(--tanin); }
.eb-sommaire__couches li + li { border-top: 1px solid var(--fond); }
.eb-sommaire__couches a {
  display: block;
  padding: 9px 4px 9px 16px;
  font-size: .87rem;
  line-height: 1.38;
  color: var(--tanin-2);
  text-decoration: none;
  border-left: 8px solid var(--m-chaux);
}
.eb-sommaire__couches a:hover { color: var(--tanin); border-left-color: var(--m-bois); }
.eb-sommaire__couches a.est-lue { color: var(--tanin); font-weight: 600; border-left-color: var(--feuille); background: rgba(26, 92, 52, .06); }

.eb-archive__header { padding-top: 26px; }
.eb-archive__title {
  display: flex;
  align-items: baseline;
  margin: 18px 0 0;
  font-family: var(--f-titre);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.eb-ech--titre { width: .62em; height: .62em; margin-right: .4em; }
.eb-archive__desc { max-width: var(--lecture); margin-top: 12px; font-size: 1.05rem; color: var(--tanin-2); }
.eb-archive__desc p { margin: 0 0 .7em; }
.eb-archive__desc p:last-child { margin-bottom: 0; }
.eb-archive__compte { margin: 12px 0 0; font-size: .9rem; color: var(--tanin-2); }
.eb-archive__couche { height: 8px; margin-top: 24px; }
.eb-archive__filet { margin-top: 24px; border-top: 1px solid var(--calfeutre); }
.eb-archive__corps { margin-top: 36px; margin-bottom: 24px; }
.eb-archive__vide { max-width: var(--lecture); margin: 0 0 28px; font-size: 1.05rem; color: var(--tanin-2); }
.eb-archive__auteur { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 22px; align-items: start; }
.eb-archive__avatar { border-radius: 50%; margin-top: 18px; }

.eb-couches__liste { margin: 0; padding: 0; list-style: none; }
.eb-couches--barre .eb-couches__liste { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 6px; }
.eb-couches--barre .eb-couches__lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  font-size: .92rem;
  font-weight: 600;
  color: var(--tanin-2);
  text-decoration: none;
}
.eb-couches--barre .eb-couches__mat { width: 12px; height: 12px; box-shadow: inset 0 0 0 1px rgba(28, 33, 30, .28); }
.eb-couches--barre .eb-couches__nb { font-weight: 400; }
.eb-couches--barre .eb-couches__lien:hover .eb-couches__nom { color: var(--feuille); text-decoration: underline; text-underline-offset: 3px; }
.eb-couches--barre .eb-couches__lien[aria-current] .eb-couches__nom { color: var(--feuille); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.eb-couches--tuiles .eb-couches__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.eb-couches--tuiles .eb-couches__lien {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--calfeutre);
  text-decoration: none;
}
.eb-couches--tuiles .eb-couches__mat { display: block; height: 34px; }
.eb-couches--tuiles .eb-couches__nom {
  margin-top: 12px;
  font-family: var(--f-titre);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.eb-couches--tuiles .eb-couches__nb { margin-top: auto; padding-top: 6px; font-size: .85rem; color: var(--tanin-2); }
.eb-couches--tuiles .eb-couches__lien:hover .eb-couches__nom { color: var(--feuille); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.eb-recherche__form { max-width: 560px; margin-top: 20px; }
.eb-recherche__form .eb-searchform { gap: 8px; }
.eb-404__code { margin: 18px 0 0; font-size: .92rem; font-weight: 600; color: var(--feuille); }
.eb-404 .eb-archive__title { margin-top: 6px; }
.eb-404__msg { max-width: 40rem; margin: 12px 0 0; font-size: 1.05rem; color: var(--tanin-2); }
.eb-404__retour { margin: 32px 0 0; }
.eb-404__retour a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 600; color: var(--feuille); text-decoration: none; }
.eb-404__retour a:hover { text-decoration: underline; text-underline-offset: 3px; }

.eb-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.eb-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  height: var(--tap);
  padding: 0 10px;
  border: 1px solid var(--calfeutre);
  border-radius: 3px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.eb-pager a.page-numbers:hover { border-color: var(--feuille); color: var(--feuille); }
.eb-pager .current { background: var(--feuille); border-color: var(--feuille); color: #fff; }
.eb-pager .dots { border-color: transparent; }

.eb-page { max-width: var(--article); margin-inline: auto; padding-inline: var(--marge); }
.eb-page__header { padding-top: 26px; }
.eb-page__header::after { content: ""; display: block; margin-top: 24px; border-bottom: 1px solid var(--calfeutre); }
.eb-page__title {
  margin: 18px 0 0;
  max-width: 23em;
  font-family: var(--f-titre);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.eb-page__body { max-width: var(--lecture); margin-top: 32px; padding-bottom: 24px; }
.eb-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 32px;
  padding-bottom: 24px;
}
.eb-contact__body > :only-child { grid-column: 1 / -1; max-width: var(--lecture); }
.eb-contact__form { padding: 24px 26px 4px; background: var(--pierre); border-top: 5px solid var(--m-bois); }

.eb-footer { margin-top: clamp(56px, 8vw, 96px); background: var(--pierre); }
.eb-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 26px;
  padding-bottom: 18px;
}
.eb-footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-titre); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.eb-footer__picto { width: auto; height: 38px; }
.eb-footer__rubriques ul { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; }
.eb-footer__rubriques a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.eb-footer__rubriques a:hover { color: var(--feuille); text-decoration: underline; }
.eb-footer__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 8px;
  padding-bottom: 20px;
  border-top: 1px solid var(--calfeutre);
  font-size: .88rem;
  color: var(--tanin-2);
}
.eb-footer__nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.eb-footer__nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 8px; text-decoration: none; }
.eb-footer__nav li:first-child a { padding-left: 0; }
.eb-footer__nav a:hover { color: var(--tanin); text-decoration: underline; }
.eb-footer__copyright { margin: 0; }

@media (max-width: 1100px) {
  .eb-header__nav-wrap { display: none; }
  .eb-header__actions { margin-left: auto; }
  .eb-header__hamburger { display: inline-flex; }
  .eb-grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
  .eb-ouverture__grille { grid-template-columns: minmax(0, 1fr); }
  .eb-grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-grille--lignes { grid-template-columns: minmax(0, 1fr); }
  .eb-coupe__couches { height: 290px; }
  .eb-couches--tuiles .eb-couches__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-contact__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .eb-header__row { gap: 12px; padding-block: 8px; }
  .eb-header__picto { height: 38px; }
  .eb-header__wordmark { font-size: 1.2rem; }
  .eb-header__search { padding: 0; width: var(--tap); justify-content: center; border-color: transparent; }
  .eb-header__search-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .eb-grille--3,
  .eb-grille--4 { grid-template-columns: minmax(0, 1fr); }
  .eb-rubrique .eb-grille--4 .eb-card:nth-child(n+2) .eb-card__lien {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }
  .eb-rubrique .eb-grille--4 .eb-card:nth-child(n+2) .eb-card__visuel { padding: 0 0 0 5px; align-self: start; }
  .eb-rubrique .eb-grille--4 .eb-card:nth-child(n+2) .eb-photo { aspect-ratio: 4 / 3; }
  .eb-rubrique .eb-grille--4 .eb-card:nth-child(n+2) .eb-card__title { margin-top: 0; font-size: 1rem; }
  .eb-rubrique .eb-grille--4 { gap: 20px; }
  .eb-coupe__lien { grid-template-columns: 30% minmax(0, 1fr); }
  .eb-coupe__repere::before { width: 24px; margin-right: 8px; }
  .eb-coupe__nom { font-size: .95rem; }
  .eb-single__cover { width: 100%; margin-top: 0; }
  .eb-single__meta > span + span { margin-left: 0; padding-left: 0; border-left: 0; }
  .eb-single__meta { flex-direction: column; }
  .eb-auteur { grid-template-columns: minmax(0, 1fr); }
  .eb-footer__inner { flex-direction: column; align-items: flex-start; }
  .eb-couches--tuiles .eb-couches__liste { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .eb-couches--tuiles .eb-couches__lien { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 14px; }
  .eb-couches--tuiles .eb-couches__mat { grid-row: span 2; height: 34px; }
  .eb-couches--tuiles .eb-couches__nom { margin-top: 0; }
  .eb-couches--tuiles .eb-couches__nb { padding-top: 0; }
  .eb-archive__auteur { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .eb-archive__avatar { width: 64px; height: 64px; }
  .eb-contact__form { padding-inline: 18px; }
  .eb-archive__desc { font-size: 1rem; }
  .eb-couches--barre .eb-couches__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .eb-couches--barre .eb-couches__nb { display: none; }
}

body.eb {
  background: var(--fond) !important;
  color: var(--tanin) !important;
}

body.eb .site-main,
body.eb .ast-container,
body.eb #content,
body.eb .entry-content,
body.eb .site-main > article,
body.eb .content-area,
body.eb .ast-article-single,
body.eb .site-content,
body.eb #page,
body.eb #primary,
body.eb .ast-article-post {
  float: none !important;
  background: transparent !important;
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.eb .ast-above-header-wrap,
body.eb #ast-desktop-header,
body.eb .footer-widget-area,
body.eb #colophon {
  height: 0 !important;
  margin: 0 !important;
  display: none !important;
  border: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

body.eb .ast-below-footer,
body.eb .ast-header-breadcrumb,
body.eb #ast-mobile-header,
body.eb .ast-page-title-bar,
body.eb .ast-mobile-header-wrap,
body.eb .ast-footer-copyright,
body.eb .site-header,
body.eb .main-header-bar,
body.eb .ast-footer-overlay,
body.eb .ast-above-footer,
body.eb .ast-breadcrumbs-inner {
  display: none !important;
  border: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

body.eb .entry-banner,
body.eb #masthead,
body.eb .main-header-bar-wrap,
body.eb .site-footer,
body.eb .site-below-footer-wrap,
body.eb .ast-small-footer,
body.eb .ast-main-header-wrap,
body.eb .ast-page-header,
body.eb .ast-secondary-header-bar,
body.eb .ast-archive-title-wrap,
body.eb .ast-primary-header-bar,
body.eb .ast-below-header-wrap,
body.eb .ast-breadcrumbs-wrapper {
  border: none !important;
  display: none !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.eb.home .entry-header,
body.eb.home .ast-archive-description {
  display: none !important;
}

:where(body.eb) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--tanin);
  border: 1px solid var(--calfeutre-fort);
}

body.eb #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  background: var(--tanin);
  color: var(--fond);
  cursor: pointer;
}
body.eb #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.eb #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.eb.admin-bar .eb-header { top: 32px; }
@media (max-width: 782px) {
  body.eb.admin-bar .eb-header { top: 46px; }
}

body.eb .wpcf7-form p { margin: 0 0 24px; }
body.eb .wpcf7-form input[type="text"],
body.eb .wpcf7-form input[type="email"],
body.eb .wpcf7-form input[type="tel"],
body.eb .wpcf7-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--calfeutre-fort);
  border-radius: 0; padding: 10px 0; font-family: var(--f-texte); font-size: 1rem; color: var(--tanin);
  box-shadow: none;
}
body.eb .wpcf7-form textarea { height: 10em; min-height: 120px; resize: vertical; }
body.eb .wpcf7-form input:focus,
body.eb .wpcf7-form textarea:focus { border-bottom-color: var(--feuille); }
body.eb .wpcf7-form input[type="submit"] {
  min-height: var(--tap); background: var(--feuille); color: #fff; border: none; border-radius: 3px; padding: 0 22px;
  font-family: var(--f-texte); font-size: .95rem; font-weight: 600; cursor: pointer;
}
body.eb .wpcf7-form input[type="submit"]:hover { background: var(--feuille-fonce); }
body.eb .wpcf7-form label { font-size: .92rem; font-weight: 600; }
