/* The original provider badge stays visible in normal document flow. */
#nl-badge-frame {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  display: block;
  flex: none;
}
.bd-provider-credit {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
  padding-inline: var(--edge, 20px);
  margin-top: 16px;
}
.bd-provider-credit:empty { display: none; }
.legal-footer { flex-wrap: wrap; }
.legal-footer .bd-provider-credit {
  flex: 0 0 calc(100% + var(--edge, 20px) * 2);
  margin-inline: calc(-1 * var(--edge, 20px));
  margin-top: 0;
}
@media (max-width: 600px) {
  /* Netlify sizes its open card against the viewport, so do not constrain it
     to the narrower text column or alter its native width/height/clip path. */
  .bd-provider-credit { padding-inline: 0; }
}
