/*
Theme Name: Le Journal du Bijou
Theme URI: https://bijouximport.fr
Description: Thème éditorial pour un magazine B2B du sourcing de bijoux fantaisie : plaque de schiste, traits d'or frottés et fiches de dossier lisibles pour revendeurs et créateurs.
Author: Roselyne Cazenave
Template: astra
Version: 0.1.0
Text Domain: maillonfin
Tags: threaded-comments, custom-menu, translation-ready, featured-images, wide-blocks
*/

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/cinzel-500-600-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: 'Cinzel';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/cinzel-500-600-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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/frank-ruhl-libre-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: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/frank-ruhl-libre-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: #eceded;
  --surface: #f7f7f6;
  --ink-main: #1d2023;
  --ink-main-70: rgba(29, 32, 35, 0.76);
  --ink-main-40: rgba(29, 32, 35, 0.42);
  --pop: #c6a15b;
  --or-encre: #7a5c22;
  --marine: #1b2a41;
  --schiste: #1f2225;
  --schiste-haut: #2a2e32;
  --sur-schiste: #ece9e2;
  --sur-schiste-doux: #a9adb2;
  --trait-touche: rgba(29, 32, 35, 0.13);
  --rule-strong: rgba(29, 32, 35, 0.26);

  
  --gravure: "Frank Ruhl Libre", Georgia, serif;
  --ff-corps: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-poincon: "Cinzel", "Frank Ruhl Libre", serif;

  
  --tap: 44px;

  
  --pad-x: clamp(20px, 5vw, 64px);
  --shell: 1200px;
}

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

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

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

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

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

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

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

body.mf {
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:where(body.mf) :where(a:focus-visible, button:focus-visible, input:focus-visible) {
  outline: 2px solid var(--pop);
  outline-offset: 3px;
}

.mf-touche {
  display: inline-block;
  flex: none;
  width: 74px;
  height: 13px;
  background:
    linear-gradient(90deg, transparent, var(--pop) 18%, var(--pop) 74%, transparent) 0 1px / 48px 2px no-repeat,
    linear-gradient(90deg, transparent, var(--pop) 12%, var(--pop) 80%, transparent) 20px 5px / 34px 2px no-repeat,
    linear-gradient(90deg, transparent, var(--pop) 22%, var(--pop) 66%, transparent) 6px 10px / 62px 2px no-repeat;
  opacity: .95;
}
.mf-touche--large {
  width: 132px;
  background:
    linear-gradient(90deg, transparent, var(--pop) 16%, var(--pop) 76%, transparent) 0 1px / 86px 2px no-repeat,
    linear-gradient(90deg, transparent, var(--pop) 10%, var(--pop) 84%, transparent) 34px 5px / 58px 2px no-repeat,
    linear-gradient(90deg, transparent, var(--pop) 20%, var(--pop) 70%, transparent) 12px 10px / 112px 2px no-repeat;
}

.mf-poincon {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--or-encre);
  text-decoration: none;
}
.mf-poincon::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.mf-poincon--clair { color: var(--pop); }
a.mf-poincon:hover { text-decoration: underline; text-underline-offset: 3px; }

.mf-header {
  background: var(--fond);
  border-bottom: 1px solid var(--trait-touche);
}
.mf-header__band {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--pad-x) 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.mf-header__brand { grid-column: 2; display: block; line-height: 0; }
.mf-header__logo {
  display: block;
  width: auto;
  height: 104px;
}
.mf-header__search {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .25rem;
  font-size: .9rem;
  color: var(--ink-main-70);
}
.mf-header__search:hover { color: var(--ink-main); }
.mf-header__hamburger {
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  gap: 6px;
  display: none;
}
.mf-header__hamburger span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: currentColor;
}
.mf-header__hamburger span + span { width: 15px; align-self: flex-end; margin-right: 11px; }
.mf-header__nav-wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.mf-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(14px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-header__nav > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-main-70);
}
.mf-header__nav > li > a:hover,
.mf-header__nav > .current-menu-item > a,
.mf-header__nav > .current-menu-ancestor > a { color: var(--ink-main); }
.mf-header__nav > .current-menu-item > a::after,
.mf-header__nav > .current-menu-ancestor > a::after,
.mf-header__nav > li > a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 30px;
  height: 6px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent, var(--pop) 20%, var(--pop) 75%, transparent) 0 0 / 22px 2px no-repeat,
    linear-gradient(90deg, transparent, var(--pop) 15%, var(--pop) 80%, transparent) 8px 4px / 22px 2px no-repeat;
}
.mf-header__nav .sub-menu {
  min-width: 15rem;
  padding: .5rem 0;
  background: var(--surface);
  border: 1px solid var(--trait-touche);
  border-top: 2px solid var(--pop);
}
.mf-header__nav .sub-menu a {
  display: block;
  padding: .5rem 1rem;
  font-size: .92rem;
  text-decoration: none;
}

