/* SAVOY-CANONICAL-BANDEAU — reference: savoyeditions.ch, 2026-11-08.
 * This is a scoped compatibility layer, not a redesign of individual site navigation.
 * Four identical institutional brand anchors are served across all domains.
 */
html body .savoy-unified-family[data-savoy-reference="editions"] {
  box-sizing:border-box!important;
}
html body .savoy-unified-family[data-savoy-reference="editions"] > a {
  text-decoration:none!important;
}
html body .savoy-unified-family[data-savoy-reference="editions"] > a:focus-visible {
  outline:2px solid #98754b!important;outline-offset:2px!important;
}
/* Same neutral paper, border and header metrics as the Editions source. */
html body :is(.site-header,.masthead):has(.savoy-unified-family[data-savoy-reference="editions"]) {
  background:#f7f5f0!important;
  border-bottom:1px solid #d6d0c5!important;
}
html body .savoy-biblium-family:has(.savoy-unified-family[data-savoy-reference="editions"]) {
  background:#f7f5f0!important;
  border-bottom:1px solid #d6d0c5!important;
  position:relative!important;
  z-index:25!important;
}
/* Biblium previously used a five-column, then six-column grid.
 * Its four institutional identities now use precisely the Editions flex/grid block,
 * and local links occupy the same right-hand position.
 */
html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host {
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:88px!important;
  height:auto!important;
  margin-inline:auto!important;
  padding:8px clamp(12px,1.5vw,24px)!important;
  display:flex!important;flex-direction:row!important;
  justify-content:space-between!important;align-items:center!important;
  flex-wrap:nowrap!important;gap:clamp(8px,1.2vw,18px)!important;
  grid-template-columns:none!important;grid-template-rows:none!important;
}
html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-unified-family {
  display:flex!important;align-items:center!important;
  flex:0 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;
  gap:8px!important;flex-wrap:nowrap!important;
  grid-template-columns:none!important;grid-template-rows:none!important;
}
html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.biblium-navigation {
  position:static!important;display:block!important;
  flex:0 0 auto!important;min-width:0!important;width:auto!important;
  grid-column:auto!important;grid-row:auto!important;
  margin:0 0 0 auto!important;padding:0!important;
  align-self:center!important;
}
html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.biblium-navigation nav {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-flow:row nowrap!important;gap:clamp(8px,1.1vw,20px)!important;
  padding:0!important;margin:0!important;
}
html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.biblium-navigation nav>a {
  min-height:44px!important;display:inline-flex!important;align-items:center!important;
  font:750 clamp(9px,.7vw,11px)/1.3 'Savoy Source Sans 3',Arial,sans-serif!important;
  letter-spacing:.055em!important;text-transform:uppercase!important;
  white-space:nowrap!important;text-decoration:none!important;
}
html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu {
  display:none!important;
}
/* Biblium's second, legacy header duplicates today's navigation.
 * Its elements remain in the DOM for backwards compatibility with application JS.
 */
