/* ===========================================================================
   LE HUB Studio Design V2026 — Oxygen Classic 4.9
   STYLESHEET : Templates — Version 1.3 (13 novembre 2026)
   Feuille COMPLETE : remplace integralement la feuille Oxygen « Templates ».
   Cible les identifiants HTML reels de RP – Modules lateraux (post 112).
   RP – Navigation (post 103) et RP – Footer (post 182) non modifies.
   =========================================================================== */

:root {
  --hub-rouge: #d20b14;
  --hub-survol: #e2482a;
  --hub-fond: #f8f5f2;
  --hub-blanc: #fff;
}

/* 01 — Mise en page generale */
body:has(.hub-tpl-shell) {
  background: var(--hub-fond);
}
.hub-tpl-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 28px 48px;
}
.hub-tpl-shell *,
.hub-tpl-shell *::before,
.hub-tpl-shell *::after {
  box-sizing: border-box;
}
.hub-tpl-grid {
  display: grid !important;
  width: 100%;
  align-items: start;
  gap: 22px;
}
.hub-tpl-grid--home {
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(195px, 230px);
}
.hub-tpl-grid--interior {
  grid-template-columns: minmax(195px, 230px) minmax(0, 1fr);
  gap: 22px;
}
.hub-tpl-nav,
.hub-tpl-side,
.hub-tpl-modules,
.hub-tpl-center {
  width: 100%;
  min-width: 0;
}
/* La navigation de l'accueil est un enfant direct de la grille ;
   celle des pages interieures est imbriquee dans .hub-tpl-side.
   Deux selecteurs distincts evitent les decalages arbitraires non appliques. */
@media (min-width: 621px) {
  .hub-tpl-grid--home > .hub-tpl-nav { position: relative; top: -5px; }
  .hub-tpl-grid--interior > .hub-tpl-side .hub-tpl-nav {
    position: relative;
    top: -6px;
  }
}
.hub-tpl-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
.hub-tpl-center--home,
.hub-tpl-center--interior {
  align-items: stretch;
  min-height: 380px;
}
.hub-tpl-center--home {
  padding: 0;
  background: transparent;
}
/* Pages interieures : le fond gris reste visible autour des cartouches blancs. */
.hub-tpl-center--interior {
  padding: 0;
  background: transparent;
}
.hub-tpl-center .ct-inner-content {
  width: 100%;
  min-width: 0;
}
.hub-tpl-home-title {
  position: relative;
  display: block;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #171717 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
.hub-tpl-home-title::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -8px;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--hub-rouge);
  border-left: 3px solid var(--hub-rouge);
}
/* Meme typographie pour le titre principal des pages interieures
   et le titre "Actualites" de l'accueil. */
.hub-tpl-shell .hub-tpl-grid--interior .hub-docs__titre {
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}
/* Affinage du titre Pack Lead : legerement plus bas et decale du repere.
   Le repere rouge est contre-decale pour rester fixe. */
.hub-tpl-shell .hub-tpl-grid--interior .hub-docs--lead > .hub-docs__titre {
  position: relative;
  left: 1px;
  top: 3px;
}
.hub-tpl-shell .hub-tpl-grid--interior .hub-docs--lead > .hub-docs__titre::before {
  left: -9px;
  top: -8px;
}

.hub-tpl-hint {
  border: 0;
  padding: 16px;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  color: #69635f;
}

/* 02 — Navigation gauche : maquette V2026 (profil centre, cartouches espaces).
   Portee limitee au menu lateral du gabarit Oxygen. */
.hub-tpl-grid .hub-tpl-nav .hub-nav-profil {
  width: 100%;
  margin: 0 0 22px !important;
  background: #fff !important;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .17) !important;
}
.hub-tpl-grid .hub-tpl-nav .hub-nav-profil .hub-nav-compte-zone,
.hub-tpl-grid .hub-tpl-nav .hub-nav-profil .hub-nav-favoris-zone {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  text-align: center !important;
}
.hub-tpl-grid .hub-tpl-nav .hub-nav-profil .hub-nav-compte-zone {
  border-bottom: 1px solid #dedede !important;
}
.hub-tpl-grid .hub-tpl-nav .hub-nav-profil .hub-nav-favoris-zone {
  border-top: 0 !important;
}
/* Neutralise les retraits des liens Oxygen sans deplacer leurs icones. */
.hub-tpl-grid .hub-tpl-nav .hub-nav-compte-zone a,
.hub-tpl-grid .hub-tpl-nav .hub-nav-favoris-zone a {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}
.hub-tpl-grid .hub-tpl-nav .hub-nav-favoris-zone a {
  gap: 9px !important;
}
.hub-tpl-grid .hub-nav-favoris-zone a:hover,
.hub-tpl-grid .hub-nav-favoris-zone a:focus-visible {
  color: var(--hub-survol) !important;
}
/* Cartouches distincts sur fond transparent : ne pas laisser le fond blanc
   du wrapper Oxygen combler les interstices entre les items. */
.hub-tpl-grid .hub-nav-menu,
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-container,
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li,
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li + li {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  list-style: none;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  width: 100% !important;
  min-height: 46px;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #171717 !important;
  font-size: 12px !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color .18s ease, background-color .18s ease;
}
/* Les pictogrammes Oxygen sont conserves et harmonises sur la maquette. */
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a :is(.ct-fancy-icon, .oxy-el-icon) {
  display: inline-flex !important;
  flex: 0 0 17px !important;
  align-items: center;
  justify-content: center;
  color: inherit !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a :is(svg, .ct-fancy-icon svg, .oxy-el-icon svg) {
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0;
  color: inherit !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a:hover,
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a:focus-visible {
  background: #fff0e9 !important;
  color: var(--hub-rouge) !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:is(.current-menu-item, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a,
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a[aria-current="page"] {
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--hub-rouge) !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:is(.current-menu-item, .current-menu-ancestor, .current_page_item, .current_page_ancestor) > a:hover,
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li > a[aria-current="page"]:hover {
  background: #fff0e9 !important;
  color: var(--hub-rouge) !important;
}

/* 03 — Modules lateraux : VRAIS identifiants Oxygen, RP post 112
   #div_block-2-112 : conteneur des trois modules
   #div_block-3-112 : Campagnes
   #div_block-4-112 : Evenements
   #div_block-5-112 : Liens utiles
   Ne pas utiliser les anciens noms Oxygen comme des classes CSS. */
.hub-tpl-shell .hub-tpl-modules,
.hub-tpl-shell .hub-tpl-side .hub-tpl-modules {
  width: 100%;
  min-width: 0;
}
.hub-tpl-shell #div_block-2-112 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  width: 100% !important;
  min-width: 0;
}
.hub-tpl-shell #div_block-2-112 > :is(#div_block-3-112, #div_block-4-112, #div_block-5-112) {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: #fff !important;
}
/* Campagnes et evenements : le plugin fournit deja les marges internes. */
.hub-tpl-shell #div_block-3-112,
.hub-tpl-shell #div_block-4-112 {
  padding: 0 !important;
}
/* Liens utiles : titre et menu sont directement dans le DIV Oxygen. */
.hub-tpl-shell #div_block-5-112 {
  padding: 12px 12px 13px !important;
}
.hub-tpl-shell :is(#code_block-10-112, #shortcode-8-112),
.hub-tpl-shell :is(.forba-carrousel-campagnes, .forba-evenements-module, .hub-liens-utiles-menu) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: stretch !important;
}

/* 04 — En-tetes Campagnes et Evenements : typo et fleches identiques */
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__entete-lien,
  .forba-evenements-module__entete-lien
) {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 22px;
  gap: 6px !important;
  text-decoration: none;
}
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__titre,
  .forba-evenements-module__titre
) {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__acces-liste,
  .forba-evenements-module__acces-liste
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 19px !important;
  margin: 0 !important;
}
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__acces-liste,
  .forba-evenements-module__acces-liste
) svg {
  display: block;
  width: 17px;
  height: 17px;
}
/* Un seul angle rouge par titre, attache a la ligne cliquable. */
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__titre,
  .forba-evenements-module__titre
)::before {
  content: none !important;
}
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__entete-lien,
  .forba-evenements-module__entete-lien
)::before {
  content: '' !important;
  position: absolute;
  left: -7px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-left: 3px solid var(--hub-rouge);
  border-top: 3px solid var(--hub-rouge);
  pointer-events: none;
}
.hub-tpl-shell :is(
  .forba-carrousel-campagnes__entete-lien,
  .forba-evenements-module__entete-lien,
  .forba-carrousel-campagnes__voir-tous,
  .forba-evenements-module__voir-tous,
  .forba-evenements-module__lien
):is(:hover, :focus-visible) {
  color: var(--hub-survol) !important;
}

/* 05 — CTA sous les deux blocs : separation nette du diaporama */
.hub-tpl-shell .forba-carrousel-campagnes__voir-tous,
.hub-tpl-shell .forba-evenements-module__voir-tous {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: 13px !important;
  padding: 10px 0 5px !important;
  min-height: 30px;
}
.hub-tpl-shell .forba-carrousel-campagnes__voir-tous svg,
.hub-tpl-shell .forba-evenements-module__voir-tous svg {
  display: block;
  flex: 0 0 16px;
}
/* V1.0.2 du carrousel : bouton pause dans le cadre de l'image. */
.hub-tpl-shell .forba-carrousel-campagnes__viewport > .forba-carrousel-campagnes__pause {
  right: 7px;
  bottom: 7px;
}

/* 06 — Liens utiles : vrai Text Block Oxygen #text_block-6-112 */
.hub-tpl-shell #text_block-6-112 {
  position: relative !important;
  display: block;
  width: 100%;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
.hub-tpl-shell #text_block-6-112::before {
  content: '' !important;
  position: absolute;
  top: -4px;
  left: -7px;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--hub-rouge);
  border-left: 3px solid var(--hub-rouge);
  pointer-events: none;
}
.hub-tpl-shell .hub-liens-utiles-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hub-tpl-shell .hub-liens-utiles-menu li {
  padding: 0;
  margin: 0 0 5px;
}
.hub-tpl-shell .hub-liens-utiles-menu li:last-child {
  margin-bottom: 0;
}
.hub-tpl-shell .hub-liens-utiles-menu a {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  gap: 7px;
  background: #f6f4f2 !important;
  color: #171717;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  transition: color .18s ease, background-color .18s ease;
}
.hub-tpl-shell .hub-liens-utiles-menu a:is(:hover, :focus-visible) {
  background: #fff0e9 !important;
  color: var(--hub-survol) !important;
}
/* Fleche de droite homogene, sans ajouter de lien fictif au titre. */
.hub-tpl-shell .hub-liens-utiles-menu a::after {
  content: '' !important;
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin-left: auto !important;
  border: 0 !important;
  transform: none !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 07 — Responsive */
@media (max-width: 1100px) {
  .hub-tpl-shell { padding: 20px 20px 40px; }
  .hub-tpl-grid { gap: 20px; }
  .hub-tpl-grid--home { grid-template-columns: minmax(170px, 205px) minmax(0, 1fr) minmax(175px, 205px); }
  .hub-tpl-grid--interior { grid-template-columns: minmax(175px, 215px) minmax(0, 1fr); }
}
@media (max-width: 850px) {
  .hub-tpl-grid--home { grid-template-columns: minmax(175px, 205px) minmax(0, 1fr); }
  .hub-tpl-grid--home > .hub-tpl-modules { grid-column: 1 / -1; }
  .hub-tpl-grid--interior { grid-template-columns: minmax(175px, 205px) minmax(0, 1fr); }
  .hub-tpl-center--interior { padding: 20px; }
}
@media (max-width: 620px) {
  .hub-tpl-shell { padding: 16px 14px 30px; }
  .hub-tpl-grid--home,
  .hub-tpl-grid--interior {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
  }
  .hub-tpl-center--home,
  .hub-tpl-center--interior { padding: 18px 16px; }
  .hub-tpl-side { gap: 18px; }
}



/* V1.4 — Alignement Événements */

.hub-tpl-shell #div_block-4-112
.forba-evenements-module__entete-lien {
    box-sizing: border-box !important;
    margin-left: 12px !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
}

.hub-tpl-shell #div_block-4-112
.forba-evenements-module__voir-tous {
    box-sizing: border-box !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-right: 0 !important;
}




/* V1.5 — Uniformisation des angles rouges */

/* Les trois cartouches servent de référence */
.hub-tpl-shell :is(
    #div_block-3-112,
    #div_block-4-112,
    #div_block-5-112
) {
    position: relative !important;
}

/* Un angle rouge à la même position sur les 3 blocs */
.hub-tpl-shell :is(
    #div_block-3-112,
    #div_block-4-112,
    #div_block-5-112
)::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 8px !important;
    left: 5px !important;
    width: 8px !important;
    height: 8px !important;
    border: 0 !important;
    border-top: 3px solid #d20b14 !important;
    border-left: 3px solid #d20b14 !important;
    pointer-events: none;
    z-index: 2;
}

/* Masquer les angles des modules dynamiques lorsque leur contenu est absent. */
.hub-tpl-shell #div_block-3-112:not(:has(.forba-carrousel-campagnes))::before,
.hub-tpl-shell #div_block-4-112:not(:has(.forba-evenements-module))::before {
    content: none !important;
    display: none !important;
}

/* Suppression des anciens angles propres aux titres */
.hub-tpl-shell :is(
    .forba-carrousel-campagnes__entete-lien,
    .forba-carrousel-campagnes__titre,
    .forba-evenements-module__entete-lien,
    .forba-evenements-module__titre,
    #text_block-6-112
)::before {
    content: none !important;
    display: none !important;
}


/* V1.6 — Alignement vertical du titre Événements */

#div_block-4-112 .forba-evenements-module__en-tete {
    padding-top: 12px !important;
}


/* Largeur maximale du HUB */
.hub-tpl-shell {
    max-width: 1100px !important;
}

/* Titre principal de l'accueil */
#headline-7-181 {
    color: #171717 !important;
}


/* LE HUB — Complement CSS structure V2.0 (à ajouter à la FIN de Templates) */
/* Conserver les styles existants validés V1.6 et la largeur maximale 1100px. */
.hub-tpl-shell { max-width: 1100px !important; }
/* RP Footer sous les modules : jamais sous toute la page. */
.hub-tpl-footer { box-sizing: border-box; width: 100%; min-width: 0; }
.hub-tpl-grid--home > .hub-tpl-modules > .hub-tpl-footer { margin-top: 14px; }
.hub-tpl-grid--interior .hub-tpl-side > .hub-tpl-footer { margin-top: 0; }
/* La colonne de gauche du template intérieur regroupe navigation / modules / footer. */
.hub-tpl-grid--interior > .hub-tpl-side { align-items: stretch; }
/* S'assurer que les éléments du contenu intérieur restent dans la grille. */
.hub-tpl-grid--interior > .hub-tpl-center { min-width: 0; }