.mf-voile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 22, 24, .52);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mf-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  max-height: 84vh;
  overflow-y: auto;
  padding: 10px var(--pad-x) 28px;
  background: var(--surface);
  border-top: 3px solid var(--pop);
  box-shadow: 0 -12px 40px rgba(20, 22, 24, .22);
  transform: translateY(104%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
body.nav-open .mf-voile { opacity: 1; pointer-events: auto; }
body.nav-open .mf-drawer {
  transform: none;
  visibility: visible;
  transition: transform .3s ease;
}
.mf-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.mf-drawer__title {
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: .8rem;
  color: var(--or-encre);
}
.mf-drawer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  font-family: var(--gravure);
  font-weight: 500;
  font-size: 1.2rem;
  text-decoration: none;
  border-bottom: 1px solid var(--trait-touche);
}
.mf-drawer__nav .sub-menu a { padding-left: 1rem; font-size: 1.05rem; }
.mf-drawer__search {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  border: 1px solid var(--rule-strong);
  font-weight: 500;
}

.mf-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 0 var(--pad-x);
  background: rgba(31, 34, 37, .97);
  color: var(--sur-schiste);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
body.search-open .mf-search-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease;
}
.mf-search-overlay__close { position: absolute; top: 16px; right: 16px; font-size: 1.8rem; }
.mf-search-overlay__inner { max-width: 42rem; margin: 22vh auto 0; }
.mf-search-overlay .mf-searchform__input {
  padding: .4rem 0;
  font-family: var(--gravure);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--pop);
}
.mf-searchform__submit {
  font-weight: 600;
  color: var(--schiste);
  background: var(--pop);
}
.mf-searchform__input {
  padding: .5rem .8rem;
  color: var(--ink-main);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
}

.mf-plaque {
  padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
  color: var(--sur-schiste);
  background:
    radial-gradient(120% 90% at 85% 0%, var(--schiste-haut) 0%, transparent 60%),
    var(--schiste);
}
.mf-plaque__titre {
  max-width: 40rem;
  margin: 0 0 clamp(26px, 3.5vw, 40px);
  font-family: var(--gravure);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  color: var(--sur-schiste-doux);
}
.mf-une {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.mf-une__image { display: block; }
.mf-une .mf-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  outline: 1px solid rgba(198, 161, 91, .55);
  outline-offset: 7px;
}
.mf-photo { display: block; background: var(--schiste-haut); }
.mf-photo__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-une__texte .mf-poincon { margin-bottom: 1.1rem; }
.mf-une__title {
  margin: 0 0 1rem;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
  line-height: 1.14;
  text-wrap: balance;
}
.mf-une__title a { text-decoration: none; }
.mf-une__title a:hover { text-decoration: underline; text-decoration-color: var(--pop); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mf-une__deck { margin: 0 0 1.1rem; color: var(--sur-schiste-doux); }
.mf-une__meta { margin: 0; font-size: .88rem; color: var(--sur-schiste-doux); }
.mf-plaque__touches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 3.5vw, 48px);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid rgba(236, 233, 226, .14);
}
.mf-touche-item { display: flex; flex-direction: column; gap: .5rem; }
.mf-touche-item__cat { font-size: .8rem; color: var(--sur-schiste-doux); }
.mf-touche-item__title {
  font-family: var(--gravure);
  font-weight: 500;
  font-size: 1.14rem;
  line-height: 1.3;
  text-decoration: none;
}
.mf-touche-item__title:hover { text-decoration: underline; text-decoration-color: var(--pop); text-underline-offset: 4px; }

.mf-section { margin-top: clamp(52px, 7vw, 88px); }
.mf-section__head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.mf-section__title {
  margin: 0;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.mf-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 56px);
}
.mf-liste--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mf-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--trait-touche);
}
.mf-card__vignette { aspect-ratio: 1; overflow: hidden; }
.mf-card__title {
  margin: 0 0 .65rem;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.3;
}
.mf-card__title a { text-decoration: none; }
.mf-card__title a::after { content: ""; position: absolute; inset: 0; }
.mf-card:hover .mf-card__title a { text-decoration: underline; text-decoration-color: var(--pop); text-underline-offset: 4px; }
.mf-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1rem;
  margin: 0;
  font-size: .85rem;
  color: var(--ink-main-70);
}