html body.savoy-family-integrated > :is(header.site-header,header.learning-header) {
  display:none!important;
}
@media(max-width:1150px) {
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host {
    position:relative!important;min-height:80px!important;
    padding:8px 75px 8px 15px!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-unified-family {
    flex:1 1 auto!important;gap:5px!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.biblium-navigation {
    display:none!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu {
    position:absolute!important;display:block!important;right:12px!important;top:13px!important;
    width:auto!important;height:auto!important;z-index:60!important;
    flex:none!important;grid-column:auto!important;grid-row:auto!important;
    margin:0!important;padding:0!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu>summary {
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-height:44px!important;min-width:50px!important;
    border:1px solid #cdd4c9!important;
    background:#f8f6f0!important;color:#29473b!important;
    font:700 12px/1.2 'Savoy Source Sans 3',Arial,sans-serif!important;
    cursor:pointer!important;list-style:none!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu>nav {
    position:absolute!important;right:0!important;top:calc(100% + 7px)!important;
    display:flex!important;flex-direction:column!important;
    min-width:225px!important;width:min(275px,calc(100vw - 20px))!important;
    background:#fffdf8!important;border:1px solid #d5d7cf!important;
    box-shadow:0 15px 28px #20251e26!important;padding:5px!important;z-index:70!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu:not([open])>nav {
    display:none!important;
  }
}
@media(max-width:700px) {
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host {
    display:block!important;
    min-height:0!important;
    padding:7px 9px 8px!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-unified-family {
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-template-rows:64px 64px!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    gap:0!important;
    flex:none!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu {
    top:11px!important;right:10px!important;width:44px!important;min-width:44px!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu>summary {
    width:44px!important;min-width:44px!important;max-width:44px!important;font-size:0!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-biblium-mobile-menu>summary::after {
    content:"☰"!important;display:block!important;font:400 22px/1 Arial,sans-serif!important;
  }
}
@media(max-width:350px) {
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-unified-family>a:first-child {
    grid-column:1/span 3!important;
  }
  html body.savoy-family-integrated .savoy-biblium-family__inner.savoy-unified-host>.savoy-unified-family>a:nth-child(2) {
    grid-column:4/span 2!important;
  }
}
/* The fifth Abergement identity, Josuai, moves into the local service menu.
 * No route is removed; the common family strip is exactly four identities.
 */

/* PIERRE_MENU_DISCRET_TRIAL_20261109
   Quatre liens institutionnels sur la ligne superieure,
   puis identite propre au site + navigation locale et menu mobile.
   CSS seulement: pas de modification des destinations ni des contenus.
*/
html body .site-header .header-inner.savoy-unified-host {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:35px 60px!important;
  width:min(calc(100% - 48px),1280px)!important;
  max-width:1280px!important;
  min-width:0!important;
  min-height:95px!important;
  margin-inline:auto!important;
  padding:0!important;
  gap:0 12px!important;
  align-items:center!important;
  justify-content:stretch!important;
  position:relative!important;
}
html body .site-header .header-inner.savoy-unified-host > .savoy-unified-family[data-savoy-reference="editions"] {
  grid-column:1 / -1!important;
  grid-row:1!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:35px!important;
  min-height:35px!important;
  padding:0!important;
  margin:0!important;
  gap:clamp(10px,1.5vw,23px)!important;
  border-bottom:1px solid #e1dcd1!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a {
  display:inline-flex!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:31px!important;
  height:31px!important;
  margin:0!important;
  padding:0 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#655f51!important;
  font:600 11px/1.1 'Savoy Source Sans 3',Arial,sans-serif!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-decoration:none!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a:hover {
  color:#244439!important;
  background:transparent!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a.savoy-link--person {
  color:#244439!important;
  font-weight:750!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a > * {
  display:none!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a::after {
  content:none!important;
  display:none!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a:nth-child(1)::before {
  content:"Éditions"!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a:nth-child(2)::before {
  content:"Corpus"!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a:nth-child(3)::before {
  content:"Biblium"!important;
}
html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a:nth-child(4)::before {
  content:"Pierre-Alain"!important;
}
html body .site-header .header-inner.savoy-unified-host::before {
  content:"Pierre-Alain Savoy"!important;
  box-sizing:border-box!important;
  display:flex!important;
  grid-column:1!important;
  grid-row:2!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  min-width:0!important;
  min-height:49px!important;
  padding:0 0 0 72px!important;
  margin:0!important;
  color:#2b332a!important;
  font:400 clamp(22px,2vw,27px)/1 'Savoy EB Garamond',Georgia,serif!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  background:transparent url("/assets/savoy-family-paraphe.svg") left center / 62px 30px no-repeat!important;
  pointer-events:none!important;
}
html body .site-header .header-inner.savoy-unified-host > nav.desktop-nav {
  grid-column:2!important;
  grid-row:2!important;
  order:0!important;
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  position:static!important;
  min-height:48px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  gap:clamp(10px,1.1vw,19px)!important;
}
html body .site-header .header-inner.savoy-unified-host > details.mobile-nav {
  display:none!important;
}
@media(max-width:1150px) {
  html body .site-header .header-inner.savoy-unified-host {
    grid-template-rows:35px 58px!important;
    min-height:93px!important;
  }
  html body .site-header .header-inner.savoy-unified-host > nav.desktop-nav {
    display:none!important;
  }
  html body .site-header .header-inner.savoy-unified-host > details.mobile-nav {
    display:block!important;
    position:relative!important;
    grid-column:2!important;
    grid-row:2!important;
    justify-self:end!important;
    align-self:center!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    z-index:100!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
  }
}
@media(max-width:700px) {
  html body .site-header .header-inner.savoy-unified-host {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:34px 55px!important;
    width:calc(100% - 24px)!important;
    min-height:89px!important;
    padding:0!important;
    gap:0!important;
  }
  html body .site-header .header-inner.savoy-unified-host > .savoy-unified-family[data-savoy-reference="editions"] {
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    padding:0!important;
    gap:3px!important;
    border-bottom:1px solid #e1dcd1!important;
  }
  html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a {
    display:inline-flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:32px!important;
    min-height:32px!important;
    padding:0 2px!important;
    margin:0!important;
    border:0!important;
    font-size:11px!important;
    letter-spacing:0!important;
  }
  html body .site-header .header-inner.savoy-unified-host::before {
    min-height:54px!important;
    padding-left:61px!important;
    font-size:22px!important;
    background-position:0 center!important;
    background-size:55px 28px!important;
  }
  html body .site-header .header-inner.savoy-unified-host > details.mobile-nav {
    display:block!important;
    grid-column:2!important;
    grid-row:2!important;
    position:relative!important;
    right:auto!important;
    top:auto!important;
    width:auto!important;
    margin:0!important;
    justify-self:end!important;
  }
}
@media(max-width:350px) {
  html body .site-header .savoy-unified-family[data-savoy-reference="editions"] > a {
    font-size:10px!important;
    letter-spacing:0!important;
  }
  html body .site-header .header-inner.savoy-unified-host::before {
    font-size:21px!important;
  }
}

@media(max-width:350px) {
 html body .site-header .header-inner.savoy-unified-host::before {
  padding-left:53px!important;
  background-size:46px 26px!important;
  font-size:18px!important;
 }
}

/* Cacher les anciens contenus visuels du bandeau au profit des 4 libelles. */
html body .site-header .header-inner.savoy-unified-host > .savoy-unified-family[data-savoy-reference="editions"] > a > * {
  display:none!important;
}
html body .site-header .header-inner.savoy-unified-host > .savoy-unified-family[data-savoy-reference="editions"] > a {
  border:0!important;
  border-left:0!important;
  border-top:0!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  min-height:31px!important;
  height:31px!important;
  margin:0!important;
  padding:0 2px!important;
}

/* Symbole de menu visible et explicite sur smartphone/tablette. */
@media(max-width:1150px) {
 html body .site-header .header-inner.savoy-unified-host > details.mobile-nav > summary {
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   min-height:44px!important;
   min-width:44px!important;
   width:44px!important;
   border:1px solid #cdd4c9!important;
   background:#f8f6f0!important;
   color:#29473b!important;
   padding:0!important;
   font-size:0!important;
 }
 html body .site-header .header-inner.savoy-unified-host > details.mobile-nav > summary .menu-lines {
   display:none!important;
 }
 html body .site-header .header-inner.savoy-unified-host > details.mobile-nav > summary::after {
   content:"☰"!important;
   display:block!important;
   font:400 22px/1 Arial,sans-serif!important;
   color:#29473b!important;
 }
 html body .site-header .header-inner.savoy-unified-host > details.mobile-nav > summary:focus-visible {
   outline:2px solid #9b7b48!important;
   outline-offset:2px!important;
 }
}

/* SAVOY_HOME_LOGO_HITAREA_20261109 -- associe le logo de seconde ligne au lien d'accueil deja existant.
   Les quatre destinations du bandeau institutionnel restent inchangees. */
html body .savoy-unified-host > .savoy-unified-family {position:static!important;}
html body .site-header .savoy-unified-host > .savoy-unified-family[data-savoy-reference='editions'] > a.savoy-link--person {position:static!important;}
html body .site-header .savoy-unified-host > .savoy-unified-family[data-savoy-reference='editions'] > a.savoy-link--person::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:35px!important;
  left:0!important;
  width:285px!important;
  max-width:calc(100% - 70px)!important;
  height:60px!important;
  background:transparent!important;
  opacity:1!important;
  border:0!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  z-index:5!important;
}
@media(max-width:700px) {
  html body .site-header .savoy-unified-host > .savoy-unified-family[data-savoy-reference='editions'] > a.savoy-link--person::after {
    top:34px!important;
    height:55px!important;
    max-width:calc(100% - 64px)!important;
  }
}
