/* MPB 3.27.32 : drapeau Ikurriña rectangulaire EU, même taille que FR/ES/EN/DE/PT.
   Les autres règles pour les liens du footer sont conservées. */
html body.mpb-site footer.site-footer .footer-links-wrap {
  position: relative;
  z-index: 2;
}
html body.mpb-site footer.site-footer .footer-links a {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}
html body.mpb-site footer.site-footer .mpb-doc-language {
  font-size: .76em;
  opacity: .8;
  white-space: nowrap;
  font-weight: 400;
}

/* MPB 3.27.18 : liens accessibles dans l'onglet courant, footer compact et proche du contenu.
   Corrections limitées au site de test avec modèles de la passerelle. */
html body.mpb-site footer.site-footer {padding-bottom: 9px !important; min-height:0 !important;}
html body.mpb-site footer.site-footer .footer-decoration {height: 12px !important;}
html body.mpb-site footer.site-footer .footer-links-wrap {padding-top: 8px !important;}
html body.mpb-site footer.site-footer .footer-links {margin-top: 4px !important;gap: 9px clamp(9px,1.25vw,18px) !important;}
html body.mpb-site footer.site-footer .footer-credit {margin-top: 2px !important;}
html body.mpb-site footer.site-footer .footer-links a {
  display: inline-flex !important; align-items:center !important;
  padding: 5px 4px !important; min-height: 30px !important;
  cursor:pointer !important; text-decoration:underline; text-underline-offset:3px;
}
html body.mpb-site footer.site-footer .footer-links a:focus-visible {outline: 3px solid #e8ad4a !important;}
/* Le modèle Qui suis-je gardait une hauteur minimale de 620px : grand vide avant footer. */
@media (min-width:801px) {
 html body.mpb-site main.qui-page:not(.parcours-view) .who-hero {
   min-height:0 !important; padding-top:18px !important; padding-bottom:16px !important;
 }
}
/* RDV imposait une hauteur d'écran et poussait artificiellement le footer en bas. */
@media (min-width:761px) {
 html body.mpb-site.mpb-rdv-fullheight {display:block !important;min-height:0 !important;}
 html body.mpb-site.mpb-rdv-fullheight > main.rdv-page {flex:initial !important;}
 html body.mpb-site.mpb-rdv-fullheight > footer.site-footer {margin-top:0 !important;}
}
@media(max-width:760px) {
 html body.mpb-site footer.site-footer .footer-decoration {height:8px !important;}
 html body.mpb-site footer.site-footer .footer-links-wrap {padding-top:6px !important;}
 html body.mpb-site footer.site-footer .footer-links {gap:5px 12px !important;}
}

/* 3.27.22 : affiche la langue du PDF sans augmenter la hauteur du footer. */
html body.mpb-site .mpb-document-lang { font-size:0.78em; color:#536783; white-space:nowrap; font-weight:400; }