.mf-rubriques__grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-rubrique {
  position: relative;
  padding: 22px 22px 24px;
  background: var(--surface);
  border-top: 2px solid var(--pop);
}
.mf-rubrique__nom {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.25;
  text-decoration: none;
}
.mf-rubrique__nom::after { content: ""; position: absolute; inset: 0; }
.mf-rubrique:hover .mf-rubrique__nom { text-decoration: underline; text-decoration-color: var(--pop); text-underline-offset: 4px; }
.mf-rubrique__compte { font-size: .82rem; font-weight: 600; color: var(--or-encre); }
.mf-rubrique__desc { margin: .7rem 0 0; font-size: .92rem; color: var(--ink-main-70); }

.mf-single__header {
  padding: clamp(24px, 4vw, 40px) 0 clamp(36px, 5vw, 56px);
  color: var(--sur-schiste);
  background:
    radial-gradient(110% 120% at 90% 0%, var(--schiste-haut) 0%, transparent 62%),
    var(--schiste);
}
.mf-single__header--image { padding-bottom: clamp(120px, 16vw, 210px); }
.mf-single__head-inner > .mf-crumbs {
  margin-bottom: clamp(20px, 3vw, 34px);
  font-size: .84rem;
  color: var(--sur-schiste-doux);
}
.mf-crumbs a { text-decoration: none; }
.mf-crumbs a:hover { text-decoration: underline; }
.mf-single__title {
  max-width: 34ch;
  margin: 1rem 0 1.1rem;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.7vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}
.mf-single__meta { margin: .9rem 0 0; font-size: .9rem; color: var(--sur-schiste-doux); }
.mf-single__meta a { color: var(--sur-schiste); }
.mf-single__cover {
  margin-top: calc(-1 * clamp(96px, 13.5vw, 180px));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--schiste-haut);
}
.mf-single__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 44rem) minmax(14rem, 17.5rem);
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(32px, 4.5vw, 56px);
}

.mf-single__body { min-width: 0; }
.mf-texte { font-size: 1.08rem; line-height: 1.74; }
.mf-texte > * { margin-top: 0; margin-bottom: 1.25em; }
.mf-texte :where(h2, h3, h4) {
  font-family: var(--gravure);
  font-weight: 600;
  line-height: 1.22;
}
.mf-texte h2 { margin: 2.3em 0 .7em; font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.mf-texte h3 { margin: 1.9em 0 .55em; font-size: 1.3rem; }
.mf-texte h4 { margin: 1.6em 0 .5em; font-size: 1.12rem; }
.mf-texte :where(p, li) a {
  color: var(--marine);
  text-decoration-color: rgba(122, 92, 34, .7);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.mf-texte :where(p, li) a:hover { text-decoration-color: var(--marine); }
.mf-texte :where(ul, ol) { padding-left: 1.3em; }
.mf-texte li { margin-bottom: .45em; }
.mf-texte li::marker { color: var(--or-encre); }
.mf-texte blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: .2em 0 .2em 1.3em;
  border-left: 3px solid var(--pop);
  font-family: var(--gravure);
  font-size: 1.2rem;
  line-height: 1.5;
}
.mf-texte :where(figure, .wp-block-image) img { display: block; }
.mf-texte figcaption { margin-top: .5rem; font-size: .86rem; color: var(--ink-main-70); }
.mf-texte :where(.wp-block-table, figure:has(> table)) { overflow-x: auto; }
.mf-texte table { font-size: .94rem; line-height: 1.5; background: var(--surface); }
.mf-texte :where(th, td) {
  padding: .65em .8em;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--trait-touche);
}
.mf-texte thead th,
.mf-texte tr:first-child th {
  font-weight: 600;
  color: var(--sur-schiste);
  background: var(--schiste);
  border-color: var(--schiste);
}
.mf-texte tbody tr:nth-child(even) td { background: rgba(29, 32, 35, .035); }
.mf-texte hr { border: 0; border-top: 1px solid var(--trait-touche); margin: 2.5em 0; }