/* Bandeau rouge — largeur complète du conteneur */
.hub-tpl-shell > .ct-code-block {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
}

.hub-tpl-shell > .ct-code-block
.forba-bandeau-informations {
    width: 100% !important;
}

/* LE HUB V2026 — RP En-tête 204 — complément CSS à AJOUTER à la fin
   de la feuille Oxygen Stylesheets > Templates (sans remplacer l'existant).
   Aspect proche maquette Figma ; conteneur parent .hub-tpl-shell : 1100px max.
*/
.hub-tpl-shell > .ct_reusable,
.hub-tpl-shell > [id^="reusable-"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.hub-header,
.hub-header > .ct-code-block {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}
.hub-header {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
}
.hub-header__visuels {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    column-gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 20px;
    text-decoration: none !important;
    color: inherit;
}
.hub-header__visuels:focus-visible {
    outline: 2px solid #d20b14;
    outline-offset: 3px;
}
.hub-header__marque {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 135px;
    min-width: 0;
    background: #f9f6f3;
}
.hub-header__coin {
    display: block;
    position: absolute;
    top: 10px;
    left: 8px;
    width: 18px;
    height: auto;
}
.hub-header__logo {
    display: block;
    width: 216px;
    max-width: 78%;
    height: auto;
}
.hub-header__photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 713 / 149;
    object-fit: cover;
}
/* Le Code Block Oxygen et le bandeau occupent la largeur du conteneur. */
.hub-header__bandeau,
.hub-header__bandeau .forba-bandeau-informations,
.hub-header__bandeau > .forba-bandeau-informations {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    align-self: stretch !important;
}
/* Réduction du visuel sur tablettes. */
@media (max-width: 850px) {
    .hub-header__visuels { column-gap: 12px; }
    .hub-header__marque { min-height: 105px; }
    .hub-header__logo { max-width: 74%; }
}
@media (max-width: 620px) {
    .hub-header__visuels {
        grid-template-columns: 1fr;
        row-gap: 12px;
        padding-bottom: 14px;
    }
    .hub-header__marque { justify-content: center; min-height: 95px; }
    .hub-header__coin { top: 4px; left: 4px; width: 15px; }
    .hub-header__logo { width: 190px; }
}

