#footer .fb-badges {
  --fb-cols: var(--fb-phone);
  display: block;
  width: 100%;
  clear: both;
  padding: 20px 0;
  margin: 12px 0;
  box-sizing: border-box;
}
#footer .fb-badges__grid {
  display: grid;
  grid-template-columns: repeat(var(--fb-cols), minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: calc(var(--fb-cols) * var(--fb-width) + (var(--fb-cols) - 1) * 16px);
  margin: 0 auto;
}
#footer .fb-badges__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: var(--fb-height);
  padding: 0;
}
#footer .fb-badges__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
#footer .fb-badges__link:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 4px;
}
#footer .fb-badges__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, var(--fb-width));
  max-height: var(--fb-height);
  margin: 0;
  padding: 0;
  object-fit: contain;
}
@media (min-width: 768px) {
  #footer .fb-badges { --fb-cols: var(--fb-tablet); }
}
@media (min-width: 1200px) {
  #footer .fb-badges { --fb-cols: var(--fb-desktop); }
}