body.mf #ez-toc-container {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 2em;
  padding: 1rem 1.3rem 1.1rem;
  background: var(--surface);
  border: 0;
  border-top: 2px solid var(--pop);
  border-radius: 0;
  box-shadow: none;
}
body.mf #ez-toc-container .ez-toc-title-container {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
body.mf #ez-toc-container .ez-toc-title {
  font-family: var(--gravure);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink-main);
}
body.mf #ez-toc-container .ez-toc-title-toggle { flex: none; }
body.mf #ez-toc-container a.ez-toc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  margin: 0;
  padding: 0 .4rem;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
}
body.mf #ez-toc-container .ez-toc-js-icon-con { position: static; width: auto; border: 0; }
body.mf #ez-toc-container nav ul,
body.mf #ez-toc-container ul.ez-toc-list { margin: .5rem 0 0; padding: 0 0 0 1.1em; }
body.mf #ez-toc-container li { margin: 0; font-size: .95rem; line-height: 1.4; }
body.mf #ez-toc-container li a,
body.mf #ez-toc-container ul.ez-toc-list a {
  display: inline-block;
  padding: .3rem 0;
  color: var(--ink-main);
  text-decoration: none;
}
body.mf #ez-toc-container li a::before { content: none !important; }
body.mf #ez-toc-container li a:hover { color: var(--marine); text-decoration: underline; text-decoration-color: var(--pop); }

.mf-fiche {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 22px 22px 18px;
  background: var(--surface);
  border-top: 2px solid var(--pop);
  font-size: .9rem;
}
body.admin-bar .mf-fiche { top: 56px; }
.mf-fiche__title {
  margin: 0 0 .9rem;
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: .78rem;
  color: var(--or-encre);
}
.mf-fiche__lignes { margin: 0; }
.mf-fiche__lignes > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: .6rem;
  padding: .55rem 0;
  border-top: 1px solid var(--trait-touche);
}
.mf-fiche__lignes dt { color: var(--ink-main-70); }
.mf-fiche__lignes dd { margin: 0; font-weight: 500; }
.mf-fiche__lignes a { text-decoration-color: var(--pop); text-underline-offset: 3px; }
.mf-fiche__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .9rem 0 0;
}
.mf-fiche__tags a {
  padding: .25rem .55rem;
  font-size: .8rem;
  text-decoration: none;
  border: 1px solid var(--rule-strong);
}
.mf-fiche__tags a:hover { border-color: var(--pop); }

.mf-autrice {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  max-width: 44rem;
  margin-top: clamp(40px, 5vw, 56px);
  padding: 26px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.mf-autrice__mono {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 9px;
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: .9rem;
  color: var(--or-encre);
  position: relative;
}
.mf-autrice__nom { margin: 0 0 .4rem; font-family: var(--gravure); font-weight: 600; font-size: 1.2rem; }
.mf-autrice__nom a { text-decoration: none; }
.mf-autrice__bio { font-size: .95rem; color: var(--ink-main-70); }
.mf-autrice__bio p { margin: 0 0 .6em; }

.mf-autrice__mono::before,
.mf-footer__mono::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--pop);
  transform: rotate(45deg);
}

.mf-voisins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.mf-voisins__lien {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 18px 20px;
  text-decoration: none;
  background: var(--surface);
}
.mf-voisins__lien--suiv { grid-column: 2; text-align: right; }
.mf-voisins__sens { font-size: .8rem; font-weight: 600; color: var(--or-encre); }
.mf-voisins__titre { font-family: var(--gravure); font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.mf-voisins__lien:hover .mf-voisins__titre { text-decoration: underline; text-decoration-color: var(--pop); text-underline-offset: 4px; }

.mf-tete {
  padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 5.5vw, 64px);
  color: var(--sur-schiste);
  background:
    radial-gradient(110% 130% at 92% 0%, var(--schiste-haut) 0%, transparent 60%),
    var(--schiste);
}
.mf-tete__inner > .mf-crumbs {
  margin-bottom: clamp(22px, 3.2vw, 38px);
  font-size: .84rem;
  color: var(--sur-schiste-doux);
}
.mf-tete__corps { display: grid; grid-template-columns: minmax(0, 1fr); }
.mf-tete--mono .mf-tete__corps {
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}
.mf-tete__mono {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 14px;
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pop);
}
.mf-tete__mono::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--pop);
  transform: rotate(45deg);
}
.mf-tete .mf-poincon { margin: 0 0 1rem; }
.mf-tete__title {
  max-width: 30ch;
  margin: 0 0 1.1rem;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.mf-tete__desc {
  max-width: 44rem;
  margin-top: 1.3rem;
  font-size: 1rem;
  line-height: 1.66;
  color: var(--sur-schiste-doux);
}
.mf-tete__desc p { margin: 0 0 .7em; }
.mf-tete__desc p:last-child { margin-bottom: 0; }
.mf-tete__desc a { color: var(--sur-schiste); text-underline-offset: 3px; }
.mf-tete__compte { margin: 1.1rem 0 0; font-size: .86rem; font-weight: 600; color: var(--pop); }
.mf-tete__recherche { max-width: 36rem; margin-top: 1.6rem; }
.mf-tete .mf-searchform__input {
  color: var(--sur-schiste);
  background: rgba(236, 233, 226, .06);
  border-color: rgba(236, 233, 226, .4);
}
.mf-tete .mf-searchform__input::placeholder { color: var(--sur-schiste-doux); opacity: 1; }

.mf-archive__liste { margin-top: clamp(28px, 4vw, 48px); }
.mf-vide {
  max-width: 44rem;
  margin: 0;
  padding: 22px 0 0;
  font-size: 1.05rem;
  border-top: 1px solid var(--trait-touche);
}

.mf-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--trait-touche);
}
.mf-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 .6rem;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  border: 1px solid var(--rule-strong);
}
.mf-pager a.page-numbers:hover { border-color: var(--pop); }
.mf-pager .page-numbers.current { color: var(--sur-schiste); background: var(--schiste); border-color: var(--schiste); }
.mf-pager .page-numbers.dots { border-color: transparent; }

