/* VAVI : les douze solutions restent dans le menu, avec leurs liens d'origine. */
header a[data-page-id="d2f86179-b9b1-46ca-8269-c2eda37f8877"]
  + .navigation-item-subpages-wrapper {
  box-sizing: border-box !important;
  width: min(420px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 6px 8px !important;
}

header a[data-page-id="d2f86179-b9b1-46ca-8269-c2eda37f8877"]
  + .navigation-item-subpages-wrapper > a.navigation-item {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 5px 12px !important;
  line-height: 1.25 !important;
  text-align: left !important;
  break-inside: avoid-column;
}

header a[data-page-id="d2f86179-b9b1-46ca-8269-c2eda37f8877"]
  + .navigation-item-subpages-wrapper > a.navigation-item > span {
  width: 100% !important;
  max-width: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Sur un ecran peu haut, deux colonnes evitent de couper les derniers liens.
   Le mode d'ouverture natif et la navigation mobile sont conserves. */
@media (max-height: 640px) {
  header a[data-page-id="d2f86179-b9b1-46ca-8269-c2eda37f8877"]
    + .navigation-item-subpages-wrapper {
    width: min(760px, calc(100vw - 32px)) !important;
    column-count: 2;
    column-gap: 12px;
  }
}
