/* Voltherm Group — en-tête GeneratePress (2.22.7).
   Structure réelle relevée sur volthermgroup.be (GeneratePress 3.6.1 + GP Premium « menu-plus », mode « navigation à droite + logo collant ») :
   header#masthead > .inside-header (flex) > .site-logo + nav#mobile-menu-control-wrapper (mobile) + nav#site-navigation (ordinateur)
   et, au défilement, un CLONE fixe nav#sticky-navigation.navigation-clone. Chaque nav contient .inside-navigation (flex, wrap) avec
   .navigation-branding, .menu-toggle, #primary-menu.main-nav, .menu-bar-items (téléphone).
   Fichier chargé APRÈS le thème ; sélecteurs renforcés et !important car main.min.css de GeneratePress passe après front.css. */
:root{--vt-hdr-css:"2.22.8"}

/* ───────── Ordinateur : logo, menu, capsule FR/NL et téléphone sur UNE ligne (avant et après défilement) ───────── */
@media(min-width:1200px){
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation{display:flex!important;flex-wrap:nowrap!important;align-items:center!important}
html body .inside-header>.main-navigation:not(.mobile-menu-control-wrapper){flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important}
html body .inside-header>.main-navigation:not(.mobile-menu-control-wrapper) .inside-navigation{width:auto!important;max-width:none!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation .main-nav{flex:1 1 auto!important;min-width:0!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .main-nav>ul{flex-wrap:nowrap!important;align-items:center!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .main-nav>ul>li{flex:0 0 auto!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .main-nav>ul>li:not(.vt-lang-item)>a{white-space:nowrap!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation>.menu-bar-items{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin-left:clamp(4px,.6vw,12px)!important}
}
/* Ordinateurs étroits (1200–1359 px) : liens resserrés et téléphone réduit à son icône pour tenir sur une ligne */
@media(min-width:1200px) and (max-width:1359px){
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .main-nav>ul>li:not(.vt-lang-item)>a{padding-left:10px!important;padding-right:10px!important}
html body .main-navigation:not(.mobile-menu-control-wrapper) .menu-bar-items .vt-head-call a span{display:none!important}
html body .main-navigation:not(.mobile-menu-control-wrapper) .menu-bar-items .vt-head-call a{padding:0 12px!important}
}

/* ───────── Mobile / tablette (jusqu'à 1199 px) : logo à gauche ; appel puis hamburger à droite, sur la MÊME ligne ─────────
   Cause relevée : le logo de l'en-tête collant faisait 286 px, trop large pour laisser tenir appel + hamburger sur la première ligne
   (le hamburger passait en 2ᵉ ligne). Le logo se réduit désormais pour laisser la place. Menu ouvert : liste dessous, pleine largeur. */
@media(max-width:1199px){
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation{display:flex!important;flex-wrap:wrap!important;align-items:center!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation>.navigation-branding{order:1!important;flex:1 1 0!important;min-width:0!important;width:auto!important;margin:0 8px 0 0!important}
html body .main-navigation .navigation-branding .sticky-navigation-logo,html body .main-navigation .navigation-branding .sticky-navigation-logo a,html body .main-navigation .navigation-branding .navigation-logo{display:block!important;max-width:100%!important}
html body .main-navigation .navigation-branding img{max-width:100%!important;height:auto!important;max-height:60px!important;width:auto!important;object-fit:contain}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation>.menu-bar-items{order:3!important;flex:0 0 auto!important;margin:0!important;align-items:center!important}
/* Le téléphone n'est forcé visible que dans l'en-tête fixe (clone) : en haut de page GeneratePress l'affiche dans le bloc mobile (logo + appel + hamburger) et masque celui de la navigation, qui ne doit pas réapparaître en 2ᵉ ligne. */
html body .main-navigation.navigation-clone:not(.mobile-menu-control-wrapper) .inside-navigation>.menu-bar-items{display:flex!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation>.menu-toggle{order:4!important;flex:0 0 auto!important;width:auto!important;margin:0 0 0 2px!important;padding-left:14px!important;padding-right:14px!important}
html body .main-navigation:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation>.main-nav{order:5!important}
html body .main-navigation.toggled:not(.slideout-navigation):not(.mobile-menu-control-wrapper) .inside-navigation>.main-nav{flex:1 0 100%!important;width:100%!important}
}
/* Téléphone en double : en haut de page, GeneratePress affiche déjà le bouton d'appel dans le bloc mobile (logo + appel + hamburger).
   Celui de la navigation normale est masqué sur mobile ; le menu ouvert et l'en-tête fixe (clone) ne sont pas concernés. */
@media(max-width:768px){
html body .main-navigation:not(.navigation-clone):not(.mobile-menu-control-wrapper) .inside-navigation>.menu-bar-items{display:none!important}
}