/* LE HUB V2026 — Footer latéral (RP 182) — v1.1
   Affichage uniforme : un lien par ligne, aligné à gauche, avec filet séparateur.
   Conserve le menu WordPress existant et son emplacement latéral.
*/
.hub-tpl-shell .hub-footer-wrapper,
.hub-tpl-shell .hub-footer-code {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}
.hub-tpl-shell .hub-footer {
    box-sizing: border-box;
    width: 100%;
    margin: 4px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #dedbd8;
    background: transparent;
}
.hub-tpl-shell .hub-footer__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hub-tpl-shell .hub-footer__menu > li {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 34px;
    min-width: 0;
    padding: 7px 0;
    margin: 0;
    border-bottom: 1px solid #e8e4e1;
    list-style: none;
}
.hub-tpl-shell .hub-footer__menu > li:last-child {
    border-bottom: 0;
}
/* Fin des puces et de la mise en avant spécifique de la FAQ. */
.hub-tpl-shell .hub-footer__menu > li::before {
    content: none;
    display: none;
}
.hub-tpl-shell .hub-footer__menu a,
.hub-tpl-shell .hub-footer__menu > li:nth-child(4) > a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #686563;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    white-space: normal;
    text-decoration: none;
    transition: color 150ms ease;
}
.hub-tpl-shell .hub-footer__menu a:hover,
.hub-tpl-shell .hub-footer__menu a:focus-visible {
    color: #d20b14;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* 08 — Documents pratiques : page unique, filtres et cartes V1.0 */
.hub-tpl-shell .hub-docs {
    color: #171717;
    width: 100%;
    max-width: 100%;
}
.hub-tpl-shell .hub-docs__titre {
    position: relative;
    margin: 0 0 22px;
    color: #171717;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
.hub-tpl-shell .hub-docs__titre::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -8px;
    width: 8px;
    height: 8px;
    border-top: 3px solid #d20b14;
    border-left: 3px solid #d20b14;
}
.hub-tpl-shell .hub-docs__navigation {
    margin: 0 0 22px;
}
.hub-tpl-shell .hub-docs__legende {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
}
.hub-tpl-shell .hub-docs__filtres {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}
.hub-tpl-shell .hub-docs__filtre {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid #d6d2cf;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.hub-tpl-shell .hub-docs__filtre:hover,
.hub-tpl-shell .hub-docs__filtre:focus-visible {
    border-color: #d20b14;
    color: #d20b14;
}
.hub-tpl-shell .hub-docs__filtre.is-active {
    background: #d20b14;
    border-color: #d20b14;
    color: #fff;
}
.hub-tpl-shell .hub-docs__compteur {
    margin: 0 0 16px;
    color: #34302e;
    font-size: 13px;
    font-weight: 700;
}
.hub-tpl-shell .hub-docs__grille {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}
.hub-tpl-shell .hub-docs__carte {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dedbd8;
    border-radius: 4px;
    background: #fff;
}
.hub-tpl-shell .hub-docs__visuel {
    width: 100%;
    aspect-ratio: 1.48 / 1;
    background: #f5f3f1;
    overflow: hidden;
}
.hub-tpl-shell .hub-docs__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hub-tpl-shell .hub-docs__corps {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 13px 14px 15px;
}
.hub-tpl-shell .hub-docs__carte-titre {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.hub-tpl-shell .hub-docs__description {
    margin: 0;
    color: #45413f;
    font-size: 12px;
    line-height: 1.5;
}
.hub-tpl-shell .hub-docs__categorie {
    margin: auto 0 0;
    color: #807d7a;
    font-size: 11px;
    line-height: 1.4;
}
.hub-tpl-shell .hub-docs__telecharger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    align-self: flex-start;
    gap: 12px;
    max-width: 100%;
    padding: 7px 10px;
    background: #d20b14;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 150ms ease;
}
.hub-tpl-shell .hub-docs__telecharger:hover,
.hub-tpl-shell .hub-docs__telecharger:focus-visible {
    color: #fff;
    background: #d20b14;
}
.hub-tpl-shell .hub-docs__telecharger span {
    font-size: 17px;
    line-height: 1;
}
.hub-tpl-shell .hub-docs__vide {
    padding: 22px;
    background: #f8f5f2;
    font-size: 13px;
}
@media (max-width: 740px) {
    .hub-tpl-shell .hub-docs__grille { grid-template-columns: 1fr; }
}


/* 09 — Pack Lead : vignette video et modale Vimeo V1.2 */
.hub-tpl-shell .hub-docs__video {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.hub-tpl-shell .hub-docs__video .hub-docs__image {
    transition: transform 180ms ease, filter 180ms ease;
}
.hub-tpl-shell .hub-docs__video:hover .hub-docs__image,
.hub-tpl-shell .hub-docs__video:focus-visible .hub-docs__image {
    transform: scale(1.025);
    filter: brightness(.85);
}
.hub-tpl-shell .hub-docs__video:focus-visible {
    outline: 3px solid #d20b14;
    outline-offset: -3px;
}
.hub-tpl-shell .hub-docs__play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    padding-left: 4px;
    border-radius: 50%;
    background: #d20b14;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 2px 14px rgba(0,0,0,.2);
}
.hub-tpl-shell .hub-docs__modal {
    box-sizing: border-box;
    width: min(920px, 96vw);
    max-width: 96vw;
    max-height: 92vh;
    padding: 38px 16px 16px;
    border: 0;
    border-radius: 4px;
    background: #181818;
    color: #fff;
}
.hub-tpl-shell .hub-docs__modal::backdrop {
    background: rgba(0,0,0,.82);
}
.hub-tpl-shell .hub-docs__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #080808;
}
.hub-tpl-shell .hub-docs__player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.hub-tpl-shell .hub-docs__modal-close {
    position: absolute;
    right: 8px;
    top: 3px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.hub-tpl-shell .hub-docs__modal-close:hover,
.hub-tpl-shell .hub-docs__modal-close:focus-visible {
    color: #ff6b56;
}


/* 10 — Annuaire des partenaires et fiche détaillée V1.3 */
.hub-tpl-shell .hub-partenaires__visuel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    aspect-ratio: 1.5 / 1;
    background: #fff;
}
.hub-tpl-shell .hub-partenaires__visuel .hub-docs__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.hub-tpl-shell .hub-partenaires__sous-titre {
    margin: -3px 0 0;
    color: #57514e;
    font-size: 12px;
    line-height: 1.45;
}
.hub-tpl-shell .hub-partenaires__voir {
    margin-top: 4px;
}
.hub-tpl-shell .hub-partenaire-detail__sous-titre {
    margin: -12px 0 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: #57514e;
}
.hub-tpl-shell .hub-partenaire-detail__categories {
    display: inline-block;
    margin: 0 0 20px;
    color: #807d7a;
    font-size: 12px;
    line-height: 1.4;
}
.hub-tpl-shell .hub-partenaire-detail__visuel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    min-height: 155px;
    max-height: 350px;
    padding: 22px;
    margin-bottom: 24px;
    border: 1px solid #dedbd8;
    background: #fff;
}
.hub-tpl-shell .hub-partenaire-detail__visuel .hub-docs__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 290px;
    object-fit: contain;
}
.hub-tpl-shell .hub-partenaire-detail__description {
    color: #2e2c2a;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.hub-tpl-shell .hub-partenaire-detail__description p {
    margin: 0 0 15px;
}
.hub-tpl-shell .hub-partenaire-detail__description a {
    color: #c90815;
    text-decoration: underline;
}
.hub-tpl-shell .hub-partenaire-detail__retour {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 26px;
    color: #b90813;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}
.hub-tpl-shell .hub-partenaire-detail__retour:hover,
.hub-tpl-shell .hub-partenaire-detail__retour:focus-visible {
    color: #171717;
    text-decoration: underline;
}


/* Fiche partenaire V1.6.3 — mise en page sur cartouche selon la maquette CAPVEIL.
   Portee limitee aux pages de detail : l'annuaire reste intact. */
.hub-tpl-shell .hub-partenaire-detail > .hub-docs__titre {
    margin: 0 0 22px;
}
.hub-tpl-shell .hub-partenaire-detail__carte {
    background: #fff;
    border: 1px solid #dedbd8;
    padding: 20px 24px 28px;
    min-width: 0;
}
.hub-tpl-shell .hub-partenaire-detail__carte .hub-partenaire-detail__retour {
    display: inline-flex;
    margin: 0 0 28px;
    color: #4e4a47;
    font-weight: 500;
    font-size: 12px;
}
.hub-tpl-shell .hub-partenaire-detail__grille {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-width: 0;
}
.hub-tpl-shell .hub-partenaire-detail__infos {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hub-tpl-shell .hub-partenaire-detail__infos .hub-favori-titre--detail {
    width: 100%;
    margin: 0 0 12px;
    align-items: center;
}
.hub-tpl-shell .hub-partenaire-detail__nom {
    color: #171717;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.hub-tpl-shell .hub-partenaire-detail__infos .hub-partenaire-detail__sous-titre {
    margin: 0 0 14px;
    font-size: 14px;
}
.hub-tpl-shell .hub-partenaire-detail__infos .hub-partenaire-detail__categories {
    margin: 0 0 14px;
    font-size: 11px;
}
.hub-tpl-shell .hub-partenaire-detail__infos .hub-partenaire-detail__description {
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
}
.hub-tpl-shell .hub-partenaire-detail__infos .hub-partenaire-detail__telecharger {
    margin-top: 16px;
    text-transform: uppercase;
}
.hub-tpl-shell .hub-partenaire-detail__grille .hub-partenaire-detail__visuel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 210px;
    max-height: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}
.hub-tpl-shell .hub-partenaire-detail__grille .hub-partenaire-detail__visuel .hub-docs__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 410px;
    object-fit: contain;
}
@media (max-width: 780px) {
    .hub-tpl-shell .hub-partenaire-detail__carte {
        padding: 18px;
    }
    .hub-tpl-shell .hub-partenaire-detail__grille {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .hub-tpl-shell .hub-partenaire-detail__grille .hub-partenaire-detail__visuel {
        min-height: 0;
    }
}

/* 11 — Campagnes de communication : liste et fiches de commande V1.4 */
.hub-tpl-shell .hub-catalogue-campagnes__visuel {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1.48 / 1;
    padding: 14px;
    background: #f8f6f4;
    overflow: hidden;
    text-decoration: none;
}
.hub-tpl-shell .hub-catalogue-campagnes__visuel .hub-docs__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 160ms ease;
}
.hub-tpl-shell .hub-catalogue-campagnes__visuel:hover .hub-docs__image,
.hub-tpl-shell .hub-catalogue-campagnes__visuel:focus-visible .hub-docs__image {
    transform: scale(1.035);
}
.hub-tpl-shell .hub-catalogue-campagnes__visuel:focus-visible {
    outline: 3px solid #c50812;
    outline-offset: -3px;
}
.hub-tpl-shell .hub-catalogue-campagnes__sans-visuel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #b90914;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}
.hub-tpl-shell .hub-catalogue-campagnes__carte .hub-docs__carte-titre a {
    color: inherit;
    text-decoration: none;
}
.hub-tpl-shell .hub-catalogue-campagnes__carte .hub-docs__carte-titre a:hover,
.hub-tpl-shell .hub-catalogue-campagnes__carte .hub-docs__carte-titre a:focus-visible {
    color: #cc0a17;
}
.hub-tpl-shell .hub-catalogue-campagnes__cta { margin-top: 7px; }
.hub-tpl-shell .hub-catalogue-campagne-detail__categorie {
    margin: -12px 0 16px;
    color: #817d79;
    font-size: 12px;
    line-height: 1.4;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__visuel {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-height: 390px;
    min-height: 140px;
    padding: 14px;
    margin: 0 0 20px;
    background: #f8f6f4;
    overflow: hidden;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__visuel .hub-docs__image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: contain;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__description,
.hub-tpl-shell .hub-catalogue-campagne-detail__editorial {
    color: #272421;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__description p,
.hub-tpl-shell .hub-catalogue-campagne-detail__editorial p { margin: 0 0 13px; }
.hub-tpl-shell .hub-catalogue-campagne-detail__demande {
    padding: 22px 0 8px;
    border-top: 1px solid #e5e1de;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__demande h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 15px;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__theme {
    border-radius: 2px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__theme:hover,
.hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__theme:focus-within {
    border-color: #cf0d16;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__offre {
    border-radius: 3px;
}
.hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__offre button:hover,
.hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__offre button:focus-visible {
    background: #e13624;
}
@media (max-width: 650px) {
    .hub-tpl-shell .hub-catalogue-campagne-detail__demande .forba-campagnes__offres-grid {
        grid-template-columns: 1fr;
    }
}


/* 12 — Fiches individuelles des événements V1.1 */
.hub-tpl-shell .hub-evenement-detail__date {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: baseline;
    margin: -3px 0 19px;
    color: #56514e;
    font-size: 14px;
    line-height: 1.55;
}
.hub-tpl-shell .hub-evenement-detail__date-libelle {
    margin-right: 5px;
    color: #171717;
    font-weight: 700;
}
.hub-tpl-shell .hub-evenement-detail__visuel {
    width: 100%;
    margin: 0 0 22px;
    background: #f7f5f3;
    overflow: hidden;
}
.hub-tpl-shell .hub-evenement-detail__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: contain;
}
.hub-tpl-shell .hub-evenement-detail__description {
    margin: 0 0 24px;
    color: #262321;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.hub-tpl-shell .hub-evenement-detail__description p { margin: 0 0 15px; }
.hub-tpl-shell .hub-evenement-detail__description a {
    color: #c90916;
    text-decoration: underline;
}
.hub-tpl-shell .hub-evenement-detail__cta {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;
    gap: 18px;
    padding: 9px 13px;
    margin: 0 0 12px;
    background: #161616;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
.hub-tpl-shell .hub-evenement-detail__cta:hover,
.hub-tpl-shell .hub-evenement-detail__cta:focus-visible {
    background: #d20b14;
    color: #fff;
}
.hub-tpl-shell .hub-evenement-detail__retour {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-top: 26px;
    color: #b90914;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.hub-tpl-shell .hub-evenement-detail__retour:hover,
.hub-tpl-shell .hub-evenement-detail__retour:focus-visible {
    color: #171717;
    text-decoration: underline;
}


/* 13 — Événements : carte commune à la liste et à la fiche individuelle V1.2 */
.hub-tpl-shell .hub-evenements .hub-docs__titre {
    margin-bottom: 24px !important;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid #eae6e3;
    background: #fff;
    min-width: 0;
    overflow: hidden;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__article:not(:has(.forba-evenements-page__visuel)) {
    grid-template-columns: minmax(0, 1fr);
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__texte {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 26px 27px 28px;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    width: 100%;
    margin: 0 0 18px;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__categorie {
    color: #d20b14;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__publication {
    border-left: 1px solid #dedbd8;
    padding-left: 11px;
    color: #92908d;
    font-size: 11px;
    line-height: 1.4;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__titre {
    margin: 0 0 13px !important;
    color: #171717;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__date {
    margin: 0 0 15px !important;
    color: #242424;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__date-separateur {
    font-weight: 400;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__description {
    width: 100%;
    margin: 0 0 15px !important;
    color: #252525;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__description p {
    margin: 0 0 13px;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__description a {
    color: #bf0b15;
    text-decoration: underline;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__bouton {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 34px;
    max-width: 100%;
    padding: 9px 12px;
    margin: 0 0 10px !important;
    box-sizing: border-box;
    background: #171717;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 160ms ease;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__bouton:hover,
.hub-tpl-shell .hub-evenements .forba-evenements-page__bouton:focus-visible {
    background: #d20b14;
    color: #fff;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__visuel {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 220px;
    margin: 0 !important;
    background: #f6f3f1;
}
.hub-tpl-shell .hub-evenements .forba-evenements-page__visuel img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}
@media (max-width: 800px) {
    .hub-tpl-shell .hub-evenements .forba-evenements-page__article {
        display: flex !important;
        flex-direction: column;
    }
    .hub-tpl-shell .hub-evenements .forba-evenements-page__texte {
        width: 100%;
        padding: 22px 19px 23px;
    }
    .hub-tpl-shell .hub-evenements .forba-evenements-page__visuel {
        width: 100%;
        min-height: 0;
        max-height: 360px;
    }
    .hub-tpl-shell .hub-evenements .forba-evenements-page__visuel img {
        height: auto;
        max-height: 360px;
        object-fit: contain;
    }
}


/* 14 — Favoris : cœur à gauche du titre, sans modifier la hauteur du visuel. */
.hub-tpl-shell .hub-favori-titre {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    width: 100%;
}
.hub-tpl-shell .hub-favori-titre > :is(h1, h2, h3, a) {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
}
.hub-tpl-shell .hub-favori-titre .forba-favoris__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-height: 0;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #252525;
    cursor: pointer;
    line-height: 1;
}
.hub-tpl-shell .hub-favori-titre .forba-favoris__button:hover,
.hub-tpl-shell .hub-favori-titre .forba-favoris__button:focus-visible {
    color: #e2482a;
}
.hub-tpl-shell .hub-favori-titre .forba-favoris__button.is-active {
    color: #d20b14;
}
.hub-tpl-shell .hub-favori-titre .forba-favoris__heart {
    display: block;
    width: 18px;
    height: 18px;
}
.hub-tpl-shell .hub-favori-titre--detail {
    margin: 0 0 22px;
}
.hub-tpl-shell .hub-favori-titre--detail > .hub-docs__titre {
    margin: 0 !important;
}
.hub-tpl-shell .hub-evenements .hub-favori-titre {
    margin-bottom: 13px;
}
.hub-tpl-shell .hub-evenements .hub-favori-titre > .forba-evenements-page__titre {
    margin: 0 !important;
}
.hub-tpl-shell .hub-favori-titre--aside {
    gap: 4px;
    margin: 0;
}
.hub-tpl-shell .hub-favori-titre--aside .forba-favoris__button {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
}
.hub-tpl-shell .hub-favori-titre--aside .forba-favoris__heart {
    width: 15px;
    height: 15px;
}
.hub-tpl-shell .hub-favori-titre--aside > .forba-evenements-module__lien {
    flex: 1 1 auto;
    min-width: 0;
}
.hub-tpl-shell .hub-favori-titre--mes-favoris {
    margin: 0 0 10px;
}
.hub-tpl-shell .hub-favori-titre--mes-favoris > .forba-favoris__title {
    margin: 0 !important;
}


/* 15 — Mes Favoris : cartes originales partagées par type de contenu. */
.hub-tpl-shell .hub-favoris {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.hub-tpl-shell .hub-favoris .hub-docs__titre {
    margin-bottom: 20px;
}
.hub-tpl-shell .hub-favoris .forba-favoris__total {
    margin: 0 0 17px;
    color: #34302e;
    font-size: 13px;
    line-height: 1.4;
}
.hub-tpl-shell .hub-favoris__grille {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    min-width: 0;
}
.hub-tpl-shell .hub-favoris__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
}
.hub-tpl-shell .hub-favoris__item > .hub-docs__carte {
    width: 100%;
    flex: 1 1 auto;
}
.hub-tpl-shell .hub-favoris__item--evenement {
    grid-column: 1 / -1;
}
.hub-tpl-shell .hub-favoris__item--evenement > .forba-evenements-page__article {
    width: 100%;
    margin: 0;
}
.hub-tpl-shell .hub-favoris .forba-favoris__empty {
    margin: 15px 0 0;
    padding: 15px 18px;
    background: #f7f5f3;
    color: #35312e;
    font-size: 14px;
}
.hub-tpl-shell .hub-favoris .forba-favoris__empty[hidden] {
    display: none;
}
.hub-tpl-shell .hub-favoris .forba-favoris__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
    color: #34302e;
    font-size: 13px;
}
.hub-tpl-shell .hub-favoris .forba-favoris__pagination a {
    color: #ba0914;
    font-weight: 700;
}
.hub-tpl-shell .hub-favoris__type {
    margin: 0;
    color: #a40f18;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .hub-tpl-shell .hub-favoris__grille {
        grid-template-columns: minmax(0, 1fr);
    }
    .hub-tpl-shell .hub-favoris__item--evenement {
        grid-column: 1;
    }
}


/* 16 — Favoris : identification du type éditorial, distincte de la catégorie. */
.hub-tpl-shell .hub-favoris .hub-favoris__type {
    display: block;
    margin: 0 !important;
    color: #b90b16;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.hub-tpl-shell .hub-favoris__item--evenement .hub-favoris__type--evenement {
    margin: 0;
}
.hub-tpl-shell .hub-favoris__item--evenement .forba-evenements-page__categorie {
    padding-left: 10px;
    border-left: 1px solid #dedbd8;
    color: #706b68;
}

/* 17 — Fiche partenaire : cœur immédiatement à gauche du nom. */
.hub-tpl-shell .hub-partenaire-detail .hub-favori-titre--detail {
    justify-content: flex-start;
    gap: 8px;
}
.hub-tpl-shell .hub-partenaire-detail .hub-favori-titre--detail > .hub-partenaire-detail__nom {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
}
.hub-tpl-shell .hub-partenaire-detail .hub-favori-titre--detail > .forba-favoris__button {
    order: 0;
    flex: 0 0 20px;
}


/* 18 — Espace Mon compte / Mes campagnes V1.0.0 */
.hub-tpl-shell .forba-compte {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.hub-tpl-shell .forba-compte > .hub-docs__titre {
    margin-bottom: 20px !important;
}
.hub-tpl-shell .forba-compte__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 22px;
}
.hub-tpl-shell .forba-compte__actions a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #b90b16;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}
.hub-tpl-shell .forba-compte__actions a:hover,
.hub-tpl-shell .forba-compte__actions a:focus-visible {
    color: #171717;
    text-decoration: underline;
}
/* Mon compte : conserver la grille mais aérer les champs dans leur panneau. */
.hub-tpl-shell .forba-compte:not(.forba-compte--campagnes) .forba-compte__form {
    box-sizing: border-box;
    width: 100%;
    padding: 25px 28px 32px;
    background: #fff;
}
@media (max-width: 660px) {
    .hub-tpl-shell .forba-compte:not(.forba-compte--campagnes) .forba-compte__form {
        padding: 18px 15px 24px;
    }
}
.hub-tpl-shell .forba-compte__form .forba-gc-form {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.hub-tpl-shell .forba-compte__form .forba-gc-heading {
    display: none;
}
.hub-tpl-shell .forba-compte__form .forba-gc-grid {
    margin-top: 0;
}
.hub-tpl-shell .forba-compte__intro,
.hub-tpl-shell .forba-compte__vide {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: #504c49;
}
.hub-tpl-shell .forba-compte__vide {
    padding: 20px;
    background: #f7f5f3;
}
.hub-tpl-shell .forba-compte__liste {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.hub-tpl-shell .forba-compte__demande {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e6e2df;
    background: #fff;
}
.hub-tpl-shell .forba-compte__demande-principale h2 {
    margin: 0 0 9px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}
.hub-tpl-shell .forba-compte__demande-principale p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #696460;
    line-height: 1.45;
}
.hub-tpl-shell .forba-compte__etat {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #b90b16;
}
.hub-tpl-shell .forba-compte__retour,
.hub-tpl-shell .forba-compte__pagination {
    margin: 24px 0 0;
    font-size: 13px;
}
.hub-tpl-shell .forba-compte__retour a,
.hub-tpl-shell .forba-compte__pagination a {
    color: #b90b16;
    text-decoration: none;
    font-weight: 700;
}
.hub-tpl-shell .forba-compte__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.hub-tpl-shell .hub-nav-compte-zone .hub-compte-nom-lien {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.hub-tpl-shell .hub-nav-compte-zone .hub-compte-nom-lien:hover,
.hub-tpl-shell .hub-nav-compte-zone .hub-compte-nom-lien:focus-visible {
    color: #d20b14;
    text-decoration: underline;
}
@media (max-width: 660px) {
    .hub-tpl-shell .forba-compte__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
    .hub-tpl-shell .forba-compte__demande {
        flex-direction: column;
    }
    .hub-tpl-shell .forba-compte__etat {
        align-self: flex-start;
    }
}


/* 19 — FAQ V2026 : accordéon questions/réponses de la page FAQ. */
.hub-tpl-shell .hub-faq {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.hub-tpl-shell .hub-faq > .hub-docs__titre {
    margin: 0 0 23px !important;
}
.hub-tpl-shell .hub-faq__items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hub-tpl-shell .hub-faq__item {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #fff;
}
.hub-tpl-shell .hub-faq__question {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 27px;
    padding: 18px 23px;
    min-height: 56px;
    margin: 0;
    list-style: none;
    cursor: pointer;
    color: #171717;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}
.hub-tpl-shell .hub-faq__question::-webkit-details-marker {
    display: none;
}
.hub-tpl-shell .hub-faq__question::marker {
    content: "";
}
.hub-tpl-shell .hub-faq__question:hover {
    color: #be0711;
}
.hub-tpl-shell .hub-faq__question:focus-visible {
    outline: 2px solid #d30b15;
    outline-offset: -3px;
}
.hub-tpl-shell .hub-faq__toggle {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    flex: none;
}
.hub-tpl-shell .hub-faq__toggle::before,
.hub-tpl-shell .hub-faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #d30b15;
    transform: translate(-50%, -50%);
}
.hub-tpl-shell .hub-faq__toggle::before {
    width: 19px;
    height: 2px;
}
.hub-tpl-shell .hub-faq__toggle::after {
    width: 2px;
    height: 19px;
}
.hub-tpl-shell .hub-faq__item[open] .hub-faq__toggle::after {
    display: none;
}
.hub-tpl-shell .hub-faq__reponse {
    padding: 0 23px 19px 76px;
    color: #252322;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.hub-tpl-shell .hub-faq__reponse > :first-child {
    margin-top: 0;
}
.hub-tpl-shell .hub-faq__reponse > :last-child {
    margin-bottom: 0;
}
.hub-tpl-shell .hub-faq__reponse a {
    color: #1a1a1a;
    text-decoration: underline;
    overflow-wrap: anywhere;
}
.hub-tpl-shell .hub-faq__reponse a:hover,
.hub-tpl-shell .hub-faq__reponse a:focus-visible {
    color: #d30b15;
}
.hub-tpl-shell .hub-faq__empty {
    margin: 0;
    padding: 16px 20px;
    background: #fff;
    font-size: 14px;
}
@media (max-width: 650px) {
    .hub-tpl-shell .hub-faq__items {
        gap: 12px;
    }
    .hub-tpl-shell .hub-faq__question {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 14px;
        padding: 16px 14px;
        font-size: 13px;
    }
    .hub-tpl-shell .hub-faq__reponse {
        padding: 0 15px 18px 48px;
        font-size: 13px;
    }
}


/* V2.1 — Mes Favoris : icône coeur rouge plein, uniquement dans la navigation gauche.
   Ne modifie pas les boutons Favoris des cartes du mur. */
.hub-tpl-grid .hub-nav-favoris-zone a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
}
.hub-tpl-grid .hub-nav-favoris-zone a > :is(svg, i, .oxy-el-icon, .ct-fancy-icon),
.hub-tpl-grid .hub-nav-favoris-zone a > .ct-fancy-icon > svg {
  display: none !important;
}
.hub-tpl-grid .hub-nav-favoris-zone a::before {
  content: "" !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  background: #d20b14 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Navigation : icones sur mesure Pack Lead et Annuaire des partenaires. */
/* Pack Lead — cube filaire isometrique : SVG monoline adapte a la maquette, sans changer Oxygen. */
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/pack-lead/"]) > a > :is(svg, i, .ct-fancy-icon, .oxy-el-icon),
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/pack-lead/"]) > a > .ct-fancy-icon > svg {
  display: none !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/pack-lead/"]) > a::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 17px !important;
  width: 17px !important;
  height: 17px !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202.5%2021%207.5v9L12%2021.5%203%2016.5v-9L12%202.5Z%22%2F%3E%3Cpath%20d%3D%22M3%207.5%2012%2012.5%2021%207.5M12%2012.5v9%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202.5%2021%207.5v9L12%2021.5%203%2016.5v-9L12%202.5Z%22%2F%3E%3Cpath%20d%3D%22M3%207.5%2012%2012.5%2021%207.5M12%2012.5v9%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
/* Annuaire — trois silhouettes sans contour de dossier : SVG monoline adapte a la maquette, sans changer Oxygen. */
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/annuaire-des-partenaires/"]) > a > :is(svg, i, .ct-fancy-icon, .oxy-el-icon),
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/annuaire-des-partenaires/"]) > a > .ct-fancy-icon > svg {
  display: none !important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/annuaire-des-partenaires/"]) > a::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 17px !important;
  width: 17px !important;
  height: 17px !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%222.9%22%2F%3E%3Cpath%20d%3D%22M5.9%2020v-1.8a6.1%206.1%200%200%201%2012.2%200V20%22%2F%3E%3Ccircle%20cx%3D%224.5%22%20cy%3D%229%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M2%2018v-1.2a4.1%204.1%200%200%201%203.1-4%22%2F%3E%3Ccircle%20cx%3D%2219.5%22%20cy%3D%229%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M22%2018v-1.2a4.1%204.1%200%200%200-3.1-4%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%222.9%22%2F%3E%3Cpath%20d%3D%22M5.9%2020v-1.8a6.1%206.1%200%200%201%2012.2%200V20%22%2F%3E%3Ccircle%20cx%3D%224.5%22%20cy%3D%229%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M2%2018v-1.2a4.1%204.1%200%200%201%203.1-4%22%2F%3E%3Ccircle%20cx%3D%2219.5%22%20cy%3D%229%22%20r%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M22%2018v-1.2a4.1%204.1%200%200%200-3.1-4%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}



/* Campagnes : mégaphone filaire, 17px, identique desktop et burger.
   L'URL identifie la rubrique, indépendamment de sa position WordPress. */
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/campagnes/"]) > a > :is(svg, i, .ct-fancy-icon, .oxy-el-icon),
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/campagnes/"]) > a > .ct-fancy-icon > svg {
  display:none!important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/campagnes/"]) > a::before {
  content:""!important;
  display:inline-block!important;
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!important;
  background-color:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3Z'/%3E%3Cpath d='M11.6 16.8a3 3 0 0 1-5.8 1.6L5 14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3Z'/%3E%3Cpath d='M11.6 16.8a3 3 0 0 1-5.8 1.6L5 14'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Navigation Événements — calendrier filaire 17px (desktop et burger mobile).
   Cible les slugs /evenements/ et /evenements-a-venir/, indépendamment de l'ordre WP. */
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/evenements"]) > a > :is(svg, i, .ct-fancy-icon, .oxy-el-icon),
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/evenements"]) > a > .ct-fancy-icon > svg {
  display:none!important;
}
.hub-tpl-grid .hub-nav-menu .oxy-pro-menu-list > li:has(> a[href*="/evenements"]) > a::before {
  content:""!important;
  display:inline-block!important;
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!important;
  background-color:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18'/%3E%3Cpath d='M8 14h2M14 14h2M8 18h2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18'/%3E%3Cpath d='M8 14h2M14 14h2M8 18h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Annuaire des partenaires V2026 — grille Figma « Toutes catégories » / « Finance & Gestion ».
   Portée limitée à la liste ; ne modifie pas la fiche single ni les autres ressources. */
.hub-tpl-shell .hub-partenaires > .hub-docs__titre{
    margin:0 0 17px;
    font-size:19px;
    line-height:1.25;
}
.hub-tpl-shell .hub-partenaires__panneau{
    box-sizing:border-box;
    min-width:0;
    padding:21px 20px 42px;
    background:#fff;
}
.hub-tpl-shell .hub-partenaires .hub-docs__navigation{margin:0 0 21px}
.hub-tpl-shell .hub-partenaires .hub-docs__legende{
    margin:0 0 15px;
    font-size:13px;
    line-height:1.3;
}
.hub-tpl-shell .hub-partenaires .hub-docs__filtres{
    display:flex;
    flex-wrap:wrap;
    gap:7px 6px;
}
.hub-tpl-shell .hub-partenaires .hub-docs__filtre{
    min-height:28px;
    padding:5px 12px;
    border-color:#bababa;
    color:#202020;
    font-size:11px;
    font-weight:500;
}
.hub-tpl-shell .hub-partenaires .hub-docs__filtre.is-active{
    background:#d20b14;
    border-color:#d20b14;
    color:#fff;
}
.hub-tpl-shell .hub-partenaires .hub-docs__compteur{
    margin:0 0 17px;
    font-size:13px;
    color:#171717;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__grille{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 7px;
    align-items:stretch;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__carte{
    min-width:0;
    padding:13px 13px 15px;
    border:1px solid #bcbcbc;
    border-radius:4px;
    background:#fff;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__visuel{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:72px;
    min-height:0;
    aspect-ratio:auto;
    padding:0 4px;
    overflow:hidden;
    background:#fff;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__visuel .hub-docs__image{
    width:auto;
    max-width:100%;
    height:auto;
    max-height:72px;
    object-fit:contain;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__carte .hub-docs__corps{
    padding:8px 0 0;
    gap:5px;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__carte .hub-docs__carte-titre{
    font-size:12px;
    line-height:1.25;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__carte .hub-partenaires__sous-titre{
    margin:0;
    font-size:10px;
    line-height:1.3;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__carte .hub-docs__categorie{
    margin:0;
    font-size:10px;
    color:#343434;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__voir{
    align-self:flex-start;
    margin-top:auto;
    padding:7px 0 0;
    border:0;
    background:transparent;
    color:#d20b14;
    font-size:11px;
    line-height:1.3;
    font-weight:700;
}
.hub-tpl-shell .hub-partenaires .hub-partenaires__voir:hover,
.hub-tpl-shell .hub-partenaires .hub-partenaires__voir:focus-visible{
    color:#aa0710;
    background:transparent;
    text-decoration:underline;
}
@media(max-width:900px){
    .hub-tpl-shell .hub-partenaires .hub-partenaires__grille{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
    .hub-tpl-shell .hub-partenaires__panneau{padding:16px 12px 28px}
    .hub-tpl-shell .hub-partenaires .hub-partenaires__grille{grid-template-columns:minmax(0,1fr);gap:12px}
    .hub-tpl-shell .hub-partenaires .hub-partenaires__visuel{height:85px}
    .hub-tpl-shell .hub-partenaires .hub-partenaires__visuel .hub-docs__image{max-height:85px}
}

/* Liens front-office LE HUB : aucun soulignement au survol ni au focus clavier.
   L'indication de focus par contour reste assurée par les styles existants / navigateur. */
.hub-tpl-shell a:hover,
.hub-tpl-shell a:focus-visible,
.hub-tpl-shell a:hover *,
.hub-tpl-shell a:focus-visible * {
    text-decoration: none !important;
}

/* Lot de finitions V2026 : filtres favoris, liens de categories et boutons brochures. */
.hub-tpl-shell .hub-favoris__filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 21px}
.hub-tpl-shell .hub-favoris__filters .hub-docs__filtre{min-height:30px}
.hub-tpl-shell .hub-docs__categorie-lien,
.hub-tpl-shell .hub-docs__categorie-lien:visited{color:inherit;text-decoration:none}
.hub-tpl-shell .hub-docs__categorie-lien:hover,
.hub-tpl-shell .hub-docs__categorie-lien:focus-visible{color:#d20b14;text-decoration:none}
.hub-tpl-shell .hub-docs--brochures .hub-docs__telecharger{
    background:#1e1e1e;border-color:#1e1e1e;color:#fff;
}
.hub-tpl-shell .hub-docs--brochures .hub-docs__telecharger:hover,
.hub-tpl-shell .hub-docs--brochures .hub-docs__telecharger:focus-visible{
    background:#333;border-color:#333;color:#fff;
}

/* Raccourci edition des contenus dans les listes pour administrateurs.
   Place le crayon sous la bordure de chaque carte, sans deplacer les CTA. */
.hub-tpl-shell .forba-admin-editable-card {
    position:relative;
    overflow:visible!important; /* Le crayon est sous la bordure, ne pas le couper */
    margin-bottom:31px;
}
/* Les visuels gardent leur propre découpe arrondie, sans masquer le crayon. */
.hub-tpl-shell .hub-docs__carte.forba-admin-editable-card > .hub-docs__visuel,
.hub-tpl-shell .hub-catalogue-campagnes__carte.forba-admin-editable-card > .hub-catalogue-campagnes__visuel {
    overflow:hidden;
}
.hub-tpl-shell .forba-content-admin-edit {
    position:absolute;
    bottom:-29px;
    right:3px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:27px;
    padding:3px;
    box-sizing:border-box;
    background:transparent;
    color:#d20b14!important;
    border:0;
    text-decoration:none!important;
    z-index:2;
}
.hub-tpl-shell .forba-content-admin-edit:hover,
.hub-tpl-shell .forba-content-admin-edit:focus-visible {
    color:#171717!important;
    background:#f1eeec;
}
.hub-tpl-shell .forba-content-admin-edit:focus-visible {
    outline:2px solid #d20b14;
    outline-offset:1px;
}
.hub-tpl-shell .forba-content-admin-edit svg {display:block;width:18px;height:18px}

/* Pack Lead : copie du lien Vimeo affichée sous la vignette vidéo. */
.hub-tpl-shell .hub-docs__copy-video {
    display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;
    gap:7px;max-width:100%;margin:10px 14px 0;padding:7px 10px;
    border:1px solid #d3cfcb;background:#fff;color:#171717;
    font-size:11px;font-weight:700;line-height:1.35;cursor:pointer;
}
.hub-tpl-shell .hub-docs__copy-video:hover,
.hub-tpl-shell .hub-docs__copy-video:focus-visible{border-color:#d20b14;color:#d20b14}
.hub-tpl-shell .hub-docs__copy-video:focus-visible{outline:2px solid #d20b14;outline-offset:2px}
.hub-tpl-shell .hub-docs__copy-video svg{display:block;flex:0 0 15px;width:15px;height:15px}

/* Mes campagnes : crayon admin de chaque BDC, sous la carte et hors du bord. */
.hub-tpl-shell .forba-compte__demande-wrapper {min-width:0}
.hub-tpl-shell .forba-compte__demande-admin-tools{
    display:flex;align-items:center;justify-content:flex-end;
    padding:4px 4px 0;min-height:30px;
}
.hub-tpl-shell .forba-compte__demande-admin-edit{
    display:inline-flex;align-items:center;justify-content:center;
    width:28px;height:28px;color:#d20b14!important;
    border:0;background:transparent;text-decoration:none!important;
}
.hub-tpl-shell .forba-compte__demande-admin-edit:hover,
.hub-tpl-shell .forba-compte__demande-admin-edit:focus-visible{
    background:#f3f0ed;color:#171717!important;
}
.hub-tpl-shell .forba-compte__demande-admin-edit:focus-visible{outline:2px solid #d20b14;outline-offset:2px}
.hub-tpl-shell .forba-compte__demande-admin-edit svg{display:block;width:18px;height:18px}

/* Documents pratiques : CTA noir, comme Brochures produits. */
.hub-tpl-shell .hub-docs--documents .hub-docs__telecharger,
.hub-tpl-shell .hub-docs--documents .hub-docs__telecharger:visited{background:#1e1e1e!important;border-color:#1e1e1e!important;color:#fff!important}
.hub-tpl-shell .hub-docs--documents .hub-docs__telecharger:hover,
.hub-tpl-shell .hub-docs--documents .hub-docs__telecharger:focus-visible{background:#d20b14!important;border-color:#d20b14!important}

/* Recette client : quatre lignes maximum, puis action déplier (cartes uniquement). */
.hub-tpl-shell .forba-excerpt-4,
.forba-mur .forba-excerpt-4 {
  display:-webkit-box!important;-webkit-line-clamp:4;line-clamp:4;
  -webkit-box-orient:vertical;overflow:hidden!important;
  max-height:none;min-width:0;
}
.hub-tpl-shell .forba-excerpt-4.is-expanded,
.forba-mur .forba-excerpt-4.is-expanded {
  display:block!important;overflow:visible!important;-webkit-line-clamp:unset;line-clamp:unset;
}
.hub-tpl-shell .forba-excerpt-toggle,
.forba-mur .forba-excerpt-toggle {
  display:inline-block;align-self:flex-start;margin:5px 0 10px;padding:2px 0;
  background:none;border:0;color:#d20b14;font-size:12px;font-weight:700;
  text-decoration:underline;cursor:pointer;
}
.hub-tpl-shell .forba-excerpt-toggle:hover,
.forba-mur .forba-excerpt-toggle:hover {color:#171717}

/* Campagne sans thématique : retirer les deux filets inutiles du parcours. */
.hub-tpl-shell .hub-catalogue-campagne-detail__demande--sans-themes{border-top:0!important}
.hub-tpl-shell .hub-catalogue-campagne-detail__demande--sans-themes .forba-campagnes__kit{border-top:0!important}

/* ==========================================================================
   LE HUB V2026 — Navigation mobile + tablette, <= 1024 px.
   Desktop conservé à l'identique. Les modules sont déplacés en DOM uniquement
   à cette largeur, avec remise à leur place originale dès 1025 px.
   ========================================================================== */
.hub-mobile-header,.hub-mobile-campaign,.hub-mobile-bottom,.hub-mobile-drawer,
.hub-mobile-backdrop {display:none}

@media (max-width:1024px) {
  body.hub-mobile-nav-open{overflow:hidden}
  .hub-tpl-shell{width:100%!important;max-width:100%!important;padding:12px 16px 30px!important}
  .hub-tpl-shell .hub-header__visuels{display:none!important}
  .hub-tpl-shell .hub-header__bandeau{margin:0 0 12px!important}
  .hub-tpl-shell .hub-tpl-grid--home,
  .hub-tpl-shell .hub-tpl-grid--interior{
    display:flex!important;flex-direction:column!important;gap:20px!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  .hub-tpl-shell .hub-tpl-center{width:100%!important;min-width:0!important;padding:0!important}
  .hub-tpl-shell[data-hub-mobile-ready="1"] .hub-tpl-side{display:none!important}
  .hub-tpl-shell[data-hub-mobile-ready="1"] .hub-tpl-grid--home > .hub-tpl-nav,
  .hub-tpl-shell[data-hub-mobile-ready="1"] .hub-tpl-grid--home > .hub-tpl-modules{display:none!important}
  .hub-tpl-shell .hub-mobile-header{
    display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px;
    align-items:center;gap:10px;width:100%;min-height:74px;
    padding:9px 10px;margin:0 0 12px;background:#fff;
  }
  .hub-mobile-burger,.hub-mobile-account{
    display:flex;align-items:center;justify-content:center;width:43px;height:43px;
    background:transparent;border:0;color:#151515;text-decoration:none;cursor:pointer
  }
  .hub-mobile-burger{font-size:29px;line-height:1}
  .hub-mobile-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#171717;text-decoration:none;min-width:0}
  .hub-mobile-brand img{display:block;max-width:100%;width:auto;max-height:54px;height:auto;object-fit:contain}
  .hub-mobile-brand strong{font-size:25px;line-height:1.1;letter-spacing:-.05em}
  .hub-mobile-brand strong span{color:#d20b14}
  .hub-mobile-brand small{font-size:10px}
  .hub-mobile-account svg{display:block}
  .hub-mobile-burger:focus-visible,.hub-mobile-account:focus-visible,.hub-mobile-brand:focus-visible,
  .hub-mobile-close:focus-visible{outline:2px solid #d20b14;outline-offset:3px}
  .hub-tpl-shell .hub-mobile-campaign{display:block;width:100%;min-width:0;margin:0 0 18px}
  .hub-tpl-shell .hub-mobile-campaign:empty{display:none}
  .hub-tpl-shell .hub-mobile-campaign #div_block-3-112{width:100%!important;max-width:100%!important}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes{
    display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;
    align-items:center;width:100%;padding:15px 16px
  }
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__entete-lien,
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__viewport{grid-column:1/-1}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__legendes{
    grid-column:1;grid-row:auto;min-width:0;margin:10px 0 0
  }
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__voir-tous{
    grid-column:2;grid-row:auto;margin:8px 0 0!important;padding:0!important;
    border:0!important;min-height:0!important;white-space:nowrap
  }
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__viewport{aspect-ratio:3/2!important}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__diapo picture,
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__image{
     display:block;width:100%;height:100%;object-fit:cover;object-position:center
  }
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__voir-tous{
     font-size:12px!important;justify-content:flex-end!important;gap:10px
  }
  .hub-tpl-shell .hub-mobile-bottom{display:flex!important;flex-direction:column;gap:20px;margin:24px 0 0;width:100%}
  .hub-tpl-shell .hub-mobile-bottom:empty{display:none!important}
  .hub-tpl-shell .hub-mobile-bottom > :is(#div_block-4-112,#div_block-5-112){
    display:flex!important;flex-direction:column!important;width:100%!important;
    max-width:100%!important;background:#fff!important
  }
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112{padding:16px!important}
  .hub-tpl-shell .hub-mobile-backdrop:not([hidden]){
    display:block;position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:99980
  }
  .hub-tpl-shell .hub-mobile-drawer:not([hidden]){
    display:block;position:fixed;left:0;top:0;bottom:0;z-index:99981;
    width:min(355px,88vw);max-width:100%;overflow-y:auto;
    background:#fff;padding:20px 15px max(25px,env(safe-area-inset-bottom));
    box-shadow:4px 0 24px rgba(0,0,0,.2)
  }
  .hub-mobile-close{display:block;margin:0 0 18px auto;padding:9px 13px;border:0;background:#f2f0ed;color:#171717;font-weight:700;cursor:pointer}
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-nav{display:block!important;position:static!important;top:auto!important;width:100%!important}
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-container{display:block!important;visibility:visible!important;width:100%!important;height:auto!important}
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-show-dropdown{display:none!important}
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list{
    display:flex!important;flex-direction:column!important;align-items:stretch!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list > li{width:100%!important}
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil{margin-bottom:15px}
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list > li > a{min-height:43px!important}
}
@media (max-width:620px) {
  .hub-tpl-shell{padding:10px 12px 25px!important}
  .hub-tpl-shell .hub-mobile-header{min-height:64px;grid-template-columns:42px minmax(0,1fr) 42px;padding:7px 6px}
  .hub-mobile-brand img{max-height:47px}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes{padding:14px 12px}
  .hub-tpl-shell .hub-mobile-bottom{gap:14px}
  .hub-tpl-shell .hub-docs__grille{grid-template-columns:minmax(0,1fr)!important}
}

/* Aucune carte blanche vide si les options du carrousel ou les événements sont absents. */
@media(max-width:1024px){
 .hub-tpl-shell .hub-mobile-campaign > #div_block-3-112:not(:has(.forba-carrousel-campagnes)),
 .hub-tpl-shell .hub-mobile-bottom > #div_block-4-112:not(:has(.forba-evenements-module)){display:none!important}
}

/* Recette mobile/tablette du 26/11 — ajustements validés sur captures.
   Desktop strictement non concerné ; logo administré directement dans WP. */
.forba-carrousel-campagnes__voir-tous-mobile{display:none}
@media(max-width:1024px){
  /* Le bandeau et la campagne deviennent un groupe plus compact. */
  .hub-tpl-shell .hub-header__bandeau{margin-bottom:0!important}
  .hub-tpl-shell .hub-mobile-campaign{margin-top:-2px!important;margin-bottom:8px!important}
  .hub-tpl-shell .hub-mobile-header{margin-bottom:6px!important}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes{padding-top:12px!important;padding-bottom:11px!important}
  /* Hauteur réduite légèrement par rapport au 3:2 initial, sans étirement. */
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__viewport{
     aspect-ratio:8/5!important
  }
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__voir-tous-desktop{display:none!important}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__voir-tous-mobile{display:inline!important}
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__voir-tous{
    display:flex!important;justify-content:flex-end!important;align-items:center!important
  }
  /* Le titre et son angle sont alignés sur le contenu des campagnes.
     Les cartes et formulaires gardent leur marge actuelle. */
  .hub-tpl-shell .hub-tpl-center .hub-tpl-home-title,
  .hub-tpl-shell .hub-tpl-center > .hub-docs__titre,
  .hub-tpl-shell .hub-tpl-center .forba-compte > .hub-docs__titre{
    margin-left:16px!important;margin-right:16px!important
  }
  .hub-tpl-shell .hub-tpl-center .hub-tpl-home-title::before,
  .hub-tpl-shell .hub-tpl-center .forba-compte > .hub-docs__titre::before{
    left:-7px!important
  }
  /* Bloc profil du burger : supprimer les filets Oxygen intermédiaires,
     puis recréer un séparateur complet entre nom et favoris. */
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil{
    overflow:hidden!important;background:#fff!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-compte-zone,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-favoris-zone{
    box-sizing:border-box!important;width:100%!important;
    margin:0!important;border:0!important;box-shadow:none!important;
    outline:0!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-compte-zone{
    border-bottom:1px solid #dedede!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-compte-zone::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-compte-zone::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-favoris-zone::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-favoris-zone::after{
    border:0!important;box-shadow:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-compte-zone a,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil .hub-nav-favoris-zone a{
    border:0!important;box-shadow:none!important
  }
  /* Accès rapides séparés de la navigation éditoriale. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcuts{
    display:flex;flex-direction:column;gap:0;margin-top:26px;padding-top:10px;
    border-top:1px solid #dedbd8
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut{
    display:flex;align-items:center;gap:12px;min-height:43px;
    padding:10px 13px;border-bottom:1px solid #eeeae7;
    text-decoration:none!important;color:#171717;font-size:14px;font-weight:500
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut:hover,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut:focus-visible{
    color:#d20b14;background:#fff0e9
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut-icon{
    display:inline-flex;justify-content:center;align-items:center;
    width:22px;flex:0 0 22px;color:#d20b14;font-size:21px;font-weight:700
  }
  /* Avec la barre d'administration WP, la fermeture reste accessible. */
  body.admin-bar .hub-tpl-shell .hub-mobile-drawer:not([hidden]){
    top:32px;bottom:0
  }
  .hub-tpl-shell .hub-mobile-drawer:not([hidden]){
    padding-top:12px!important
  }
  .hub-mobile-close{position:sticky!important;top:0;z-index:3;
    align-self:flex-end;margin-bottom:14px!important;background:#f2f0ed!important
  }
}
@media(max-width:782px){
  body.admin-bar .hub-tpl-shell .hub-mobile-drawer:not([hidden]){top:46px}
}

/* Correctif 26/11 : seul le cartouche blanc burger/logo/compte reste visible
   lors du scroll ; bandeau d'informations et campagnes défilent normalement.
   Le menu ouvert conserve sa priorité sur l'en-tête. */
@media (max-width:1024px) {
  .hub-tpl-shell .hub-mobile-header {
    position:sticky!important;
    top:0;
    z-index:99970;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
  }
  body.admin-bar .hub-tpl-shell .hub-mobile-header {
    top:32px;
  }
}
@media (max-width:782px) {
  body.admin-bar .hub-tpl-shell .hub-mobile-header {
    top:46px;
  }
}

/* LE HUB — recette mobile 26/11, navigation Oxygen et pied de page.
   Aucune modification du rendu desktop. */
@media(max-width:1024px){
  /* Reprise du menu principal dans un conteneur portant la portée CSS
     d'origine (hub-tpl-grid), sans créer une nouvelle grille. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage{
    display:block!important;width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;gap:0!important;
    grid-template-columns:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-tpl-nav,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-menu{
    display:block!important;visibility:visible!important;opacity:1!important;
    position:static!important;height:auto!important;min-height:0!important;
    width:100%!important;margin:0!important;transform:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-container,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list{
    display:flex!important;visibility:visible!important;opacity:1!important;
    position:static!important;width:100%!important;height:auto!important;
    max-height:none!important;transform:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-container,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list{
    flex-direction:column!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list>li{
    display:block!important;visibility:visible!important
  }
  /* Une croix sans libellé, accessible et visible avec ou sans admin bar. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-close{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:44px!important;height:44px!important;min-width:44px;
    padding:0!important;margin:0 0 12px auto!important;
    font-size:33px!important;line-height:1!important;font-weight:400!important;
    border:0!important;border-radius:0!important;color:#171717!important
  }
  /* Les trois liens secondaires sont maintenant une continuation
     de la liste principale, sans icônes ni énorme intervalle. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcuts{
    margin:12px 0 0!important;padding:10px 0 0!important;
    border-top:1px solid #dedbd8!important;gap:0!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut{
    min-height:44px!important;margin:0!important;
    padding:10px 14px!important;font-size:13px!important;font-weight:600!important;
    background:#fff!important;border-bottom:1px solid #eeeae7!important
  }
  /* Le repère rouge de tous les titres principaux suit la même indentation.
     Aucune modification de l'alignement des cartes et champs des formulaires. */
  .hub-tpl-shell .hub-tpl-center .hub-tpl-home-title,
  .hub-tpl-shell .hub-tpl-center .forba-compte > .hub-docs__titre,
  .hub-tpl-shell .hub-tpl-center .hub-docs > .hub-docs__titre,
  .hub-tpl-shell .hub-tpl-center .hub-faq > .hub-docs__titre,
  .hub-tpl-shell .hub-tpl-center .hub-favoris > .hub-docs__titre{
    margin-left:36px!important;margin-right:16px!important
  }
  .hub-tpl-shell .hub-tpl-center .hub-favori-titre--mes-favoris{
    width:calc(100% - 36px)!important;margin-left:36px!important
  }
  .hub-tpl-shell .hub-tpl-center .hub-tpl-home-title::before,
  .hub-tpl-shell .hub-tpl-center .hub-docs > .hub-docs__titre::before,
  .hub-tpl-shell .hub-tpl-center .hub-faq > .hub-docs__titre::before,
  .hub-tpl-shell .hub-tpl-center .forba-compte > .hub-docs__titre::before,
  .hub-tpl-shell .hub-tpl-center .hub-favoris > .hub-docs__titre::before,
  .hub-tpl-shell .hub-tpl-center .hub-favori-titre--mes-favoris .hub-docs__titre::before{
    left:-8px!important
  }
  /* Un seul bandeau blanc compact, proche du haut du site.
     La photo du grand en-tête desktop doit rester invisible. */
  .hub-tpl-shell{padding-top:4px!important}
  .hub-tpl-shell .hub-header__visuels,
  .hub-tpl-shell .hub-header__photo{display:none!important}
  .hub-tpl-shell .hub-mobile-header{margin-bottom:4px!important}
  /* Pied de page unifié : événements, liens utiles puis mentions
     légales/footer sont groupés dans un seul espace blanc. */
  .hub-tpl-shell .hub-mobile-bottom{
    gap:0!important;margin-top:22px!important;padding:6px 16px 12px!important;
    background:#fff!important;border-top:3px solid #d20b14
  }
  .hub-tpl-shell .hub-mobile-bottom > :is(#div_block-4-112,#div_block-5-112,
    .hub-footer-wrapper,.hub-footer-code,.hub-footer){
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:14px 0!important;
    background:transparent!important;box-shadow:none!important;
    border-bottom:1px solid #e8e4e1!important
  }
  .hub-tpl-shell .hub-mobile-bottom > :last-child{
    border-bottom:0!important
  }
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112{
    padding:14px 0!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer{
    margin:0!important;padding:4px 0 0!important;
    background:transparent!important;border-top:0!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu a{
    color:#171717!important;font-weight:500!important;font-size:12px!important
  }
}

/* ==========================================================================
   LE HUB V2026 — Recette mobile : alignement commun titres et footer
   26 novembre. Les règles sont volontairement limitées aux petits écrans.
   Un titre commence à 20px du bord de son bloc et son angle 20px à gauche.
   ========================================================================== */
@media (max-width:1024px) {
  /* Titres principaux : une seule géométrie pour Accueil, Pack Lead,
     Documents, Brochures, Partenaires, Favoris, Compte et FAQ. */
  .hub-tpl-shell .hub-tpl-center :is(
    .hub-tpl-home-title,
    .hub-docs > .hub-docs__titre,
    .forba-compte > .hub-docs__titre,
    .hub-faq > .hub-docs__titre,
    .hub-favoris > .hub-docs__titre
  ) {
    margin-left:20px!important;
    margin-right:16px!important;
    position:relative!important;
  }
  .hub-tpl-shell .hub-tpl-center :is(
    .hub-tpl-home-title,
    .hub-docs > .hub-docs__titre,
    .forba-compte > .hub-docs__titre,
    .hub-faq > .hub-docs__titre,
    .hub-favoris > .hub-docs__titre
  )::before {
    left:-20px!important;
    top:-5px!important;
  }
  /* Actualités (accueil Oxygen) : le pseudo-élément est porté par le
     titre lui-même, alors que les pages intérieures ont un retrait structurel.
     Aligner la distance angle / texte sur le modèle Pack Lead sans toucher
     aux cartes, aux marges de colonne, ni au titre des pages intérieures. */
  .hub-tpl-shell .hub-tpl-grid--home .hub-tpl-home-title {
    padding-left:16px!important;
  }
  .hub-tpl-shell .hub-tpl-grid--home .hub-tpl-home-title::before {
    left:-20px!important;
    top:21px!important;
  }
  /* Ancien réglage spécifique au Pack Lead qui provoquait un décalage. */
  .hub-tpl-shell .hub-tpl-grid--interior .hub-docs--lead > .hub-docs__titre{
    left:0!important;top:0!important
  }
  .hub-tpl-shell .hub-tpl-grid--interior .hub-docs--lead > .hub-docs__titre::before{
    left:-20px!important;top:-5px!important
  }
  /* Mes Favoris utilise un wrapper flex pour le cœur et le titre. */
  .hub-tpl-shell .hub-tpl-center .hub-favori-titre--mes-favoris {
    width:calc(100% - 20px)!important;
    margin-left:20px!important;
    margin-right:0!important;
  }
  .hub-tpl-shell .hub-tpl-center .hub-favori-titre--mes-favoris .hub-docs__titre::before {
    left:-20px!important;top:-5px!important
  }

  /* Footer : supprimer les anciens angles positionnés sur les cartouches.
     Ils ne tenaient pas compte du retrait des titres et se dédoublaient. */
  .hub-tpl-shell .hub-mobile-bottom #div_block-4-112::before,
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112::before {
    content:none!important;display:none!important
  }
  /* Les titres Événements et Liens utiles utilisent désormais exactement
     la même marge et un angle attaché au texte. */
  .hub-tpl-shell .hub-mobile-bottom #div_block-4-112
      .forba-evenements-module__entete-lien,
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112 #text_block-6-112 {
    position:relative!important;
    box-sizing:border-box!important;
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin-left:20px!important;
    margin-right:0!important;
    padding-left:0!important;
  }
  .hub-tpl-shell .hub-mobile-bottom #div_block-4-112
      .forba-evenements-module__entete-lien::before,
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112 #text_block-6-112::before {
    content:""!important;
    display:block!important;
    position:absolute!important;
    top:-5px!important;
    left:-20px!important;
    width:8px!important;
    height:8px!important;
    border:0!important;
    border-top:3px solid #d20b14!important;
    border-left:3px solid #d20b14!important;
    background:transparent!important;
    pointer-events:none!important;
  }
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112 #text_block-6-112 {
    margin-bottom:14px!important;
  }

  /* Les ressources externes adoptent des lignes de menu blanc régulières,
     comme Mentions légales / Contact / FAQ, plutôt que de grandes cartes grises. */
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu ul {
    margin:0!important;padding:0!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu li {
    margin:0!important;
    padding:0!important;
    border-bottom:1px solid #e8e4e1!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu li:last-child {
    border-bottom:0!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu a {
    box-sizing:border-box!important;
    min-height:52px!important;
    padding:10px 10px!important;
    margin:0!important;
    background:transparent!important;
    color:#171717!important;
    font-size:13px!important;
    font-weight:500!important;
    line-height:1.35!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu a:is(:hover,:focus-visible) {
    background:#fff0e9!important;color:#b90b16!important
  }

  /* Chaque ligne juridique possède la même hauteur et le même retrait. */
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu {
    margin:0!important;padding:0!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu > li {
    display:flex!important;
    align-items:center!important;
    min-height:52px!important;
    padding:0!important;
    margin:0!important;
    border-bottom:1px solid #e8e4e1!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu > li:last-child {
    border-bottom:0!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu a {
    display:flex!important;
    align-items:center!important;
    box-sizing:border-box!important;
    min-height:52px!important;
    width:100%!important;
    padding:10px 10px!important;
    margin:0!important;
    color:#171717!important;
    font-size:13px!important;
    font-weight:500!important;
    line-height:1.35!important
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu a:is(:hover,:focus-visible) {
    color:#b90b16!important;
    background:#fff0e9!important;
    text-decoration:none!important
  }
}

/* Recette mobile — position verticale des angles et lignes du footer.
   Ne change ni l'alignement horizontal validé ni les écrans desktop. */
@media (max-width:1024px) {
  /* Les titres intérieurs utilisent un repère attaché directement au h1.
     Actualités possède un wrapper Oxygen différent : sa règle est ci-dessus. */
  .hub-tpl-shell .hub-tpl-center :is(
    .hub-docs > .hub-docs__titre,
    .forba-compte > .hub-docs__titre,
    .hub-faq > .hub-docs__titre,
    .hub-favoris > .hub-docs__titre
  )::before,
  .hub-tpl-shell .hub-tpl-center .hub-favori-titre--mes-favoris .hub-docs__titre::before,
  .hub-tpl-shell .hub-tpl-grid--interior .hub-docs--lead > .hub-docs__titre::before,
  .hub-tpl-shell .hub-mobile-bottom #div_block-4-112 .forba-evenements-module__entete-lien::before,
  .hub-tpl-shell .hub-mobile-bottom #div_block-5-112 #text_block-6-112::before {
    top:5px!important;
  }

  /* Un même rythme vertical pour les liens utiles et les pages de service.
     Neutralise hauteur / marges héritées des containers Oxygen. */
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu,
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu ul,
  .hub-tpl-shell .hub-mobile-bottom .hub-footer,
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu {
    gap:0!important;
    row-gap:0!important;
    margin-top:0!important;
    margin-bottom:0!important;
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu li,
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu > li {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:stretch!important;
    flex:0 0 auto!important;
    height:auto!important;
    min-height:60px!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border-bottom:1px solid #e8e4e1!important;
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu a,
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu a {
    display:flex!important;
    align-items:center!important;
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    min-height:59px!important;
    max-height:none!important;
    margin:0!important;
    padding:9px 10px!important;
    line-height:1.35!important;
    background:transparent!important;
  }
  .hub-tpl-shell .hub-mobile-bottom .hub-footer__menu > li:last-child,
  .hub-tpl-shell .hub-mobile-bottom .hub-liens-utiles-menu li:last-child {
    border-bottom:0!important;
  }
  /* Eviter un double espace vide entre Liens utiles et le footer juridique. */
  .hub-tpl-shell .hub-mobile-bottom > :is(.hub-footer-wrapper,.hub-footer-code,.hub-footer) {
    padding-top:0!important;
    padding-bottom:0!important;
  }
}

/* ==========================================================================
   LE HUB V2026 — navigation mobile / footer événementiel (recette 27/11)
   Le menu Oxygen, les modules et leurs données sont conservés ; seul leur
   emplacement mobile est modifié. Pas de sidebar figée sur desktop.
   ========================================================================== */

/* Sur desktop, seul le bandeau d'information peut rester en haut. */
@media (min-width:1025px) {
  .hub-tpl-shell .hub-header__bandeau {
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
  }
}

@media (max-width:1024px) {
  /* Uniquement le petit header (burger/logo/compte) reste sticky. */
  .hub-tpl-shell .hub-mobile-header {z-index:99970!important}
  /* Croix alignée à droite du profil, sans rangée de fermeture vide. */
  .hub-tpl-shell .hub-mobile-drawer:not([hidden]) {
    padding:7px 14px max(24px,env(safe-area-inset-bottom))!important;
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-close {
    position:absolute!important;
    top:7px!important;right:12px!important;
    z-index:5!important;
    width:40px!important;height:40px!important;
    margin:0!important;
    background:transparent!important;
    font-size:33px!important;
    cursor:pointer
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-compte-zone {
    padding-right:45px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil {margin-bottom:9px!important}
  /* Navigation principale plus lisible et plus dense, sans cacher les icônes. */
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list {
    gap:4px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list > li > a {
    min-height:40px!important;
    padding:9px 12px!important;
    font-size:13px!important;
    line-height:1.3!important
  }
  /* Les liens utiles sont déplacés dans le burger après la navigation WP. */
  .hub-tpl-shell .hub-mobile-drawer #div_block-5-112 {
    display:block!important;
    position:static!important;
    box-sizing:border-box!important;
    width:100%!important;max-width:100%!important;
    margin:12px 0 0!important;padding:10px 0 0!important;
    border-top:1px solid #dedbd8!important;
    background:#fff!important;
    box-shadow:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer #text_block-6-112 {
    margin:0 0 8px 20px!important;
    width:calc(100% - 20px)!important;
    font-size:13px!important;
    font-weight:700!important
  }
  .hub-tpl-shell .hub-mobile-drawer #text_block-6-112::before {
    left:-20px!important;top:3px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu ul {
    display:flex!important;flex-direction:column!important;
    gap:0!important;margin:0!important;padding:0!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu li {
    margin:0!important;padding:0!important;
    border-bottom:1px solid #eeeae7!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu a {
    display:flex!important;align-items:center!important;
    min-height:38px!important;
    padding:7px 12px!important;
    background:transparent!important;
    font-size:12px!important;font-weight:500!important;
    color:#171717!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu a::after {
    display:none!important;content:none!important
  }
  /* Trois liens de service sur une rangée, avec séparateurs bullet.
     Ils peuvent revenir à la ligne sur les écrans étroits. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcuts {
    display:flex!important;flex-flow:row wrap!important;
    align-items:center!important;justify-content:flex-start!important;
    gap:0 3px!important;
    margin:12px 0 0!important;
    padding:11px 0 0!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut {
    display:inline-flex!important;
    flex:0 0 auto!important;
    min-height:30px!important;
    padding:5px 5px!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:500!important;
    white-space:nowrap!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcut + .hub-mobile-shortcut::before {
    content:"•"!important;
    display:inline-block!important;
    margin-right:7px!important;
    color:#d20b14!important
  }
  /* Ancien pied de page mobile supprimé : il ne doit plus doubler
     les liens présents dans le burger et le bandeau événements. */
  .hub-tpl-shell[data-hub-mobile-ready="1"] .hub-mobile-bottom {
    display:none!important
  }
  /* Page Campagnes : aucun carrousel redondant au-dessus de la liste. */
  body.hub-mobile-campaign-page .hub-tpl-shell .hub-mobile-campaign,
  body.hub-mobile-campaign-page .hub-tpl-shell #div_block-3-112 {
    display:none!important
  }
  /* Visuel adapté au mobile, moins haut (source <picture> ACF si définie). */
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__viewport {
    /* 1/3 de hauteur en moins par rapport au 2:1 précédent */
    aspect-ratio:3/1!important;
    max-height:180px!important;
  }
  .hub-tpl-shell .hub-mobile-campaign .forba-carrousel-campagnes__image {
    object-fit:cover!important
  }
  /* Garder de l'espace pour le bandeau événementiel fixe. */
  body.hub-mobile-has-events {padding-bottom:125px!important}
}

/* Bandeau autonome : hors de .hub-tpl-shell, fixé au viewport et placé
   derrière le menu burger (z-index 99980) mais devant le contenu. */
.hub-mobile-events-bar {display:none}
@media(max-width:1024px) {
  body.hub-mobile-has-events .hub-mobile-events-bar {
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    position:fixed!important;
    z-index:99960!important;
    left:0;right:0;bottom:0;
    box-sizing:border-box;
    min-height:104px;
    padding:8px 14px max(9px,env(safe-area-inset-bottom));
    background:#fff;
    border-top:3px solid #d20b14;
    box-shadow:0 -4px 20px rgba(0,0,0,.1);
    color:#171717
  }
  .hub-mobile-events-bar__heading {
    font-size:11px;font-weight:700;line-height:1.2;
    color:#d20b14
  }
  .hub-mobile-events-bar__row {
    display:grid;
    grid-template-columns:28px minmax(0,1fr) 28px;
    align-items:center;
    gap:6px;min-height:42px
  }
  .hub-mobile-events-bar__row button {
    width:28px;height:36px;
    padding:0;border:0;background:transparent;
    color:#171717;font-size:30px;line-height:1;
    cursor:pointer
  }
  .hub-mobile-events-bar__row button[hidden] {visibility:hidden!important}
  .hub-mobile-events-bar__entry {min-width:0}
  .hub-mobile-events-bar__link {
    display:flex;align-items:center;gap:9px;
    min-width:0;color:#171717;text-decoration:none;
    font-size:12px;line-height:1.3
  }
  .hub-mobile-events-bar__link:hover,
  .hub-mobile-events-bar__link:focus-visible {color:#d20b14}
  .hub-mobile-events-bar__date {
    flex:0 0 auto;
    color:#d20b14;font-size:11px;font-weight:700;
    text-transform:uppercase
  }
  .hub-mobile-events-bar__title {
    display:-webkit-box;
    min-width:0;
    -webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;
    font-size:12px;font-weight:600
  }
  .hub-mobile-events-bar__all {
    display:block;
    align-self:center;
    padding:3px 6px;
    font-size:11px;font-weight:600;
    color:#171717;text-decoration:underline;
    text-underline-offset:2px
  }
  .hub-mobile-events-bar__all:hover,
  .hub-mobile-events-bar__all:focus-visible {color:#d20b14}
}

/* Recette mobile 27/11 — même cartouche FORBA événements qu'en desktop.
   Corrections ciblées du bandeau fixe et du tiroir de navigation. */
@media (max-width:1024px) {
  /* Le bandeau contient le vrai module FORBA déplacé par JS :
     calendrier, cœur Favoris, libellé, date et liens restent interactifs. */
  body.hub-mobile-has-events .hub-mobile-events-bar {
    gap:2px!important;
    min-height:0!important;
    padding:7px 9px max(7px,env(safe-area-inset-bottom))!important;
  }
  .hub-mobile-events-bar__row {
    display:grid!important;
    grid-template-columns:27px minmax(0,1fr) 27px!important;
    gap:4px!important;
    align-items:center!important;
    min-height:0!important;
  }
  .hub-mobile-events-bar__content {min-width:0;width:100%}
  .hub-mobile-events-bar__content .forba-evenements-module {
    width:100%!important;
    margin:0!important;
    padding:3px 1px!important;
    background:transparent!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__en-tete {
    margin:0 0 7px!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__entete-lien {
    position:relative!important;
    padding-left:9px!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__entete-lien::before {
    content:""!important;
    position:absolute!important;
    left:0!important;top:2px!important;
    width:8px!important;height:8px!important;
    border:0!important;
    border-top:3px solid #d20b14!important;
    border-left:3px solid #d20b14!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__titre {
    font-size:13px!important;font-weight:700!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__liste {
    display:flex!important;
    min-width:0;
    gap:0!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__item {
    display:flex!important;
    width:100%!important;min-width:0!important;
    align-items:center!important;gap:8px!important;
    margin:0!important;padding:0!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__item[hidden] {
    display:none!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__icone {
    flex:0 0 34px!important;
    min-height:38px!important;
    border:1px solid #c8c4c0!important;
    background:#fff!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__contenu {
    min-width:0;max-width:100%!important
  }
  .hub-mobile-events-bar__content .hub-favori-titre--aside {
    display:flex!important;align-items:center!important;
    min-width:0!important;gap:5px!important
  }
  .hub-mobile-events-bar__content .hub-favori-titre--aside .forba-favoris__button {
    display:inline-flex!important;
    flex:0 0 17px!important;width:17px!important;
    margin:0!important;padding:0!important
  }
  .hub-mobile-events-bar__content .hub-favori-titre--aside .forba-evenements-module__lien {
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    font-size:12px!important;
    font-weight:700!important;
    color:#171717!important;
    white-space:normal!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__date {
    display:block!important;
    font-size:10px!important;color:#7a7571!important
  }
  .hub-mobile-events-bar__content .forba-evenements-module__voir-tous {
    display:none!important
  }
  .hub-mobile-events-bar__row > button {
    display:flex!important;
    align-items:center!important;justify-content:center!important;
    width:27px!important;height:44px!important;
    color:#b90b16!important;
    font-size:30px!important;
    border:0!important;background:transparent!important;
    padding:0!important
  }
  .hub-mobile-events-bar__row > button[hidden] {
    visibility:hidden!important
  }
  .hub-mobile-events-bar__all {
    margin:1px 0 0!important;padding:2px!important;
    align-self:center!important;
    font-size:11px!important
  }
  body.hub-mobile-has-events {padding-bottom:135px!important}

  /* Burger : supprimer le coin décoratif Oxygen qui se retrouvait hors
     contexte après déplacement, sans retirer les pictogrammes de chaque lien. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-nav::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-nav::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil::after {
    content:none!important;display:none!important
  }
  /* Même alignement à gauche pour le compte, favoris, navigation et liens. */
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-grid .hub-tpl-nav .hub-nav-profil
      :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) {
    justify-content:flex-start!important;text-align:left!important;
    padding-left:10px!important;padding-right:44px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-grid .hub-tpl-nav
      :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) a {
    display:flex!important;
    align-items:center!important;justify-content:flex-start!important;
    width:100%!important;
    margin:0!important;
    text-align:left!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list {
    padding-left:0!important;margin-left:0!important;
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-menu .oxy-pro-menu-list > li > a {
    justify-content:flex-start!important;
    padding:8px 10px!important;
    font-size:14px!important;
    min-height:40px!important
  }
  .hub-tpl-shell .hub-mobile-drawer #text_block-6-112 {
    margin-left:10px!important;width:calc(100% - 10px)!important
  }
  .hub-tpl-shell .hub-mobile-drawer #text_block-6-112::before {
    content:none!important;display:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu a {
    padding:7px 10px!important
  }
  /* Une seule séparation par section : ni filet entre chaque lien utile,
     ni superposition au filet de la rangée juridique. */
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu li,
  .hub-tpl-shell .hub-mobile-drawer .hub-liens-utiles-menu li:last-child {
    border:0!important;border-bottom:0!important;
    box-shadow:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer #div_block-5-112 {
    border-bottom:0!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-shortcuts {
    border-top:1px solid #dedbd8!important;
    margin-top:10px!important;
    padding-top:8px!important
  }
}

/* ==========================================================================
   LE HUB responsive — correction structurelle menu / événements 27 novembre.
   Des règles Oxygen imposaient encore centrage et retraits sur le menu déplacé.
   Portée limitée au tiroir mobile, aucun effet sur la navigation desktop.
   ========================================================================== */
#hub-mobile-events-source[hidden] {display:none!important}
@media(max-width:1024px) {
  /* Le bloc principal du menu prend toute la largeur disponible. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-tpl-nav,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-menu,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-container,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-left:0!important;
    padding-right:0!important;
    margin-left:0!important;
    margin-right:0!important;
    left:auto!important;
    transform:none!important;
    text-align:left!important;
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list > li,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list > li > a {
    box-sizing:border-box!important;
    width:100%!important;
    margin:0!important;
    margin-left:0!important;
    padding-left:0!important;
    left:auto!important;
    transform:none!important;
    text-align:left!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .oxy-pro-menu-list > li > a {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    padding:8px 10px!important;
    min-height:39px!important;
    font-size:14px!important;
    font-weight:600!important;
  }

  /* Compte et Favoris: même retrait que les autres entrées.
     Ne pas centrer nom + pictogramme ou forcer un retour à la ligne. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil {
    box-sizing:border-box!important;
    width:100%!important;
    margin:0 0 12px!important;
    padding:0!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
    :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:9px 48px 9px 10px!important;
    text-align:left!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
    .hub-nav-favoris-zone {
    padding-right:10px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
    :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) > * {
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    text-align:left!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
    :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) a {
    display:inline-flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    text-align:left!important;
    font-size:13px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
    .hub-nav-compte-zone a :is(span,.ct-text-block,.oxy-rich-text),
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
    .hub-nav-compte-zone :is(span,.ct-text-block,.oxy-rich-text) {
    white-space:nowrap!important;
    width:auto!important;
    max-width:none!important;
    text-align:left!important
  }

  /* Supprimer uniquement les décorations de conteneur qui produisent
     l'angle rouge parasite : ne pas toucher au ::before du cœur Favoris
     ni au mégaphone des entrées du menu. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-nav::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-tpl-nav::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-profil::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-compte-zone::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-compte-zone::after,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-favoris-zone::before,
  .hub-tpl-shell .hub-mobile-drawer .hub-nav-favoris-zone::after {
    content:none!important;
    display:none!important;
    border:0!important
  }
  /* Ne jamais masquer le vrai module événementiel inséré dans la barre,
     même lorsque la colonne latérale Oxygen est cachée. */
  body.hub-mobile-has-events .hub-mobile-events-bar {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important
  }
}

/* LE HUB V2026 — correctif structurel 27/11 : bandeau natif PHP et menu
   mobile autonome. Règles exclusivement <=1024px, desktop intact. */
@media(max-width:1024px) {
  /* La source WordPress contient déjà le module complet et doit être
     visible même si le script de pagination échoue à s'initialiser. */
  body .hub-mobile-events-bar {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex-direction:column!important;
    position:fixed!important;
    z-index:99960!important;
    left:0!important;right:0!important;bottom:0!important;
    min-height:105px;
    padding:7px 9px max(8px,env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:3px solid #d20b14!important;
    box-shadow:0 -3px 15px rgba(0,0,0,.1)!important
  }
  body:has(.hub-mobile-events-bar) {
    padding-bottom:140px!important
  }
  /* Plus de navigation Oxygen imbriquée dans le tiroir : seule la zone
     compte/favoris est conservée, la liste est générée séparément en JS. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-menu {
    display:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-main-nav {
    display:block!important;
    position:relative!important;
    top:auto!important;
    left:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:4px 0 10px!important;
    padding:0!important;
    gap:0!important;
    transform:none!important;
    background:transparent!important;
    box-shadow:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-main-nav .hub-nav-menu,
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-main-nav .oxy-pro-menu-list {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    position:static!important;
    transform:none!important;
    margin:0!important;
    padding:0!important;
    gap:2px!important;
    list-style:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-main-nav .oxy-pro-menu-list > li {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    position:static!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    text-align:left!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-main-nav .oxy-pro-menu-list > li > a {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:11px!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:8px 10px!important;
    min-height:40px!important;
    transform:none!important;
    text-align:left!important;
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:600!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-main-nav .oxy-pro-menu-list > li > a :is(svg,i,.ct-fancy-icon,.oxy-el-icon) {
    flex:0 0 17px!important;
    max-width:17px!important;
    margin:0!important;
    align-self:center!important
  }
  /* Largeur identique et retrait régulier pour le bloc utilisateur. */
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil {
    margin:0 0 8px!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil
  :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) {
    padding-left:10px!important;
    justify-content:flex-start!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-nav-stage .hub-nav-profil a {
    white-space:nowrap!important;
    text-align:left!important
  }
  /* Masquage local du coin résiduel provenant du cartouche Oxygen, en
     dehors de la zone des liens cliquables. */
  .hub-tpl-shell .hub-mobile-drawer::after {
    content:""!important;
    position:absolute!important;
    left:0!important;top:0!important;
    width:13px!important;height:57px!important;
    background:#fff!important;
    z-index:4!important;
    pointer-events:none!important
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-close {
    z-index:6!important
  }
}

/* Recette mobile : bandeau événements resserré, 27/11.
   Conserver intégralement les éléments du module FORBA desktop. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar,
  body.hub-mobile-has-events .hub-mobile-events-bar {
    gap:0!important;
    min-height:0!important;
    padding:3px 8px max(3px,env(safe-area-inset-bottom))!important;
    border-top-width:2px!important;
  }
  body:has(.hub-mobile-events-bar),
  body.hub-mobile-has-events {
    padding-bottom:105px!important;
  }
  .hub-mobile-events-bar__row {
    grid-template-columns:24px minmax(0,1fr) 24px!important;
    align-items:center!important;
    gap:3px!important;
    min-height:0!important;
  }
  .hub-mobile-events-bar__row > button {
    width:24px!important;
    height:40px!important;
    padding:0!important;
    font-size:27px!important;
    color:#b90b16!important;
    flex:0 0 24px!important;
  }
  /* Ne pas faire disparaître les deux colonnes de navigation de la grille :
     sinon la fiche est calculée dans une colonne de 24px. */
  .hub-mobile-events-bar__row > button[hidden] {
    display:flex!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module {
    margin:0!important;
    padding:2px 0!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__en-tete {
    margin:0 0 2px!important;
    padding:0!important;
    min-height:0!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__entete-lien {
    min-height:0!important;
    line-height:1.15!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__titre {
    line-height:1.15!important;
    font-size:12px!important;
    margin:0!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__liste {
    gap:0!important;
    padding:0!important;
    margin:0!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__item {
    padding:0!important;
    margin:0!important;
    gap:6px!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__icone {
    flex-basis:31px!important;
    min-height:35px!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__contenu {
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
  }
  .hub-mobile-events-bar__content .hub-favori-titre--aside {
    margin:0!important;
    padding:0!important;
    gap:4px!important;
    line-height:1.15!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__lien {
    margin:0!important;
    padding:0!important;
    line-height:1.15!important;
  }
  .hub-mobile-events-bar__content .forba-evenements-module__date {
    margin:1px 0 0!important;
    padding:0!important;
    line-height:1.1!important;
  }
  .hub-mobile-events-bar__all {
    margin:0!important;
    padding:0!important;
    line-height:1.15!important;
    font-size:10px!important;
  }
}

/* Logo en haut du menu burger : identique au logo courant de l'en-tête.
   La croix reste à droite de cette ligne, sans recouvrir le logo. */
@media (max-width:1024px) {
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-drawer-brand {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    box-sizing:border-box!important;
    width:calc(100% - 50px)!important;
    max-width:calc(100% - 50px)!important;
    min-height:46px!important;
    margin:0 0 7px!important;
    padding:3px 0 3px 10px!important;
    color:#171717!important;
    text-decoration:none!important;
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-drawer-brand img {
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-height:43px!important;
    max-width:165px!important;
    object-fit:contain!important;
  }
  .hub-tpl-shell .hub-mobile-drawer .hub-mobile-close {
    top:8px!important;
    right:12px!important;
    z-index:7!important;
  }
}

/* PR mobile : positionnement explicite des 3 cellules du bandeau.
   L'absence de flèches ne peut plus rétrécir la fiche événementielle. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar .hub-mobile-events-bar__row {
    display:grid!important;
    width:100%!important;
    min-width:0!important;
    grid-template-columns:26px minmax(0,1fr) 26px!important;
    align-items:center!important;
    column-gap:5px!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__prev {
    grid-column:1!important;
    grid-row:1!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__content {
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__next {
    grid-column:3!important;
    grid-row:1!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__row > button[hidden] {
    display:flex!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  /* Une seule fiche : aucune place perdue pour des boutons inutiles. */
  body .hub-mobile-events-bar[data-event-count="1"] .hub-mobile-events-bar__row {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body .hub-mobile-events-bar[data-event-count="1"] .hub-mobile-events-bar__content {
    grid-column:1!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__liste {
    touch-action:pan-y!important;
    user-select:none;
    -webkit-user-select:none;
  }
  body .hub-mobile-events-bar .forba-evenements-module__item[hidden] {
    display:none!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__en-tete {
    margin-bottom:3px!important;
  }
}

/* Recette mobile 28/11 — calage interne du bandeau événements.
   On conserve l'angle du titre porté par l'en-tête et le lien « Voir tous ».
   Le second repère rouge provient du ::before natif du h3 FORBA. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar .forba-evenements-module__titre::before {
    content:none!important;
    display:none!important;
    border:0!important;
  }
  /* Un seul angle à gauche du titre, inchangé. */
  body .hub-mobile-events-bar .forba-evenements-module__entete-lien::before {
    display:block!important;
  }
  /* Centrage du groupe calendrier / coeur / titre / date dans l'espace
     disponible, sans centrer individuellement son texte. */
  body .hub-mobile-events-bar .forba-evenements-module__liste {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__item:not([hidden]) {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 1 auto!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 auto!important;
    gap:7px!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__icone {
    flex:0 0 32px!important;
    align-self:center!important;
    margin:0!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__contenu {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:0!important;
    flex:0 1 auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body .hub-mobile-events-bar .hub-favori-titre--aside {
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    margin:0!important;
    padding:0!important;
    line-height:1.15!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__lien {
    margin:0!important;
    padding:0!important;
    line-height:1.15!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__date {
    display:block!important;
    margin:0!important;
    padding:0!important;
    line-height:1.12!important;
  }
}

/* LE HUB — finition mobile événementiel 28/11 :
   titre légèrement abaissé, date sous le titre (après le cœur),
   accès Voir tout en haut à droite. Pas d'effet desktop. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar {
    position:fixed!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__entete-lien {
    padding-top:3px!important;
    padding-right:77px!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__entete-lien::before {
    top:2px!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__date {
    box-sizing:border-box!important;
    padding-left:21px!important;
    margin-top:0!important;
    line-height:1.1!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__all {
    position:absolute!important;
    top:5px!important;
    right:12px!important;
    left:auto!important;
    align-self:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    margin:0!important;
    padding:3px 0!important;
    line-height:1.2!important;
    font-size:11px!important;
    font-weight:700!important;
    white-space:nowrap!important;
    color:#9f1419!important;
    text-decoration:none!important;
    z-index:2!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__all:hover,
  body .hub-mobile-events-bar .hub-mobile-events-bar__all:focus-visible {
    color:#e2482a!important;
    text-decoration:underline!important;
  }
}

/* Recette 28/11 : footer événements lorsque le carrousel contient 1 à 3 fiches.
   Le titre est ancré au bandeau, hors du flux de la grille des flèches. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar {
    padding-bottom:max(8px,env(safe-area-inset-bottom))!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__en-tete {
    position:absolute!important;
    top:4px!important;
    left:11px!important;
    right:82px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    z-index:1!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__entete-lien {
    width:100%!important;
    margin:0!important;
    padding:3px 0 0 0!important;
    min-height:0!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__all {
    top:5px!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__row {
    width:100%!important;
    max-width:315px!important;
    margin:16px auto 0!important;
    grid-template-columns:25px minmax(0,1fr) 25px!important;
    gap:3px!important;
    align-items:center!important;
  }
  body .hub-mobile-events-bar[data-event-count="1"] .hub-mobile-events-bar__row {
    grid-template-columns:minmax(0,1fr)!important;
  }
  body .hub-mobile-events-bar .hub-mobile-events-bar__row > button {
    align-self:center!important;
    transform:translateY(4px)!important;
    width:25px!important;
    height:35px!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__date {
    margin:-2px 0 0!important;
    padding-left:24px!important;
    line-height:1.12!important;
  }
}

/* Bandeau événements — finition ciblée du 28/11.
   L'angle rouge est à gauche du titre, sans le chevaucher.
   Suppression du filet de la fiche et recentrage vertical du carrousel. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar .forba-evenements-module__entete-lien {
    position:relative!important;
    box-sizing:border-box!important;
    padding:3px 0 0 14px!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__entete-lien::before {
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    top:2px!important;
    width:7px!important;
    height:7px!important;
    border-top:3px solid #d20b14!important;
    border-left:3px solid #d20b14!important;
    border-right:0!important;
    border-bottom:0!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__liste {
    box-sizing:border-box!important;
    position:relative!important;
    top:5px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__item,
  body .hub-mobile-events-bar .forba-evenements-module__contenu,
  body .hub-mobile-events-bar .forba-evenements-module__date {
    border:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module__item::after,
  body .hub-mobile-events-bar .forba-evenements-module__contenu::after,
  body .hub-mobile-events-bar .forba-evenements-module__date::after {
    content:none!important;
    display:none!important;
  }
  body .hub-mobile-events-bar .forba-evenements-module {
    padding-bottom:0!important;
  }
  body .hub-mobile-events-bar,
  body.hub-mobile-has-events .hub-mobile-events-bar {
    padding-bottom:max(7px,env(safe-area-inset-bottom))!important;
  }
  body:has(.hub-mobile-events-bar),
  body.hub-mobile-has-events {
    padding-bottom:112px!important;
  }
}

/* LE HUB — finitions mobiles rubriques / campagne, 28 novembre 2026.
   Le bandeau fixe Événements est volontairement hors périmètre. */
@media (max-width:1024px) {
  /* Écarter le carrousel de la liste Campagnes ET des fiches de commande.
     Le sélecteur de classe WP protège le rendu même avant le JS. */
  body.single-campagne .hub-tpl-shell :is(.hub-mobile-campaign,#div_block-3-112) {
    display:none!important;
  }
  /* Une seule géométrie pour les titres à angle rouge, sous Oxygen :
     repère en haut à gauche, libellé légèrement abaissé de 5px. */
  body .hub-tpl-shell .hub-tpl-grid--home .hub-tpl-center .hub-tpl-home-title {
    position:relative!important;
    margin-left:20px!important;
    padding:5px 0 0!important;
  }
  body .hub-tpl-shell .hub-tpl-grid--home .hub-tpl-center .hub-tpl-home-title::before {
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:-20px!important;
    top:0!important;
    width:8px!important;
    height:8px!important;
    border-top:3px solid #d20b14!important;
    border-left:3px solid #d20b14!important;
    border-right:0!important;
    border-bottom:0!important;
    background:transparent!important;
  }
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-docs > .hub-docs__titre,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .forba-compte > .hub-docs__titre,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-faq > .hub-docs__titre,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-favoris > .hub-docs__titre,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-campagne-detail__entete > .hub-docs__titre {
    position:relative!important;
    padding-top:5px!important;
  }
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-docs > .hub-docs__titre::before,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .forba-compte > .hub-docs__titre::before,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-faq > .hub-docs__titre::before,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-favoris > .hub-docs__titre::before,
  body .hub-tpl-shell .hub-tpl-grid--interior .hub-tpl-center .hub-campagne-detail__entete > .hub-docs__titre::before {
    top:0!important;
  }
  /* Nom de la campagne sur une nouvelle ligne, sans modifier le desktop. */
  body.single-campagne .hub-campagne-detail__commander-prefix,
  body.single-campagne .hub-campagne-detail__commander-nom {
    display:block!important;
  }
}

/* Actualités : titre Oxygen réellement présent sur la homepage (#headline-7-181).
   Corrige directement l'élément constaté dans le DOM utilisateur ; pas de
   déplacement de H1 ni de dépendance aux wrappers .hub-tpl-center. */
.hub-tpl-shell #headline-7-181 > .hub-actualites-corner {display:none}
@media (max-width:1024px) {
  body .hub-tpl-shell #headline-7-181 {
    position:relative!important;
    display:block!important;
    overflow:visible!important;
    margin-left:11px!important;
    margin-top:10px!important;
    padding:5px 0 0!important;
    font-size:20px!important;
    font-weight:700!important;
    line-height:1.25!important;
  }
  body .hub-tpl-shell #headline-7-181::before {
    content:none!important;
    display:none!important;
  }
  body .hub-tpl-shell #headline-7-181 > .hub-actualites-corner {
    display:block!important;
    position:absolute!important;
    /* Reproduit exactement l'angle natif .hub-docs__titre::before
       des pages intérieures : 8 × 8 px et trait de 3 px. */
    box-sizing:border-box!important;
    width:8px!important;
    height:8px!important;
    left:-20px!important;
    top:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-top:3px solid #d20b14!important;
    border-left:3px solid #d20b14!important;
    background:transparent!important;
    pointer-events:none!important;
  }
}

/* ==========================================================================
   LE HUB V2026 — desktop au défilement : en-tête compact + bandeau fixe.
   Même burger/logo/compte que la version mobile, menu principal Oxygen
   conservé en place. Les colonnes latérales continuent à défiler.
   ========================================================================== */
@media (min-width:1025px) {
  /* Le bandeau original défile normalement ; seule sa copie devient fixe.
     Cela évite qu'un sticky soit limité par un parent Oxygen. */
  body .hub-tpl-shell .hub-header__bandeau:not(.hub-desktop-fixed-bandeau) {
    position:static!important;
    top:auto!important;
  }
  body .hub-tpl-shell .hub-mobile-header {
    display:none!important;
  }
  body .hub-tpl-shell .hub-desktop-fixed-bandeau {
    display:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-header {
    display:grid!important;
    position:fixed!important;
    top:0!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
    width:min(calc(100vw - 56px),1044px)!important;
    max-width:1044px!important;
    height:62px!important;
    min-height:62px!important;
    margin:0!important;
    padding:6px 16px!important;
    grid-template-columns:52px minmax(0,1fr) 52px!important;
    align-items:center!important;
    gap:12px!important;
    background:#fff!important;
    box-shadow:none!important;
    z-index:99972!important;
  }
  body.admin-bar.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-header {
    top:32px!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-brand {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    height:100%!important;
    min-width:0!important;
    text-decoration:none!important;
    color:#171717!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-brand img {
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:200px!important;
    max-height:52px!important;
    object-fit:contain!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-brand strong {
    font-size:25px!important;
    line-height:1!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-brand strong span {
    color:#d20b14!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-brand small {
    font-size:10px!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-burger,
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-account {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#171717!important;
    text-decoration:none!important;
    cursor:pointer!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-burger {
    font-size:29px!important;
    line-height:1!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-account svg {
    display:block!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell :is(
    .hub-mobile-burger,.hub-mobile-account,.hub-mobile-brand,.hub-mobile-close
  ):focus-visible {
    outline:2px solid #d20b14!important;
    outline-offset:2px!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-fixed-bandeau {
    display:block!important;
    position:fixed!important;
    top:62px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
    width:min(calc(100vw - 56px),1044px)!important;
    max-width:1044px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    z-index:99971!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  /* La marge basse native de 26px n'a pas lieu d'être dans la copie fixe. */
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-fixed-bandeau .forba-bandeau-informations {
    margin:0!important;
  }
  /* Une seule ombre autour des deux rangées, sans ombre à leur jonction.
     La rangée blanche mesure 62px, y compris avec la barre admin. */
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-fixed-bandeau::after {
    content:""!important;
    position:absolute!important;
    inset:-62px 0 0!important;
    box-shadow:0 6px 16px rgba(0,0,0,.18)!important;
    pointer-events:none!important;
    z-index:-1!important;
  }
  body.admin-bar.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-fixed-bandeau {
    top:94px!important;
  }
  body.hub-desktop-compact-active.hub-mobile-nav-open {
    overflow:hidden!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-backdrop:not([hidden]) {
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:99980!important;
    background:rgba(0,0,0,.65)!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-drawer:not([hidden]) {
    display:block!important;
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    z-index:99981!important;
    box-sizing:border-box!important;
    width:min(355px,88vw)!important;
    max-width:100%!important;
    overflow-y:auto!important;
    padding:8px 14px 24px!important;
    background:#fff!important;
    color:#171717!important;
    box-shadow:4px 0 24px rgba(0,0,0,.22)!important;
  }
  body.admin-bar.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-drawer:not([hidden]) {
    top:32px!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-drawer-brand {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:calc(100% - 55px)!important;
    min-height:54px!important;
    margin:0 0 6px!important;
    padding-left:10px!important;
    text-decoration:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-drawer-brand img {
    display:block!important;
    width:auto!important;
    max-width:165px!important;
    max-height:50px!important;
    object-fit:contain!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-close {
    position:absolute!important;
    top:9px!important;right:12px!important;
    z-index:2!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:40px!important;height:40px!important;
    padding:0!important;margin:0!important;
    border:0!important;background:transparent!important;
    font-size:33px!important;line-height:1!important;cursor:pointer!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-nav-stage {
    display:block!important;
    width:100%!important;
    grid-template-columns:none!important;
    gap:0!important;
    margin:0 0 8px!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-drawer-profile {
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-drawer-profile
     :is(.hub-nav-compte-zone,.hub-nav-favoris-zone) {
    display:flex!important;
    justify-content:flex-start!important;
    width:100%!important;
    padding:12px 10px!important;
    margin:0!important;
    background:#fff!important;
    border-bottom:1px solid #e5e2de!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-drawer-profile a {
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    text-align:left!important;
    font-size:14px!important;
    color:#171717!important;
    text-decoration:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-main-nav {
    display:block!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    margin:8px 0!important;
    padding:0!important;
    grid-template-columns:none!important;
    gap:0!important;
    box-shadow:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-main-nav
     :is(.hub-nav-menu,.oxy-pro-menu-list) {
    display:flex!important;
    position:static!important;
    flex-direction:column!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    transform:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-main-nav
     .oxy-pro-menu-list > li {
    display:block!important;
    position:static!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-main-nav
     .oxy-pro-menu-list > li > a {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    box-sizing:border-box!important;
    gap:11px!important;
    width:100%!important;
    min-height:40px!important;
    margin:0!important;
    padding:9px 10px!important;
    font-size:14px!important;
    font-weight:600!important;
    text-align:left!important;
    text-decoration:none!important;
    color:#171717!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-main-nav
     .oxy-pro-menu-list > li.current-menu-item > a {
    color:#d20b14!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-drawer-links {
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    margin:10px 0 0!important;
    padding:12px 0 0!important;
    border-top:1px solid #dedbd8!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-drawer-links > strong {
    display:block!important;
    font-size:13px!important;
    padding:0 10px 7px!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-desktop-drawer-links > a {
    display:block!important;
    padding:10px!important;
    font-size:13px!important;
    text-decoration:none!important;
    color:#171717!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-shortcuts {
    display:flex!important;
    flex-flow:row wrap!important;
    gap:0 5px!important;
    margin:10px 0 0!important;
    padding:8px 0 0!important;
    border-top:1px solid #dedbd8!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell .hub-mobile-shortcut {
    display:inline-flex!important;
    align-items:center!important;
    margin:0!important;
    padding:6px!important;
    font-size:11px!important;
    color:#171717!important;
    text-decoration:none!important;
  }
  body.hub-desktop-compact-active .hub-tpl-shell
     .hub-mobile-shortcut + .hub-mobile-shortcut::before {
    content:"•";
    margin-right:7px;
    color:#d20b14;
  }
}
@media (max-width:1024px) {
  /* Les duplications de profil et de liens ne servent que sur desktop. */
  .hub-tpl-shell .hub-desktop-drawer-profile,
  .hub-tpl-shell .hub-desktop-drawer-links,
  .hub-tpl-shell .hub-desktop-fixed-bandeau {
    display:none!important;
  }
}

/* Actualités : comparer visuellement à Pack Lead / Documents pratiques.
   Même coin 8px, trait 3px. Rapprocher sa position verticale (-5px)
   du repère natif des pages intérieures. */
@media (max-width:1024px) {
  body .hub-tpl-shell #headline-7-181 > .hub-actualites-corner {
    /* Aligner le bord gauche de l'angle sur celui des cartes Actualités.
       Le titre garde exactement son retrait actuel. */
    left:-10px!important;
    top:-5px!important;
  }
}

/* Recette 28/11 : deux lignes pour les trois familles de campagnes sur desktop. */
@media (min-width:1025px) {
  .hub-tpl-shell .hub-campagnes-accueil .hub-campagnes-accueil__entete > a {
    width:min-content!important;
    max-width:100%!important;
    white-space:normal!important;
  }
}

/* Evenements : meme geometrie que le titre Actualites valide sur mobile.
   La liste et la fiche individuelle partagent ce conteneur PHP. */
@media (max-width:1024px) {
  body .hub-tpl-shell .hub-evenements > .hub-docs__titre {
    position:relative!important;
    margin-top:10px!important;
    margin-left:11px!important;
    margin-right:16px!important;
    padding:5px 0 0!important;
    font-size:20px!important;
    line-height:1.25!important;
    font-weight:700!important;
  }
  body .hub-tpl-shell .hub-evenements > .hub-docs__titre::before {
    box-sizing:border-box!important;
    width:8px!important;
    height:8px!important;
    left:-10px!important;
    top:-5px!important;
  }
}

/* Footer mobile : le contenu s'efface avant le filet rouge, sans modifier
   la hauteur du bandeau ni bloquer les liens qui defilent derriere. */
@media (max-width:1024px) {
  body .hub-mobile-events-bar {
    overflow:visible!important;
    box-shadow:none!important;
  }
  body .hub-mobile-events-bar::before {
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:calc(100% + 2px)!important;
    height:20px!important;
    background:linear-gradient(to bottom,
      rgba(248,245,242,0) 0%,
      var(--hub-fond,#f8f5f2) 75%,
      #eeeae7 100%)!important;
    pointer-events:none!important;
  }
  /* Le dernier contenu de la page reste entierement lisible au scroll bas. */
  body:has(.hub-mobile-events-bar),
  body.hub-mobile-has-events {
    padding-bottom:132px!important;
  }
}