.mf-page__header { padding: clamp(28px, 4.5vw, 56px) 0 0; }
.mf-page__header > .mf-crumbs { margin-bottom: clamp(20px, 3vw, 32px); font-size: .84rem; color: var(--ink-main-70); }
.mf-page__header .mf-crumbs a:hover { color: var(--ink-main); }
.mf-page__title {
  max-width: 30ch;
  margin: 0 0 1.1rem;
  font-family: var(--gravure);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.mf-page__body { max-width: 44rem; margin-top: clamp(28px, 4vw, 44px); }

.mf-texte .wp-block-list:has(> li > .wsp-container) { padding-left: 0; list-style: none; }
.mf-texte .wsp-container h2 { margin-top: 0; }
.mf-texte .wsp-container > .wsp-posts-list,
.mf-texte .wsp-container > .wsp-pages-list { padding-left: 0; list-style: none; }
.mf-texte .wsp-category-title { display: block; margin-top: 1.4em; font-family: var(--gravure); font-weight: 600; font-size: 1.12rem; }

.mf-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(0, 24rem);
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}
.mf-contact__qui { padding-top: 26px; }
.mf-autrice--contact { margin-top: 0; padding: 22px 0 0; border-bottom: 0; }
.mf-contact__form {
  padding: 24px clamp(20px, 3vw, 32px) 28px;
  background: var(--surface);
  border-top: 2px solid var(--pop);
}
.mf-contact__intro {
  margin: 0 0 1.2rem;
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: .78rem;
  color: var(--or-encre);
}

.mf-footer {
  margin-top: clamp(64px, 9vw, 112px);
  padding: 36px 0 26px;
  color: var(--sur-schiste);
  background: var(--schiste);
}
.mf-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.mf-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.mf-footer__mono {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 6px;
  font-family: var(--ff-poincon);
  font-weight: 600;
  font-size: .78rem;
  color: var(--pop);
  position: relative;
}
.mf-footer__name { font-family: var(--gravure); font-weight: 600; font-size: 1.2rem; }
.mf-footer__cats ul,
.mf-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-footer__cats a,
.mf-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: .9rem;
  text-decoration: none;
}
.mf-footer a:hover { text-decoration: underline; text-decoration-color: var(--pop); text-underline-offset: 4px; }
.mf-footer .mf-touche { display: block; margin: 22px 0 18px; }
.mf-footer__row--bas { font-size: .84rem; color: var(--sur-schiste-doux); }
.mf-footer__copyright { margin: 0; }
.mf-footer__nav a { font-size: .84rem; color: var(--sur-schiste-doux); }

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

@media (max-width: 1100px) {
  .mf-liste--trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
  .mf-header__band { padding-top: 12px; padding-bottom: 12px; }
  .mf-header__logo { height: 76px; }
  .mf-header__nav-wrap { display: none; }
  .mf-header__hamburger { display: inline-flex; }
  .mf-header__search-label { display: none; }
  .mf-header__search { width: var(--tap); justify-content: center; }
  .mf-une { grid-template-columns: 1fr; }
  .mf-plaque__touches { grid-template-columns: 1fr; gap: 22px; }
  .mf-single__layout { grid-template-columns: minmax(0, 1fr); }
  .mf-single__body { max-width: 44rem; }
  .mf-fiche { position: static; max-width: 44rem; }
  .mf-contact__body { grid-template-columns: minmax(0, 1fr); }
  .mf-contact__form { max-width: 38rem; }
}
@media (min-width: 922px) {
  .mf-drawer, .mf-voile { display: none; }
}

