/* MPB 3.27.29 — ajustements mobiles de l'extension sur le SITE DE TEST.
   Desktop inchange. Les liens et contenus sont toujours ceux de la version 3.27.28.
   La presentation des titres reste naturellement adaptable a la largeur et a la langue. */
@media (max-width:1020px) {
  /* Les six drapeaux de la barre sont deja visibles en haut : cacher le doublon
     dans le menu hamburger, y compris aux technologies d'assistance. */
  html body.mpb-site header.site-header nav.navigation details.mpb-lang-menu {
    display:none !important;
  }
}
@media (max-width:760px) {
  /* Disposition claire et coherente : reseaux sociaux sur une ligne,
     documents en deux colonnes, puis CGV centrees. */
  html body.mpb-site footer.site-footer .footer-links-wrap {
    width:min(100% - 16px, 460px) !important;
    padding-top:10px !important;
  }
  html body.mpb-site footer.site-footer nav.footer-links {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    justify-items:center !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:5px !important;
    max-width:430px !important;
    width:100% !important;
    margin:0 auto !important;
    line-height:1.4 !important;
  }
  html body.mpb-site footer.site-footer .footer-follow-label {
    grid-column:1 / -1 !important;
    justify-self:center !important;
    margin:0 0 2px !important;
    white-space:normal !important;
    text-align:center !important;
    font-size:13px !important;
  }
  html body.mpb-site footer.site-footer a.footer-facebook {
    grid-column:1 !important;
    justify-self:end !important;
    white-space:nowrap !important;
    font-size:13px !important;
  }
  html body.mpb-site footer.site-footer a.footer-instagram {
    grid-column:2 !important;
    justify-self:start !important;
    width:auto !important;
    white-space:nowrap !important;
    font-size:13px !important;
  }
  html body.mpb-site footer.site-footer .footer-divider {display:none !important;}
  html body.mpb-site footer.site-footer a.mpb-document-link {
    box-sizing:border-box !important;
    display:inline-flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
    align-content:center !important;
    text-align:center !important;
    min-width:0 !important;
    width:100% !important;
    min-height:42px !important;
    padding:6px 3px !important;
    line-height:1.35 !important;
    font-size:clamp(11px,3.25vw,13px) !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    column-gap:3px !important;
    border-top:1px solid rgba(207,180,159,.45) !important;
  }
  html body.mpb-site footer.site-footer a.mpb-document-link:last-of-type {
    grid-column:1 / -1 !important;
    width:min(100%,240px) !important;
    min-height:34px !important;
  }
  html body.mpb-site footer.site-footer .footer-credit {
    margin-top:7px !important;
    font-size:11px !important;
    line-height:1.4 !important;
  }
  html body.mpb-site footer.site-footer .footer-credit > span {
    display:inline-flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    gap:5px !important;
  }
}
