/* RMB V16 : utilisation des vrais logos fournis par RMB.
 * Correctif additif; ne remplace pas rmb-premium.css ni les réglages Admin.
 * Mode sombre : texte blanc transparent. Mode clair : texte foncé transparent.
 */
.site-head .brand.rmb-brand,
footer .brand.rmb-brand {
  box-sizing:border-box;
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  width:190px;
  min-width:150px;
  flex:0 0 190px;
  line-height:0;
  margin:0;
  padding:0;
}
.site-head .rmb-brand img.rmb-official-logo,
footer .rmb-brand img.rmb-official-logo {
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:190px;
  max-height:65px;
  height:auto;
  object-fit:contain;
  object-position:left center;
  flex:0 0 auto;
}
.site-head .rmb-brand img.rmb-logo-on-light,
footer .rmb-brand img.rmb-logo-on-light {display:none;}
/* Sélection automatique par luminosité de fond (rmb-logo.js) ;
   fonctionne également avec un thème clair explicite. */
.site-head .rmb-brand.rmb-on-light img.rmb-logo-on-dark,
footer .rmb-brand.rmb-on-light img.rmb-logo-on-dark {display:none;}
.site-head .rmb-brand.rmb-on-light img.rmb-logo-on-light,
footer .rmb-brand.rmb-on-light img.rmb-logo-on-light {display:block;}
@media(max-width:1250px){
  .site-head .brand.rmb-brand {width:165px;min-width:145px;flex-basis:165px;}
  .site-head .rmb-brand img.rmb-official-logo {max-width:165px;max-height:58px;}
}
@media(max-width:650px){
  .site-head .brand.rmb-brand {width:140px;min-width:115px;flex-basis:140px;}
  .site-head .rmb-brand img.rmb-official-logo {max-width:140px;max-height:48px;}
  footer .brand.rmb-brand {width:165px;min-width:140px;flex-basis:165px;}
  footer .rmb-brand img.rmb-official-logo {max-width:165px;}
}
