/* RapidFrame-web — langue toujours alignée (export thèmes inclus)
   Logo · menu · langue sur UNE ligne. Host: #rf-lang-switcher / .nav-tools
   v=202610112358
*/
header .rf-lang-switcher,
.site-header .rf-lang-switcher,
.rf-head .rf-lang-switcher,
.rf-head-end .rf-lang-switcher,
.nav-right .rf-lang-switcher,
.rf-nav-right .rf-lang-switcher,
.nav-tools .rf-lang-switcher,
.nav-actions .rf-lang-switcher,
.nav > .rf-lang-switcher,
.rf-nav > .rf-lang-switcher,
nav.nav > .rf-lang-switcher,
.actions .rf-lang-switcher,
.rf-actions .rf-lang-switcher{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-self:center!important;
  align-items:center!important;
  position:relative!important;
  float:none!important;
  clear:none!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:auto!important;
  min-width:2.75rem!important;
  max-width:12rem!important;
  margin:0!important;
  vertical-align:middle!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  z-index:80!important;
}

/* Barre header classique (KJME, thèmes corporate) */
.site-header .nav-wrap,
header .nav-wrap,
.site-header .container.nav-wrap{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
}
.site-header .nav-wrap > .nav,
.site-header .nav-wrap > #rf-main-menu,
header .nav-wrap > .nav{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
}
.site-header .nav-tools,
header .nav-tools,
.nav-tools{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:.55rem!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  width:auto!important;
  max-width:none!important;
  position:relative!important;
  float:none!important;
  order:99!important;
}

.nav > .rf-lang-switcher,
.rf-nav > .rf-lang-switcher{
  margin-left:auto!important;
}
.rf-head-end,
.nav-right,
.rf-nav-right,
.nav-actions{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  align-self:center!important;
  gap:.5rem!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  margin-left:auto!important;
}
@media (min-width:981px){
  .rf-head-bar,.rf-island,.rf-frame,.header-nav,.header .nav{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  .rf-head,.header-area,header.rf-head,header.header-area{
    display:block;
  }
  .brand,.rf-brand{flex:0 0 auto!important;align-items:center!important;margin-bottom:0!important}
  #rf-main-menu,.main-menu{flex:1 1 auto!important;min-width:0!important}
}
.rf-lang-switcher font,
.rf-lang-switcher font *,
.rfegl-lang-switcher font,
.rfegl-lang-switcher font *{
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  font-style:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  vertical-align:middle!important;
  background:transparent!important;
  color:inherit!important;
  display:inline!important;
  white-space:nowrap!important;
}
.rf-lang-trigger,.rfegl-lang-trigger{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  white-space:nowrap!important;
  width:auto!important;
  min-width:0!important;
}
.header .nav,.header-nav{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
}
/* Pas de langue flottante hors header */
body > .rf-lang-switcher,
body > #rf-lang-switcher,
#rf-language-selector,
#rf-language-selector-mount{
  position:static!important;
}
.top .rf-lang-switcher,
.topbar .rf-lang-switcher,
.top-right .rf-lang-switcher{display:none!important}
@media (max-width:980px){
  header .rf-lang-switcher,
  .site-header .rf-lang-switcher,
  .rf-head-end .rf-lang-switcher,
  .nav-tools .rf-lang-switcher{
    width:auto!important;min-width:2.6rem!important;max-width:none!important;
  }
  .rf-lang-code,.rfegl-lang-label{display:none!important}
  .site-header .nav-wrap{
    flex-wrap:wrap!important;
  }
  .site-header .nav-tools{
    order:2!important;
    margin-left:auto!important;
  }
  .site-header .nav-wrap > .nav.open{
    order:3!important;
    width:100%!important;
    flex:1 1 100%!important;
  }
}