@media (max-width: 680px) {
  .mf-liste, .mf-liste--trois { grid-template-columns: minmax(0, 1fr); }
  .mf-voisins { grid-template-columns: minmax(0, 1fr); }
  .mf-voisins__lien--suiv { grid-column: auto; text-align: left; }
}
@media (max-width: 544px) {
  .mf-header__logo { height: 70px; }
  .mf-card { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .mf-card__title { font-size: 1.06rem; }
  .mf-une .mf-photo { outline-offset: 4px; }
  .mf-section__head { gap: 14px; }
  .mf-section__head .mf-touche--large { width: 74px; }
  .mf-texte { font-size: 1.04rem; }
  .mf-autrice { grid-template-columns: 1fr; gap: 12px; }
  .mf-footer__row { flex-direction: column; align-items: flex-start; }
  .mf-tete--mono .mf-tete__corps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mf-tete__desc { font-size: .95rem; line-height: 1.6; }
  .mf-tete__mono { width: 48px; height: 48px; margin: 10px; font-size: .95rem; }
}

body.mf {
  background: var(--fond) !important;
  color: var(--ink-main) !important;
}

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

body.mf .site-footer,
body.mf .ast-breadcrumbs-inner,
body.mf .ast-page-header,
body.mf .main-header-bar-wrap,
body.mf .site-header,
body.mf .ast-breadcrumbs-wrapper,
body.mf .ast-header-breadcrumb,
body.mf .ast-page-title-bar,
body.mf .ast-below-footer,
body.mf .ast-above-header-wrap,
body.mf #ast-desktop-header,
body.mf .site-below-footer-wrap,
body.mf #colophon,
body.mf .ast-secondary-header-bar,
body.mf #ast-mobile-header,
body.mf .ast-small-footer,
body.mf .footer-widget-area,
body.mf .main-header-bar,
body.mf .entry-banner,
body.mf .ast-footer-copyright {
  margin: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: none !important;
}

body.mf #masthead,
body.mf .ast-above-footer,
body.mf .ast-footer-overlay,
body.mf .ast-main-header-wrap {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  border: none !important;
  display: none !important;
}

body.mf .ast-primary-header-bar,
body.mf .ast-below-header-wrap,
body.mf .ast-archive-title-wrap,
body.mf .ast-mobile-header-wrap {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: none !important;
}

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

:where(body.mf) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--ink-main);
  border: 1px solid var(--rule-strong);
}

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

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

body.mf .wpcf7-form p { margin: 0 0 18px; }
body.mf .wpcf7-form label { display: block; font-size: .9rem; font-weight: 600; }
body.mf .wpcf7-form input[type="text"],
body.mf .wpcf7-form input[type="email"],
body.mf .wpcf7-form input[type="tel"],
body.mf .wpcf7-form input[type="url"],
body.mf .wpcf7-form textarea {
  display: block;
  width: 100%;
  min-height: var(--tap);
  margin-top: 6px;
  padding: .6rem .8rem;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink-main);
  background: #fff;
  border: 1px solid var(--ink-main-40);
  border-bottom: 2px solid var(--ink-main-70);
  border-radius: 0;
  box-shadow: none;
}
body.mf .wpcf7-form textarea { min-height: 9rem; resize: vertical; }
body.mf .wpcf7-form :is(input, textarea):focus { border-color: var(--marine); }
body.mf .wpcf7-form input[type="submit"] {
  min-height: var(--tap);
  padding: 0 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--sur-schiste);
  background: var(--schiste);
  border: 0;
  border-bottom: 2px solid var(--pop);
  border-radius: 0;
  cursor: pointer;
}
body.mf .wpcf7-form input[type="submit"]:hover { background: var(--marine); }
body.mf .wpcf7-not-valid-tip { margin-top: 4px; font-size: .85rem; font-weight: 500; color: #9b2c1f; }
body.mf .wpcf7-response-output { margin: 16px 0 0; padding: .7rem .9rem; font-size: .9rem; border: 1px solid var(--rule-strong); }
